void Start() { _Overlord = Overlord_Main._Overlord_main; _Loader = Loader_Main._Loader_Main; counterText = transform.GetComponent <Text> (); counterText.enabled = false; }
void Start() { _Overlord = Overlord_Main._Overlord_main; _Ghost = Overlord_Ghost._Overlord_Ghost; if (gameObject.tag == "Player_01") { rwInput = ReInput.players.GetPlayer(0); } if (gameObject.tag == "Player_02") { rwInput = ReInput.players.GetPlayer(1); } if (gameObject.tag == "Player_03") { rwInput = ReInput.players.GetPlayer(2); } if (gameObject.tag == "Player_04") { rwInput = ReInput.players.GetPlayer(3); } stand = this.gameObject; indicator_01 = stand.transform.GetChild(0).gameObject; indicator_02 = stand.transform.GetChild(1).GetChild(0).gameObject; indicator_Ready = stand.transform.GetChild(1).gameObject; player = stand.transform.GetChild(3).gameObject; player.SetActive(false); }
void Start() { _Overlord = Overlord_Main._Overlord_main; if (gameObject.tag == "Player_01") { rwInput = ReInput.players.GetPlayer(0); } if (gameObject.tag == "Player_02") { rwInput = ReInput.players.GetPlayer(1); } if (gameObject.tag == "Player_03") { rwInput = ReInput.players.GetPlayer(2); } if (gameObject.tag == "Player_04") { rwInput = ReInput.players.GetPlayer(3); } }
void Start() { _Overlord = Overlord_Main._Overlord_main; _Main = transform.GetComponent <Player_Main> (); layerMask = ~layerMask; if (gameObject.tag == "Player_01") { rwInput = ReInput.players.GetPlayer(0); } if (gameObject.tag == "Player_02") { rwInput = ReInput.players.GetPlayer(1); } if (gameObject.tag == "Player_03") { rwInput = ReInput.players.GetPlayer(2); } if (gameObject.tag == "Player_04") { rwInput = ReInput.players.GetPlayer(3); } }
void Start() { _Overlord = Overlord_Main._Overlord_main; _PlayerMain = Player_Main._Player_Main; hud = _PlayerMain.hud; dashRechargeAmount = dashCharges; if (gameObject.tag == "Player_01") { rwInput = ReInput.players.GetPlayer(0); } if (gameObject.tag == "Player_02") { rwInput = ReInput.players.GetPlayer(1); } if (gameObject.tag == "Player_03") { rwInput = ReInput.players.GetPlayer(2); } if (gameObject.tag == "Player_04") { rwInput = ReInput.players.GetPlayer(3); } rbPlayer = gameObject.transform.GetComponent <Rigidbody> (); }
void Awake() { overlord = this.gameObject; _Overlord_main = this; }
void Start() { _Overlord = Overlord_Main._Overlord_main; }
void Start() { _Overlord = Overlord_Main._Overlord_main; _Loader = _Overlord.gameObject.transform.GetComponent <Loader_Main> (); DontDestroyOnLoad(this.gameObject); }
void Awake() { _Overlord = Overlord_Main._Overlord_main; }
void Start() { _Overlord = Overlord_Main._Overlord_main; _Ghost = Overlord_Ghost._Overlord_Ghost; _Camera = MultipleTargetCamera._MultipleTargetCamera; rbPlayer = transform.GetComponent <Rigidbody> (); healthText = gameObject.transform.GetChild(2).gameObject.GetComponent <TextMesh> (); if (gameObject.tag == "Player_01") { if (_Ghost.player_01 == false) { this.gameObject.SetActive(false); if (hud != null) { hud.SetActive(false); } } else { _Overlord.player01Alive = true; } if (hud == null) { hud = GameObject.Find("HUD_Player_01"); } } if (gameObject.tag == "Player_02") { if (_Ghost.player_02 == false) { this.gameObject.SetActive(false); if (hud != null) { hud.SetActive(false); } } else { _Overlord.player02Alive = true; } if (hud == null) { hud = GameObject.Find("HUD_Player_02"); } } if (gameObject.tag == "Player_03") { if (_Ghost.player_03 == false) { this.gameObject.SetActive(false); if (hud != null) { hud.SetActive(false); } } else { _Overlord.player03Alive = true; } if (hud == null) { hud = GameObject.Find("HUD_Player_03"); } } if (gameObject.tag == "Player_04") { if (_Ghost.player_04 == false) { this.gameObject.SetActive(false); if (hud != null) { hud.SetActive(false); } } else { _Overlord.player04Alive = true; } if (hud == null) { hud = GameObject.Find("HUD_Player_04"); } } }