public void OnDeliver(FlagDeliveryEvent e, FlagNode flag, [JoinByTeam] SingleNode <ColorInBattleComponent> color, [JoinByBattle] HUDNodes.SelfBattleUserNode self, [JoinAll] HUDNode hud, Optional <SingleNode <CTFHUDMessagesComponent> > messages)
 {
Exemple #2
0
 public void SetTDMMessage(NodeAddedEvent e, HUDNode hud, HUDNodes.SelfTankNode tank, SingleNode <TDMHUDMessagesComponent> messageNode, [JoinByBattle] TDMBattleNode battle)
 {
     hud.mainHUD.ShowMessageWithPriority(messageNode.component.MainMessage, 0);
     hud.mainHUD.SetMessageTDMPosition();
 }
Exemple #3
0
 public void ActivateForTank(NodeAddedEvent e, HUDNode hud, HUDNodes.SelfBattleUserAsTankNode battleUser, SingleNode <DMHUDMessagesComponent> messages, [JoinByBattle] BattleNode battle)
 {
     hud.dmScoreHUD.gameObject.SetActive(true);
     hud.mainHUD.ShowMessageWithPriority(messages.component.MainMessage, 0);
     hud.mainHUD.SetMessageTDMPosition();
 }
Exemple #4
0
 public void SetCTFMessage(NodeAddedEvent e, HUDNode hud, HUDNodes.SelfTankNode tank, SingleNode <CTFHUDMessagesComponent> messageNode, [JoinByBattle] CTFBattleNode battle)
 {
     hud.mainHUD.ShowMessageWithPriority(messageNode.component.CaptureFlagMessage, 0);
     hud.mainHUD.SetMessageCTFPosition();
 }