public FlightPlayerInput(PlayerInputComponent input, string boost, string thrustAxis, string strafeHorizontalAxis, string strafeVerticalAxis, string pitchAxis, string yawAxis, string rollAxis) { Input = input; Boost = boost; ThrustAxis = thrustAxis; StrafeHorizontalAxis = strafeHorizontalAxis; StrafeVerticalAxis = strafeVerticalAxis; PitchAxis = pitchAxis; YawAxis = yawAxis; RollAxis = rollAxis; }
public static void Assign(PlayerInputComponent component) { _local.Set(component); }
public override void OnEnter(RuntimeStateNode lastNode) { base.OnEnter(lastNode); _input = Graph.Entity.Get <PlayerInputComponent>(); }
public override void Start(ActionUsingNode node) { base.Start(node); _start = TimeManager.Time; _input = node.Entity.Get <PlayerInputComponent>(); }