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

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