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 FixationCommand : Command
|
||
|
{
|
||
|
public static FixationCommand Instance = new FixationCommand();
|
||
|
|
||
|
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.Fixation();
|
||
|
}
|
||
|
}
|