// Use this for initialization void Awake() { killCombo = GetComponent <KillCombo>(); score = GetComponent <Score>(); deathBlowGauge = GetComponent <DeathBlowGauge>(); lifes2D = GetComponent <Lifes2D>(); }
// Use this for initialization void Awake() { killCombo = GetComponent<KillCombo>(); score = GetComponent<Score>(); deathBlowGauge = GetComponent<DeathBlowGauge>(); lifes2D = GetComponent<Lifes2D>(); }
void Awake() { playerData2D = GameObject.FindWithTag("Player2D").GetComponent<PlayerData2D>(); player2D = GameObject.FindWithTag("Player2D").GetComponent<Player2D>(); lifes2D = gameObject.GetComponent<Lifes2D>(); scoreUpAnim = gameObject.GetComponent<ScoreUpAnim>(); comboText2D = GameObject.Find("Combo2D").GetComponent<Text>(); comboText3D = GameObject.Find("Combo3D").GetComponent<Text>(); ComboDraw (); }
void Awake() { playerData2D = GameObject.FindWithTag("Player2D").GetComponent <PlayerData2D>(); player2D = GameObject.FindWithTag("Player2D").GetComponent <Player2D>(); lifes2D = gameObject.GetComponent <Lifes2D>(); scoreUpAnim = gameObject.GetComponent <ScoreUpAnim>(); comboText2D = GameObject.Find("Combo2D").GetComponent <Text>(); comboText3D = GameObject.Find("Combo3D").GetComponent <Text>(); ComboDraw(); }