Exemplo n.º 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());
    }
Exemplo n.º 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];
 }
Exemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     Player = GameObject.Find("Capsule").GetComponent <Transform>();
     Ene    = GetComponent <WanderingIA>();
 }