Opponent.Move C# (CSharp) 메소드

Move() 공개 메소드

public Move ( Vector3 v ) : void
v Vector3
리턴 void
    public void Move(Vector3 v)
    {
        transform.Translate(
            v.x,
            v.y,
            v.z,
            Space.Self
        );
    }

Usage Example

예제 #1
0
        public override void AttackTwo()
        {
            bool hit = AAttackXY(1, 1);

            if (hit)
            {
                Opponent.Hurt(Fighter.rangen.Next(2, 6));
                Opponent.Move(-1);
            }
        }
All Usage Examples Of Opponent::Move