using System.Collections; using System.Collections.Generic; using UnityEngine; public class ActionSetLocalVelocity : ActionBase { PhysicsBody m_Body; Vector3 m_Velocity; public ActionSetLocalVelocity(PhysicsBody body, Vector3 localVelocity) { m_Body = body; m_Velocity = localVelocity; } public override void Execute() { m_Body.LocalVelocity = m_Velocity; } }