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.
16 lines
475 B
16 lines
475 B
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(); |
|
} |
|
}
|
|
|