예제 #1
0
 // Use this for initialization
 private void Start()
 {
     //this.mainMenueController = GameObject.Find("/MissionMap/Canvas/MainMenue/").GetComponent<MainMenueController>();
     this.missionMan = GameObject.Find("/ReferenceShare").GetComponent <MissionManager>();
     //this.missionDetailsWindow = GameObject.Find("/MissionMap/Canvas/MissionWindow");
     this.screenStateMach = GameObject.Find("/MissionMap").GetComponent <ScreenStateMachine>();
 }
예제 #2
0
        /*----------Functions----------*/
        //PROTECTED

        /// <summary>
        /// Setup references that are required when this this object is enabled
        /// </summary>
        protected virtual void OnEnable()
        {
            screenStateMachine = CreateWindowStateMachine();
        }