private void Start() { eec = GameObject.Find("Controller").GetComponent <EndGameElevatorController>(); }
private void Start() { eec = GameObject.Find("Controller").GetComponent <EndGameElevatorController>(); pcm = GameObject.Find("PlayerListScripts").GetComponent <PlayerControllerMaster>(); eec.endroomList.Add(gameObject); }