Inheritance: UnityEngine.MonoBehaviour, ISimulationManager
Example #1
0
        public override void OnLevelLoaded(LoadMode mode)
        {
            if (GameObject.Find("ZoomButton") != null)
            {
                sunControl = new GameObject().AddComponent <SunManager>();

                CreateControlPanel();

                sunControlPanel.gameObject.SetActive(false);
                timeSlider.gameObject.SetActive(false);

                AddGUIToggle();
                HookZoomControls();
            }
        }
Example #2
0
        public override void OnLevelLoaded(LoadMode mode)
        {
            if (GameObject.Find("ZoomButton") != null)
            {
                sunControl = new GameObject().AddComponent<SunManager>();

                CreateControlPanel();
                AddGUIToggle();
                HookZoomControls();
            }
        }