├── .gitignore ├── Assets ├── DesperateDevs.meta ├── DesperateDevs │ ├── Compile.cs │ ├── Compile.cs.meta │ ├── DesperateDevs.Logging.dll │ ├── DesperateDevs.Logging.dll.meta │ ├── DesperateDevs.Networking.dll │ ├── DesperateDevs.Networking.dll.meta │ ├── DesperateDevs.Serialization.dll │ ├── DesperateDevs.Serialization.dll.meta │ ├── DesperateDevs.Utils.dll │ ├── DesperateDevs.Utils.dll.meta │ ├── Editor.meta │ └── Editor │ │ ├── DesperateDevs.Analytics.dll │ │ ├── DesperateDevs.Analytics.dll.meta │ │ ├── DesperateDevs.CodeGeneration.CodeGenerator.Unity.Editor.dll │ │ ├── DesperateDevs.CodeGeneration.CodeGenerator.Unity.Editor.dll.meta │ │ ├── DesperateDevs.CodeGeneration.CodeGenerator.dll │ │ ├── DesperateDevs.CodeGeneration.CodeGenerator.dll.meta │ │ ├── DesperateDevs.CodeGeneration.dll │ │ ├── DesperateDevs.CodeGeneration.dll.meta │ │ ├── DesperateDevs.Unity.Editor.dll │ │ ├── DesperateDevs.Unity.Editor.dll.meta │ │ ├── Images.meta │ │ ├── Images │ │ ├── Jenny-Header.png │ │ └── Jenny-Header.png.meta │ │ ├── Plugins.meta │ │ └── Plugins │ │ ├── DesperateDevs.CodeGeneration.Plugins.dll │ │ ├── DesperateDevs.CodeGeneration.Plugins.dll.meta │ │ ├── DesperateDevs.CodeGeneration.Unity.Plugins.dll │ │ └── DesperateDevs.CodeGeneration.Unity.Plugins.dll.meta ├── Entitas.meta ├── Entitas │ ├── CHANGELOG.md │ ├── CHANGELOG.md.meta │ ├── Editor.meta │ ├── Editor │ │ ├── Entitas.Migration.Unity.Editor.dll │ │ ├── Entitas.Migration.Unity.Editor.dll.meta │ │ ├── Entitas.Migration.dll │ │ ├── Entitas.Migration.dll.meta │ │ ├── Entitas.Unity.Editor.dll │ │ ├── Entitas.Unity.Editor.dll.meta │ │ ├── Entitas.VisualDebugging.Unity.Editor.dll │ │ ├── Entitas.VisualDebugging.Unity.Editor.dll.meta │ │ ├── Images.meta │ │ ├── Images │ │ │ ├── EntitasContextErrorHierarchyIcon.png │ │ │ ├── EntitasContextErrorHierarchyIcon.png.meta │ │ │ ├── EntitasContextHierarchyIcon.png │ │ │ ├── EntitasContextHierarchyIcon.png.meta │ │ │ ├── EntitasEntityErrorHierarchyIcon.png │ │ │ ├── EntitasEntityErrorHierarchyIcon.png.meta │ │ │ ├── EntitasEntityHierarchyIcon.png │ │ │ ├── EntitasEntityHierarchyIcon.png.meta │ │ │ ├── EntitasEntityLinkHierarchyIcon.png │ │ │ ├── EntitasEntityLinkHierarchyIcon.png.meta │ │ │ ├── EntitasEntityLinkWarnHierarchyIcon.png │ │ │ ├── EntitasEntityLinkWarnHierarchyIcon.png.meta │ │ │ ├── EntitasHeader.png │ │ │ ├── EntitasHeader.png.meta │ │ │ ├── EntitasSystemsHierarchyIcon.png │ │ │ ├── EntitasSystemsHierarchyIcon.png.meta │ │ │ ├── EntitasSystemsWarnHierarchyIcon.png │ │ │ └── EntitasSystemsWarnHierarchyIcon.png.meta │ │ ├── Plugins.meta │ │ └── Plugins │ │ │ ├── Entitas.CodeGeneration.Plugins.dll │ │ │ ├── Entitas.CodeGeneration.Plugins.dll.meta │ │ │ ├── Entitas.VisualDebugging.CodeGeneration.Plugins.dll │ │ │ └── Entitas.VisualDebugging.CodeGeneration.Plugins.dll.meta │ ├── Entitas.CodeGeneration.Attributes.dll │ ├── Entitas.CodeGeneration.Attributes.dll.meta │ ├── Entitas.Unity.dll │ ├── Entitas.Unity.dll.meta │ ├── Entitas.VisualDebugging.Unity.dll │ ├── Entitas.VisualDebugging.Unity.dll.meta │ ├── Entitas.dll │ ├── Entitas.dll.meta │ ├── Entitas.xml │ ├── Entitas.xml.meta │ ├── EntitasUpgradeGuide.md │ ├── EntitasUpgradeGuide.md.meta │ ├── LICENSE.txt │ ├── LICENSE.txt.meta │ ├── README.md │ └── README.md.meta ├── EntitasComponent.cs ├── EntitasComponent.cs.meta ├── EntityMemoryAlignment.cs ├── EntityMemoryAlignment.cs.meta ├── Generated.meta ├── Generated │ ├── Contexts.cs │ ├── Contexts.cs.meta │ ├── Feature.cs │ ├── Feature.cs.meta │ ├── Game.meta │ └── Game │ │ ├── Components.meta │ │ ├── Components │ │ ├── GameDynamicBodyComponent.cs │ │ ├── GameDynamicBodyComponent.cs.meta │ │ ├── GameTransform2DComponent.cs │ │ └── GameTransform2DComponent.cs.meta │ │ ├── GameAttribute.cs │ │ ├── GameAttribute.cs.meta │ │ ├── GameComponentsLookup.cs │ │ ├── GameComponentsLookup.cs.meta │ │ ├── GameContext.cs │ │ ├── GameContext.cs.meta │ │ ├── GameEntity.cs │ │ ├── GameEntity.cs.meta │ │ ├── GameMatcher.cs │ │ └── GameMatcher.cs.meta ├── MemoryAlignmentTest.cs ├── MemoryAlignmentTest.cs.meta ├── Scenes.meta └── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── Entitas.properties ├── Jenny.properties ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset └── VFXManager.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | Temp/ 2 | Library/ 3 | 4 | # Autogenerated VS/MD solution and project files 5 | *.unityproj 6 | *.suo 7 | *.tmp 8 | *.user 9 | *.userprefs 10 | *.pidb 11 | *.booproj 12 | /.vs/ 13 | 14 | # Unity3D generated meta files 15 | *.pidb.meta 16 | 17 | # Unity3D Generated File On Crash Reports 18 | sysinfo.txt 19 | 20 | # OS generated 21 | *.DS_Store 22 | *.Spotlight-V100 23 | *.Trashes 24 | ehthumbs.db 25 | Thumbs.db 26 | 27 | # Xamarin 28 | obj/ 29 | bin/ 30 | *.userprefs 31 | *.user 32 | test-results/ 33 | 34 | # Rider 35 | .idea 36 | Assembly-CSharp-Editor.csproj 37 | Assembly-CSharp-firstpass.csproj 38 | Assembly-CSharp.csproj 39 | settings.json -------------------------------------------------------------------------------- /Assets/DesperateDevs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c30d4da0c6f7e5b44997995b8bedb8cf 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Compile.cs: -------------------------------------------------------------------------------- 1 | namespace DesperateDevs.CodeGeneration.CodeGenerator.Unity.Editor { 2 | 3 | class Compile { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Compile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1d345124dac9cc4dbababe449b0816d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/DesperateDevs.Logging.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/DesperateDevs.Logging.dll -------------------------------------------------------------------------------- /Assets/DesperateDevs/DesperateDevs.Logging.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e37d6f391586fed478d5835a7ae51d0b 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/DesperateDevs.Networking.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/DesperateDevs.Networking.dll -------------------------------------------------------------------------------- /Assets/DesperateDevs/DesperateDevs.Networking.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10c4e2db2d49f2145b4c9b18f3c77258 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/DesperateDevs.Serialization.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/DesperateDevs.Serialization.dll -------------------------------------------------------------------------------- /Assets/DesperateDevs/DesperateDevs.Serialization.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d5dea252014ab94f8fa6aebcde9dcb6 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/DesperateDevs.Utils.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/DesperateDevs.Utils.dll -------------------------------------------------------------------------------- /Assets/DesperateDevs/DesperateDevs.Utils.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 995d65b4975ad284fb0f02f580486852 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04f20c2b7b1bb60448d859dd7899b3f0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/DesperateDevs.Analytics.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/Editor/DesperateDevs.Analytics.dll -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/DesperateDevs.Analytics.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63e1959b31ec5184ba3fed742bf91ce0 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/DesperateDevs.CodeGeneration.CodeGenerator.Unity.Editor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/Editor/DesperateDevs.CodeGeneration.CodeGenerator.Unity.Editor.dll -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/DesperateDevs.CodeGeneration.CodeGenerator.Unity.Editor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e6bf6e3537471b4a9ef88372420d37a 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/DesperateDevs.CodeGeneration.CodeGenerator.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/Editor/DesperateDevs.CodeGeneration.CodeGenerator.dll -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/DesperateDevs.CodeGeneration.CodeGenerator.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc94d259f249fde4d9acf723765fdde7 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/DesperateDevs.CodeGeneration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/Editor/DesperateDevs.CodeGeneration.dll -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/DesperateDevs.CodeGeneration.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3603a2e50f2b5647993585cfb298ad6 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/DesperateDevs.Unity.Editor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/Editor/DesperateDevs.Unity.Editor.dll -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/DesperateDevs.Unity.Editor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7de3a5275b332f148928ac04ae740644 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/Images.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71a7d2733de62e547b1de076aabfde77 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/Images/Jenny-Header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/Editor/Images/Jenny-Header.png -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/Images/Jenny-Header.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62c57d751cb8541c2afeeee44410ea23 3 | labels: 4 | - Jenny-Header 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 7 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 0 12 | sRGBTexture: 0 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | streamingMipmaps: 0 27 | streamingMipmapsPriority: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 2 37 | aniso: -1 38 | mipBias: -100 39 | wrapU: 1 40 | wrapV: 1 41 | wrapW: 1 42 | nPOTScale: 0 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 1 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 0 53 | alphaUsage: 1 54 | alphaIsTransparency: 0 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | maxTextureSizeSet: 0 60 | compressionQualitySet: 0 61 | textureFormatSet: 0 62 | platformSettings: 63 | - serializedVersion: 2 64 | buildTarget: DefaultTexturePlatform 65 | maxTextureSize: 2048 66 | resizeAlgorithm: 0 67 | textureFormat: -1 68 | textureCompression: 0 69 | compressionQuality: 50 70 | crunchedCompression: 0 71 | allowsAlphaSplitting: 0 72 | overridden: 0 73 | androidETC2FallbackOverride: 0 74 | - serializedVersion: 2 75 | buildTarget: Standalone 76 | maxTextureSize: 2048 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 0 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | - serializedVersion: 2 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 0 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | - serializedVersion: 2 97 | buildTarget: Android 98 | maxTextureSize: 2048 99 | resizeAlgorithm: 0 100 | textureFormat: -1 101 | textureCompression: 0 102 | compressionQuality: 50 103 | crunchedCompression: 0 104 | allowsAlphaSplitting: 0 105 | overridden: 0 106 | androidETC2FallbackOverride: 0 107 | spriteSheet: 108 | serializedVersion: 2 109 | sprites: [] 110 | outline: [] 111 | physicsShape: [] 112 | bones: [] 113 | spriteID: dec394311a18449ed96f63646ffa6c80 114 | vertices: [] 115 | indices: 116 | edges: [] 117 | weights: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1e921ca3a0e8cb4d9ca81ab8132aa8a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/Plugins/DesperateDevs.CodeGeneration.Plugins.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/Editor/Plugins/DesperateDevs.CodeGeneration.Plugins.dll -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/Plugins/DesperateDevs.CodeGeneration.Plugins.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67e246c9f3cf4804ea2139fa49f02b73 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/Plugins/DesperateDevs.CodeGeneration.Unity.Plugins.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/DesperateDevs/Editor/Plugins/DesperateDevs.CodeGeneration.Unity.Plugins.dll -------------------------------------------------------------------------------- /Assets/DesperateDevs/Editor/Plugins/DesperateDevs.CodeGeneration.Unity.Plugins.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b022efef6a1b0e4eb1f01aec80628e8 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Entitas.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6428034d0d81f9041b34f5665fa26f9d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Entitas/CHANGELOG.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75444f6c728bb4f42878b7e74e8f75d5 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e7e2073c4bbe264991e0ff2e6ee87d9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Entitas.Migration.Unity.Editor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Entitas.Migration.Unity.Editor.dll -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Entitas.Migration.Unity.Editor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aeff4c6a763f2984b99ea6883eb59950 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Entitas.Migration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Entitas.Migration.dll -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Entitas.Migration.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e479040aa2a21748ad678eb555b709f 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Entitas.Unity.Editor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Entitas.Unity.Editor.dll -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Entitas.Unity.Editor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3745e67ff5bd3454fbcc45e2c4f9b50b 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Entitas.VisualDebugging.Unity.Editor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Entitas.VisualDebugging.Unity.Editor.dll -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Entitas.VisualDebugging.Unity.Editor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8f5badd20fe93e4c85fc48bce521369 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8041808d18dc3894d99c53ab7df625d6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasContextErrorHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Images/EntitasContextErrorHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasContextErrorHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35e2fad360fea426684933179da777df 3 | labels: 4 | - EntitasContextErrorHierarchyIcon 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 7 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 0 12 | sRGBTexture: 0 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | streamingMipmaps: 0 27 | streamingMipmapsPriority: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: -3 33 | maxTextureSize: 256 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 0 37 | aniso: -1 38 | mipBias: -100 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | maxTextureSizeSet: 0 60 | compressionQualitySet: 0 61 | textureFormatSet: 0 62 | platformSettings: 63 | - serializedVersion: 2 64 | buildTarget: DefaultTexturePlatform 65 | maxTextureSize: 32 66 | resizeAlgorithm: 0 67 | textureFormat: -1 68 | textureCompression: 0 69 | compressionQuality: 50 70 | crunchedCompression: 0 71 | allowsAlphaSplitting: 0 72 | overridden: 0 73 | androidETC2FallbackOverride: 0 74 | - serializedVersion: 2 75 | buildTarget: Standalone 76 | maxTextureSize: 32 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 0 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | - serializedVersion: 2 86 | buildTarget: iPhone 87 | maxTextureSize: 32 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 0 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | - serializedVersion: 2 97 | buildTarget: Android 98 | maxTextureSize: 32 99 | resizeAlgorithm: 0 100 | textureFormat: -1 101 | textureCompression: 0 102 | compressionQuality: 50 103 | crunchedCompression: 0 104 | allowsAlphaSplitting: 0 105 | overridden: 0 106 | androidETC2FallbackOverride: 0 107 | - serializedVersion: 2 108 | buildTarget: WebGL 109 | maxTextureSize: 256 110 | resizeAlgorithm: 0 111 | textureFormat: -1 112 | textureCompression: 0 113 | compressionQuality: 50 114 | crunchedCompression: 0 115 | allowsAlphaSplitting: 0 116 | overridden: 0 117 | androidETC2FallbackOverride: 0 118 | spriteSheet: 119 | serializedVersion: 2 120 | sprites: [] 121 | outline: [] 122 | physicsShape: [] 123 | bones: [] 124 | spriteID: 125 | vertices: [] 126 | indices: 127 | edges: [] 128 | weights: [] 129 | spritePackingTag: 130 | pSDRemoveMatte: 0 131 | pSDShowRemoveMatteOption: 0 132 | userData: 133 | assetBundleName: 134 | assetBundleVariant: 135 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasContextHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Images/EntitasContextHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasContextHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e23ad41464ef945d784cdb90d844e6c4 3 | labels: 4 | - EntitasContextHierarchyIcon 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 7 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 0 12 | sRGBTexture: 0 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | streamingMipmaps: 0 27 | streamingMipmapsPriority: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: -3 33 | maxTextureSize: 256 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 0 37 | aniso: -1 38 | mipBias: -100 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | maxTextureSizeSet: 0 60 | compressionQualitySet: 0 61 | textureFormatSet: 0 62 | platformSettings: 63 | - serializedVersion: 2 64 | buildTarget: DefaultTexturePlatform 65 | maxTextureSize: 32 66 | resizeAlgorithm: 0 67 | textureFormat: -1 68 | textureCompression: 0 69 | compressionQuality: 50 70 | crunchedCompression: 0 71 | allowsAlphaSplitting: 0 72 | overridden: 0 73 | androidETC2FallbackOverride: 0 74 | - serializedVersion: 2 75 | buildTarget: Standalone 76 | maxTextureSize: 32 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 0 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | - serializedVersion: 2 86 | buildTarget: iPhone 87 | maxTextureSize: 32 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 0 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | - serializedVersion: 2 97 | buildTarget: Android 98 | maxTextureSize: 32 99 | resizeAlgorithm: 0 100 | textureFormat: -1 101 | textureCompression: 0 102 | compressionQuality: 50 103 | crunchedCompression: 0 104 | allowsAlphaSplitting: 0 105 | overridden: 0 106 | androidETC2FallbackOverride: 0 107 | - serializedVersion: 2 108 | buildTarget: WebGL 109 | maxTextureSize: 256 110 | resizeAlgorithm: 0 111 | textureFormat: -1 112 | textureCompression: 0 113 | compressionQuality: 50 114 | crunchedCompression: 0 115 | allowsAlphaSplitting: 0 116 | overridden: 0 117 | androidETC2FallbackOverride: 0 118 | spriteSheet: 119 | serializedVersion: 2 120 | sprites: [] 121 | outline: [] 122 | physicsShape: [] 123 | bones: [] 124 | spriteID: 125 | vertices: [] 126 | indices: 127 | edges: [] 128 | weights: [] 129 | spritePackingTag: 130 | pSDRemoveMatte: 0 131 | pSDShowRemoveMatteOption: 0 132 | userData: 133 | assetBundleName: 134 | assetBundleVariant: 135 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasEntityErrorHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Images/EntitasEntityErrorHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasEntityErrorHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06bc0e5b0b5124fca8f5d7dde1d012b0 3 | labels: 4 | - EntitasEntityErrorHierarchyIcon 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 7 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 0 12 | sRGBTexture: 0 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | streamingMipmaps: 0 27 | streamingMipmapsPriority: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: -3 33 | maxTextureSize: 256 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 0 37 | aniso: -1 38 | mipBias: -100 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | maxTextureSizeSet: 0 60 | compressionQualitySet: 0 61 | textureFormatSet: 0 62 | platformSettings: 63 | - serializedVersion: 2 64 | buildTarget: DefaultTexturePlatform 65 | maxTextureSize: 32 66 | resizeAlgorithm: 0 67 | textureFormat: -1 68 | textureCompression: 0 69 | compressionQuality: 50 70 | crunchedCompression: 0 71 | allowsAlphaSplitting: 0 72 | overridden: 0 73 | androidETC2FallbackOverride: 0 74 | - serializedVersion: 2 75 | buildTarget: Standalone 76 | maxTextureSize: 32 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 0 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | - serializedVersion: 2 86 | buildTarget: iPhone 87 | maxTextureSize: 32 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 0 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | - serializedVersion: 2 97 | buildTarget: Android 98 | maxTextureSize: 32 99 | resizeAlgorithm: 0 100 | textureFormat: -1 101 | textureCompression: 0 102 | compressionQuality: 50 103 | crunchedCompression: 0 104 | allowsAlphaSplitting: 0 105 | overridden: 0 106 | androidETC2FallbackOverride: 0 107 | spriteSheet: 108 | serializedVersion: 2 109 | sprites: [] 110 | outline: [] 111 | physicsShape: [] 112 | bones: [] 113 | spriteID: 114 | vertices: [] 115 | indices: 116 | edges: [] 117 | weights: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasEntityHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Images/EntitasEntityHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasEntityHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27b806265ee874b86aa2d28aba93ace2 3 | labels: 4 | - EntitasEntityHierarchyIcon 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 7 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 0 12 | sRGBTexture: 0 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | streamingMipmaps: 0 27 | streamingMipmapsPriority: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: -3 33 | maxTextureSize: 256 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 0 37 | aniso: -1 38 | mipBias: -100 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | maxTextureSizeSet: 0 60 | compressionQualitySet: 0 61 | textureFormatSet: 0 62 | platformSettings: 63 | - serializedVersion: 2 64 | buildTarget: DefaultTexturePlatform 65 | maxTextureSize: 32 66 | resizeAlgorithm: 0 67 | textureFormat: -1 68 | textureCompression: 0 69 | compressionQuality: 50 70 | crunchedCompression: 0 71 | allowsAlphaSplitting: 0 72 | overridden: 0 73 | androidETC2FallbackOverride: 0 74 | - serializedVersion: 2 75 | buildTarget: Standalone 76 | maxTextureSize: 32 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 0 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | - serializedVersion: 2 86 | buildTarget: iPhone 87 | maxTextureSize: 32 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 0 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | - serializedVersion: 2 97 | buildTarget: Android 98 | maxTextureSize: 32 99 | resizeAlgorithm: 0 100 | textureFormat: -1 101 | textureCompression: 0 102 | compressionQuality: 50 103 | crunchedCompression: 0 104 | allowsAlphaSplitting: 0 105 | overridden: 0 106 | androidETC2FallbackOverride: 0 107 | spriteSheet: 108 | serializedVersion: 2 109 | sprites: [] 110 | outline: [] 111 | physicsShape: [] 112 | bones: [] 113 | spriteID: 114 | vertices: [] 115 | indices: 116 | edges: [] 117 | weights: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasEntityLinkHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Images/EntitasEntityLinkHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasEntityLinkHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9647a20347ff0494682ccccc9f1bc18d 3 | labels: 4 | - EntitasEntityLinkHierarchyIcon 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 7 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 0 12 | sRGBTexture: 0 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | streamingMipmaps: 0 27 | streamingMipmapsPriority: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 0 37 | aniso: -1 38 | mipBias: -100 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | maxTextureSizeSet: 0 60 | compressionQualitySet: 0 61 | textureFormatSet: 0 62 | platformSettings: 63 | - serializedVersion: 2 64 | buildTarget: DefaultTexturePlatform 65 | maxTextureSize: 32 66 | resizeAlgorithm: 0 67 | textureFormat: -1 68 | textureCompression: 0 69 | compressionQuality: 50 70 | crunchedCompression: 0 71 | allowsAlphaSplitting: 0 72 | overridden: 0 73 | androidETC2FallbackOverride: 0 74 | - serializedVersion: 2 75 | buildTarget: Standalone 76 | maxTextureSize: 32 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 0 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | - serializedVersion: 2 86 | buildTarget: iPhone 87 | maxTextureSize: 32 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 0 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | - serializedVersion: 2 97 | buildTarget: Android 98 | maxTextureSize: 32 99 | resizeAlgorithm: 0 100 | textureFormat: -1 101 | textureCompression: 0 102 | compressionQuality: 50 103 | crunchedCompression: 0 104 | allowsAlphaSplitting: 0 105 | overridden: 0 106 | androidETC2FallbackOverride: 0 107 | spriteSheet: 108 | serializedVersion: 2 109 | sprites: [] 110 | outline: [] 111 | physicsShape: [] 112 | bones: [] 113 | spriteID: 114 | vertices: [] 115 | indices: 116 | edges: [] 117 | weights: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasEntityLinkWarnHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Images/EntitasEntityLinkWarnHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasEntityLinkWarnHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8efbceefe59cd4553baf36a0ef025dc1 3 | labels: 4 | - EntitasEntityLinkWarnHierarchyIcon 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 7 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 0 12 | sRGBTexture: 0 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | streamingMipmaps: 0 27 | streamingMipmapsPriority: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 0 37 | aniso: -1 38 | mipBias: -100 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | maxTextureSizeSet: 0 60 | compressionQualitySet: 0 61 | textureFormatSet: 0 62 | platformSettings: 63 | - serializedVersion: 2 64 | buildTarget: DefaultTexturePlatform 65 | maxTextureSize: 32 66 | resizeAlgorithm: 0 67 | textureFormat: -1 68 | textureCompression: 0 69 | compressionQuality: 50 70 | crunchedCompression: 0 71 | allowsAlphaSplitting: 0 72 | overridden: 0 73 | androidETC2FallbackOverride: 0 74 | - serializedVersion: 2 75 | buildTarget: Standalone 76 | maxTextureSize: 32 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 0 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | - serializedVersion: 2 86 | buildTarget: iPhone 87 | maxTextureSize: 32 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 0 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | - serializedVersion: 2 97 | buildTarget: Android 98 | maxTextureSize: 32 99 | resizeAlgorithm: 0 100 | textureFormat: -1 101 | textureCompression: 0 102 | compressionQuality: 50 103 | crunchedCompression: 0 104 | allowsAlphaSplitting: 0 105 | overridden: 0 106 | androidETC2FallbackOverride: 0 107 | spriteSheet: 108 | serializedVersion: 2 109 | sprites: [] 110 | outline: [] 111 | physicsShape: [] 112 | bones: [] 113 | spriteID: 114 | vertices: [] 115 | indices: 116 | edges: [] 117 | weights: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasHeader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Images/EntitasHeader.png -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasHeader.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65fb57b88da1f40c59682763366ab260 3 | labels: 4 | - EntitasHeader 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 7 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 0 12 | sRGBTexture: 0 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | streamingMipmaps: 0 27 | streamingMipmapsPriority: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: -3 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 2 37 | aniso: 1 38 | mipBias: -100 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 0 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 0 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | maxTextureSizeSet: 0 60 | compressionQualitySet: 0 61 | textureFormatSet: 0 62 | platformSettings: 63 | - serializedVersion: 2 64 | buildTarget: DefaultTexturePlatform 65 | maxTextureSize: 2048 66 | resizeAlgorithm: 0 67 | textureFormat: -1 68 | textureCompression: 0 69 | compressionQuality: 50 70 | crunchedCompression: 0 71 | allowsAlphaSplitting: 0 72 | overridden: 0 73 | androidETC2FallbackOverride: 0 74 | - serializedVersion: 2 75 | buildTarget: Standalone 76 | maxTextureSize: 2048 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 0 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | - serializedVersion: 2 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 0 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | - serializedVersion: 2 97 | buildTarget: Android 98 | maxTextureSize: 2048 99 | resizeAlgorithm: 0 100 | textureFormat: -1 101 | textureCompression: 0 102 | compressionQuality: 50 103 | crunchedCompression: 0 104 | allowsAlphaSplitting: 0 105 | overridden: 0 106 | androidETC2FallbackOverride: 0 107 | spriteSheet: 108 | serializedVersion: 2 109 | sprites: [] 110 | outline: [] 111 | physicsShape: [] 112 | bones: [] 113 | spriteID: 114 | vertices: [] 115 | indices: 116 | edges: [] 117 | weights: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasSystemsHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Images/EntitasSystemsHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasSystemsHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ee737a83aa9b4b56b2058b2b651ff0a 3 | labels: 4 | - EntitasSystemsHierarchyIcon 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 7 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 0 12 | sRGBTexture: 0 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | streamingMipmaps: 0 27 | streamingMipmapsPriority: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: -3 33 | maxTextureSize: 256 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 0 37 | aniso: -1 38 | mipBias: -100 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | maxTextureSizeSet: 0 60 | compressionQualitySet: 0 61 | textureFormatSet: 0 62 | platformSettings: 63 | - serializedVersion: 2 64 | buildTarget: DefaultTexturePlatform 65 | maxTextureSize: 32 66 | resizeAlgorithm: 0 67 | textureFormat: -1 68 | textureCompression: 0 69 | compressionQuality: 50 70 | crunchedCompression: 0 71 | allowsAlphaSplitting: 0 72 | overridden: 0 73 | androidETC2FallbackOverride: 0 74 | - serializedVersion: 2 75 | buildTarget: Standalone 76 | maxTextureSize: 32 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 0 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | - serializedVersion: 2 86 | buildTarget: iPhone 87 | maxTextureSize: 32 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 0 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | - serializedVersion: 2 97 | buildTarget: Android 98 | maxTextureSize: 32 99 | resizeAlgorithm: 0 100 | textureFormat: -1 101 | textureCompression: 0 102 | compressionQuality: 50 103 | crunchedCompression: 0 104 | allowsAlphaSplitting: 0 105 | overridden: 0 106 | androidETC2FallbackOverride: 0 107 | spriteSheet: 108 | serializedVersion: 2 109 | sprites: [] 110 | outline: [] 111 | physicsShape: [] 112 | bones: [] 113 | spriteID: 114 | vertices: [] 115 | indices: 116 | edges: [] 117 | weights: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasSystemsWarnHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Images/EntitasSystemsWarnHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Images/EntitasSystemsWarnHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fecc08fe51ec4ba990bfd58e4ed14b5 3 | labels: 4 | - EntitasSystemsWarnHierarchyIcon 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 7 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 0 12 | sRGBTexture: 0 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | streamingMipmaps: 0 27 | streamingMipmapsPriority: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 0 37 | aniso: -1 38 | mipBias: -100 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | maxTextureSizeSet: 0 60 | compressionQualitySet: 0 61 | textureFormatSet: 0 62 | platformSettings: 63 | - serializedVersion: 2 64 | buildTarget: DefaultTexturePlatform 65 | maxTextureSize: 32 66 | resizeAlgorithm: 0 67 | textureFormat: -1 68 | textureCompression: 0 69 | compressionQuality: 50 70 | crunchedCompression: 0 71 | allowsAlphaSplitting: 0 72 | overridden: 0 73 | androidETC2FallbackOverride: 0 74 | - serializedVersion: 2 75 | buildTarget: Standalone 76 | maxTextureSize: 32 77 | resizeAlgorithm: 0 78 | textureFormat: -1 79 | textureCompression: 0 80 | compressionQuality: 50 81 | crunchedCompression: 0 82 | allowsAlphaSplitting: 0 83 | overridden: 0 84 | androidETC2FallbackOverride: 0 85 | - serializedVersion: 2 86 | buildTarget: iPhone 87 | maxTextureSize: 32 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 0 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | - serializedVersion: 2 97 | buildTarget: Android 98 | maxTextureSize: 32 99 | resizeAlgorithm: 0 100 | textureFormat: -1 101 | textureCompression: 0 102 | compressionQuality: 50 103 | crunchedCompression: 0 104 | allowsAlphaSplitting: 0 105 | overridden: 0 106 | androidETC2FallbackOverride: 0 107 | spriteSheet: 108 | serializedVersion: 2 109 | sprites: [] 110 | outline: [] 111 | physicsShape: [] 112 | bones: [] 113 | spriteID: 114 | vertices: [] 115 | indices: 116 | edges: [] 117 | weights: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d0e40653a8370b43b6edf8517e16c65 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Plugins/Entitas.CodeGeneration.Plugins.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Plugins/Entitas.CodeGeneration.Plugins.dll -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Plugins/Entitas.CodeGeneration.Plugins.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8cfecb1aca7f3d7439eee2e9baf97469 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Plugins/Entitas.VisualDebugging.CodeGeneration.Plugins.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Editor/Plugins/Entitas.VisualDebugging.CodeGeneration.Plugins.dll -------------------------------------------------------------------------------- /Assets/Entitas/Editor/Plugins/Entitas.VisualDebugging.CodeGeneration.Plugins.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4f2f6d1d785155438b9ddaa22676b5c 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Entitas/Entitas.CodeGeneration.Attributes.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Entitas.CodeGeneration.Attributes.dll -------------------------------------------------------------------------------- /Assets/Entitas/Entitas.CodeGeneration.Attributes.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46bb24934fe510245916e01c0a00798b 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Entitas/Entitas.Unity.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Entitas.Unity.dll -------------------------------------------------------------------------------- /Assets/Entitas/Entitas.Unity.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 703db6f993493b4479b3feb763766d2d 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Entitas/Entitas.VisualDebugging.Unity.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Entitas.VisualDebugging.Unity.dll -------------------------------------------------------------------------------- /Assets/Entitas/Entitas.VisualDebugging.Unity.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fc775c4d83200b4ba5a47c5ac417e74 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Entitas/Entitas.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netcoding4d/MemoryAlignmentTest/d810b4325f7308718cf2f6917c009da5d5583a6d/Assets/Entitas/Entitas.dll -------------------------------------------------------------------------------- /Assets/Entitas/Entitas.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06ede591c65b9fe4bb70333ade6fdd95 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Entitas/Entitas.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05a90b9cda166a3478fe9ba1d98c213a 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Entitas/EntitasUpgradeGuide.md: -------------------------------------------------------------------------------- 1 | Entitas Upgrade Guide 2 | ===================== 3 | 4 | Entitas provides automated migration tools to help upgrading to new versions. 5 | You can apply automatic migrations in Unity by opening the Entitas Migration Window 6 | `Tools > Entitas > Migrate...` 7 | 8 | This document contains checklists for every release with breaking changes. 9 | 10 | Entitas 0.47.2 upgrade guide 11 | ============================ 12 | 13 | #### Breaking changes 14 | 15 | Apply Migration 0.47.2 to automatically rename the changed keys your properties files. 16 | 17 | The following keys changed from: 18 | 19 | - CodeGenerator.SearchPaths 20 | - CodeGenerator.Plugins 21 | - CodeGenerator.PreProcessors 22 | - CodeGenerator.DataProviders 23 | - CodeGenerator.CodeGenerators 24 | - CodeGenerator.PostProcessors 25 | - CodeGenerator.CLI.Ignore.UnusedKeys or Ignore.Keys 26 | 27 | to: 28 | 29 | - Jenny.SearchPaths 30 | - Jenny.Plugins 31 | - Jenny.PreProcessors 32 | - Jenny.DataProviders 33 | - Jenny.CodeGenerators 34 | - Jenny.PostProcessors 35 | - Jenny.Ignore.Keys 36 | 37 | --- 38 | 39 | Entitas 0.46.0 upgrade guide 40 | ============================ 41 | 42 | #### Breaking changes 43 | 44 | Removed methods marked obsolete in 0.42.0 from April 2017 45 | - `context.CreateCollector(IMatcher matcher, GroupEvent groupEvent)` 46 | - `new Context(int totalComponents, int startCreationIndex, ContextInfo contextInfo)` 47 | - `context.DestroyEntity(TEnity entity)` 48 | 49 | #### After you installed 50 | 51 | First, edit the file `Generated/Feature.cs` and comment or delete the lines with compiler errors. 52 | 53 | Then, run auto-import to use the new DesperateDevs.CodeGeneration.Plugins and generate. 54 | 55 | Entitas.properties can be named differently now. By default it will be called 56 | Preferences.properties. Additionally, you can delete User.properties or rename it 57 | to Xyz.userproperties. If this file doesn't exist, it will automatically be generated for you. 58 | You can have multiple properties and userproperties files now, e.g. 59 | Preferences.properties and Roslyn.properties. In Unity it will automatically find and use 60 | the first file. When using the Code Generator CLI (called Jenny now) you can explicitly 61 | specify files like this 62 | 63 | ``` 64 | // will find and use the first file 65 | $ jenny gen 66 | 67 | // specify a file 68 | $ jenny gen Roslyn.properties 69 | 70 | // optionally specify an other userproperties 71 | jenny gen Roslyn.properties My.userproperties 72 | ``` 73 | 74 | --- 75 | 76 | Entitas 0.45.0 upgrade guide 77 | ============================ 78 | 79 | #### Breaking changes 80 | 81 | Use the command line tool `MigrationAssistant.exe` and apply Migration 0.45.0 to 82 | automatically rename the changed keys in Entitas.properties 83 | 84 | `MigrationAssistant.exe 0.45.0 path/to/project` 85 | 86 | The following keys in Entitas.properties changed from: 87 | 88 | - Entitas.CodeGeneration.CodeGenerator.SearchPaths 89 | - Entitas.CodeGeneration.CodeGenerator.Plugins 90 | - Entitas.CodeGeneration.CodeGenerator.DataProviders 91 | - Entitas.CodeGeneration.CodeGenerator.CodeGenerators 92 | - Entitas.CodeGeneration.CodeGenerator.PostProcessors 93 | - Entitas.CodeGeneration.CodeGenerator.CLI.Ignore.UnusedKeys 94 | 95 | to: 96 | 97 | - CodeGenerator.SearchPaths 98 | - CodeGenerator.Plugins 99 | - CodeGenerator.DataProviders 100 | - CodeGenerator.CodeGenerators 101 | - CodeGenerator.PostProcessors 102 | - CodeGenerator.CLI.Ignore.UnusedKeys 103 | 104 | The default plugins are now in folder called `Entitas` instead of `Default`. Please update 105 | the searchPaths in Entitas.properties. 106 | `Entitas.exe` is now uppercase with capital E 107 | 108 | --- 109 | 110 | Entitas 0.42.0 upgrade guide 111 | ============================ 112 | 113 | #### Breaking changes 114 | - Removed Entitas.Blueprints.Unity.* 115 | - Changed ReactiveSystem.GetTrigger method signature 116 | - Marked obsolete: `context.DestroyEntity(entity)`. Use `entity.Destroy()` instead 117 | - Marked obsolete: `context.CreateCollector(matcher, event)`, use new `context.CreateCollector(triggerOnEvent)` when you need `.Removed` or `.AddedOrRemoved` (e.g. `GameMatcher.View.Removed()`) 118 | 119 | #### After you installed 120 | - Removed Entitas.Blueprints.Unity.* 121 | - Remove all Entitas.Blueprints.Unity.* related code 122 | - Remove BinaryBlueprints from your project. Consider using extension methods as described here instead https://github.com/sschmid/Entitas-CSharp/issues/390 123 | - Remove from Entitas.properties: 124 | - Entitas.Blueprints.CodeGeneration.Plugins 125 | - Entitas.Blueprints.CodeGeneration.Plugins.BlueprintDataProvider 126 | - Entitas.Blueprints.CodeGeneration.Plugins.BlueprintsGenerator 127 | 128 | - Changed ReactiveSystem.GetTrigger() method signature 129 | - find and replace `protected override Collector` -> `protected override ICollector` 130 | 131 | - Generate 132 | 133 | - Marked obsolete: `context.DestroyEntity(entity)`. Use `entity.Destroy()` instead 134 | - Marked obsolete: `context.CreateCollector(matcher, event)`, use new `context.CreateCollector(triggerOnEvent)` when you need `.Removed` or `.AddedOrRemoved` (e.g. `GameMatcher.View.Removed()`) 135 | 136 | --- 137 | 138 | Entitas 0.41.0 upgrade guide 139 | ============================ 140 | 141 | #### Breaking changes 142 | In order to deploy Entitas as Dlls which enables 3rd party Addons and the extendable command line code generator the projects have been restructured. This restructuring has an impact on namespaces. 143 | 144 | #### Before you install 145 | - You're fine - nothing to do for you :heart: 146 | 147 | #### After you installed 148 | - Apply Migrations 0.41.0-1 149 | - Apply Migrations 0.41.0-2 150 | - Apply Migrations 0.41.0-3 151 | 152 | These migrations should update most of the namespaces. Depending on which features of Entitas you have used there might be a chance that not all namespaces have been updated. In this case please fix the remaining namespaces manually. 153 | 154 | Entitas.properties keys have been updated to support the latest code generator. Please open Entitas.properties in your project root and make sure the keys are updated. Here's an example from Match One 155 | 156 | ``` 157 | Entitas.CodeGeneration.Project = Assembly-CSharp.csproj 158 | Entitas.CodeGeneration.SearchPaths = Assets/Libraries/Entitas, Assets/Libraries/Entitas/Editor, /Applications/Unity/Unity.app/Contents/Managed 159 | Entitas.CodeGeneration.Assemblies = Library/ScriptAssemblies/Assembly-CSharp.dll 160 | Entitas.CodeGeneration.Plugins = Entitas.CodeGeneration.Plugins, Entitas.CodeGeneration.Unity.Editor, Entitas.VisualDebugging.CodeGeneration.Plugins, Entitas.Blueprints.CodeGeneration.Plugins 161 | Entitas.CodeGeneration.DataProviders = Entitas.Blueprints.CodeGeneration.Plugins.BlueprintDataProvider, Entitas.CodeGeneration.Plugins.ComponentDataProvider, Entitas.CodeGeneration.Plugins.ContextDataProvider, Entitas.CodeGeneration.Plugins.EntityIndexDataProvider 162 | Entitas.CodeGeneration.CodeGenerators = Entitas.Blueprints.CodeGeneration.Plugins.BlueprintsGenerator, Entitas.CodeGeneration.Plugins.ComponentContextGenerator, Entitas.CodeGeneration.Plugins.ComponentEntityGenerator, Entitas.CodeGeneration.Plugins.ComponentGenerator, Entitas.CodeGeneration.Plugins.ComponentsLookupGenerator, Entitas.CodeGeneration.Plugins.ContextAttributeGenerator, Entitas.CodeGeneration.Plugins.ContextGenerator, Entitas.CodeGeneration.Plugins.ContextsGenerator, Entitas.CodeGeneration.Plugins.EntityGenerator, Entitas.CodeGeneration.Plugins.EntityIndexGenerator, Entitas.CodeGeneration.Plugins.MatcherGenerator, Entitas.VisualDebugging.CodeGeneration.Plugins.ContextObserverGenerator, Entitas.VisualDebugging.CodeGeneration.Plugins.FeatureClassGenerator 163 | Entitas.CodeGeneration.PostProcessors = Entitas.CodeGeneration.Plugins.AddFileHeaderPostProcessor, Entitas.CodeGeneration.Plugins.CleanTargetDirectoryPostProcessor, Entitas.CodeGeneration.Plugins.MergeFilesPostProcessor, Entitas.CodeGeneration.Plugins.NewLinePostProcessor, Entitas.CodeGeneration.Plugins.WriteToDiskPostProcessor, Entitas.CodeGeneration.Plugins.ConsoleWriteLinePostProcessor, Entitas.CodeGeneration.Unity.Editor.DebugLogPostProcessor 164 | Entitas.CodeGeneration.TargetDirectory = Assets/Sources/ 165 | Entitas.CodeGeneration.Contexts = Game, GameState, Input 166 | Entitas.VisualDebugging.Unity.SystemWarningThreshold = 8 167 | Entitas.VisualDebugging.Unity.DefaultInstanceCreatorFolderPath = Assets/Editor/DefaultInstanceCreator/ 168 | Entitas.VisualDebugging.Unity.TypeDrawerFolderPath = Assets/Editor/TypeDrawer/ 169 | ``` 170 | 171 | Explanation: 172 | - Entitas.CodeGeneration.Project: Relative path to your project.csproj (when using Unity use `Assembly-CSharp.csproj`) 173 | - Entitas.CodeGeneration.SearchPaths: The new code generator can be extended with 3rd party plugins. Specify all folders where plugin dlls can be found. Plugins may depend on UnityEngine or UnityEditor, if so please specify where those dlls can be found (Unity default on Mac: `/Applications/Unity/Unity.app/Contents/Managed` 174 | - Entitas.CodeGeneration.Assemblies: One or more Dlls that contain your components 175 | - Entitas.CodeGeneration.Plugins: One or more Code Generator Plugin Dlls or namespaces 176 | 177 | If all set up correctly DataProviders, CodeGenerators and PostProcessors can be set in Unity. 178 | 179 | The command line code generator currently doesn't support the following plugins: 180 | - Entitas.Blueprints.CodeGeneration.Plugins (contains Blueprint DataProvider and CodeGenerator) 181 | - Entitas.CodeGeneration.Unity.Editor (contains DebugLogPostProcessor) 182 | 183 | because they use Unity specific api. They will work as expected when generating from within Unity but don't work on the command line. 184 | 185 | To test the config for potential problems, please unzip Entitas-CodeGenerator.zip in the root folder of your project. 186 | 187 | --- 188 | 189 | ### Note for Windows users 190 | - Right-click Entitas-CodeGenerator.zip, open properties 191 | - Check "Unblock" 192 | - Hit Apply 193 | - unzip 194 | 195 | --- 196 | 197 | ``` 198 | // skip mono on Windows 199 | $ mono ./CodeGenerator/entitas.exe 200 | Entitas Code Generator version 0.41.0 201 | usage: entitas new [-f] - Creates new Entitas.properties config with default values 202 | entitas edit - Opens Entitas.properties config 203 | entitas doctor - Checks the config for potential problems 204 | entitas status - Lists available and unavailable plugins 205 | entitas fix - Adds missing or removes unused keys interactively 206 | entitas scan - Scans and prints available types found in specified assemblies 207 | entitas dry - Simulates generating files without writing to disk 208 | entitas gen - Generates files based on Entitas.properties 209 | [-v] - verbose output 210 | [-s] - silent output (errors only) 211 | ``` 212 | 213 | To check the config for potential problems please run 214 | ``` 215 | $ mono ./CodeGenerator/entitas.exe doctor 216 | ``` 217 | 218 | The `doctor` command will show you the status and potential problems. Sometime you might get a warning like this: 219 | 220 | ``` 221 | - Could not resolve xyz.dll 222 | ``` 223 | 224 | This is just a warning. If no error is shown after running the `doctor` command, you can ignore those. All code generator plugins must be resolvable in order to be used. Use the `status` command to see available and unavailable plugins. This command helps you manage the plugins. Add or remove DataProviders, CodeGenerators or PostProcessors and check with `status` until you're happy. As usual, you can also use the Entitas Preferences Window in Unity to set up everything. 225 | 226 | If there are nor problems use the `gen` command to generate or use the green generate button in Unity as usual. 227 | 228 | --- 229 | 230 | Entitas 0.37.0 upgrade guide 231 | ============================ 232 | 233 | #### Breaking changes 234 | Entitas went type-safe! This was a huge task and I'm happy to finally share this with you guys! 235 | This feature makes Entitas safer and more managable in growing code bases and will eliminate certain kind of bugs. 236 | This change breaks existing projects! It is possible to manually migrate existing projects but there is no special workflow 237 | other than manually use find / replace to fix all compile errors. I use Entitas 0.37.0 in my current project (500+ systems) 238 | and was able to migrate within less than two days. If you have less systems and components you should be able to migrate within one day. 239 | 240 | Reminder: If you're updating from versions < 0.36.0 you should update to 0.36.0 first. Be aware that existing Blueprints(Beta) are breaking 241 | because of the renaming from `Pool` to `Context`. Existing Binary Blueprints have to be manually updated. 242 | 243 | If you're not sure if you should update you can wait another week. I plan to make a video to show how to upgrade existing projects. 244 | After this you should be able to decide if you want to update or not. 245 | 246 | #### Before you install 247 | - Rename `SingleEntityAttribute` to `UniqueAttribute` 248 | - Change namespace of all attributes in CodeGenerator/Attributes to `Entitas.CodeGenerator.Api` 249 | - Find / replace `using Entitas.CodeGenerator` to `using Entitas.CodeGenerator.Api` in all generated context attributes 250 | - Find / replace `using Entitas.CodeGenerator;` to `using Entitas.CodeGenerator.Api;` in all generated components 251 | 252 | #### After you installed 253 | 254 | After installing Entitas 0.37.0 you most likely end up having lots of compiler errors. The 2 biggest issues are: 255 | - Generated components 256 | - Systems 257 | 258 | There migh also be other issues depending how you used Entitas before, but fixing the generated components and the systems 259 | might already do most of the work. 260 | 261 | ##### Problem 1 (Components): 262 | The old generated components extend Entitas.Entity by using `partial class`. 263 | The new version inherits Entitas.Entity to have a new entity type and to get rid of `partial class` to enable 264 | having Entitas as a precompiled dll. 265 | 266 | ##### Solution 1 (Components) 267 | The goal is to update the generated components. I see 3 possible workflows to fix them: 268 | 1. Delete all components and generated components and use the EntitasLang DSL https://github.com/mzaks/ECS-Lang 269 | 2. Temporarily move all the logic (systems) out of your Unity project and delete the generated components. 270 | After this there shouldn't be any compile errors anymore (if so, temporarily move them out if your Unity project). 271 | Now you should be able to re-generate. After that, move all the files back to your Unity project. 272 | 3. Manually use find / replace in the generated components folder to migrate the components 273 | 274 | ##### Problem 2 (Systems) 275 | All reactive systems need to be updated to be type-safe. 276 | 277 | ##### Solution 2 (Systems) 278 | Manually use find / replace to migrate e.g. method signatures and other issues 279 | Take a look at [Match-One AnimatePositionSystem.cs](https://github.com/sschmid/Match-One/blob/develop/Assets/Sources/Logic/View/Systems/AnimatePositionSystem.cs) 280 | to see how the new reactive systems look like. 281 | 282 | ##### Other issues 283 | There might be other issues related to the type-safety. Rule of thumb: 284 | - Every occurrences of `Entity` must be typed now, e.g. `GameEntity` 285 | - Every occurrences of `Group` must be typed now, e.g. `IGroup` 286 | - Every occurrences of `Context` must be typed now, e.g. `IContext` or `GameContext` if possible 287 | - Every occurrences of `Collector` must be typed now, e.g. `Collector` 288 | - Every occurrences of `Matcher` must be typed now, e.g. `Matcher.AllOf(...)` 289 | 290 | I recommend using find / replace on ceratin folders to fix those issues efficiently. 291 | 292 | --- 293 | 294 | Entitas 0.36.0 upgrade guide 295 | ============================ 296 | 297 | #### Breaking changes 298 | The term `Pool` has been replaced with `Context`. This affects all classes that 299 | contain the word pool. 300 | `EntityCollector` has been renamed to `Collector` 301 | `GroupEventType` has been renamed to `GroupEvent` 302 | 303 | 304 | #### Before you install 305 | - Rename `Pools.CreatePool()` to `Pools.CreateContext` 306 | - Rename `Pool` to `Context` 307 | - Rename `Pools` to `Contexts` 308 | - Rename `Pools.SetAllPools()` to `Pools.SetAllContexts()` 309 | - Rename `PoolAttribute` to `ContextAttribute` 310 | - Rename `EntityCollector` to `Collector` 311 | - Rename `GroupEventType` to `GroupEvent` 312 | - Rename `GroupEventType.OnEntityAdded` to `GroupEvent.Added` 313 | - Rename `GroupEventType.OnEntityRemoved` to `GroupEvent.Removed` 314 | - Rename `GroupEventType.OnEntityAddedOrRemoved` to `GroupEvent.AddedOrRemoved` 315 | 316 | #### After you installed 317 | - Use the command line tool `MigrationAssistant.exe` and apply Migration 0.36.0-2 318 | - Manually migrate all systems and fix compiler errors 319 | - apply Migration 0.36.0-1 320 | - Ensure all code generator are selected and generate 321 | 322 | --- 323 | 324 | Entitas 0.35.0 upgrade guide 325 | ============================ 326 | 327 | #### Breaking changes 328 | `IMatcher.Where()` has been removed. See #194 329 | 330 | #### Before you install 331 | - You're fine - nothing to do for you :heart: 332 | 333 | #### After you installed 334 | - Fix all the errors where you used `matcher.Where()` 335 | 336 | --- 337 | 338 | Entitas 0.34.0 upgrade guide 339 | ============================ 340 | 341 | #### Breaking changes 342 | `GroupObserver` has been renamed to `EntityCollector`. See #168 343 | 344 | #### Before you install 345 | - Rename `GroupObserver` to `EntityCollector` 346 | - Rename `.CreateGroupObserver()` to `.CreateEntityCollector()` 347 | - Rename `IGroupObserverSystem` to `IEntityCollectorSystem` 348 | - Find & Replace `public EntityCollector groupObserver` with `public EntityCollector entityCollector` 349 | 350 | #### After you installed 351 | - You're fine - nothing to do for you :heart: 352 | 353 | --- 354 | 355 | Entitas 0.33.0 upgrade guide 356 | ============================ 357 | 358 | #### Breaking changes 359 | `IDeinitializeSystem` has been renamed to `ITearDownSystem`. See #164 360 | 361 | #### Before you install 362 | - Manually rename `IDeinitializeSystem` to `ITearDownSystem` 363 | 364 | #### After you installed 365 | - You're fine - nothing to do for you :heart: 366 | 367 | --- 368 | 369 | Entitas 0.32.0 upgrade guide 370 | ============================ 371 | 372 | Use the command line tool `MigrationAssistant.exe` to automatically fix compile errors. 373 | Entitas 0.32.0 introduces a new Pools class. Using the new PoolsGenerator will require 374 | to update your existing project manually. You can still use the old Pools class in your 375 | existing project if you want. If so, please use the OldPoolsGenerator instead of the new one. 376 | 377 | --- 378 | 379 | Entitas 0.30.0 upgrade guide 380 | ============================ 381 | 382 | Some code generators got renamed. Apply Migration 0.30.0 383 | 384 | --- 385 | 386 | Entitas 0.29.0 upgrade guide 387 | ============================ 388 | 389 | Marked old PoolMetaData constructor obsolete. If you encounter compile errors 390 | please apply Migration 0.26.0, open C# project and generate again. 391 | 392 | --- 393 | 394 | Entitas 0.28.0 upgrade guide 395 | ============================ 396 | 397 | If you're using Entitas with Unity, please open the Entitas preferences and make 398 | sure that all your desired code generators are activated. 399 | Due to some code generator renamings the ComponentIndicesGenerators inactive. 400 | 401 | The SystemsGenerator has been removed. Please use `pool.CreateSystem()` instead. 402 | 403 | --- 404 | 405 | Entitas 0.27.0 upgrade guide 406 | ============================ 407 | 408 | If you're using Entitas with Unity, please open the Entitas preferences and make 409 | sure that all your desired code generators are activated. 410 | Due to some code generator renamings the ComponentLookupGenerator and 411 | the ComponentsGenerator are inactive. Activate them (if desired) and generate. 412 | 413 | --- 414 | 415 | Entitas 0.26.0 upgrade guide 416 | ============================ 417 | 418 | Use the command line tool `MigrationAssistant.exe` to automatically fix compile errors. 419 | After that generate again. 420 | 421 | --- 422 | 423 | Entitas 0.24.0 upgrade guide 424 | ============================ 425 | 426 | To fix the compile errors after updating to Entitas 0.24.0, delete in `Pools.cs` 427 | 428 | ```csharp 429 | #if (UNITY_EDITOR) 430 | var poolObserver = new Entitas.Unity.VisualDebugging.PoolObserver(_pool, ComponentIds.componentNames, ComponentIds.componentTypes, "Pool"); 431 | UnityEngine.Object.DontDestroyOnLoad(poolObserver.entitiesContainer); 432 | #endif 433 | ``` 434 | 435 | and generate again. 436 | 437 | --- 438 | 439 | Entitas 0.23.0 upgrade guide 440 | ============================ 441 | 442 | Entitas 0.23.0 changed and applied naming conventions. 443 | Before updating to this version, follow these steps to prepare your project: 444 | 445 | #### Rename 446 | 447 | Pool.Count -> Pool.count 448 | Group.Count -> Group.count 449 | Properties.count -> Properties.count 450 | 451 | #### Find/Replace in generated folder 452 | 453 | ": AllOfMatcher " -> "" 454 | ": base(new [] { index }) " -> "" 455 | "static AllOfMatcher _matcher" -> "static IMatcher _matcher" 456 | "public static AllOfMatcher" -> "public static IMatcher" 457 | "new Matcher" -> "Matcher.AllOf" 458 | 459 | #### Delete 460 | 461 | In generated ...ComponentIds 462 | 463 | namespace Entitas { 464 | public partial class XYZMatcher { 465 | public Matcher(int index) { 466 | } 467 | 468 | public override string ToString() { 469 | return ComponentIds.IdToString(indices[0]); 470 | } 471 | } 472 | } 473 | 474 | --- 475 | 476 | Entitas 0.22.0 upgrade guide 477 | ============================ 478 | 479 | Entitas 0.22.0 changed IReactiveSystem and IMultiReactiveSystem and renamed IStartSystem.Start to IInitializeSystem.Initialize. 480 | 481 | Use the command line tool `MigrationAssistant.exe` to automatically migrate IReactiveSystem. 482 | 483 | --- 484 | 485 | Entitas 0.19.0 upgrade guide 486 | ============================ 487 | 488 | Entitas 0.19.0 introduces a few breaking changes: 489 | 490 | Added new e.OnComponentReplaced and removed all *WillBeRemoved events. 491 | 492 | If you used `group.OnEntityWillBeRemoved`, you could replace it either with 493 | ```cs 494 | _group.OnEntityRemoved += (group, entity, index, component) => { //... }; 495 | ``` 496 | or with 497 | ```cs 498 | _group.OnEntityUpdated += (group, entity, index, previousComponent, newComponent) => { // ...}; 499 | ``` 500 | If your generated component extensions are not compiling, find/replace `WillRemoveComponent` with `//WillRemoveComponent` 501 | to temporarily ignore the errors. 502 | 503 | IReactiveSystem.Execute takes List instead of Entity[]. Use the command line tool `MigrationAssistant.exe` to automatically migrate. 504 | 505 | ``` 506 | $ mono MigrationAssistant.exe 507 | usage: 508 | [-l] - print all available versions 509 | [version] [path] - apply migration of version [version] to source files located at [path] 510 | 511 | $ mono MigrationAssistant.exe -l 512 | 0.18.0 - Migrates IReactiveSystem API 513 | 0.19.0 - Migrates IReactiveSystem.Execute 514 | 515 | // Example from Math-One example project, where all the systems are located in the Features folder 516 | $ mono MigrationAssistant.exe 0.19.0 /Path/To/Project/Assets/Sources/Features 517 | ``` 518 | 519 | --- 520 | 521 | Entitas 0.18.0 upgrade guide 522 | ============================ 523 | 524 | Entitas 0.18.0 changes IReactiveSystem. To upgrade your source files, follow these steps 525 | - Install Entitas 0.18.0 (which will result in compiler errors) 526 | - Use the command line tool `MigrationAssistant.exe` to automatically migrate 527 | 528 | ``` 529 | $ mono MigrationAssistant.exe 530 | usage: 531 | [-l] - print all available versions 532 | [version] [path] - apply migration of version [version] to source files located at [path] 533 | 534 | $ mono MigrationAssistant.exe -l 535 | 0.18.0 - Migrates IReactiveSystem API 536 | 537 | // Example from Math-One example project, where all the systems are located in the Features folder 538 | $ mono MigrationAssistant.exe 0.18.0 /Path/To/Project/Assets/Sources/Features 539 | ``` 540 | 541 | --- 542 | 543 | Entitas 0.12.0 upgrade guide 544 | ============================ 545 | 546 | Entitas 0.12.0 generates prefixed matchers based on the PoolAttribute and introduces some 547 | API changes. In your existing project with a Entitas version < 0.12.0 manually rename the 548 | following classes and methods. 549 | 550 | ## Before installing Entitas 0.12.0 551 | 552 | #### Rename 553 | 554 | pool.CreateSystem() -> pool.CreateExecuteSystem() 555 | 556 | Now that you're prepared for integrating the latest version, delete your existing version 557 | of Entitas, EntitasCodeGenerator and EntitasUnity. 558 | 559 | #### Delete 560 | 561 | Entitas 562 | EntitasCodeGenerator 563 | EntitasUnity 564 | 565 | ## Install Entitas 0.12.0 566 | 567 | #### Setup Entitas Preferences 568 | 569 | Open the Unity preference panel and select Entitas. Check and update the path to the folder where 570 | the code generator will save all generated files. If you are using the PoolAttribute in your components, 571 | add all custom pool names used in your application. Make sure that all existing custom PoolAttributes call 572 | the base constructor with the same name as the class (without 'Attribute'). 573 | If you are not using the PoolAttribute in your components, you can skip this process. 574 | 575 | ```cs 576 | using Entitas.CodeGenerator; 577 | 578 | public class CoreGameAttribute : PoolAttribute { 579 | public CoreGameAttribute() : base("CoreGame") { 580 | } 581 | } 582 | ``` 583 | 584 | #### Code Generator 585 | 586 | Use the code generator and generate 587 | 588 | #### Update API 589 | 590 | Click the MenuItem "Entitas/Update API". All occurrences of the old Matcher will be updated 591 | to the new version, which is prefixed based on the PoolAttribute. 592 | 593 | #### Delete 594 | 595 | Delete all custom PoolAttributes 596 | 597 | --- 598 | 599 | Entitas 0.10.0 upgrade guide 600 | ============================ 601 | 602 | Beside features, Entitas 0.10.0 includes lots of renaming. If your current Entitas 603 | version is < 0.10.0, you might want to follow the next few simple renaming steps, 604 | to speed up the integration of the latest version of Entitas. 605 | In your existing project with a Entitas version < 0.10.0 manually rename the following 606 | classes and methods. 607 | 608 | ## Before installing Entitas 0.10.0 609 | 610 | #### Rename 611 | 612 | EntityRepository -> Pool 613 | EntityRepository.GetCollection() -> Pool.GetGroup() 614 | 615 | EntityCollection -> Group 616 | EntityCollection.EntityCollectionChange -> Group.GroupChanged 617 | 618 | EntityRepositoryObserver -> GroupObserver 619 | EntityRepositoryObserver.EntityCollectionEventType -> GroupObserver.GroupEventType 620 | 621 | IEntityMatcher -> IMatcher 622 | IEntitySystem -> IExecuteSystem 623 | AllOfEntityMatcher -> AllOfMatcher 624 | EntityRepositoryAttribute -> PoolAttribute 625 | IReactiveSubEntitySystem -> IReactiveSystem 626 | ReactiveEntitySystem -> ReactiveSystem 627 | 628 | #### Delete 629 | 630 | EntityWillBeRemovedEntityRepositoryObserver -> DELETE 631 | IReactiveSubEntityWillBeRemovedSystem -> DELETE 632 | ReactiveEntityWillBeRemovedSystem -> DELETE 633 | 634 | Now that you're prepared for integrating the latest version, delete your existing version 635 | of Entitas, EntitasCodeGenerator and ToolKit. 636 | 637 | #### Delete 638 | 639 | Entitas 640 | EntitasCodeGenerator 641 | ToolKit (unless you use classes from ToolKit. The new version of Entitas doesn't depend on ToolKit anymore) 642 | 643 | 644 | ## Install Entitas 0.10.0 645 | 646 | #### Fix remaining issues 647 | 648 | IReactiveSubEntityWillBeRemovedSystem 649 | - Consider implementing ISystem & ISetPool and use group.OnEntityWillBeRemoved += foobar; 650 | 651 | #### Code Generator 652 | 653 | Use the code generator and generate 654 | -------------------------------------------------------------------------------- /Assets/Entitas/EntitasUpgradeGuide.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8b41081fecc9e44496ce2c10203587b 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Entitas/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2014 - 2018 Simon Schmid 4 | 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /Assets/Entitas/LICENSE.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d857689ff25874f4ca74bc1017c6f01b 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Entitas/README.md: -------------------------------------------------------------------------------- 1 |

