private void Start() { playerMove = GetComponent <InputsMove>(); myAnimator = GetComponent <Animator>(); canAttack = true; }
void Start() { playerMove = GetComponent <InputsMove>(); myAnimator = GetComponent <Animator>(); timer = 0f; }
void Start() { playerCoins = GameObject.Find("Player").GetComponent <PlayerCoins>(); playerAttack = GameObject.Find("Player").GetComponent <PlayerAttack>(); playerLife = GameObject.Find("Player").GetComponent <Life>(); playerMove = GameObject.Find("Player").GetComponent <InputsMove>(); bossDoor = GameObject.Find("Door").GetComponent <BossDoor>(); }
void Start() { isNear = isEnabled = false; player = GameObject.Find("Player").GetComponent <InputsMove>(); }