Example #1
0
        protected override void Unload()
        {
            Instance = null;

            UnturnedPlayerEvents.OnPlayerDeath -= onPlayerDeath;
            U.Events.OnPlayerConnected         -= onPlayerConnected;
        }
Example #2
0
        protected override void Load()
        {
            Instance = this;
            Prison   = new Prison();

            UnturnedPlayerEvents.OnPlayerDeath += onPlayerDeath;
            U.Events.OnPlayerConnected         += onPlayerConnected;
        }