Exemple #1
0
        public static TestControllerConfiguration Get()
        {
            if (Instance == null)
            {
                Instance = GameObject.FindObjectOfType <TestControllerConfiguration>();
            }

            return(Instance);
        }
Exemple #2
0
 public TestGameControlManager()
 {
     /// We can do this because this is an editor only script
     this.TestGameControlDefinition           = TestControllerConfiguration.Get().TestControllerDefinition.TestGameControlDefinition;
     this.TestGameControlDefinition.TimeScale = 1f;
 }