コード例 #1
0
 public ActionButton(SpaceVillainArcadeBoundUserInterface owner, SharedSpaceVillainArcadeComponent.PlayerAction playerAction)
 {
     _owner        = owner;
     _playerAction = playerAction;
     OnPressed    += Clicked;
 }
コード例 #2
0
 public void SendAction(SharedSpaceVillainArcadeComponent.PlayerAction action)
 {
     SendMessage(new SharedSpaceVillainArcadeComponent.SpaceVillainArcadePlayerActionMessage(action));
 }