Parcourir la source

去除了BsonClassMap注册方式,使用BsonKnownTypes标签注册,更简单方便

tanghai il y a 9 ans
Parent
commit
15b049d12a
41 fichiers modifiés avec 88 ajouts et 100 suppressions
  1. 1 1
      Config/StartConfig/LocalAllServer.txt
  2. 1 3
      Server/App/Program.cs
  3. 0 27
      Server/Base/Server.Base.csproj
  4. 1 1
      Server/Controller/Message/C2R_LoginHandler.cs
  5. 1 1
      Server/Controller/Message/M2A_ReloadHandler.cs
  6. 1 1
      Server/Model/Component/RealmGateAddressComponent.cs
  7. 29 2
      Server/Model/Server.Model.csproj
  8. 1 2
      Unity/Assets/Editor/EditorInit.cs
  9. 1 0
      Unity/Assets/Editor/ObjectManagerToolsEditor/ObjectManagerToolsWindow.cs
  10. 2 3
      Unity/Assets/Scripts/Component/Config/ClientConfig.cs
  11. 2 3
      Unity/Assets/Scripts/Component/Config/InnerConfig.cs
  12. 2 3
      Unity/Assets/Scripts/Component/Config/OuterConfig.cs
  13. 1 1
      Unity/Assets/Scripts/Component/ConfigComponent.cs
  14. 1 1
      Unity/Assets/Scripts/Component/EventComponent.cs
  15. 1 1
      Unity/Assets/Scripts/Component/MessageDispatherComponent.cs
  16. 15 0
      Unity/Assets/Scripts/Config/AConfigComponent.cs
  17. 2 2
      Unity/Assets/Scripts/Config/AConfigComponent.cs.meta
  18. 1 3
      Unity/Assets/Scripts/Entity/UI.cs
  19. 0 2
      Unity/Assets/Scripts/Init.cs
  20. 2 2
      Unity/Assets/Scripts/Object.meta
  21. 2 1
      Unity/Assets/Scripts/Object/Component.cs
  22. 0 0
      Unity/Assets/Scripts/Object/Component.cs.meta
  23. 2 1
      Unity/Assets/Scripts/Object/Entity.cs
  24. 0 0
      Unity/Assets/Scripts/Object/Entity.cs.meta
  25. 1 1
      Unity/Assets/Scripts/Object/IAwake.cs
  26. 0 0
      Unity/Assets/Scripts/Object/IAwake.cs.meta
  27. 1 1
      Unity/Assets/Scripts/Object/ILoader.cs
  28. 0 0
      Unity/Assets/Scripts/Object/ILoader.cs.meta
  29. 1 1
      Unity/Assets/Scripts/Object/IStart.cs
  30. 0 0
      Unity/Assets/Scripts/Object/IStart.cs.meta
  31. 1 1
      Unity/Assets/Scripts/Object/IUpdate.cs
  32. 0 0
      Unity/Assets/Scripts/Object/IUpdate.cs.meta
  33. 2 1
      Unity/Assets/Scripts/Object/Object.cs
  34. 0 0
      Unity/Assets/Scripts/Object/Object.cs.meta
  35. 1 1
      Unity/Assets/Scripts/Object/ObjectEventAttribute.cs
  36. 0 0
      Unity/Assets/Scripts/Object/ObjectEventAttribute.cs.meta
  37. 2 1
      Unity/Assets/Scripts/Object/ObjectManager.cs
  38. 0 0
      Unity/Assets/Scripts/Object/ObjectManager.cs.meta
  39. 0 22
      Unity/Assets/Scripts/Other/BsonClassMapRegister.cs
  40. 0 9
      Unity/Unity.CSharp.Plugins.csproj
  41. 10 1
      Unity/Unity.CSharp.csproj

+ 1 - 1
Config/StartConfig/LocalAllServer.txt

