You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
475 B
17 lines
475 B
4 years ago
|
using AX.InputSystem;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class ArmResetCommand : Command
|
||
|
{
|
||
|
public static ArmResetCommand Instance = new ArmResetCommand();
|
||
|
|
||
|
public override void Execute(long gameObjID, CmdArgs arg)
|
||
|
{
|
||
|
base.Execute(gameObjID, arg);
|
||
|
SkillArgs args = arg as SkillArgs;
|
||
|
GameObject go = EntitiesManager.Instance.GetEntityByID(args.GameObjectID);
|
||
|
CarSkill skill = go.GetComponent<CarSkill>();
|
||
|
skill.ArmReset();
|
||
|
}
|
||
|
}
|