コード例 #1
0
 public virtual void StopMovement()
 {
     GameObject obj = new GameObject();
     obj.Velocity = new Vector2(123, 456);
     obj.StopMovement();
     Assert.That(obj.Velocity, Is.EqualTo(Vector2.Zero));
 }