예제 #1
0
 void Rotate(TheVector3 rotation)
 {
     tank.GetComponent <TheTransform>().GlobalRotation += rotation * rotation_speed * Time.DeltaTime;
 }
예제 #2
0
 void Move(TheVector3 movement)
 {
     tank.GetComponent <TheTransform>().GlobalPosition += movement * movement_speed * Time.DeltaTime;
 }