/*RUNTIME*/ // Use this for initialization void Start() { STATE = GameObject.Find("BattleScripts").GetComponent <Battlemanager> (); CAMERA = GameObject.Find("BattleCam").GetComponent <CameraParallax> (); currentAlly = allyOne; allyOne.selectchar(); }
/*RUNTIME*/ void Awake() { closeMenu(); coroutineOneRunning = false; coroutineTwoRunning = false; menuOpen = false; NAVCONTROL = GameObject.Find("BattleScripts").GetComponent <CharNav> (); CAMERA = GameObject.Find("BattleCam").GetComponent <CameraParallax> (); if (CAMERA == null) { Debug.Log("Camera Not Found"); } }