// 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>(); }
/*----------Functions----------*/ //PROTECTED /// <summary> /// Setup references that are required when this this object is enabled /// </summary> protected virtual void OnEnable() { screenStateMachine = CreateWindowStateMachine(); }