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