diff options
author | chai <chaifix@163.com> | 2022-03-10 14:07:40 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-03-10 14:07:40 +0800 |
commit | 22891bf59032ba88262824255a706d652031384b (patch) | |
tree | 7595439ba9966c9402d37e37cee5e8cf098757d5 /Assets/Scripts/Avatar/Actions/ActionSetVelocityX.cs | |
parent | 8b04ea73e540067f83870b61d89db4868fea5e8a (diff) |
* move folder
Diffstat (limited to 'Assets/Scripts/Avatar/Actions/ActionSetVelocityX.cs')
-rw-r--r-- | Assets/Scripts/Avatar/Actions/ActionSetVelocityX.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Assets/Scripts/Avatar/Actions/ActionSetVelocityX.cs b/Assets/Scripts/Avatar/Actions/ActionSetVelocityX.cs deleted file mode 100644 index effc3ca7..00000000 --- a/Assets/Scripts/Avatar/Actions/ActionSetVelocityX.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class ActionSetVelocityX : ActionBase -{ - PhysicsBody m_Body; - - float m_VelX; - - public ActionSetVelocityX(PhysicsBody body, float x) - { - m_Body = body; - m_VelX = x; - } - - public override void Execute() - { - Vector3 v = m_Body.Velocity; - v.x = m_VelX; - m_Body.Velocity = v; - } -} |