网上演练贵港万达广场(人员密集)
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.
 
 
 

18 lines
513 B

using AX.InputSystem;
using UnityEngine;
/// <summary>
/// 下车命令
/// </summary>
public class GetOffCommand : Command
{
public static GetOffCommand Instance = new GetOffCommand();
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.GetOff(4);
}
}