示例#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;
			
		}
示例#2
0
文件: GameWorld.cs 项目: whztt07/SDK
 public GameWorld()
 {
     instance = this;
 }
示例#3
0
文件: GameWorld.cs 项目: whztt07/SDK
        /// <summary>Overridden from <see cref="Engine.EntitySystem.Entity.OnDestroy()"/>.</summary>
        protected override void OnDestroy()
        {
            base.OnDestroy();

            instance = null;
        }
示例#4
0
文件: GameWorld.cs 项目: ottworks/SDK
        /// <summary>Overridden from <see cref="Engine.EntitySystem.Entity.OnDestroy()"/>.</summary>
        protected override void OnDestroy()
        {
            base.OnDestroy();

            instance = null;
        }
示例#5
0
文件: GameWorld.cs 项目: ottworks/SDK
 public GameWorld()
 {
     instance = this;
 }