Beispiel #1
0
            static void ResolveTick()
            {
                if (!BetterPrefs.GetEditorInstance().Bools.ValueOrDefault(kReqAuto))
                {
                    return;
                }

                if (EditorApplication.timeSinceStartup > nextTime)
                {
                    Requirements.ResolveScene();
                    nextTime = EditorApplication.timeSinceStartup + ResolveInterval;
                }
            }
Beispiel #2
0
 public static void Automatic()
 {
     BetterPrefs.GetEditorInstance().Bools[kReqAuto] = true;
 }
Beispiel #3
0
 public static void Manual()
 {
     BetterPrefs.GetEditorInstance().Bools[kReqAuto] = false;
 }