Esempio n. 1
0
 public void InitHUDForSpectator(NodeAddedEvent e, HUDNodes.SelfBattleUserAsSpectatorNode spectator, SingleNode <MainHUDComponent> hud)
 {
     hud.component.Activate();
 }
Esempio n. 2
0
 public void SetTDMMessagePosition(NodeAddedEvent e, SingleNode <MainHUDComponent> hud, HUDNodes.SelfBattleUserAsSpectatorNode spec, [JoinByBattle] TDMBattleNode battle)
 {
     hud.component.SetMessageTDMPosition();
 }
Esempio n. 3
0
 public void InitForSpectator(NodeAddedEvent e, HUDNodes.SelfBattleUserAsSpectatorNode spec, SingleNode <MainHUDComponent> hud, SingleNode <DMHUDMessagesComponent> messages)
 {
     hud.component.SetSpecatatorMode();
     hud.component.ShowMessageWithPriority(messages.component.SpectatorMessage, 0);
 }
Esempio n. 4
0
 public void DeactivateForSpectator(NodeAddedEvent e, SingleNode <DMScoreHUDComponent> hud, HUDNodes.SelfBattleUserAsSpectatorNode battleUser, [JoinByBattle] BattleNode battle)
 {
     hud.component.gameObject.SetActive(false);
 }