Exemple #1
0
    /*
     * this class handles the close attack of the basic candys.
     * basic candy == blue, red, green
     */

    // Start is called before the first frame update
    void Start()
    {
        Player    = GameObject.Find("Capsule").GetComponent <Transform>();
        Ene       = GetComponent <WanderingIA>();
        _animator = GetComponent <Animator>();
        StartCoroutine(Attack());
    }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     Player    = GameObject.Find("Capsule").GetComponent <Transform>();
     Ene       = GetComponent <WanderingIA>();
     _fireball = new GameObject[Limit_Fire];
 }
 // Start is called before the first frame update
 void Start()
 {
     Player = GameObject.Find("Capsule").GetComponent <Transform>();
     Ene    = GetComponent <WanderingIA>();
 }