EmptyMovingPlatform.cs (453B)
1 using UnityEngine; 2 3 namespace Slimecing.Environment.Moving.MovingPlatformLogic 4 { 5 public class EmptyMovingPlatform : MovingController 6 { 7 public override void TickMover(out Vector3 targetPosition, out Quaternion targetRotation, float deltaTime) 8 { 9 var moverTransform = transform; 10 targetPosition = mover.moverRigidbody.position; 11 targetRotation = mover.moverRigidbody.rotation; 12 } 13 } 14 }