public void OnDeliver(FlagDeliveryEvent e, FlagNode flag, [JoinByTeam] SingleNode <ColorInBattleComponent> color, [JoinByBattle] HUDNodes.SelfBattleUserNode self, [JoinAll] HUDNode hud, Optional <SingleNode <CTFHUDMessagesComponent> > messages) {
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(); }
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(); }
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(); }