Class WinnerPopupPhase
public class WinnerPopupPhase : BasePhase<PhaseTeamSettings>, ILayoutPhase, IEventListener<PlayerExitedZone>, IEventListener<PlayerTeamChanged>, IEventListener<PlayerJoined>
- Inheritance
-
WinnerPopupPhase
- Implements
- Inherited Members
Constructors
WinnerPopupPhase(IServiceProvider, IConfiguration)
public WinnerPopupPhase(IServiceProvider serviceProvider, IConfiguration config)
Parameters
serviceProviderIServiceProviderconfigIConfiguration
Methods
BeginPhaseAsync(CancellationToken)
Activates the phase. This should happen just after the old phase ended if there was one.
public override UniTask BeginPhaseAsync(CancellationToken token = default)
Parameters
tokenCancellationToken
Returns
- UniTask
Remarks
EndPhaseAsync(CancellationToken)
Deactivates the phase.
public override UniTask EndPhaseAsync(CancellationToken token = default)
Parameters
tokenCancellationToken
Returns
- UniTask
SendUI(LanguageSet, Team)
protected virtual void SendUI(LanguageSet languageSet, Team winner)
Parameters
languageSetLanguageSetwinnerTeam