예제 #1
0
    public void SpawnOrb()
    {
        GameObject go = _aim.FireWithOffset(0, 0);

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