@@ -1 +1 @@
-{ "_t" : "StartConfig", "_id" : NumberLong("96832337674244"), "Type" : "Config", "components" : [{ "_t" : "InnerConfig", "_id" : NumberLong("96832337674245"), "Host" : "127.0.0.1", "Port" : 20000 }, { "_t" : "OuterConfig", "_id" : NumberLong("96832337674246"), "Host" : "127.0.0.1", "Port" : 10000 }], "AppId" : 1, "AppType" : "AllServer", "ServerIP" : "*" }
+{ "_t" : "StartConfig", "_id" : NumberLong("96871765901315"), "Type" : "Config", "components" : [{ "_t" : "InnerConfig", "_id" : NumberLong("96871765901316"), "Host" : "127.0.0.1", "Port" : 20000 }, { "_t" : "OuterConfig", "_id" : NumberLong("96871765901317"), "Host" : "127.0.0.1", "Port" : 10000 }], "AppId" : 1, "AppType" : "AllServer", "ServerIP" : "*" }

+ 1 - 3
Server/App/Program.cs

@@ -2,7 +2,7 @@
 using Base;
 using Model;
 using NLog;
-using Object = Base.Object;
+using Object = Model.Object;
 
 namespace App
 {
@@ -12,8 +12,6 @@ namespace App
 		{
 			try
 			{
-				BsonClassMapRegister.Register();
-
 				Object.ObjectManager.Register("Model", typeof(Game).Assembly);
 				Object.ObjectManager.Register("Controller", DllHelper.GetController());
 

+ 0 - 27
Server/Base/Server.Base.csproj

@@ -149,33 +149,6 @@
     <Compile Include="..\..\Unity\Assets\Plugins\Base\Network\UNet\USocketManager.cs">
       <Link>Network\UNet\USocketManager.cs</Link>
     </Compile>
-    <Compile Include="..\..\Unity\Assets\Plugins\Base\Object\Component.cs">
-      <Link>Object\Component.cs</Link>
-    </Compile>
-    <Compile Include="..\..\Unity\Assets\Plugins\Base\Object\Entity.cs">
-      <Link>Object\Entity.cs</Link>
-    </Compile>
-    <Compile Include="..\..\Unity\Assets\Plugins\Base\Object\IAwake.cs">
-      <Link>Object\IAwake.cs</Link>
-    </Compile>
-    <Compile Include="..\..\Unity\Assets\Plugins\Base\Object\ILoader.cs">
-      <Link>Object\ILoader.cs</Link>
-    </Compile>
-    <Compile Include="..\..\Unity\Assets\Plugins\Base\Object\IStart.cs">
-      <Link>Object\IStart.cs</Link>
-    </Compile>
-    <Compile Include="..\..\Unity\Assets\Plugins\Base\Object\IUpdate.cs">
-      <Link>Object\IUpdate.cs</Link>
-    </Compile>
-    <Compile Include="..\..\Unity\Assets\Plugins\Base\Object\Object.cs">
-      <Link>Object\Object.cs</Link>
-    </Compile>
-    <Compile Include="..\..\Unity\Assets\Plugins\Base\Object\ObjectEventAttribute.cs">
-      <Link>Object\ObjectEventAttribute.cs</Link>
-    </Compile>
-    <Compile Include="..\..\Unity\Assets\Plugins\Base\Object\ObjectManager.cs">
-      <Link>Object\ObjectManager.cs</Link>
-    </Compile>
     <Compile Include="..\..\Unity\Assets\Plugins\Base\QueueDictionary.cs">
       <Link>QueueDictionary.cs</Link>
     </Compile>

+ 1 - 1
Server/Controller/Message/C2R_LoginHandler.cs

@@ -18,7 +18,7 @@ namespace Controller
 			}
 
 			// 随机分配一个Gate
-			Entity config = Game.Scene.GetComponent<RealmGateAddressComponent>().GetAddress();
+			StartConfig config = Game.Scene.GetComponent<RealmGateAddressComponent>().GetAddress();
 			//Log.Debug($"gate address: {MongoHelper.ToJson(config)}");
 			string innerAddress = $"{config.GetComponent<InnerConfig>().Host}:{config.GetComponent<InnerConfig>().Port}";
 			Session gateSession = Game.Scene.GetComponent<NetInnerComponent>().Get(innerAddress);

+ 1 - 1
Server/Controller/Message/M2A_ReloadHandler.cs

@@ -1,7 +1,7 @@
 using System;
 using Base;
 using Model;
-using Object = Base.Object;
+using Object = Model.Object;
 
 namespace Controller
 {

+ 1 - 1
Server/Model/Component/RealmGateAddressComponent.cs

@@ -29,7 +29,7 @@ namespace Model
 			}
 		}
 
-		public Entity GetAddress()
+		public StartConfig GetAddress()
 		{
 			int n = RandomHelper.RandomNumber(0, this.GateAddress.Count);
 			return this.GateAddress[n];

+ 29 - 2
Server/Model/Server.Model.csproj

@@ -86,6 +86,9 @@
     <Compile Include="..\..\Unity\Assets\Scripts\Config\AConfig.cs">
       <Link>Config\AConfig.cs</Link>
     </Compile>
+    <Compile Include="..\..\Unity\Assets\Scripts\Config\AConfigComponent.cs">
+      <Link>Config\AConfigComponent.cs</Link>
+    </Compile>
     <Compile Include="..\..\Unity\Assets\Scripts\Config\ConfigAttribute.cs">
       <Link>Config\ConfigAttribute.cs</Link>
     </Compile>
@@ -155,8 +158,32 @@
     <Compile Include="..\..\Unity\Assets\Scripts\Message\RpcException.cs">
       <Link>Message\RpcException.cs</Link>
     </Compile>
-    <Compile Include="..\..\Unity\Assets\Scripts\Other\BsonClassMapRegister.cs">
-      <Link>Other\BsonClassMapRegister.cs</Link>
+    <Compile Include="..\..\Unity\Assets\Scripts\Object\Component.cs">
+      <Link>Object\Component.cs</Link>
+    </Compile>
+    <Compile Include="..\..\Unity\Assets\Scripts\Object\Entity.cs">
+      <Link>Object\Entity.cs</Link>
+    </Compile>
+    <Compile Include="..\..\Unity\Assets\Scripts\Object\IAwake.cs">
+      <Link>Object\IAwake.cs</Link>
+    </Compile>
+    <Compile Include="..\..\Unity\Assets\Scripts\Object\ILoader.cs">
+      <Link>Object\ILoader.cs</Link>
+    </Compile>
+    <Compile Include="..\..\Unity\Assets\Scripts\Object\IStart.cs">
+      <Link>Object\IStart.cs</Link>
+    </Compile>
+    <Compile Include="..\..\Unity\Assets\Scripts\Object\IUpdate.cs">
+      <Link>Object\IUpdate.cs</Link>
+    </Compile>
+    <Compile Include="..\..\Unity\Assets\Scripts\Object\Object.cs">
+      <Link>Object\Object.cs</Link>
+    </Compile>
+    <Compile Include="..\..\Unity\Assets\Scripts\Object\ObjectEventAttribute.cs">
+      <Link>Object\ObjectEventAttribute.cs</Link>
+    </Compile>
+    <Compile Include="..\..\Unity\Assets\Scripts\Object\ObjectManager.cs">
+      <Link>Object\ObjectManager.cs</Link>
     </Compile>
     <Compile Include="..\..\Unity\Assets\Scripts\Other\EntityType.cs">
       <Link>Other\EntityType.cs</Link>

+ 1 - 2
Unity/Assets/Editor/EditorInit.cs

@@ -2,8 +2,8 @@
 using Base;
 using UnityEditor;
 using UnityEngine;
-using Object = Base.Object;
 using Model;
+using Object = Model.Object;
 
 namespace MyEditor
 {
@@ -12,7 +12,6 @@ namespace MyEditor
 	{
 		static EditorInit()
 		{
-			BsonClassMapRegister.Register();
 			EditorApplication.update += Update;
 		}
 

+ 1 - 0
Unity/Assets/Editor/ObjectManagerToolsEditor/ObjectManagerToolsWindow.cs

@@ -1,4 +1,5 @@
 using Base;
+using Model;
 using UnityEditor;
 
 public class ObjectManagerToolsWindow : EditorWindow

+ 2 - 3
Unity/Assets/Scripts/Component/Config/ClientConfig.cs

@@ -1,10 +1,9 @@
-using Base;
-using MongoDB.Bson.Serialization.Attributes;
+using MongoDB.Bson.Serialization.Attributes;
 
 namespace Model
 {
 	[BsonIgnoreExtraElements]
-	public class ClientConfig: Component
+	public class ClientConfig: AConfigComponent
 	{
 		public string Host = "";
 		public int Port;

+ 2 - 3
Unity/Assets/Scripts/Component/Config/InnerConfig.cs

@@ -1,10 +1,9 @@
-using Base;
-using MongoDB.Bson.Serialization.Attributes;
+using MongoDB.Bson.Serialization.Attributes;
 
 namespace Model
 {
 	[BsonIgnoreExtraElements]
-	public class InnerConfig : Component
+	public class InnerConfig : AConfigComponent
 	{
 		public string Host { get; set; }
 		public int Port { get; set; }

+ 2 - 3
Unity/Assets/Scripts/Component/Config/OuterConfig.cs

@@ -1,10 +1,9 @@
-using Base;
-using MongoDB.Bson.Serialization.Attributes;
+using MongoDB.Bson.Serialization.Attributes;
 
 namespace Model
 {
 	[BsonIgnoreExtraElements]
-	public class OuterConfig : Component
+	public class OuterConfig : AConfigComponent
 	{
 		public string Host { get; set; }
 		public int Port { get; set; }

+ 1 - 1
Unity/Assets/Scripts/Component/ConfigComponent.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Reflection;
 using Base;
-using Object = Base.Object;
+using Object = Model.Object;
 
 namespace Model
 {

+ 1 - 1
Unity/Assets/Scripts/Component/EventComponent.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Reflection;
 using Base;
-using Object = Base.Object;
+using Object = Model.Object;
 
 namespace Model
 {

+ 1 - 1
Unity/Assets/Scripts/Component/MessageDispatherComponent.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Reflection;
 using Base;
-using Object = Base.Object;
+using Object = Model.Object;
 
 namespace Model
 {

+ 15 - 0
Unity/Assets/Scripts/Config/AConfigComponent.cs

@@ -0,0 +1,15 @@
+using Base;
+using MongoDB.Bson.Serialization.Attributes;
+
+namespace Model
+{
+	/// <summary>
+	/// 每个Config的基类
+	/// </summary>
+	[BsonKnownTypes(typeof(ClientConfig))]
+	[BsonKnownTypes(typeof(InnerConfig))]
+	[BsonKnownTypes(typeof(OuterConfig))]
+	public abstract class AConfigComponent: Component
+	{
+	}
+}

+ 2 - 2
Unity/Assets/Scripts/Other/BsonClassMapRegister.cs.meta → Unity/Assets/Scripts/Config/AConfigComponent.cs.meta

@@ -1,6 +1,6 @@
 fileFormatVersion: 2
-guid: 134d0d7bf9f397e48849fe72d43bee76
-timeCreated: 1477036759
+guid: 3a286d83056068f4ba8dfcf7a37b926d
+timeCreated: 1478145676
 licenseType: Pro
 MonoImporter:
   serializedVersion: 2

+ 1 - 3
Unity/Assets/Scripts/Entity/UI.cs

@@ -1,6 +1,4 @@
-using Base;
-using UnityEngine;
-using Component = Base.Component;
+using UnityEngine;
 
 namespace Model
 {

+ 0 - 2
Unity/Assets/Scripts/Init.cs

@@ -1,7 +1,6 @@
 using System;
 using Base;
 using UnityEngine;
-using Object = Base.Object;
 
 namespace Model
 {
@@ -9,7 +8,6 @@ namespace Model
 	{
 		private void Start()
 		{
-			BsonClassMapRegister.Register();
 			Object.ObjectManager.Register("Model", typeof(Game).Assembly);
 			Object.ObjectManager.Register("Controller", DllHelper.GetController());
 

+ 2 - 2
Unity/Assets/Plugins/Base/Object.meta → Unity/Assets/Scripts/Object.meta

@@ -1,7 +1,7 @@
 fileFormatVersion: 2
-guid: bfb63bc23132cfe47aaac731331ca16e
+guid: 600c9bb417aba1641897df52e4ea0eeb
 folderAsset: yes
-timeCreated: 1474942922
+timeCreated: 1478146107
 licenseType: Pro
 DefaultImporter:
   userData: 

+ 2 - 1
Unity/Assets/Plugins/Base/Object/Component.cs → Unity/Assets/Scripts/Object/Component.cs

@@ -1,10 +1,11 @@
 using MongoDB.Bson.Serialization.Attributes;
 
-namespace Base
+namespace Model
 {
 	/// <summary>
 	/// Component的Id与Owner Entity Id一样
 	/// </summary>
+	[BsonKnownTypes(typeof(AConfigComponent))]
 	public abstract class Component : Object
 	{
 		[BsonIgnore]

+ 0 - 0
Unity/Assets/Plugins/Base/Object/Component.cs.meta → Unity/Assets/Scripts/Object/Component.cs.meta


+ 2 - 1
Unity/Assets/Plugins/Base/Object/Entity.cs → Unity/Assets/Scripts/Object/Entity.cs

@@ -1,9 +1,10 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
+using Base;
 using MongoDB.Bson.Serialization.Attributes;
 
-namespace Base
+namespace Model
 {
 	public class Entity: Object
 	{

+ 0 - 0
Unity/Assets/Plugins/Base/Object/Entity.cs.meta → Unity/Assets/Scripts/Object/Entity.cs.meta


+ 1 - 1
Unity/Assets/Plugins/Base/Object/IAwake.cs → Unity/Assets/Scripts/Object/IAwake.cs

@@ -1,4 +1,4 @@
-namespace Base
+namespace Model
 {
 	/// <summary>
 	/// World的Componet实现该接口后,会在World.Start时调用该Start方法

+ 0 - 0
Unity/Assets/Plugins/Base/Object/IAwake.cs.meta → Unity/Assets/Scripts/Object/IAwake.cs.meta


+ 1 - 1
Unity/Assets/Plugins/Base/Object/ILoader.cs → Unity/Assets/Scripts/Object/ILoader.cs

@@ -1,4 +1,4 @@
-namespace Base
+namespace Model
 {
 	/// <summary>
 	/// World的Componet实现该接口,World.Load会调用Load方法

+ 0 - 0
Unity/Assets/Plugins/Base/Object/ILoader.cs.meta → Unity/Assets/Scripts/Object/ILoader.cs.meta


+ 1 - 1
Unity/Assets/Plugins/Base/Object/IStart.cs → Unity/Assets/Scripts/Object/IStart.cs

@@ -1,4 +1,4 @@
-namespace Base
+namespace Model
 {
 	/// <summary>
 	/// World的Componet实现该接口后,会在World.Start时调用该Start方法

+ 0 - 0
Unity/Assets/Plugins/Base/Object/IStart.cs.meta → Unity/Assets/Scripts/Object/IStart.cs.meta


+ 1 - 1
Unity/Assets/Plugins/Base/Object/IUpdate.cs → Unity/Assets/Scripts/Object/IUpdate.cs

@@ -1,4 +1,4 @@
-namespace Base
+namespace Model
 {
 	/// <summary>
 	/// 实现了该接口的World Componet会每帧刷新

+ 0 - 0
Unity/Assets/Plugins/Base/Object/IUpdate.cs.meta → Unity/Assets/Scripts/Object/IUpdate.cs.meta


+ 2 - 1
Unity/Assets/Plugins/Base/Object/Object.cs → Unity/Assets/Scripts/Object/Object.cs

@@ -1,8 +1,9 @@
 using System;
 using System.ComponentModel;
+using Base;
 using MongoDB.Bson.Serialization.Attributes;
 
-namespace Base
+namespace Model
 {
 	public abstract class Object: IDisposable, ISupportInitialize
 	{

+ 0 - 0
Unity/Assets/Plugins/Base/Object/Object.cs.meta → Unity/Assets/Scripts/Object/Object.cs.meta


+ 1 - 1
Unity/Assets/Plugins/Base/Object/ObjectEventAttribute.cs → Unity/Assets/Scripts/Object/ObjectEventAttribute.cs

@@ -1,6 +1,6 @@
 using System;
 
-namespace Base
+namespace Model
 {
 	[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
 	public class ObjectEventAttribute: Attribute

+ 0 - 0
Unity/Assets/Plugins/Base/Object/ObjectEventAttribute.cs.meta → Unity/Assets/Scripts/Object/ObjectEventAttribute.cs.meta


+ 2 - 1
Unity/Assets/Plugins/Base/Object/ObjectManager.cs → Unity/Assets/Scripts/Object/ObjectManager.cs

@@ -3,8 +3,9 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Reflection;
 using System.Text;
+using Base;
 
-namespace Base
+namespace Model
 {
 	public interface IObjectEvent
 	{

+ 0 - 0
Unity/Assets/Plugins/Base/Object/ObjectManager.cs.meta → Unity/Assets/Scripts/Object/ObjectManager.cs.meta


+ 0 - 22
Unity/Assets/Scripts/Other/BsonClassMapRegister.cs

@@ -1,22 +0,0 @@
-using MongoDB.Bson.Serialization;
-
-namespace Model
-{
-	public static class BsonClassMapRegister
-	{
-		private static bool isRegister;
-
-		public static void Register()
-		{
-			if (isRegister)
-			{
-				return;
-			}
-			isRegister = true;
-
-			BsonClassMap.RegisterClassMap<InnerConfig>();
-			BsonClassMap.RegisterClassMap<OuterConfig>();
-			BsonClassMap.RegisterClassMap<ClientConfig>();
-		}
-	}
-}

+ 0 - 9
Unity/Unity.CSharp.Plugins.csproj

@@ -108,15 +108,6 @@
     <Compile Include="Assets\Plugins\Base\Network\UNet\UService.cs" />
     <Compile Include="Assets\Plugins\Base\Network\UNet\USocket.cs" />
     <Compile Include="Assets\Plugins\Base\Network\UNet\USocketManager.cs" />
-    <Compile Include="Assets\Plugins\Base\Object\Component.cs" />
-    <Compile Include="Assets\Plugins\Base\Object\Entity.cs" />
-    <Compile Include="Assets\Plugins\Base\Object\IAwake.cs" />
-    <Compile Include="Assets\Plugins\Base\Object\ILoader.cs" />
-    <Compile Include="Assets\Plugins\Base\Object\IStart.cs" />
-    <Compile Include="Assets\Plugins\Base\Object\IUpdate.cs" />
-    <Compile Include="Assets\Plugins\Base\Object\Object.cs" />
-    <Compile Include="Assets\Plugins\Base\Object\ObjectEventAttribute.cs" />
-    <Compile Include="Assets\Plugins\Base\Object\ObjectManager.cs" />
     <Compile Include="Assets\Plugins\Base\QueueDictionary.cs" />
     <Compile Include="Assets\Plugins\Base\TryLocker.cs" />
     <Compile Include="Assets\Plugins\MongoDB\MongoDB.Bson\BsonConstants.cs" />

+ 10 - 1
Unity/Unity.CSharp.csproj

@@ -97,6 +97,7 @@
     <Compile Include="Assets\Scripts\Component\TimeComponent.cs" />
     <Compile Include="Assets\Scripts\Component\TimerComponent.cs" />
     <Compile Include="Assets\Scripts\Config\ACategory.cs" />
+    <Compile Include="Assets\Scripts\Config\AConfigComponent.cs" />
     <Compile Include="Assets\Scripts\Config\AConfig.cs" />
     <Compile Include="Assets\Scripts\Config\ConfigAttribute.cs" />
     <Compile Include="Assets\Scripts\Config\ConfigHelper.cs" />
@@ -125,7 +126,15 @@
     <Compile Include="Assets\Scripts\Message\RpcException.cs" />
     <Compile Include="Assets\Scripts\Entity\Config\BuffConfig.cs" />
     <Compile Include="Assets\Scripts\Entity\Message\Message.cs" />
-    <Compile Include="Assets\Scripts\Other\BsonClassMapRegister.cs" />
+    <Compile Include="Assets\Scripts\Object\Component.cs" />
+    <Compile Include="Assets\Scripts\Object\Entity.cs" />
+    <Compile Include="Assets\Scripts\Object\IAwake.cs" />
+    <Compile Include="Assets\Scripts\Object\ILoader.cs" />
+    <Compile Include="Assets\Scripts\Object\IStart.cs" />
+    <Compile Include="Assets\Scripts\Object\IUpdate.cs" />
+    <Compile Include="Assets\Scripts\Object\Object.cs" />
+    <Compile Include="Assets\Scripts\Object\ObjectEventAttribute.cs" />
+    <Compile Include="Assets\Scripts\Object\ObjectManager.cs" />
     <Compile Include="Assets\Scripts\Other\EntityType.cs" />
     <Compile Include="Assets\Scripts\Other\GameException.cs" />
     <Compile Include="Assets\Scripts\Other\Options.cs" />