Esempio n. 1
0
    private void HuntMouse(MouseAI mouse)
    {
        //Random chance of going nuts and destroying whatever is in the way
        if (Random.value == 0.0f)
        {
            mobAttack.onlyHitTarget = false;
        }
        else
        {
            mobAttack.onlyHitTarget = true;
        }

        Hiss(mouse.gameObject);
        mobAttack.StartFollowing(mouse.transform);
    }
Esempio n. 2
0
 public virtual void HuntMouse(MouseAI mouse)
 {
 }
Esempio n. 3
0
 public override void HuntMouse(MouseAI mouse)
 {
     Hiss(mouse.gameObject);
     FollowTarget(mouse.gameObject.transform, 5f);
 }