Beispiel #1
0
        static void OnPlayModeStateChanged(PlayModeStateChange state)
        {
            switch (state)
            {
            case PlayModeStateChange.EnteredEditMode:
                break;

            case PlayModeStateChange.ExitingEditMode:
                GcEditorResourceBuilder.Build();
                break;

            case PlayModeStateChange.EnteredPlayMode:
                break;

            case PlayModeStateChange.ExitingPlayMode:
                break;
            }
        }
Beispiel #2
0
 void IPreprocessBuildWithReport.OnPreprocessBuild(BuildReport report)
 {
     GcEditorResourceBuilder.Build();
 }
Beispiel #3
0
 private static void BuildResource()
 {
     GcEditorResourceBuilder.Build();
 }