2 | Entitas 3 |

4 | 5 |

6 | 7 | Join the chat at https://gitter.im/sschmid/Entitas-CSharp 8 | 9 | Twitter Follow Me 10 | 11 | Twitter Follow Me 12 | 13 | Build Status 14 | 15 | Latest release 16 |

17 | 18 |

19 | Entitas is free, but powered by 20 | 21 | your donations 22 | 23 |

24 | 25 | Entitas - The Entity Component System Framework for C# and Unity 26 | ================================================================ 27 | 28 | Entitas is a super fast Entity Component System Framework (ECS) specifically made for C# and Unity. Internal caching and blazing fast component access makes it second to none. Several design decisions have been made to work optimal in a garbage collected environment and to go easy on the garbage collector. Entitas comes with an optional code generator which radically reduces the amount of code you have to write and [makes your code read like well written prose.][clean-coders] 29 | 30 |

31 | 32 | CSharp 33 | 34 | Unity3d 35 | 36 | Unite Europe 2015 37 | 38 | Unite Europe 2016 39 | 40 | Wooga 41 | 42 | Gram Games.png 43 |

44 | 45 | --- 46 | 47 | ### **[» Download](#download-entitas)** 48 | ### **[» Documentation][documentation]** 49 | ### **[» Ask a question][issues-new]** 50 | ### **[» Wiki and example projects][wiki]** 51 | ### **[» #madeWithEntitas][wiki-games-and-examples]** 52 | 53 | --- 54 | 55 | Video Tutorials & Unity Unite Talks 56 | ================= 57 | 58 | | Entitas ECS Unity Tutorial | Entitas ECS Unity Tutorial | Entity system architecture with Unity | ECS architecture with Unity by example | 59 | |:---------------------------------:|:---------------------------------:|:--------------------------------------------------------------------:|:--------------------------------------------------------------------:| 60 | | [![Shmup1][shmup1-thumb]][shmup1] | [![Shmup2][shmup2-thumb]][shmup2] | [![Unite 15][unite15-thumb]][unite15] | [![Unite 16][unite16-thumb]][unite16] | 61 | | Setup & Basics | Git & Unit Tests | [» Open the slides on SlideShare: Unite Europe 2015][unite15-slides] | [» Open the slides on SlideShare: Unite Europe 2016][unite16-slides] | 62 | 63 | 64 | First glimpse 65 | ============= 66 | 67 | The optional [code generator][wiki-code-generator] lets you write code that is super fast, safe and literally screams its intent. 68 | 69 | ```csharp 70 | public static GameEntity CreateRedGem(this GameContext context, Vector3 position) { 71 | var entity = context.CreateEntity(); 72 | entity.isGameBoardElement = true; 73 | entity.isMovable = true; 74 | entity.AddPosition(position); 75 | entity.AddAsset("RedGem"); 76 | entity.isInteractive = true; 77 | return entity; 78 | } 79 | ``` 80 | 81 | ```csharp 82 | var entities = context.GetEntities(Matcher.AllOf(GameMatcher.Position, GameMatcher.Velocity)); 83 | foreach(var e in entities) { 84 | var pos = e.position; 85 | var vel = e.velocity; 86 | e.ReplacePosition(pos.value + vel.value); 87 | } 88 | ``` 89 | 90 | 91 | Overview 92 | ======== 93 | 94 | Entitas is fast, light and gets rid of unnecessary complexity. There are less than a handful classes you have to know to rocket start your game or application: 95 | 96 | - Entity 97 | - Context 98 | - Group 99 | - Entity Collector 100 | 101 | [Read more...][wiki-overview] 102 | 103 | 104 | Code Generator 105 | ============== 106 | 107 | The Code Generator generates classes and methods for you, so you can focus on getting the job done. It radically reduces the amount of code you have to write and improves readability by a huge magnitude. It makes your code less error-prone while ensuring best performance. I strongly recommend using it! 108 | 109 | [Read more...][wiki-code-generator] 110 | 111 | 112 | Unity integration 113 | ================= 114 | 115 | The optional Unity module integrates Entitas nicely into Unity and provides powerful editor extensions to inspect and debug contexts, groups, entities, components and systems. 116 | 117 | [Read more...][wiki-unity-integration] 118 | 119 |

