Esempio n. 1
0
        /// <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;
			
		}
Esempio n. 2
0
 public GameWorld()
 {
     instance = this;
 }
Esempio n. 3
0
        /// <summary>Overridden from <see cref="Engine.EntitySystem.Entity.OnDestroy()"/>.</summary>
        protected override void OnDestroy()
        {
            base.OnDestroy();

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

            instance = null;
        }
Esempio n. 5
0
 public GameWorld()
 {
     instance = this;
 }