private void Start()
    {
        playerMove = GetComponent <InputsMove>();
        myAnimator = GetComponent <Animator>();

        canAttack = true;
    }
Exemple #2
0
    void Start()
    {
        playerMove = GetComponent <InputsMove>();
        myAnimator = GetComponent <Animator>();

        timer = 0f;
    }
Exemple #3
0
 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>();
    }