120 | Entitas.Unity MenuItems
121 | Entitas.Unity.VisualDebugging Entity 122 | Entitas.Unity.VisualDebugging Systems 123 |

124 | 125 | 126 | Entitas deep dive 127 | ================= 128 | 129 | [Read the wiki][wiki] or checkout the [example projects][wiki-example-projects] to see Entitas in action. These example projects illustrate how systems, groups, collectors and entities all play together seamlessly. 130 | 131 | 132 | Download Entitas 133 | ================ 134 | 135 | Each release is published with zip files containing all source files you need. 136 | 137 | [Show releases][releases] 138 | 139 | 140 | Thanks to 141 | ========= 142 | 143 | Big shout out to [@mzaks][github-mzaks], [@cloudjubei][github-cloudjubei] and [@devboy][github-devboy] for endless hours of discussion and helping making Entitas awesome! 144 | 145 | 146 | Maintainer(s) 147 | ============= 148 | 149 | - [@sschmid][github-sschmid] | [@s_schmid][twitter-sschmid] | [@entitas_csharp][twitter-entitas_csharp] 150 | 151 | 152 | Different language? 153 | =================== 154 | 155 | Entitas is available in 156 | - [C#](https://github.com/sschmid/Entitas-CSharp) 157 | - [Swift](https://github.com/mzaks/Entitas-Swift) 158 | - [C++](https://github.com/JuDelCo/Entitas-Cpp) 159 | - [Objective-C](https://github.com/wooga/entitas) 160 | - [Java](https://github.com/Rubentxu/entitas-java) 161 | - [Python](https://github.com/Aenyhm/entitas-python) 162 | - [Scala](https://github.com/darkoverlordofdata/entitas-scala) 163 | - [Go](https://github.com/wooga/go-entitas) 164 | - [F#](https://github.com/darkoverlordofdata/entitas-fsharp) 165 | - [TypeScript](https://github.com/darkoverlordofdata/entitas-ts) 166 | - [Kotlin](https://github.com/darkoverlordofdata/entitas-kotlin) 167 | - [Haskell](https://github.com/mhaemmerle/entitas-haskell) 168 | - [Erlang](https://github.com/mhaemmerle/entitas_erl) 169 | - [Clojure](https://github.com/mhaemmerle/entitas-clj) 170 | 171 | 172 | [clean-coders]: https://cleancoders.com "Clean Coders" 173 | 174 | [documentation]: http://sschmid.github.io/Entitas-CSharp/ "Entitas Documentation" 175 | [wiki]: https://github.com/sschmid/Entitas-CSharp/wiki "Entitas Wiki" 176 | [wiki-code-generator]: https://github.com/sschmid/Entitas-CSharp/wiki/Code-Generator "Wiki - Code Generator" 177 | [wiki-overview]: https://github.com/sschmid/Entitas-CSharp/wiki/Overview "Wiki - Overview" 178 | [wiki-unity-integration]: https://github.com/sschmid/Entitas-CSharp/wiki/Unity-integration "Wiki - Unity Integration" 179 | [wiki-example-projects]: https://github.com/sschmid/Entitas-CSharp/wiki/Example-projects "Wiki - Example Projects" 180 | [wiki-games-and-examples]: https://github.com/sschmid/Entitas-CSharp/wiki/Made-With-Entitas "Wiki - #madeWithEntitas" 181 | 182 | [shmup1-thumb]: https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/Entitas-Shmup-Part-1.jpg "Video: Entitas - Shmup - Part 1" 183 | [shmup1]: https://www.youtube.com/watch?v=L-18XRTarOM "Video: Entitas - Shmup - Part 1" 184 | [shmup2-thumb]: https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/Entitas-Shmup-Part-2.jpg "Video: Entitas - Shmup - Part 2" 185 | [shmup2]: https://www.youtube.com/watch?v=DZpvUnj2dGI "Video: Entitas - Shmup - Part 2" 186 | [unite15-thumb]: https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/UniteEurope2015-Video.png "Video: Watch the Entitas Talk at Unite Europe 2015" 187 | [unite15]: https://www.youtube.com/watch?v=Re5kGtxTW6E "Video: Watch the Entitas Talk at Unite Europe 2015" 188 | [unite15-slides]: http://www.slideshare.net/sschmid/uniteeurope-2015 "SlideShare: Unite Europe 2015" 189 | [unite16-thumb]: https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/UniteEurope2016-Video.png "Video: Watch the Entitas Talk at Unite Europe 2016" 190 | [unite16]: https://www.youtube.com/watch?v=Phx7IJ3XUzg "Video: Watch the Entitas Talk at Unite Europe 2016" 191 | [unite16-slides]: http://www.slideshare.net/sschmid/uniteeurope-2016 "SlideShare: Unite Europe 2016" 192 | 193 | [releases]: https://github.com/sschmid/Entitas-CSharp/releases "Releases" 194 | [issues-new]: https://github.com/sschmid/Entitas-CSharp/issues/new "New issue" 195 | 196 | [twitter-sschmid]: https://twitter.com/s_schmid "s_schmid on Twitter" 197 | [twitter-entitas_csharp]: https://twitter.com/entitas_csharp "entitas_csharp on Twitter" 198 | 199 | [github-sschmid]: https://github.com/sschmid "@sschmid" 200 | [github-mzaks]: https://github.com/mzaks "@mzaks" 201 | [github-cloudjubei]: https://github.com/cloudjubei "@cloudjubei" 202 | [github-devboy]: https://github.com/devboy "@devboy" 203 | -------------------------------------------------------------------------------- /Assets/Entitas/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52835e7b9595546479cce973519c4448 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/EntitasComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using UnityEngine; 3 | 4 | public sealed class Transform2DComponent : IComponent 5 | { 6 | public int Rotation; 7 | public Vector2Int Position; 8 | } 9 | 10 | public sealed class DynamicBodyComponent : IComponent 11 | { 12 | public int Layer; 13 | public int AngularVelocity; 14 | public bool IsTrigger; 15 | public Vector2Int Velocity; 16 | } -------------------------------------------------------------------------------- /Assets/EntitasComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74eda6af8c1ad264281fba54b6a063f0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/EntityMemoryAlignment.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | using UnityEngine; 4 | 5 | [StructLayout(LayoutKind.Sequential, Pack = 4)] 6 | public struct Transform2D 7 | { 8 | public int Rotation; 9 | public Vector2Int Position; 10 | } 11 | 12 | [StructLayout(LayoutKind.Sequential, Pack = 4)] 13 | public struct DynamicBody 14 | { 15 | public int Layer; 16 | public int AngularVelocity; 17 | public bool IsTrigger; 18 | public Vector2Int Velocity; 19 | } 20 | 21 | [StructLayoutAttribute(LayoutKind.Sequential, Pack = 4)] 22 | public unsafe struct EntityMemoryAlignment 23 | { 24 | public Transform2D Transform2D; 25 | public DynamicBody DynamicBody; 26 | } -------------------------------------------------------------------------------- /Assets/EntityMemoryAlignment.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e89d6343dbe7a6e4784c50e6c61af0af 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Generated.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86523f4693bea6542a677889a367e4c5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Generated/Contexts.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ContextsGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public partial class Contexts : Entitas.IContexts { 10 | 11 | public static Contexts sharedInstance { 12 | get { 13 | if (_sharedInstance == null) { 14 | _sharedInstance = new Contexts(); 15 | } 16 | 17 | return _sharedInstance; 18 | } 19 | set { _sharedInstance = value; } 20 | } 21 | 22 | static Contexts _sharedInstance; 23 | 24 | public GameContext game { get; set; } 25 | 26 | public Entitas.IContext[] allContexts { get { return new Entitas.IContext [] { game }; } } 27 | 28 | public Contexts() { 29 | game = new GameContext(); 30 | 31 | var postConstructors = System.Linq.Enumerable.Where( 32 | GetType().GetMethods(), 33 | method => System.Attribute.IsDefined(method, typeof(Entitas.CodeGeneration.Attributes.PostConstructorAttribute)) 34 | ); 35 | 36 | foreach (var postConstructor in postConstructors) { 37 | postConstructor.Invoke(this, null); 38 | } 39 | } 40 | 41 | public void Reset() { 42 | var contexts = allContexts; 43 | for (int i = 0; i < contexts.Length; i++) { 44 | contexts[i].Reset(); 45 | } 46 | } 47 | } 48 | 49 | //------------------------------------------------------------------------------ 50 | // 51 | // This code was generated by Entitas.VisualDebugging.CodeGeneration.Plugins.ContextObserverGenerator. 52 | // 53 | // Changes to this file may cause incorrect behavior and will be lost if 54 | // the code is regenerated. 55 | // 56 | //------------------------------------------------------------------------------ 57 | public partial class Contexts { 58 | 59 | #if (!ENTITAS_DISABLE_VISUAL_DEBUGGING && UNITY_EDITOR) 60 | 61 | [Entitas.CodeGeneration.Attributes.PostConstructor] 62 | public void InitializeContextObservers() { 63 | try { 64 | CreateContextObserver(game); 65 | } catch(System.Exception) { 66 | } 67 | } 68 | 69 | public void CreateContextObserver(Entitas.IContext context) { 70 | if (UnityEngine.Application.isPlaying) { 71 | var observer = new Entitas.VisualDebugging.Unity.ContextObserver(context); 72 | UnityEngine.Object.DontDestroyOnLoad(observer.gameObject); 73 | } 74 | } 75 | 76 | #endif 77 | } 78 | -------------------------------------------------------------------------------- /Assets/Generated/Contexts.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 177d72a90ed50b5408e6e0a6e010c9bd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Generated/Feature.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.VisualDebugging.CodeGeneration.Plugins.FeatureClassGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | #if (!ENTITAS_DISABLE_VISUAL_DEBUGGING && UNITY_EDITOR) 10 | 11 | public class Feature : Entitas.VisualDebugging.Unity.DebugSystems { 12 | 13 | public Feature(string name) : base(name) { 14 | } 15 | 16 | public Feature() : base(true) { 17 | var typeName = DesperateDevs.Utils.SerializationTypeExtension.ToCompilableString(GetType()); 18 | var shortType = DesperateDevs.Utils.SerializationTypeExtension.ShortTypeName(typeName); 19 | var readableType = DesperateDevs.Utils.StringExtension.ToSpacedCamelCase(shortType); 20 | 21 | initialize(readableType); 22 | } 23 | } 24 | 25 | #elif (!ENTITAS_DISABLE_DEEP_PROFILING && DEVELOPMENT_BUILD) 26 | 27 | public class Feature : Entitas.Systems { 28 | 29 | System.Collections.Generic.List _initializeSystemNames; 30 | System.Collections.Generic.List _executeSystemNames; 31 | System.Collections.Generic.List _cleanupSystemNames; 32 | System.Collections.Generic.List _tearDownSystemNames; 33 | 34 | public Feature(string name) : this() { 35 | } 36 | 37 | public Feature() { 38 | _initializeSystemNames = new System.Collections.Generic.List(); 39 | _executeSystemNames = new System.Collections.Generic.List(); 40 | _cleanupSystemNames = new System.Collections.Generic.List(); 41 | _tearDownSystemNames = new System.Collections.Generic.List(); 42 | } 43 | 44 | public override Entitas.Systems Add(Entitas.ISystem system) { 45 | var systemName = system.GetType().FullName; 46 | 47 | if (system is Entitas.IInitializeSystem) { 48 | _initializeSystemNames.Add(systemName); 49 | } 50 | 51 | if (system is Entitas.IExecuteSystem) { 52 | _executeSystemNames.Add(systemName); 53 | } 54 | 55 | if (system is Entitas.ICleanupSystem) { 56 | _cleanupSystemNames.Add(systemName); 57 | } 58 | 59 | if (system is Entitas.ITearDownSystem) { 60 | _tearDownSystemNames.Add(systemName); 61 | } 62 | 63 | return base.Add(system); 64 | } 65 | 66 | public override void Initialize() { 67 | for (int i = 0; i < _initializeSystems.Count; i++) { 68 | UnityEngine.Profiling.Profiler.BeginSample(_initializeSystemNames[i]); 69 | _initializeSystems[i].Initialize(); 70 | UnityEngine.Profiling.Profiler.EndSample(); 71 | } 72 | } 73 | 74 | public override void Execute() { 75 | for (int i = 0; i < _executeSystems.Count; i++) { 76 | UnityEngine.Profiling.Profiler.BeginSample(_executeSystemNames[i]); 77 | _executeSystems[i].Execute(); 78 | UnityEngine.Profiling.Profiler.EndSample(); 79 | } 80 | } 81 | 82 | public override void Cleanup() { 83 | for (int i = 0; i < _cleanupSystems.Count; i++) { 84 | UnityEngine.Profiling.Profiler.BeginSample(_cleanupSystemNames[i]); 85 | _cleanupSystems[i].Cleanup(); 86 | UnityEngine.Profiling.Profiler.EndSample(); 87 | } 88 | } 89 | 90 | public override void TearDown() { 91 | for (int i = 0; i < _tearDownSystems.Count; i++) { 92 | UnityEngine.Profiling.Profiler.BeginSample(_tearDownSystemNames[i]); 93 | _tearDownSystems[i].TearDown(); 94 | UnityEngine.Profiling.Profiler.EndSample(); 95 | } 96 | } 97 | } 98 | 99 | #else 100 | 101 | public class Feature : Entitas.Systems { 102 | 103 | public Feature(string name) { 104 | } 105 | 106 | public Feature() { 107 | } 108 | } 109 | 110 | #endif 111 | -------------------------------------------------------------------------------- /Assets/Generated/Feature.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e147c14941d95ce4886ba46d4a30606c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Generated/Game.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3dd1102e72e0c594991b12b137027293 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Generated/Game/Components.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5db8721501357154bbc58035f1347c9a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Generated/Game/Components/GameDynamicBodyComponent.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public partial class GameEntity { 10 | 11 | public DynamicBodyComponent dynamicBody { get { return (DynamicBodyComponent)GetComponent(GameComponentsLookup.DynamicBody); } } 12 | public bool hasDynamicBody { get { return HasComponent(GameComponentsLookup.DynamicBody); } } 13 | 14 | public void AddDynamicBody(int newLayer, UnityEngine.Vector2Int newVelocity, int newAngularVelocity, bool newIsTrigger) { 15 | var index = GameComponentsLookup.DynamicBody; 16 | var component = (DynamicBodyComponent)CreateComponent(index, typeof(DynamicBodyComponent)); 17 | component.Layer = newLayer; 18 | component.Velocity = newVelocity; 19 | component.AngularVelocity = newAngularVelocity; 20 | component.IsTrigger = newIsTrigger; 21 | AddComponent(index, component); 22 | } 23 | 24 | public void ReplaceDynamicBody(int newLayer, UnityEngine.Vector2Int newVelocity, int newAngularVelocity, bool newIsTrigger) { 25 | var index = GameComponentsLookup.DynamicBody; 26 | var component = (DynamicBodyComponent)CreateComponent(index, typeof(DynamicBodyComponent)); 27 | component.Layer = newLayer; 28 | component.Velocity = newVelocity; 29 | component.AngularVelocity = newAngularVelocity; 30 | component.IsTrigger = newIsTrigger; 31 | ReplaceComponent(index, component); 32 | } 33 | 34 | public void RemoveDynamicBody() { 35 | RemoveComponent(GameComponentsLookup.DynamicBody); 36 | } 37 | } 38 | 39 | //------------------------------------------------------------------------------ 40 | // 41 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentMatcherApiGenerator. 42 | // 43 | // Changes to this file may cause incorrect behavior and will be lost if 44 | // the code is regenerated. 45 | // 46 | //------------------------------------------------------------------------------ 47 | public sealed partial class GameMatcher { 48 | 49 | static Entitas.IMatcher _matcherDynamicBody; 50 | 51 | public static Entitas.IMatcher DynamicBody { 52 | get { 53 | if (_matcherDynamicBody == null) { 54 | var matcher = (Entitas.Matcher)Entitas.Matcher.AllOf(GameComponentsLookup.DynamicBody); 55 | matcher.componentNames = GameComponentsLookup.componentNames; 56 | _matcherDynamicBody = matcher; 57 | } 58 | 59 | return _matcherDynamicBody; 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /Assets/Generated/Game/Components/GameDynamicBodyComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6eb814e0b6842014ab509bb0ee02d5ca 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Generated/Game/Components/GameTransform2DComponent.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public partial class GameEntity { 10 | 11 | public Transform2DComponent transform2D { get { return (Transform2DComponent)GetComponent(GameComponentsLookup.Transform2D); } } 12 | public bool hasTransform2D { get { return HasComponent(GameComponentsLookup.Transform2D); } } 13 | 14 | public void AddTransform2D(UnityEngine.Vector2Int newPosition, int newRotation) { 15 | var index = GameComponentsLookup.Transform2D; 16 | var component = (Transform2DComponent)CreateComponent(index, typeof(Transform2DComponent)); 17 | component.Position = newPosition; 18 | component.Rotation = newRotation; 19 | AddComponent(index, component); 20 | } 21 | 22 | public void ReplaceTransform2D(UnityEngine.Vector2Int newPosition, int newRotation) { 23 | var index = GameComponentsLookup.Transform2D; 24 | var component = (Transform2DComponent)CreateComponent(index, typeof(Transform2DComponent)); 25 | component.Position = newPosition; 26 | component.Rotation = newRotation; 27 | ReplaceComponent(index, component); 28 | } 29 | 30 | public void RemoveTransform2D() { 31 | RemoveComponent(GameComponentsLookup.Transform2D); 32 | } 33 | } 34 | 35 | //------------------------------------------------------------------------------ 36 | // 37 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentMatcherApiGenerator. 38 | // 39 | // Changes to this file may cause incorrect behavior and will be lost if 40 | // the code is regenerated. 41 | // 42 | //------------------------------------------------------------------------------ 43 | public sealed partial class GameMatcher { 44 | 45 | static Entitas.IMatcher _matcherTransform2D; 46 | 47 | public static Entitas.IMatcher Transform2D { 48 | get { 49 | if (_matcherTransform2D == null) { 50 | var matcher = (Entitas.Matcher)Entitas.Matcher.AllOf(GameComponentsLookup.Transform2D); 51 | matcher.componentNames = GameComponentsLookup.componentNames; 52 | _matcherTransform2D = matcher; 53 | } 54 | 55 | return _matcherTransform2D; 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/Generated/Game/Components/GameTransform2DComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aeba15b197030ca458f9559dda4719c6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Generated/Game/GameAttribute.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ContextAttributeGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public sealed class GameAttribute : Entitas.CodeGeneration.Attributes.ContextAttribute { 10 | 11 | public GameAttribute() : base("Game") { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/Generated/Game/GameAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 765f3171318c79f4ca7540fcc25a03b9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Generated/Game/GameComponentsLookup.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentLookupGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public static class GameComponentsLookup { 10 | 11 | public const int DynamicBody = 0; 12 | public const int Transform2D = 1; 13 | 14 | public const int TotalComponents = 2; 15 | 16 | public static readonly string[] componentNames = { 17 | "DynamicBody", 18 | "Transform2D" 19 | }; 20 | 21 | public static readonly System.Type[] componentTypes = { 22 | typeof(DynamicBodyComponent), 23 | typeof(Transform2DComponent) 24 | }; 25 | } 26 | -------------------------------------------------------------------------------- /Assets/Generated/Game/GameComponentsLookup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4867d4d7adfb74140b128be41aa986eb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Generated/Game/GameContext.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ContextGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public sealed partial class GameContext : Entitas.Context { 10 | 11 | public GameContext() 12 | : base( 13 | GameComponentsLookup.TotalComponents, 14 | 0, 15 | new Entitas.ContextInfo( 16 | "Game", 17 | GameComponentsLookup.componentNames, 18 | GameComponentsLookup.componentTypes 19 | ), 20 | (entity) => 21 | 22 | #if (ENTITAS_FAST_AND_UNSAFE) 23 | new Entitas.UnsafeAERC(), 24 | #else 25 | new Entitas.SafeAERC(entity), 26 | #endif 27 | () => new GameEntity() 28 | ) { 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Assets/Generated/Game/GameContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae201fc33f88ce24e814fd6687e6ba3a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Generated/Game/GameEntity.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.EntityGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public sealed partial class GameEntity : Entitas.Entity { 10 | } 11 | -------------------------------------------------------------------------------- /Assets/Generated/Game/GameEntity.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0389044ddd9f1d44fb85fe89e7da4efe 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Generated/Game/GameMatcher.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ContextMatcherGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public sealed partial class GameMatcher { 10 | 11 | public static Entitas.IAllOfMatcher AllOf(params int[] indices) { 12 | return Entitas.Matcher.AllOf(indices); 13 | } 14 | 15 | public static Entitas.IAllOfMatcher AllOf(params Entitas.IMatcher[] matchers) { 16 | return Entitas.Matcher.AllOf(matchers); 17 | } 18 | 19 | public static Entitas.IAnyOfMatcher AnyOf(params int[] indices) { 20 | return Entitas.Matcher.AnyOf(indices); 21 | } 22 | 23 | public static Entitas.IAnyOfMatcher AnyOf(params Entitas.IMatcher[] matchers) { 24 | return Entitas.Matcher.AnyOf(matchers); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Assets/Generated/Game/GameMatcher.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d480adb523b4e594cb84b3ee66bd9b9e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MemoryAlignmentTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | using System.Diagnostics; 4 | using UnityEngine; 5 | 6 | public unsafe class MemoryAlignmentTest : MonoBehaviour 7 | { 8 | const int TEST_COUNT = 1000000; 9 | 10 | protected Contexts _contexts = null; 11 | 12 | protected Stopwatch _stopwatch1 = null; 13 | protected Stopwatch _stopwatch2 = null; 14 | 15 | void Start() 16 | { 17 | _contexts = new Contexts(); 18 | _stopwatch1 = new Stopwatch(); 19 | _stopwatch2 = new Stopwatch(); 20 | 21 | var entity = _contexts.game.CreateEntity(); 22 | entity.AddTransform2D(new Vector2Int(1, 2), 90); 23 | entity.AddDynamicBody(100, new Vector2Int(3, 4), 30, true); 24 | 25 | _stopwatch1.Start(); 26 | for (int i = 0; i < TEST_COUNT; i++) 27 | { 28 | var x = entity.transform2D.Position.x; 29 | var y = entity.transform2D.Position.y; 30 | var rotation = entity.transform2D.Rotation; 31 | 32 | var layer = entity.dynamicBody.Layer; 33 | var velocity = entity.dynamicBody.Velocity; 34 | var angularVelocity = entity.dynamicBody.AngularVelocity; 35 | var isTrigger = entity.dynamicBody.IsTrigger; 36 | } 37 | _stopwatch1.Stop(); 38 | 39 | UnityEngine.Debug.Log("Without MemoryAlignment ElapsedMilliseconds-->" + _stopwatch1.ElapsedMilliseconds); 40 | 41 | //////////////////////////////////////////////////////////// 42 | EntityMemoryAlignment * entityMemoryAlignment = (EntityMemoryAlignment*)Marshal.AllocHGlobal(sizeof(EntityMemoryAlignment)).ToPointer(); 43 | ZeroMemory((byte*)entityMemoryAlignment, sizeof(EntityMemoryAlignment)); 44 | 45 | entityMemoryAlignment->Transform2D.Position = new Vector2Int(1, 2); 46 | entityMemoryAlignment->Transform2D.Rotation = 90; 47 | 48 | entityMemoryAlignment->DynamicBody.Layer = 100; 49 | entityMemoryAlignment->DynamicBody.Velocity = new Vector2Int(3, 4); 50 | entityMemoryAlignment->DynamicBody.AngularVelocity = 30; 51 | entityMemoryAlignment->DynamicBody.IsTrigger = true; 52 | 53 | _stopwatch2.Start(); 54 | for (int i = 0; i < TEST_COUNT; i++) 55 | { 56 | var x = entityMemoryAlignment->Transform2D.Position.x; 57 | var y = entityMemoryAlignment->Transform2D.Position.y; 58 | var rotation = entityMemoryAlignment->Transform2D.Rotation; 59 | 60 | var layer = entityMemoryAlignment->DynamicBody.Layer; 61 | var velocity = entityMemoryAlignment->DynamicBody.Velocity; 62 | var angularVelocity = entityMemoryAlignment->DynamicBody.AngularVelocity; 63 | var isTrigger = entityMemoryAlignment->DynamicBody.IsTrigger; 64 | } 65 | _stopwatch2.Stop(); 66 | 67 | UnityEngine.Debug.Log("MemoryAlignment ElapsedMilliseconds-->" + _stopwatch2.ElapsedMilliseconds); 68 | 69 | Marshal.FreeHGlobal(new IntPtr(entityMemoryAlignment)); 70 | } 71 | 72 | public unsafe static void ZeroMemory(byte* ptr, int size) 73 | { 74 | for (int num = size - 1; num >= 0; num--) 75 | { 76 | ptr[num] = 0; 77 | } 78 | } 79 | } -------------------------------------------------------------------------------- /Assets/MemoryAlignmentTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ff7990ea0d492143a544620761242f4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a77bdfa007517ca45adf3313bf4d5c67 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 170076734} 41 | m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 10 58 | m_Resolution: 2 59 | m_BakeResolution: 10 60 | m_AtlasSize: 512 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_Padding: 2 66 | m_LightmapParameters: {fileID: 0} 67 | m_LightmapsBakeMode: 1 68 | m_TextureCompression: 1 69 | m_FinalGather: 0 70 | m_FinalGatherFiltering: 1 71 | m_FinalGatherRayCount: 256 72 | m_ReflectionCompression: 2 73 | m_MixedBakeMode: 2 74 | m_BakeBackend: 1 75 | m_PVRSampling: 1 76 | m_PVRDirectSampleCount: 32 77 | m_PVRSampleCount: 256 78 | m_PVRBounces: 2 79 | m_PVRFilterTypeDirect: 0 80 | m_PVRFilterTypeIndirect: 0 81 | m_PVRFilterTypeAO: 0 82 | m_PVRFilteringMode: 1 83 | m_PVRCulling: 1 84 | m_PVRFilteringGaussRadiusDirect: 1 85 | m_PVRFilteringGaussRadiusIndirect: 5 86 | m_PVRFilteringGaussRadiusAO: 2 87 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 88 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 89 | m_PVRFilteringAtrousPositionSigmaAO: 1 90 | m_ShowResolutionOverlay: 1 91 | m_LightingDataAsset: {fileID: 0} 92 | m_UseShadowmask: 1 93 | --- !u!196 &4 94 | NavMeshSettings: 95 | serializedVersion: 2 96 | m_ObjectHideFlags: 0 97 | m_BuildSettings: 98 | serializedVersion: 2 99 | agentTypeID: 0 100 | agentRadius: 0.5 101 | agentHeight: 2 102 | agentSlope: 45 103 | agentClimb: 0.4 104 | ledgeDropHeight: 0 105 | maxJumpAcrossDistance: 0 106 | minRegionArea: 2 107 | manualCellSize: 0 108 | cellSize: 0.16666667 109 | manualTileSize: 0 110 | tileSize: 256 111 | accuratePlacement: 0 112 | debug: 113 | m_Flags: 0 114 | m_NavMeshData: {fileID: 0} 115 | --- !u!1 &170076733 116 | GameObject: 117 | m_ObjectHideFlags: 0 118 | m_CorrespondingSourceObject: {fileID: 0} 119 | m_PrefabInstance: {fileID: 0} 120 | m_PrefabAsset: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 170076735} 124 | - component: {fileID: 170076734} 125 | m_Layer: 0 126 | m_Name: Directional Light 127 | m_TagString: Untagged 128 | m_Icon: {fileID: 0} 129 | m_NavMeshLayer: 0 130 | m_StaticEditorFlags: 0 131 | m_IsActive: 1 132 | --- !u!108 &170076734 133 | Light: 134 | m_ObjectHideFlags: 0 135 | m_CorrespondingSourceObject: {fileID: 0} 136 | m_PrefabInstance: {fileID: 0} 137 | m_PrefabAsset: {fileID: 0} 138 | m_GameObject: {fileID: 170076733} 139 | m_Enabled: 1 140 | serializedVersion: 8 141 | m_Type: 1 142 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 143 | m_Intensity: 1 144 | m_Range: 10 145 | m_SpotAngle: 30 146 | m_CookieSize: 10 147 | m_Shadows: 148 | m_Type: 2 149 | m_Resolution: -1 150 | m_CustomResolution: -1 151 | m_Strength: 1 152 | m_Bias: 0.05 153 | m_NormalBias: 0.4 154 | m_NearPlane: 0.2 155 | m_Cookie: {fileID: 0} 156 | m_DrawHalo: 0 157 | m_Flare: {fileID: 0} 158 | m_RenderMode: 0 159 | m_CullingMask: 160 | serializedVersion: 2 161 | m_Bits: 4294967295 162 | m_Lightmapping: 1 163 | m_LightShadowCasterMode: 0 164 | m_AreaSize: {x: 1, y: 1} 165 | m_BounceIntensity: 1 166 | m_ColorTemperature: 6570 167 | m_UseColorTemperature: 0 168 | m_ShadowRadius: 0 169 | m_ShadowAngle: 0 170 | --- !u!4 &170076735 171 | Transform: 172 | m_ObjectHideFlags: 0 173 | m_CorrespondingSourceObject: {fileID: 0} 174 | m_PrefabInstance: {fileID: 0} 175 | m_PrefabAsset: {fileID: 0} 176 | m_GameObject: {fileID: 170076733} 177 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 178 | m_LocalPosition: {x: 0, y: 3, z: 0} 179 | m_LocalScale: {x: 1, y: 1, z: 1} 180 | m_Children: [] 181 | m_Father: {fileID: 0} 182 | m_RootOrder: 1 183 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 184 | --- !u!1 &534669902 185 | GameObject: 186 | m_ObjectHideFlags: 0 187 | m_CorrespondingSourceObject: {fileID: 0} 188 | m_PrefabInstance: {fileID: 0} 189 | m_PrefabAsset: {fileID: 0} 190 | serializedVersion: 6 191 | m_Component: 192 | - component: {fileID: 534669905} 193 | - component: {fileID: 534669904} 194 | - component: {fileID: 534669903} 195 | m_Layer: 0 196 | m_Name: Main Camera 197 | m_TagString: MainCamera 198 | m_Icon: {fileID: 0} 199 | m_NavMeshLayer: 0 200 | m_StaticEditorFlags: 0 201 | m_IsActive: 1 202 | --- !u!81 &534669903 203 | AudioListener: 204 | m_ObjectHideFlags: 0 205 | m_CorrespondingSourceObject: {fileID: 0} 206 | m_PrefabInstance: {fileID: 0} 207 | m_PrefabAsset: {fileID: 0} 208 | m_GameObject: {fileID: 534669902} 209 | m_Enabled: 1 210 | --- !u!20 &534669904 211 | Camera: 212 | m_ObjectHideFlags: 0 213 | m_CorrespondingSourceObject: {fileID: 0} 214 | m_PrefabInstance: {fileID: 0} 215 | m_PrefabAsset: {fileID: 0} 216 | m_GameObject: {fileID: 534669902} 217 | m_Enabled: 1 218 | serializedVersion: 2 219 | m_ClearFlags: 1 220 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 221 | m_projectionMatrixMode: 1 222 | m_SensorSize: {x: 36, y: 24} 223 | m_LensShift: {x: 0, y: 0} 224 | m_GateFitMode: 2 225 | m_FocalLength: 50 226 | m_NormalizedViewPortRect: 227 | serializedVersion: 2 228 | x: 0 229 | y: 0 230 | width: 1 231 | height: 1 232 | near clip plane: 0.3 233 | far clip plane: 1000 234 | field of view: 60 235 | orthographic: 0 236 | orthographic size: 5 237 | m_Depth: -1 238 | m_CullingMask: 239 | serializedVersion: 2 240 | m_Bits: 4294967295 241 | m_RenderingPath: -1 242 | m_TargetTexture: {fileID: 0} 243 | m_TargetDisplay: 0 244 | m_TargetEye: 3 245 | m_HDR: 1 246 | m_AllowMSAA: 1 247 | m_AllowDynamicResolution: 0 248 | m_ForceIntoRT: 0 249 | m_OcclusionCulling: 1 250 | m_StereoConvergence: 10 251 | m_StereoSeparation: 0.022 252 | --- !u!4 &534669905 253 | Transform: 254 | m_ObjectHideFlags: 0 255 | m_CorrespondingSourceObject: {fileID: 0} 256 | m_PrefabInstance: {fileID: 0} 257 | m_PrefabAsset: {fileID: 0} 258 | m_GameObject: {fileID: 534669902} 259 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 260 | m_LocalPosition: {x: 0, y: 1, z: -10} 261 | m_LocalScale: {x: 1, y: 1, z: 1} 262 | m_Children: [] 263 | m_Father: {fileID: 0} 264 | m_RootOrder: 0 265 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 266 | --- !u!1 &842637223 267 | GameObject: 268 | m_ObjectHideFlags: 0 269 | m_CorrespondingSourceObject: {fileID: 0} 270 | m_PrefabInstance: {fileID: 0} 271 | m_PrefabAsset: {fileID: 0} 272 | serializedVersion: 6 273 | m_Component: 274 | - component: {fileID: 842637225} 275 | - component: {fileID: 842637224} 276 | m_Layer: 0 277 | m_Name: MemoryAlignmentTest 278 | m_TagString: Untagged 279 | m_Icon: {fileID: 0} 280 | m_NavMeshLayer: 0 281 | m_StaticEditorFlags: 0 282 | m_IsActive: 1 283 | --- !u!114 &842637224 284 | MonoBehaviour: 285 | m_ObjectHideFlags: 0 286 | m_CorrespondingSourceObject: {fileID: 0} 287 | m_PrefabInstance: {fileID: 0} 288 | m_PrefabAsset: {fileID: 0} 289 | m_GameObject: {fileID: 842637223} 290 | m_Enabled: 1 291 | m_EditorHideFlags: 0 292 | m_Script: {fileID: 11500000, guid: 5ff7990ea0d492143a544620761242f4, type: 3} 293 | m_Name: 294 | m_EditorClassIdentifier: 295 | --- !u!4 &842637225 296 | Transform: 297 | m_ObjectHideFlags: 0 298 | m_CorrespondingSourceObject: {fileID: 0} 299 | m_PrefabInstance: {fileID: 0} 300 | m_PrefabAsset: {fileID: 0} 301 | m_GameObject: {fileID: 842637223} 302 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 303 | m_LocalPosition: {x: 0, y: 0, z: 0} 304 | m_LocalScale: {x: 1, y: 1, z: 1} 305 | m_Children: [] 306 | m_Father: {fileID: 0} 307 | m_RootOrder: 2 308 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 309 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b5fde0c46419644fb993dcaf5932c73 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Entitas.properties: -------------------------------------------------------------------------------- 1 | Entitas.VisualDebugging.Unity.Editor.SystemWarningThreshold = 5 2 | Entitas.VisualDebugging.Unity.Editor.DefaultInstanceCreatorFolderPath = Assets/Editor/DefaultInstanceCreator 3 | Entitas.VisualDebugging.Unity.Editor.TypeDrawerFolderPath = Assets/Editor/TypeDrawer 4 | -------------------------------------------------------------------------------- /Jenny.properties: -------------------------------------------------------------------------------- 1 | Jenny.SearchPaths = Assets\DesperateDevs\Editor\Plugins, \ 2 | Assets\Entitas\Editor\Plugins 3 | 4 | Jenny.Plugins = DesperateDevs.CodeGeneration.Plugins, \ 5 | DesperateDevs.CodeGeneration.Unity.Plugins, \ 6 | Entitas.CodeGeneration.Plugins, \ 7 | Entitas.VisualDebugging.CodeGeneration.Plugins 8 | 9 | Jenny.PreProcessors = DesperateDevs.CodeGeneration.Plugins.ValidateProjectPathPreProcessor, \ 10 | DesperateDevs.CodeGeneration.Unity.Plugins.WarnIfCompilationErrorsPreProcessor, \ 11 | DesperateDevs.CodeGeneration.Plugins.TargetFrameworkProfilePreProcessor 12 | 13 | Jenny.DataProviders = Entitas.CodeGeneration.Plugins.ComponentDataProvider, \ 14 | Entitas.CodeGeneration.Plugins.ContextDataProvider, \ 15 | Entitas.CodeGeneration.Plugins.EntityIndexDataProvider 16 | 17 | Jenny.CodeGenerators = Entitas.CodeGeneration.Plugins.ComponentContextApiGenerator, \ 18 | Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator, \ 19 | Entitas.CodeGeneration.Plugins.ComponentEntityApiInterfaceGenerator, \ 20 | Entitas.CodeGeneration.Plugins.ComponentGenerator, \ 21 | Entitas.CodeGeneration.Plugins.ComponentLookupGenerator, \ 22 | Entitas.CodeGeneration.Plugins.ComponentMatcherApiGenerator, \ 23 | Entitas.CodeGeneration.Plugins.ContextAttributeGenerator, \ 24 | Entitas.CodeGeneration.Plugins.ContextGenerator, \ 25 | Entitas.CodeGeneration.Plugins.ContextMatcherGenerator, \ 26 | Entitas.CodeGeneration.Plugins.ContextsGenerator, \ 27 | Entitas.CodeGeneration.Plugins.EntityGenerator, \ 28 | Entitas.CodeGeneration.Plugins.EntityIndexGenerator, \ 29 | Entitas.CodeGeneration.Plugins.EventEntityApiGenerator, \ 30 | Entitas.CodeGeneration.Plugins.EventListenerComponentGenerator, \ 31 | Entitas.CodeGeneration.Plugins.EventListenertInterfaceGenerator, \ 32 | Entitas.CodeGeneration.Plugins.EventSystemGenerator, \ 33 | Entitas.CodeGeneration.Plugins.EventSystemsGenerator, \ 34 | Entitas.VisualDebugging.CodeGeneration.Plugins.ContextObserverGenerator, \ 35 | Entitas.VisualDebugging.CodeGeneration.Plugins.FeatureClassGenerator 36 | 37 | Jenny.PostProcessors = DesperateDevs.CodeGeneration.Plugins.AddFileHeaderPostProcessor, \ 38 | DesperateDevs.CodeGeneration.Plugins.CleanTargetDirectoryPostProcessor, \ 39 | DesperateDevs.CodeGeneration.Plugins.MergeFilesPostProcessor, \ 40 | DesperateDevs.CodeGeneration.Plugins.NewLinePostProcessor, \ 41 | DesperateDevs.CodeGeneration.Plugins.UpdateCSProjPostProcessor, \ 42 | DesperateDevs.CodeGeneration.Plugins.WriteToDiskPostProcessor, \ 43 | DesperateDevs.CodeGeneration.Plugins.ConsoleWriteLinePostProcessor, \ 44 | DesperateDevs.CodeGeneration.Unity.Plugins.DebugLogPostProcessor 45 | 46 | Jenny.Server.Port = 3333 47 | Jenny.Client.Host = localhost 48 | DesperateDevs.CodeGeneration.Plugins.ProjectPath = Assembly-CSharp.csproj 49 | Entitas.CodeGeneration.Plugins.Assemblies = Library/ScriptAssemblies/Assembly-CSharp.dll 50 | Entitas.CodeGeneration.Plugins.Contexts = Game 51 | Entitas.CodeGeneration.Plugins.IgnoreNamespaces = false 52 | DesperateDevs.CodeGeneration.Plugins.TargetDirectory = Assets 53 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ads": "2.0.8", 4 | "com.unity.analytics": "3.2.2", 5 | "com.unity.collab-proxy": "1.2.15", 6 | "com.unity.package-manager-ui": "2.0.7", 7 | "com.unity.purchasing": "2.0.3", 8 | "com.unity.textmeshpro": "1.3.0", 9 | "com.unity.modules.ai": "1.0.0", 10 | "com.unity.modules.animation": "1.0.0", 11 | "com.unity.modules.assetbundle": "1.0.0", 12 | "com.unity.modules.audio": "1.0.0", 13 | "com.unity.modules.cloth": "1.0.0", 14 | "com.unity.modules.director": "1.0.0", 15 | "com.unity.modules.imageconversion": "1.0.0", 16 | "com.unity.modules.imgui": "1.0.0", 17 | "com.unity.modules.jsonserialize": "1.0.0", 18 | "com.unity.modules.particlesystem": "1.0.0", 19 | "com.unity.modules.physics": "1.0.0", 20 | "com.unity.modules.physics2d": "1.0.0", 21 | "com.unity.modules.screencapture": "1.0.0", 22 | "com.unity.modules.terrain": "1.0.0", 23 | "com.unity.modules.terrainphysics": "1.0.0", 24 | "com.unity.modules.tilemap": "1.0.0", 25 | "com.unity.modules.ui": "1.0.0", 26 | "com.unity.modules.uielements": "1.0.0", 27 | "com.unity.modules.umbra": "1.0.0", 28 | "com.unity.modules.unityanalytics": "1.0.0", 29 | "com.unity.modules.unitywebrequest": "1.0.0", 30 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 31 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 32 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 33 | "com.unity.modules.unitywebrequestwww": "1.0.0", 34 | "com.unity.modules.vehicles": "1.0.0", 35 | "com.unity.modules.video": "1.0.0", 36 | "com.unity.modules.vr": "1.0.0", 37 | "com.unity.modules.wind": "1.0.0", 38 | "com.unity.modules.xr": "1.0.0" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 8 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 39 | m_PreloadedShaders: [] 40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 41 | type: 0} 42 | m_CustomRenderPipeline: {fileID: 0} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 0 62 | m_LightsUseColorTemperature: 0 63 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_ReuseCollisionCallbacks: 1 28 | m_AutoSyncTransforms: 0 29 | m_AlwaysShowColliders: 0 30 | m_ShowColliderSleep: 1 31 | m_ShowColliderContacts: 0 32 | m_ShowColliderAABB: 0 33 | m_ContactArrowScale: 0.2 34 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 35 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 36 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 37 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 38 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 39 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 15 7 | productGUID: 61e9e539cc650a348a225f75e52ba44b 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: MemoryAlignmentTest 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 1 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidStartInFullscreen: 1 67 | androidRenderOutsideSafeArea: 0 68 | androidBlitType: 0 69 | defaultIsNativeResolution: 1 70 | macRetinaSupport: 1 71 | runInBackground: 1 72 | captureSingleScreen: 0 73 | muteOtherAudioSources: 0 74 | Prepare IOS For Recording: 0 75 | Force IOS Speakers When Recording: 0 76 | deferSystemGesturesMode: 0 77 | hideHomeButton: 0 78 | submitAnalytics: 1 79 | usePlayerLog: 1 80 | bakeCollisionMeshes: 0 81 | forceSingleInstance: 0 82 | resizableWindow: 0 83 | useMacAppStoreValidation: 0 84 | macAppStoreCategory: public.app-category.games 85 | gpuSkinning: 1 86 | graphicsJobs: 0 87 | xboxPIXTextureCapture: 0 88 | xboxEnableAvatar: 0 89 | xboxEnableKinect: 0 90 | xboxEnableKinectAutoTracking: 0 91 | xboxEnableFitness: 0 92 | visibleInBackground: 1 93 | allowFullscreenSwitch: 1 94 | graphicsJobMode: 0 95 | fullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | xboxOneResolution: 0 102 | xboxOneSResolution: 0 103 | xboxOneXResolution: 3 104 | xboxOneMonoLoggingLevel: 0 105 | xboxOneLoggingLevel: 1 106 | xboxOneDisableEsram: 0 107 | xboxOnePresentImmediateThreshold: 0 108 | switchQueueCommandMemory: 0 109 | switchQueueControlMemory: 16384 110 | switchQueueComputeMemory: 262144 111 | switchNVNShaderPoolsGranularity: 33554432 112 | switchNVNDefaultPoolsGranularity: 16777216 113 | switchNVNOtherPoolsGranularity: 16777216 114 | vulkanEnableSetSRGBWrite: 0 115 | m_SupportedAspectRatios: 116 | 4:3: 1 117 | 5:4: 1 118 | 16:10: 1 119 | 16:9: 1 120 | Others: 1 121 | bundleVersion: 0.1 122 | preloadedAssets: [] 123 | metroInputSource: 0 124 | wsaTransparentSwapchain: 0 125 | m_HolographicPauseOnTrackingLoss: 1 126 | xboxOneDisableKinectGpuReservation: 1 127 | xboxOneEnable7thCore: 1 128 | isWsaHolographicRemotingEnabled: 0 129 | vrSettings: 130 | cardboard: 131 | depthFormat: 0 132 | enableTransitionView: 0 133 | daydream: 134 | depthFormat: 0 135 | useSustainedPerformanceMode: 0 136 | enableVideoLayer: 0 137 | useProtectedVideoMemory: 0 138 | minimumSupportedHeadTracking: 0 139 | maximumSupportedHeadTracking: 1 140 | hololens: 141 | depthFormat: 1 142 | depthBufferSharingEnabled: 1 143 | oculus: 144 | sharedDepthBuffer: 1 145 | dashSupport: 1 146 | enable360StereoCapture: 0 147 | protectGraphicsMemory: 0 148 | enableFrameTimingStats: 0 149 | useHDRDisplay: 0 150 | m_ColorGamuts: 00000000 151 | targetPixelDensity: 30 152 | resolutionScalingMode: 0 153 | androidSupportedAspectRatio: 1 154 | androidMaxAspectRatio: 2.1 155 | applicationIdentifier: {} 156 | buildNumber: {} 157 | AndroidBundleVersionCode: 1 158 | AndroidMinSdkVersion: 16 159 | AndroidTargetSdkVersion: 0 160 | AndroidPreferredInstallLocation: 1 161 | aotOptions: 162 | stripEngineCode: 1 163 | iPhoneStrippingLevel: 0 164 | iPhoneScriptCallOptimization: 0 165 | ForceInternetPermission: 0 166 | ForceSDCardPermission: 0 167 | CreateWallpaper: 0 168 | APKExpansionFiles: 0 169 | keepLoadedShadersAlive: 0 170 | StripUnusedMeshComponents: 1 171 | VertexChannelCompressionMask: 4054 172 | iPhoneSdkVersion: 988 173 | iOSTargetOSVersionString: 9.0 174 | tvOSSdkVersion: 0 175 | tvOSRequireExtendedGameController: 0 176 | tvOSTargetOSVersionString: 9.0 177 | uIPrerenderedIcon: 0 178 | uIRequiresPersistentWiFi: 0 179 | uIRequiresFullScreen: 1 180 | uIStatusBarHidden: 1 181 | uIExitOnSuspend: 0 182 | uIStatusBarStyle: 0 183 | iPhoneSplashScreen: {fileID: 0} 184 | iPhoneHighResSplashScreen: {fileID: 0} 185 | iPhoneTallHighResSplashScreen: {fileID: 0} 186 | iPhone47inSplashScreen: {fileID: 0} 187 | iPhone55inPortraitSplashScreen: {fileID: 0} 188 | iPhone55inLandscapeSplashScreen: {fileID: 0} 189 | iPhone58inPortraitSplashScreen: {fileID: 0} 190 | iPhone58inLandscapeSplashScreen: {fileID: 0} 191 | iPadPortraitSplashScreen: {fileID: 0} 192 | iPadHighResPortraitSplashScreen: {fileID: 0} 193 | iPadLandscapeSplashScreen: {fileID: 0} 194 | iPadHighResLandscapeSplashScreen: {fileID: 0} 195 | appleTVSplashScreen: {fileID: 0} 196 | appleTVSplashScreen2x: {fileID: 0} 197 | tvOSSmallIconLayers: [] 198 | tvOSSmallIconLayers2x: [] 199 | tvOSLargeIconLayers: [] 200 | tvOSLargeIconLayers2x: [] 201 | tvOSTopShelfImageLayers: [] 202 | tvOSTopShelfImageLayers2x: [] 203 | tvOSTopShelfImageWideLayers: [] 204 | tvOSTopShelfImageWideLayers2x: [] 205 | iOSLaunchScreenType: 0 206 | iOSLaunchScreenPortrait: {fileID: 0} 207 | iOSLaunchScreenLandscape: {fileID: 0} 208 | iOSLaunchScreenBackgroundColor: 209 | serializedVersion: 2 210 | rgba: 0 211 | iOSLaunchScreenFillPct: 100 212 | iOSLaunchScreenSize: 100 213 | iOSLaunchScreenCustomXibPath: 214 | iOSLaunchScreeniPadType: 0 215 | iOSLaunchScreeniPadImage: {fileID: 0} 216 | iOSLaunchScreeniPadBackgroundColor: 217 | serializedVersion: 2 218 | rgba: 0 219 | iOSLaunchScreeniPadFillPct: 100 220 | iOSLaunchScreeniPadSize: 100 221 | iOSLaunchScreeniPadCustomXibPath: 222 | iOSUseLaunchScreenStoryboard: 0 223 | iOSLaunchScreenCustomStoryboardPath: 224 | iOSDeviceRequirements: [] 225 | iOSURLSchemes: [] 226 | iOSBackgroundModes: 0 227 | iOSMetalForceHardShadows: 0 228 | metalEditorSupport: 1 229 | metalAPIValidation: 1 230 | iOSRenderExtraFrameOnPause: 0 231 | appleDeveloperTeamID: 232 | iOSManualSigningProvisioningProfileID: 233 | tvOSManualSigningProvisioningProfileID: 234 | iOSManualSigningProvisioningProfileType: 0 235 | tvOSManualSigningProvisioningProfileType: 0 236 | appleEnableAutomaticSigning: 0 237 | iOSRequireARKit: 0 238 | iOSAutomaticallyDetectAndAddCapabilities: 1 239 | appleEnableProMotion: 0 240 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 241 | templatePackageId: com.unity.template.3d@1.3.0 242 | templateDefaultScene: Assets/Scenes/SampleScene.unity 243 | AndroidTargetArchitectures: 5 244 | AndroidSplashScreenScale: 0 245 | androidSplashScreen: {fileID: 0} 246 | AndroidKeystoreName: 247 | AndroidKeyaliasName: 248 | AndroidBuildApkPerCpuArchitecture: 0 249 | AndroidTVCompatibility: 1 250 | AndroidIsGame: 1 251 | AndroidEnableTango: 0 252 | androidEnableBanner: 1 253 | androidUseLowAccuracyLocation: 0 254 | m_AndroidBanners: 255 | - width: 320 256 | height: 180 257 | banner: {fileID: 0} 258 | androidGamepadSupportLevel: 0 259 | resolutionDialogBanner: {fileID: 0} 260 | m_BuildTargetIcons: [] 261 | m_BuildTargetPlatformIcons: [] 262 | m_BuildTargetBatching: 263 | - m_BuildTarget: Standalone 264 | m_StaticBatching: 1 265 | m_DynamicBatching: 0 266 | - m_BuildTarget: tvOS 267 | m_StaticBatching: 1 268 | m_DynamicBatching: 0 269 | - m_BuildTarget: Android 270 | m_StaticBatching: 1 271 | m_DynamicBatching: 0 272 | - m_BuildTarget: iPhone 273 | m_StaticBatching: 1 274 | m_DynamicBatching: 0 275 | - m_BuildTarget: WebGL 276 | m_StaticBatching: 0 277 | m_DynamicBatching: 0 278 | m_BuildTargetGraphicsAPIs: 279 | - m_BuildTarget: AndroidPlayer 280 | m_APIs: 0b00000008000000 281 | m_Automatic: 1 282 | - m_BuildTarget: iOSSupport 283 | m_APIs: 10000000 284 | m_Automatic: 1 285 | - m_BuildTarget: AppleTVSupport 286 | m_APIs: 10000000 287 | m_Automatic: 0 288 | - m_BuildTarget: WebGLSupport 289 | m_APIs: 0b000000 290 | m_Automatic: 1 291 | m_BuildTargetVRSettings: 292 | - m_BuildTarget: Standalone 293 | m_Enabled: 0 294 | m_Devices: 295 | - Oculus 296 | - OpenVR 297 | m_BuildTargetEnableVuforiaSettings: [] 298 | openGLRequireES31: 0 299 | openGLRequireES31AEP: 0 300 | m_TemplateCustomTags: {} 301 | mobileMTRendering: 302 | Android: 1 303 | iPhone: 1 304 | tvOS: 1 305 | m_BuildTargetGroupLightmapEncodingQuality: [] 306 | m_BuildTargetGroupLightmapSettings: [] 307 | playModeTestRunnerEnabled: 0 308 | runPlayModeTestAsEditModeTest: 0 309 | actionOnDotNetUnhandledException: 1 310 | enableInternalProfiler: 0 311 | logObjCUncaughtExceptions: 1 312 | enableCrashReportAPI: 0 313 | cameraUsageDescription: 314 | locationUsageDescription: 315 | microphoneUsageDescription: 316 | switchNetLibKey: 317 | switchSocketMemoryPoolSize: 6144 318 | switchSocketAllocatorPoolSize: 128 319 | switchSocketConcurrencyLimit: 14 320 | switchScreenResolutionBehavior: 2 321 | switchUseCPUProfiler: 0 322 | switchApplicationID: 0x01004b9000490000 323 | switchNSODependencies: 324 | switchTitleNames_0: 325 | switchTitleNames_1: 326 | switchTitleNames_2: 327 | switchTitleNames_3: 328 | switchTitleNames_4: 329 | switchTitleNames_5: 330 | switchTitleNames_6: 331 | switchTitleNames_7: 332 | switchTitleNames_8: 333 | switchTitleNames_9: 334 | switchTitleNames_10: 335 | switchTitleNames_11: 336 | switchTitleNames_12: 337 | switchTitleNames_13: 338 | switchTitleNames_14: 339 | switchPublisherNames_0: 340 | switchPublisherNames_1: 341 | switchPublisherNames_2: 342 | switchPublisherNames_3: 343 | switchPublisherNames_4: 344 | switchPublisherNames_5: 345 | switchPublisherNames_6: 346 | switchPublisherNames_7: 347 | switchPublisherNames_8: 348 | switchPublisherNames_9: 349 | switchPublisherNames_10: 350 | switchPublisherNames_11: 351 | switchPublisherNames_12: 352 | switchPublisherNames_13: 353 | switchPublisherNames_14: 354 | switchIcons_0: {fileID: 0} 355 | switchIcons_1: {fileID: 0} 356 | switchIcons_2: {fileID: 0} 357 | switchIcons_3: {fileID: 0} 358 | switchIcons_4: {fileID: 0} 359 | switchIcons_5: {fileID: 0} 360 | switchIcons_6: {fileID: 0} 361 | switchIcons_7: {fileID: 0} 362 | switchIcons_8: {fileID: 0} 363 | switchIcons_9: {fileID: 0} 364 | switchIcons_10: {fileID: 0} 365 | switchIcons_11: {fileID: 0} 366 | switchIcons_12: {fileID: 0} 367 | switchIcons_13: {fileID: 0} 368 | switchIcons_14: {fileID: 0} 369 | switchSmallIcons_0: {fileID: 0} 370 | switchSmallIcons_1: {fileID: 0} 371 | switchSmallIcons_2: {fileID: 0} 372 | switchSmallIcons_3: {fileID: 0} 373 | switchSmallIcons_4: {fileID: 0} 374 | switchSmallIcons_5: {fileID: 0} 375 | switchSmallIcons_6: {fileID: 0} 376 | switchSmallIcons_7: {fileID: 0} 377 | switchSmallIcons_8: {fileID: 0} 378 | switchSmallIcons_9: {fileID: 0} 379 | switchSmallIcons_10: {fileID: 0} 380 | switchSmallIcons_11: {fileID: 0} 381 | switchSmallIcons_12: {fileID: 0} 382 | switchSmallIcons_13: {fileID: 0} 383 | switchSmallIcons_14: {fileID: 0} 384 | switchManualHTML: 385 | switchAccessibleURLs: 386 | switchLegalInformation: 387 | switchMainThreadStackSize: 1048576 388 | switchPresenceGroupId: 389 | switchLogoHandling: 0 390 | switchReleaseVersion: 0 391 | switchDisplayVersion: 1.0.0 392 | switchStartupUserAccount: 0 393 | switchTouchScreenUsage: 0 394 | switchSupportedLanguagesMask: 0 395 | switchLogoType: 0 396 | switchApplicationErrorCodeCategory: 397 | switchUserAccountSaveDataSize: 0 398 | switchUserAccountSaveDataJournalSize: 0 399 | switchApplicationAttribute: 0 400 | switchCardSpecSize: -1 401 | switchCardSpecClock: -1 402 | switchRatingsMask: 0 403 | switchRatingsInt_0: 0 404 | switchRatingsInt_1: 0 405 | switchRatingsInt_2: 0 406 | switchRatingsInt_3: 0 407 | switchRatingsInt_4: 0 408 | switchRatingsInt_5: 0 409 | switchRatingsInt_6: 0 410 | switchRatingsInt_7: 0 411 | switchRatingsInt_8: 0 412 | switchRatingsInt_9: 0 413 | switchRatingsInt_10: 0 414 | switchRatingsInt_11: 0 415 | switchLocalCommunicationIds_0: 416 | switchLocalCommunicationIds_1: 417 | switchLocalCommunicationIds_2: 418 | switchLocalCommunicationIds_3: 419 | switchLocalCommunicationIds_4: 420 | switchLocalCommunicationIds_5: 421 | switchLocalCommunicationIds_6: 422 | switchLocalCommunicationIds_7: 423 | switchParentalControl: 0 424 | switchAllowsScreenshot: 1 425 | switchAllowsVideoCapturing: 1 426 | switchAllowsRuntimeAddOnContentInstall: 0 427 | switchDataLossConfirmation: 0 428 | switchUserAccountLockEnabled: 0 429 | switchSystemResourceMemory: 16777216 430 | switchSupportedNpadStyles: 3 431 | switchNativeFsCacheSize: 32 432 | switchIsHoldTypeHorizontal: 0 433 | switchSupportedNpadCount: 8 434 | switchSocketConfigEnabled: 0 435 | switchTcpInitialSendBufferSize: 32 436 | switchTcpInitialReceiveBufferSize: 64 437 | switchTcpAutoSendBufferSizeMax: 256 438 | switchTcpAutoReceiveBufferSizeMax: 256 439 | switchUdpSendBufferSize: 9 440 | switchUdpReceiveBufferSize: 42 441 | switchSocketBufferEfficiency: 4 442 | switchSocketInitializeEnabled: 1 443 | switchNetworkInterfaceManagerInitializeEnabled: 1 444 | switchPlayerConnectionEnabled: 1 445 | ps4NPAgeRating: 12 446 | ps4NPTitleSecret: 447 | ps4NPTrophyPackPath: 448 | ps4ParentalLevel: 11 449 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 450 | ps4Category: 0 451 | ps4MasterVersion: 01.00 452 | ps4AppVersion: 01.00 453 | ps4AppType: 0 454 | ps4ParamSfxPath: 455 | ps4VideoOutPixelFormat: 0 456 | ps4VideoOutInitialWidth: 1920 457 | ps4VideoOutBaseModeInitialWidth: 1920 458 | ps4VideoOutReprojectionRate: 60 459 | ps4PronunciationXMLPath: 460 | ps4PronunciationSIGPath: 461 | ps4BackgroundImagePath: 462 | ps4StartupImagePath: 463 | ps4StartupImagesFolder: 464 | ps4IconImagesFolder: 465 | ps4SaveDataImagePath: 466 | ps4SdkOverride: 467 | ps4BGMPath: 468 | ps4ShareFilePath: 469 | ps4ShareOverlayImagePath: 470 | ps4PrivacyGuardImagePath: 471 | ps4NPtitleDatPath: 472 | ps4RemotePlayKeyAssignment: -1 473 | ps4RemotePlayKeyMappingDir: 474 | ps4PlayTogetherPlayerCount: 0 475 | ps4EnterButtonAssignment: 1 476 | ps4ApplicationParam1: 0 477 | ps4ApplicationParam2: 0 478 | ps4ApplicationParam3: 0 479 | ps4ApplicationParam4: 0 480 | ps4DownloadDataSize: 0 481 | ps4GarlicHeapSize: 2048 482 | ps4ProGarlicHeapSize: 2560 483 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 484 | ps4pnSessions: 1 485 | ps4pnPresence: 1 486 | ps4pnFriends: 1 487 | ps4pnGameCustomData: 1 488 | playerPrefsSupport: 0 489 | enableApplicationExit: 0 490 | resetTempFolder: 1 491 | restrictedAudioUsageRights: 0 492 | ps4UseResolutionFallback: 0 493 | ps4ReprojectionSupport: 0 494 | ps4UseAudio3dBackend: 0 495 | ps4SocialScreenEnabled: 0 496 | ps4ScriptOptimizationLevel: 0 497 | ps4Audio3dVirtualSpeakerCount: 14 498 | ps4attribCpuUsage: 0 499 | ps4PatchPkgPath: 500 | ps4PatchLatestPkgPath: 501 | ps4PatchChangeinfoPath: 502 | ps4PatchDayOne: 0 503 | ps4attribUserManagement: 0 504 | ps4attribMoveSupport: 0 505 | ps4attrib3DSupport: 0 506 | ps4attribShareSupport: 0 507 | ps4attribExclusiveVR: 0 508 | ps4disableAutoHideSplash: 0 509 | ps4videoRecordingFeaturesUsed: 0 510 | ps4contentSearchFeaturesUsed: 0 511 | ps4attribEyeToEyeDistanceSettingVR: 0 512 | ps4IncludedModules: [] 513 | monoEnv: 514 | splashScreenBackgroundSourceLandscape: {fileID: 0} 515 | splashScreenBackgroundSourcePortrait: {fileID: 0} 516 | spritePackerPolicy: 517 | webGLMemorySize: 256 518 | webGLExceptionSupport: 1 519 | webGLNameFilesAsHashes: 0 520 | webGLDataCaching: 1 521 | webGLDebugSymbols: 0 522 | webGLEmscriptenArgs: 523 | webGLModulesDirectory: 524 | webGLTemplate: APPLICATION:Default 525 | webGLAnalyzeBuildSize: 0 526 | webGLUseEmbeddedResources: 0 527 | webGLCompressionFormat: 1 528 | webGLLinkerTarget: 1 529 | webGLThreadsSupport: 0 530 | scriptingDefineSymbols: 531 | 1: 532 | 7: 533 | 13: 534 | 19: 535 | 21: 536 | 25: 537 | 26: 538 | 27: 539 | 28: 540 | platformArchitecture: {} 541 | scriptingBackend: 542 | Standalone: 1 543 | il2cppCompilerConfiguration: {} 544 | managedStrippingLevel: {} 545 | incrementalIl2cppBuild: {} 546 | allowUnsafeCode: 1 547 | additionalIl2CppArgs: 548 | scriptingRuntimeVersion: 1 549 | apiCompatibilityLevelPerPlatform: {} 550 | m_RenderingPath: 1 551 | m_MobileRenderingPath: 1 552 | metroPackageName: Template_3D 553 | metroPackageVersion: 554 | metroCertificatePath: 555 | metroCertificatePassword: 556 | metroCertificateSubject: 557 | metroCertificateIssuer: 558 | metroCertificateNotAfter: 0000000000000000 559 | metroApplicationDescription: Template_3D 560 | wsaImages: {} 561 | metroTileShortName: 562 | metroTileShowName: 0 563 | metroMediumTileShowName: 0 564 | metroLargeTileShowName: 0 565 | metroWideTileShowName: 0 566 | metroSupportStreamingInstall: 0 567 | metroLastRequiredScene: 0 568 | metroDefaultTileSize: 1 569 | metroTileForegroundText: 2 570 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 571 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 572 | a: 1} 573 | metroSplashScreenUseBackgroundColor: 0 574 | platformCapabilities: {} 575 | metroTargetDeviceFamilies: {} 576 | metroFTAName: 577 | metroFTAFileTypes: [] 578 | metroProtocolName: 579 | metroCompilationOverrides: 1 580 | XboxOneProductId: 581 | XboxOneUpdateKey: 582 | XboxOneSandboxId: 583 | XboxOneContentId: 584 | XboxOneTitleId: 585 | XboxOneSCId: 586 | XboxOneGameOsOverridePath: 587 | XboxOnePackagingOverridePath: 588 | XboxOneAppManifestOverridePath: 589 | XboxOneVersion: 1.0.0.0 590 | XboxOnePackageEncryption: 0 591 | XboxOnePackageUpdateGranularity: 2 592 | XboxOneDescription: 593 | XboxOneLanguage: 594 | - enus 595 | XboxOneCapability: [] 596 | XboxOneGameRating: {} 597 | XboxOneIsContentPackage: 0 598 | XboxOneEnableGPUVariability: 1 599 | XboxOneSockets: {} 600 | XboxOneSplashScreen: {fileID: 0} 601 | XboxOneAllowedProductIds: [] 602 | XboxOnePersistentLocalStorageSize: 0 603 | XboxOneXTitleMemory: 8 604 | xboxOneScriptCompiler: 1 605 | XboxOneOverrideIdentityName: 606 | vrEditorSettings: 607 | daydream: 608 | daydreamIconForeground: {fileID: 0} 609 | daydreamIconBackground: {fileID: 0} 610 | cloudServicesEnabled: 611 | UNet: 1 612 | luminIcon: 613 | m_Name: 614 | m_ModelFolderPath: 615 | m_PortalFolderPath: 616 | luminCert: 617 | m_CertPath: 618 | m_PrivateKeyPath: 619 | luminIsChannelApp: 0 620 | luminVersion: 621 | m_VersionCode: 1 622 | m_VersionName: 623 | facebookSdkVersion: 7.9.4 624 | facebookAppId: 625 | facebookCookies: 1 626 | facebookLogging: 1 627 | facebookStatus: 1 628 | facebookXfbml: 0 629 | facebookFrictionlessRequests: 1 630 | apiCompatibilityLevel: 6 631 | cloudProjectId: 632 | framebufferDepthMemorylessMode: 0 633 | projectName: 634 | organizationId: 635 | cloudEnabled: 0 636 | enableNativePlatformBackendsForNewInputSystem: 0 637 | disableOldInputManagerSupport: 0 638 | legacyClampBlendShapeWeights: 0 639 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.3.12f1 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 4 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | particleRaycastBudget: 4 33 | asyncUploadTimeSlice: 2 34 | asyncUploadBufferSize: 16 35 | resolutionScalingFixedDPIFactor: 1 36 | excludedTargetPlatforms: [] 37 | - serializedVersion: 2 38 | name: Low 39 | pixelLightCount: 0 40 | shadows: 0 41 | shadowResolution: 0 42 | shadowProjection: 1 43 | shadowCascades: 1 44 | shadowDistance: 20 45 | shadowNearPlaneOffset: 3 46 | shadowCascade2Split: 0.33333334 47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 48 | shadowmaskMode: 0 49 | blendWeights: 2 50 | textureQuality: 0 51 | anisotropicTextures: 0 52 | antiAliasing: 0 53 | softParticles: 0 54 | softVegetation: 0 55 | realtimeReflectionProbes: 0 56 | billboardsFaceCameraPosition: 0 57 | vSyncCount: 0 58 | lodBias: 0.4 59 | maximumLODLevel: 0 60 | particleRaycastBudget: 16 61 | asyncUploadTimeSlice: 2 62 | asyncUploadBufferSize: 16 63 | resolutionScalingFixedDPIFactor: 1 64 | excludedTargetPlatforms: [] 65 | - serializedVersion: 2 66 | name: Medium 67 | pixelLightCount: 1 68 | shadows: 1 69 | shadowResolution: 0 70 | shadowProjection: 1 71 | shadowCascades: 1 72 | shadowDistance: 20 73 | shadowNearPlaneOffset: 3 74 | shadowCascade2Split: 0.33333334 75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 76 | shadowmaskMode: 0 77 | blendWeights: 2 78 | textureQuality: 0 79 | anisotropicTextures: 1 80 | antiAliasing: 0 81 | softParticles: 0 82 | softVegetation: 0 83 | realtimeReflectionProbes: 0 84 | billboardsFaceCameraPosition: 0 85 | vSyncCount: 1 86 | lodBias: 0.7 87 | maximumLODLevel: 0 88 | particleRaycastBudget: 64 89 | asyncUploadTimeSlice: 2 90 | asyncUploadBufferSize: 16 91 | resolutionScalingFixedDPIFactor: 1 92 | excludedTargetPlatforms: [] 93 | - serializedVersion: 2 94 | name: High 95 | pixelLightCount: 2 96 | shadows: 2 97 | shadowResolution: 1 98 | shadowProjection: 1 99 | shadowCascades: 2 100 | shadowDistance: 40 101 | shadowNearPlaneOffset: 3 102 | shadowCascade2Split: 0.33333334 103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 104 | shadowmaskMode: 1 105 | blendWeights: 2 106 | textureQuality: 0 107 | anisotropicTextures: 1 108 | antiAliasing: 2 109 | softParticles: 0 110 | softVegetation: 1 111 | realtimeReflectionProbes: 1 112 | billboardsFaceCameraPosition: 1 113 | vSyncCount: 1 114 | lodBias: 1 115 | maximumLODLevel: 0 116 | particleRaycastBudget: 256 117 | asyncUploadTimeSlice: 2 118 | asyncUploadBufferSize: 16 119 | resolutionScalingFixedDPIFactor: 1 120 | excludedTargetPlatforms: [] 121 | - serializedVersion: 2 122 | name: Very High 123 | pixelLightCount: 3 124 | shadows: 2 125 | shadowResolution: 2 126 | shadowProjection: 1 127 | shadowCascades: 2 128 | shadowDistance: 40 129 | shadowNearPlaneOffset: 3 130 | shadowCascade2Split: 0.33333334 131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 132 | shadowmaskMode: 1 133 | blendWeights: 4 134 | textureQuality: 0 135 | anisotropicTextures: 1 136 | antiAliasing: 4 137 | softParticles: 1 138 | softVegetation: 1 139 | realtimeReflectionProbes: 1 140 | billboardsFaceCameraPosition: 1 141 | vSyncCount: 1 142 | lodBias: 1.5 143 | maximumLODLevel: 0 144 | particleRaycastBudget: 1024 145 | asyncUploadTimeSlice: 2 146 | asyncUploadBufferSize: 16 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Ultra 151 | pixelLightCount: 4 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 4 156 | shadowDistance: 150 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 1 164 | antiAliasing: 4 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 2 171 | maximumLODLevel: 0 172 | particleRaycastBudget: 4096 173 | asyncUploadTimeSlice: 2 174 | asyncUploadBufferSize: 16 175 | resolutionScalingFixedDPIFactor: 1 176 | excludedTargetPlatforms: [] 177 | m_PerPlatformDefaultQuality: 178 | Android: 2 179 | Nintendo 3DS: 5 180 | Nintendo Switch: 5 181 | PS4: 5 182 | PSP2: 2 183 | Standalone: 5 184 | Tizen: 2 185 | WebGL: 3 186 | WiiU: 5 187 | Windows Store Apps: 5 188 | XboxOne: 5 189 | iPhone: 2 190 | tvOS: 2 191 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - PostProcessing 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.1 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 专门为即时性要求高的游戏而设计的帧同步框架NetCoding, http://netcoding4d.com/ 2 | --------------------------------------------------------------------------------