/// <summary>Overridden from <see cref="Engine.EntitySystem.Entity.OnDestroy()"/>.</summary>
        protected override void OnDestroy()
        {
			if( EntitySystemWorld.Instance.IsServer() )
			{
				GameNetworkServer.Instance.CustomMessagesService.ReceiveMessage -= SpawnInfo;
			}
			base.OnDestroy();

            instance = null;
			
		}
Beispiel #2
0
 public GameWorld()
 {
     instance = this;
 }
Beispiel #3
0
        /// <summary>Overridden from <see cref="Engine.EntitySystem.Entity.OnDestroy()"/>.</summary>
        protected override void OnDestroy()
        {
            base.OnDestroy();

            instance = null;
        }
Beispiel #4
0
        /// <summary>Overridden from <see cref="Engine.EntitySystem.Entity.OnDestroy()"/>.</summary>
        protected override void OnDestroy()
        {
            base.OnDestroy();

            instance = null;
        }
Beispiel #5
0
 public GameWorld()
 {
     instance = this;
 }