Esempio n. 1
0
    public void SpawnOrb()
    {
        GameObject go = _aim.FireWithOffset(0, 0);

        if (go)
        {
            Bullet bullet = go.GetComponent <Bullet>();
            bullet.SetTarget(_aim.targetAim);
        }
    }
Esempio n. 2
0
 public void Attack()
 {
     _aim.FireWithOffset();
 }