void Awake() { if (g == null) { g = this; } else { Destroy(this); } }
private void Initialization() { notificationManager = new NotificationManager(); possessionManager = this.EnsureComponent <PossessionManager>(); slowMoManager = this.EnsureComponent <SlowMoManager>(); if (!PlayerTutorial.runTutorial && !playerTeamsAlreadySelected) { cheatForcePlayerAssignment = true; } gameOver = false; InitializeTeams(); }