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 SetTDMMessagePosition(NodeAddedEvent e, SingleNode <MainHUDComponent> hud, HUDNodes.SelfBattleUserAsSpectatorNode spec, [JoinByBattle] TDMBattleNode battle) { hud.component.SetMessageTDMPosition(); }
public void SetScoresTDMPosition(NodeAddedEvent e, SingleNode <TeamScoreHUDComponent> hud, HUDNodes.SelfTankNode tank, [JoinByBattle] TDMBattleNode battle) { hud.component.SetTdmMode(); }