public override void OnBehaviourInitialize() { base.OnBehaviourInitialize(); this.MissionLobbyComponent = this.Mission.GetMissionBehaviour <MissionLobbyComponent>(); this.GameModeBaseClient = this.Mission.GetMissionBehaviour <MissionMultiplayerGameModeBaseClient>(); this.NotificationsComponent = this.Mission.GetMissionBehaviour <MultiplayerGameNotificationsComponent>(); this.RoundController = this.Mission.GetMissionBehaviour <MultiplayerRoundController>(); this.WarmupComponent = this.Mission.GetMissionBehaviour <MultiplayerWarmupComponent>(); this.TimerComponent = this.Mission.GetMissionBehaviour <MultiplayerTimerComponent>(); this.SpawnComponent = Mission.Current.GetMissionBehaviour <SpawnComponent>(); this._lastPerkTickTime = Mission.Current.Time; }
public override void AfterStart() { base.AfterStart(); this._notificationsComponent = this.Mission.GetMissionBehaviour <MultiplayerGameNotificationsComponent>(); }