Inheritance: UnityEngine.MonoBehaviour, ISimulationManager
Beispiel #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();
            }
        }
Beispiel #2
0
        public override void OnLevelLoaded(LoadMode mode)
        {
            if (GameObject.Find("ZoomButton") != null)
            {
                sunControl = new GameObject().AddComponent<SunManager>();

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