public PlayerTwoAxisAction GetPlayerAction(PlayerActionSet actionSet) { ThrowIf.ArgumentIsNull(actionSet, "actionSet"); return(this.getter(actionSet)); }
public PlayerActionSetComponent(PlayerActionSet playerActionSet) { Value = playerActionSet; }
public PlayerAction(string name, PlayerActionSet owner) { Name = name; Owner = owner; owner.AddPlayerAction(this); }
public void InitCustomActions(PlayerActionSet actionSet, PlayerAction playerAction) { this.actionSet = actionSet; this.playerAction = playerAction; }
internal static void DetachPlayerActionSet(PlayerActionSet playerActionSet) { playerActionSets.Remove(playerActionSet); }
void SaveBindings() { saveData = PlayerActionSet.Save(); PlayerPrefs.SetString("Bindings", saveData); }