├── Files ├── Img │ ├── ps2.tmp │ ├── ps2899.tmp │ ├── ps55AB.tmp │ ├── ps83E3.tmp │ ├── psC838.tmp │ ├── logo1.png │ ├── logo1.psd │ ├── beastconsoleLogo.png │ └── ingame_editor_concept.psd └── maya │ └── objects │ └── .mayaSwatches │ └── trees.ma.swatches ├── ProjectSettings ├── ProjectVersion.txt ├── TagManager.asset ├── AudioManager.asset ├── DynamicsManager.asset ├── EditorSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── QualitySettings.asset ├── TimeManager.asset ├── ClusterInputManager.asset ├── EditorBuildSettings.asset ├── GraphicsSettings.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── UnityAdsSettings.asset └── UnityConnectSettings.asset ├── Assets ├── Example │ ├── JEditTest.unity │ ├── Materials │ │ ├── grey.mat │ │ ├── beige.mat │ │ ├── brown.mat │ │ ├── green.mat │ │ ├── grey.mat.meta │ │ ├── beige.mat.meta │ │ ├── brown.mat.meta │ │ └── green.mat.meta │ ├── Resources │ │ ├── palm01.prefab │ │ └── palm01.prefab.meta │ ├── palm.fbx │ ├── JEditTest.unity.meta │ ├── Materials.meta │ ├── Resources.meta │ ├── ScriptableObjectFactory.cs.meta │ ├── ScriptableObjectWindow.cs.meta │ ├── ScriptableObjectFactory.cs │ ├── ScriptableObjectWindow.cs │ └── palm.fbx.meta ├── JECSU │ ├── Dependencies │ │ ├── DoTween │ │ │ ├── DOTween.dll │ │ │ ├── DOTween43.dll │ │ │ ├── DOTween46.dll │ │ │ ├── DOTween50.dll │ │ │ ├── DOTween.dll.mdb │ │ │ ├── DOTween43.dll.mdb │ │ │ ├── DOTween46.dll.mdb │ │ │ ├── DOTween50.dll.mdb │ │ │ ├── Editor │ │ │ │ ├── DOTweenEditor.dll │ │ │ │ ├── DOTweenEditor.dll.mdb │ │ │ │ ├── Imgs │ │ │ │ │ ├── Footer.png │ │ │ │ │ ├── Header.jpg │ │ │ │ │ ├── DOTweenIcon.png │ │ │ │ │ ├── Footer_dark.png │ │ │ │ │ ├── Footer.png.meta │ │ │ │ │ ├── Header.jpg.meta │ │ │ │ │ ├── DOTweenIcon.png.meta │ │ │ │ │ └── Footer_dark.png.meta │ │ │ │ ├── DOTweenEditor.XML.meta │ │ │ │ ├── DOTweenEditor.dll.mdb.meta │ │ │ │ ├── Imgs.meta │ │ │ │ └── DOTweenEditor.dll.meta │ │ │ ├── DOTween.XML.meta │ │ │ ├── readme.txt.meta │ │ │ ├── DOTween.dll.mdb.meta │ │ │ ├── DOTween43.dll.mdb.meta │ │ │ ├── DOTween43.xml.meta │ │ │ ├── DOTween46.dll.mdb.meta │ │ │ ├── DOTween46.xml.meta │ │ │ ├── DOTween50.dll.mdb.meta │ │ │ ├── DOTween50.xml.meta │ │ │ ├── Editor.meta │ │ │ ├── DOTween.dll.meta │ │ │ ├── DOTween43.dll.meta │ │ │ ├── DOTween46.dll.meta │ │ │ ├── DOTween50.dll.meta │ │ │ └── readme.txt │ │ ├── fs │ │ │ ├── Internal.meta │ │ │ ├── Converters.meta │ │ │ ├── Reflection.meta │ │ │ ├── Converters │ │ │ │ ├── Unity.meta │ │ │ │ ├── fsArrayConverter.cs.meta │ │ │ │ ├── fsDateConverter.cs.meta │ │ │ │ ├── fsEnumConverter.cs.meta │ │ │ │ ├── fsForwardConverter.cs.meta │ │ │ │ ├── fsGuidConverter.cs.meta │ │ │ │ ├── fsNullableConverter.cs.meta │ │ │ │ ├── fsTypeConverter.cs.meta │ │ │ │ ├── fsDictionaryConverter.cs.meta │ │ │ │ ├── fsIEnumerableConverter.cs.meta │ │ │ │ ├── fsKeyValuePairConverter.cs.meta │ │ │ │ ├── fsPrimitiveConverter.cs.meta │ │ │ │ ├── fsReflectedConverter.cs.meta │ │ │ │ ├── fsWeakReferenceConverter.cs.meta │ │ │ │ ├── Unity │ │ │ │ │ ├── Bounds_DirectConverter.cs.meta │ │ │ │ │ ├── GUIStyle_DirectConverter.cs.meta │ │ │ │ │ ├── Rect_DirectConverter.cs.meta │ │ │ │ │ ├── UnityEvent_Converter.cs.meta │ │ │ │ │ ├── GUIStyleState_DirectConverter.cs.meta │ │ │ │ │ ├── Gradient_DirectConverter.cs.meta │ │ │ │ │ ├── Keyframe_DirectConverter.cs.meta │ │ │ │ │ ├── LayerMask_DirectConverter.cs.meta │ │ │ │ │ ├── RectOffset_DirectConverter.cs.meta │ │ │ │ │ ├── AnimationCurve_DirectConverter.cs.meta │ │ │ │ │ ├── LayerMask_DirectConverter.cs │ │ │ │ │ ├── Bounds_DirectConverter.cs │ │ │ │ │ ├── Gradient_DirectConverter.cs │ │ │ │ │ ├── GUIStyleState_DirectConverter.cs │ │ │ │ │ ├── UnityEvent_Converter.cs │ │ │ │ │ ├── AnimationCurve_DirectConverter.cs │ │ │ │ │ ├── Rect_DirectConverter.cs │ │ │ │ │ ├── RectOffset_DirectConverter.cs │ │ │ │ │ └── Keyframe_DirectConverter.cs │ │ │ │ ├── fsNullableConverter.cs │ │ │ │ ├── fsGuidConverter.cs │ │ │ │ ├── fsTypeConverter.cs │ │ │ │ └── fsWeakReferenceConverter.cs │ │ │ ├── fsConfig.cs.meta │ │ │ ├── fsContext.cs.meta │ │ │ ├── fsData.cs.meta │ │ │ ├── fsResult.cs.meta │ │ │ ├── fsBaseConverter.cs.meta │ │ │ ├── fsConverter.cs.meta │ │ │ ├── fsExceptions.cs.meta │ │ │ ├── fsJsonParser.cs.meta │ │ │ ├── fsJsonPrinter.cs.meta │ │ │ ├── fsSerializer.cs.meta │ │ │ ├── Internal │ │ │ │ ├── fsOption.cs.meta │ │ │ │ ├── fsTypeExtensions.cs.meta │ │ │ │ ├── fsVersionManager.cs.meta │ │ │ │ ├── fsVersionedType.cs.meta │ │ │ │ ├── fsPortableReflection.cs.meta │ │ │ │ ├── fsCyclicReferenceManager.cs.meta │ │ │ │ ├── fsOption.cs │ │ │ │ └── fsVersionedType.cs │ │ │ ├── fsConverterRegistrar.cs.meta │ │ │ ├── fsDirectConverter.cs.meta │ │ │ ├── fsIgnoreAttribute.cs.meta │ │ │ ├── fsObjectAttribute.cs.meta │ │ │ ├── fsObjectProcessor.cs.meta │ │ │ ├── fsPropertyAttribute.cs.meta │ │ │ ├── Reflection │ │ │ │ ├── fsMetaProperty.cs.meta │ │ │ │ ├── fsMetaType.cs.meta │ │ │ │ ├── fsTypeCache.cs.meta │ │ │ │ ├── fsReflectionUtility.cs.meta │ │ │ │ └── fsReflectionUtility.cs │ │ │ ├── fsAotCompilationManager.cs.meta │ │ │ ├── fsISerializationCallbacks.cs.meta │ │ │ ├── fsIgnoreAttribute.cs │ │ │ ├── fsMemberSerialization.cs.meta │ │ │ ├── fsConverter.cs │ │ │ ├── fsMemberSerialization.cs │ │ │ ├── fsExceptions.cs │ │ │ ├── fsPropertyAttribute.cs │ │ │ ├── fsConverterRegistrar.cs │ │ │ ├── fsContext.cs │ │ │ ├── fsDirectConverter.cs │ │ │ └── fsObjectAttribute.cs │ │ ├── fs.meta │ │ └── DoTween.meta │ ├── Resources │ │ ├── Fonts │ │ │ ├── DroidSans-Bold.ttf │ │ │ ├── DroidSansMono.ttf │ │ │ ├── DroidSans-Bold.ttf.meta │ │ │ └── DroidSansMono.ttf.meta │ │ ├── JEdit │ │ │ ├── JECSUEditor.prefab │ │ │ ├── UI │ │ │ │ ├── EntityListElem.prefab │ │ │ │ └── EntityListElem.prefab.meta │ │ │ ├── Visual │ │ │ │ ├── jecsu_selection.mat │ │ │ │ ├── jecsu_selection.mat.meta │ │ │ │ └── jecsu_selection.shader.meta │ │ │ ├── Elements │ │ │ │ ├── DataboxBrowser │ │ │ │ │ ├── databox.prefab │ │ │ │ │ ├── folder.prefab │ │ │ │ │ ├── root_folder.prefab │ │ │ │ │ ├── databox.prefab.meta │ │ │ │ │ ├── folder.prefab.meta │ │ │ │ │ └── root_folder.prefab.meta │ │ │ │ └── DataboxBrowser.meta │ │ │ ├── Textures │ │ │ │ ├── jedit_folder_empty.psd │ │ │ │ ├── jedit_folder_full.psd │ │ │ │ ├── jedit_question_mark.psd │ │ │ │ ├── jedit_upward_arrow.psd │ │ │ │ ├── jedit_databox_icon_64_S.psd │ │ │ │ ├── jedit_dropdown_arrow.psd │ │ │ │ ├── jedit_entity_icon_64_S.psd │ │ │ │ ├── jedit_icon_close_cross.psd │ │ │ │ ├── jedit_folder_empty.psd.meta │ │ │ │ ├── jedit_folder_full.psd.meta │ │ │ │ ├── jedit_question_mark.psd.meta │ │ │ │ ├── jedit_upward_arrow.psd.meta │ │ │ │ ├── jedit_databox_icon_64_S.psd.meta │ │ │ │ ├── jedit_dropdown_arrow.psd.meta │ │ │ │ ├── jedit_entity_icon_64_S.psd.meta │ │ │ │ └── jedit_icon_close_cross.psd.meta │ │ │ ├── JECSUEditor.prefab.meta │ │ │ ├── UI.meta │ │ │ ├── Visual.meta │ │ │ ├── Elements.meta │ │ │ └── Textures.meta │ │ ├── Fonts.meta │ │ └── JEdit.meta │ ├── Systems │ │ ├── Initialize │ │ │ ├── IInitializeSystem.cs │ │ │ └── IInitializeSystem.cs.meta │ │ ├── Base │ │ │ ├── IEntitySystem.cs │ │ │ ├── BaseSystem.cs │ │ │ ├── BaseSystem.cs.meta │ │ │ └── IEntitySystem.cs.meta │ │ ├── Execute │ │ │ ├── IExecuteSystem.cs │ │ │ └── IExecuteSystem.cs.meta │ │ ├── Base.meta │ │ ├── Execute.meta │ │ ├── Initialize.meta │ │ ├── Matcher.meta │ │ ├── MonoSystem.meta │ │ ├── Systems.cs.meta │ │ ├── Matcher │ │ │ ├── IMatcherSystem.cs.meta │ │ │ ├── MatcherSystemController.cs.meta │ │ │ ├── IMatcherSystem.cs │ │ │ └── MatcherSystemController.cs │ │ └── MonoSystem │ │ │ ├── MonoSystem.cs.meta │ │ │ └── MonoSystem.cs │ ├── JEdit │ │ ├── EntityEditor.cs │ │ ├── ui_utilities.cs │ │ ├── UI.meta │ │ ├── UI │ │ │ ├── Editor.meta │ │ │ └── Editor │ │ │ │ ├── PanelAnimatorInspector.cs.meta │ │ │ │ └── PanelAnimatorInspector.cs │ │ ├── FreeCamera.cs.meta │ │ ├── ui_button.cs.meta │ │ ├── EntityEditor.cs.meta │ │ ├── InputModule.cs.meta │ │ ├── JECSUEditor.cs.meta │ │ ├── JECSUEditor_UI.cs.meta │ │ ├── PanelAnimator.cs.meta │ │ ├── ui_utilities.cs.meta │ │ ├── JECSUEditor_UI.cs │ │ └── JECSUEditor.cs │ ├── Documentation.txt.meta │ ├── Components │ │ ├── ComponentsReadme.txt.meta │ │ ├── ColorComponent.cs │ │ ├── PRS.cs.meta │ │ ├── GameRes.cs.meta │ │ ├── ColorComponent.cs.meta │ │ ├── Serializeable.cs.meta │ │ ├── Serializeable.cs │ │ ├── GameRes.cs │ │ ├── PRS.cs │ │ └── ComponentsReadme.txt │ ├── Database.meta │ ├── Dvar.meta │ ├── JEdit.meta │ ├── Systems.meta │ ├── Components.meta │ ├── Dependencies.meta │ ├── Interpolation.meta │ ├── PoolSystems.meta │ ├── Resources.meta │ ├── Serialization.meta │ ├── Templating.meta │ ├── CodeGeneration.meta │ ├── ComponentSystems.meta │ ├── CodeGeneration │ │ ├── Editor.meta │ │ └── Editor │ │ │ ├── CodeGenerator.cs.meta │ │ │ ├── EntityFactoryGenerator.cs.meta │ │ │ └── ComponentFactoryGenerator.cs.meta │ ├── Entity.cs.meta │ ├── Dvar │ │ └── Dvar.cs.meta │ ├── Helpers.cs.meta │ ├── Matcher.cs.meta │ ├── EntityManager.cs.meta │ ├── PoolSystems │ │ └── Pool.cs.meta │ ├── Serialization │ │ ├── Save.cs.meta │ │ ├── SerializerAttributes.cs.meta │ │ ├── SerializerAttributes.cs │ │ └── Save.cs │ ├── Templating │ │ ├── Template.cs.meta │ │ ├── JECSUConfig.cs.meta │ │ ├── EntityConstructor.cs.meta │ │ ├── TemplateDatabase.cs.meta │ │ ├── EntityConstructorFactory.cs.meta │ │ ├── TemplateDatabaseParser.cs.meta │ │ ├── Template.cs │ │ └── JECSUConfig.cs │ ├── ComponentSystems │ │ ├── BaseComponent.cs.meta │ │ ├── IComponent.cs.meta │ │ ├── ComponentFactory.cs.meta │ │ ├── IComponent.cs │ │ ├── BaseComponent.cs │ │ └── ComponentFactory.cs │ ├── Interpolation │ │ ├── InterpolationHandler.cs.meta │ │ ├── TransformInterpolator.cs.meta │ │ ├── TransformInterpolator.cs │ │ └── InterpolationHandler.cs │ └── Helpers.cs ├── Resources │ ├── DOTweenSettings.asset │ └── DOTweenSettings.asset.meta ├── Database │ ├── world01.box.meta │ ├── world02.box.meta │ ├── TestFolder │ │ ├── world05.box.meta │ │ ├── TestFolder │ │ │ ├── world03.box.meta │ │ │ ├── world04.box.meta │ │ │ ├── world03.box │ │ │ └── world04.box │ │ ├── TestFolder.meta │ │ └── world05.box │ ├── TestFolder.meta │ ├── world01.box │ └── world02.box ├── JecsuConfig.xml.meta ├── TemplateDatabase │ ├── trees.jdb │ ├── trees.jdb.meta │ ├── example.jdb.meta │ └── example.jdb ├── Database.meta ├── Example.meta ├── JECSU.meta ├── Resources.meta ├── TemplateDatabase.meta ├── JecsuConfig.xml ├── ui_set_active.cs ├── DataBox.cs.meta ├── JEdit.cs.meta ├── Test.cs.meta ├── ui_blocker.cs.meta ├── GameViewBehavior.cs.meta ├── GameViewComponent.cs.meta ├── GameViewSelection.cs.meta ├── ui_set_active.cs.meta ├── JEDIT_DataboxBrowser.cs.meta ├── TestGameViewSystem.cs.meta ├── ui_background_blocker.cs.meta ├── Test.cs ├── JEdit.cs ├── ui_blocker.cs ├── GameViewComponent.cs ├── GameViewBehavior.cs ├── DataBox.cs ├── TestGameViewSystem.cs ├── GameViewSelection.cs └── ui_background_blocker.cs ├── .gitattributes └── .gitignore /Files/Img/ps2.tmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Files/Img/ps2.tmp -------------------------------------------------------------------------------- /Files/Img/ps2899.tmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Files/Img/ps2899.tmp -------------------------------------------------------------------------------- /Files/Img/ps55AB.tmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Files/Img/ps55AB.tmp -------------------------------------------------------------------------------- /Files/Img/ps83E3.tmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Files/Img/ps83E3.tmp -------------------------------------------------------------------------------- /Files/Img/psC838.tmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Files/Img/psC838.tmp -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.4.0f3 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /Assets/Example/JEditTest.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/Example/JEditTest.unity -------------------------------------------------------------------------------- /Assets/Example/Materials/grey.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/Example/Materials/grey.mat -------------------------------------------------------------------------------- /Assets/Example/Materials/beige.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/Example/Materials/beige.mat -------------------------------------------------------------------------------- /Assets/Example/Materials/brown.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/Example/Materials/brown.mat -------------------------------------------------------------------------------- /Assets/Example/Materials/green.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/Example/Materials/green.mat -------------------------------------------------------------------------------- /Assets/Example/Resources/palm01.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/Example/Resources/palm01.prefab -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Dependencies/DoTween/DOTween.dll -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween43.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Dependencies/DoTween/DOTween43.dll -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween46.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Dependencies/DoTween/DOTween46.dll -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween50.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Dependencies/DoTween/DOTween50.dll -------------------------------------------------------------------------------- /Assets/JECSU/Resources/Fonts/DroidSans-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Resources/Fonts/DroidSans-Bold.ttf -------------------------------------------------------------------------------- /Assets/JECSU/Resources/Fonts/DroidSansMono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Resources/Fonts/DroidSansMono.ttf -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/JECSUEditor.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Resources/JEdit/JECSUEditor.prefab -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Dependencies/DoTween/DOTween.dll.mdb -------------------------------------------------------------------------------- /Files/maya/objects/.mayaSwatches/trees.ma.swatches: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Files/maya/objects/.mayaSwatches/trees.ma.swatches -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween43.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Dependencies/DoTween/DOTween43.dll.mdb -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween46.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Dependencies/DoTween/DOTween46.dll.mdb -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween50.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Dependencies/DoTween/DOTween50.dll.mdb -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/UI/EntityListElem.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Resources/JEdit/UI/EntityListElem.prefab -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Visual/jecsu_selection.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Resources/JEdit/Visual/jecsu_selection.mat -------------------------------------------------------------------------------- /Files/Img/logo1.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3d24d4cfe1633f00898736da310e5f63a3eba749506db72868dabc8530b77e9b 3 | size 27154 4 | -------------------------------------------------------------------------------- /Files/Img/logo1.psd: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d9e6480e0cad8d050074cfeb33add476e87fe8d51a59d384440e5f3bbb936a1e 3 | size 348006 4 | -------------------------------------------------------------------------------- /Assets/Example/palm.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:da07f14a1a96b2b072e3cca1d6ec726df3216912ccb61cc7a6241942c98a2f98 3 | size 125451 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/DOTweenEditor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Dependencies/DoTween/Editor/DOTweenEditor.dll -------------------------------------------------------------------------------- /Files/Img/beastconsoleLogo.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ea4670e23e799d79c5c69e5a35001d0c159423a1bd8d04d2a81204086f4cf024 3 | size 31506 4 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:591cea90adb5462b198aa49b97605a2e426b2850015046f0f659bcfb3b467c53 3 | size 4308 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/DOTweenEditor.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Dependencies/DoTween/Editor/DOTweenEditor.dll.mdb -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Initialize/IInitializeSystem.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | public interface IEntitySystem 4 | { 5 | bool isActive { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /Files/Img/ingame_editor_concept.psd: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:767504c2d224727502bc8dbe2b24b8137a86199f973dd15cb301bee903ff59c5 3 | size 664711 4 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:20843b9556d1c977784dc1e4b677fa42a14ac78bce1323aebb77f50da35aacfe 3 | size 4140 4 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1d01ce5a2cb05a66775359dab01e13efeafd9e3edb17bcd3299848ec79bbe725 3 | size 4280 4 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:0d32553f0f58625db2521d8a83141b6381359dc80017b99b16a23112692d316c 3 | size 4212 4 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:26898122f14fe4d116d35f33c58ea94dca8d9fbc3bb5578d3ce6ce6d1a60b8ac 3 | size 5520 4 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:151a40881f89c67a5290a598de3dffb75f86531f5c3822c7dc83c242764bc0c0 3 | size 4384 4 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3d37f81f93502cc9631e3c38767f28eb3bacf20fe1f694754be997aa9f845e45 3 | size 4112 4 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:19db665396f7c22b8d0e05a5c60dcb69c51543301e2ae0064f34f3906e1f5c72 3 | size 5004 4 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:989bb86b0b046796294ee11049b31f96aff4ef429f688cdf8e89fcd7bfa67846 3 | size 4112 4 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/EntityEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | 5 | public class EntityEditor : MonoBehaviour { 6 | 7 | 8 | } 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Base/IEntitySystem.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | public interface IInitializeSystem : IEntitySystem 4 | { 5 | void Initialize(); 6 | } 7 | } -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Execute/IExecuteSystem.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | public interface IExecuteSystem : IEntitySystem 4 | { 5 | void Execute(); 6 | } 7 | 8 | } -------------------------------------------------------------------------------- /Assets/Resources/DOTweenSettings.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8fe85780b48086f81bf990ccb86430e6ea1be3722934a75938e345574b4e0ebe 3 | size 4244 4 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f8479a0b8f51ce158a486d2016934e40e5bcc78a7bbb7a19403da7dbcc56ba4a 3 | size 4104 4 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6bcff3c6306847a8a130c5d7c0a7cb2d4a5ab02b65c43314eaba7239f6ce25cc 3 | size 4104 4 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6ee7fa46619e46ba18481f39966e61f029b298ed83c63632215643e22c2701fe 3 | size 4392 4 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4099c0e0b68bf655792228660c068f0cc45ea48b8cf249d2d3e2598caec12f94 3 | size 4364 4 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2f8d34630c585b6125c997653c6c5956b16326bed4c4ccecfa03d586fa194af7 3 | size 42917 4 | -------------------------------------------------------------------------------- /ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:513f1abf57ead1feceeee20a983b2ed765a1bfc37e5a6221f913145b618d4322 3 | size 4116 4 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ac1a9fcf37cc4097ada8b97a4f780615e51ad435bd851b4b478ff092d9048d68 3 | size 4192 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Elements/DataboxBrowser/databox.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Resources/JEdit/Elements/DataboxBrowser/databox.prefab -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Elements/DataboxBrowser/folder.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Resources/JEdit/Elements/DataboxBrowser/folder.prefab -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/Imgs/Footer.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b1bccfb25ef58988d123ade538e28637da988dfaf33272067b641f34582e7b89 3 | size 4409 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/Imgs/Header.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:80652902491d99fe580056ed204d204d9ecaccf810e7ec546bd949ccff8d67fd 3 | size 22787 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Elements/DataboxBrowser/root_folder.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointcache/JECSu/HEAD/Assets/JECSU/Resources/JEdit/Elements/DataboxBrowser/root_folder.prefab -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/Imgs/DOTweenIcon.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6e6ca81af7b3fdbecc7069b8644047713af97c8e311cd3da97e75eff0b973faa 3 | size 1565 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/Imgs/Footer_dark.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2bc04d9700e60b53aa4741c4580d61e490b1192d3ea4f98f4437a2e776057a5a 3 | size 4429 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_folder_empty.psd: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:add3ee746186103ec648382249b1cd8c1411fe04c9cfbfefcfd07ac62565024b 3 | size 47326 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_folder_full.psd: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7b84d435f06b5de87e0a932bc959f124c3a2d7990cc66876ae603fcdff04fcac 3 | size 63350 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_question_mark.psd: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d130ed202d917fae7ad7594b60271f2aba0b62bb94329010b8fe116ee38c5a32 3 | size 26035 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_upward_arrow.psd: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ec24159db23126ca1457a493be753c8ab4826670d99d2e0e3a5606d5307feb8b 3 | size 47685 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_databox_icon_64_S.psd: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e0855ec4e2a2e35fcd74c17b18986d4d4c24b9ce4b9acf415262a8515e81e0c2 3 | size 48085 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_dropdown_arrow.psd: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d04cb1fd75c6f0cd19dac2ef5cf51f343035b0b11fb05df8fa4ae491dcb525ce 3 | size 23437 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_entity_icon_64_S.psd: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d1fcceccc81c96b66a528549ba60ecc9d540282eba84cc3ba126f97c04d6dd91 3 | size 59853 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_icon_close_cross.psd: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:bd7c7b8d25317ead4b75d0a08a73a22cdc650166348f85b17c204e48371108df 3 | size 27035 4 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Base/BaseSystem.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | public class BaseSystem 4 | { 5 | public bool isActive { get; set; } 6 | public Matcher matcher { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Internal.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae1efb8bd6dfa4040beb12118e625b35 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e294e082a4f8d4a43ae3e07ab9c0d52d 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Reflection.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4f755e4a106fd94a9053c5a49c3600f 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Database/world01.box.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9019d72aa824fb468a7adda0f51eceb 3 | timeCreated: 1474481434 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Database/world02.box.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56732ad483e6d1b45a62be24c34655cd 3 | timeCreated: 1474481434 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JecsuConfig.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7a65993eb4e72a42ac7e8698d54d964 3 | timeCreated: 1474331149 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Example/JEditTest.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cdfacc212319cf0449c4c9db34d29019 3 | timeCreated: 1474128537 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Documentation.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61cccd238ac891f44940824239802e14 3 | timeCreated: 1473329031 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TemplateDatabase/trees.jdb: -------------------------------------------------------------------------------- 1 | palm01 "Palm" 2 | [PRS] 3 | [GameRes] 4 | prefabID = palm01 5 | 6 | palm02 "Palm" 7 | [PRS] 8 | position = 4,0,4 9 | [GameRes] 10 | prefabID = palm01 11 | [GameView] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Assets/TemplateDatabase/trees.jdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42ddb164ca29e724d89675de326a3e73 3 | timeCreated: 1473785609 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Database/TestFolder/world05.box.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e2cb8d8548761f42ac715fb6873f650 3 | timeCreated: 1474481434 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Example/Materials/grey.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3039fb655f45f3146818af976056c0d4 3 | timeCreated: 1474501896 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/ui_utilities.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU.Editor 2 | { 3 | 4 | using UnityEngine; 5 | using System; 6 | using System.Collections.Generic; 7 | 8 | public class ui_utilities : MonoBehaviour 9 | { 10 | 11 | } 12 | } -------------------------------------------------------------------------------- /Assets/TemplateDatabase/example.jdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb21d99d9a11dd6488612b3b3e910755 3 | timeCreated: 1473785609 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Example/Materials/beige.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b56104a5eb4793f4195ff7494cfee6c4 3 | timeCreated: 1474129220 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Example/Materials/brown.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed9a876c23eb2bf479140684b5f148dc 3 | timeCreated: 1474129220 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Example/Materials/green.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd6704d46a115174795060632dd7abab 3 | timeCreated: 1474129220 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Example/Resources/palm01.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75ad193e4912a704cb291a2e98bab522 3 | timeCreated: 1474150142 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/DOTweenSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3969a2b071c037f4aa8fbb63e11c2574 3 | timeCreated: 1474237114 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Database.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f75226ec87f5fb44b85e2ccb21320009 3 | folderAsset: yes 4 | timeCreated: 1474481434 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Example.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25617f385cdedc847991d3071fb909f4 3 | folderAsset: yes 4 | timeCreated: 1474128537 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c25f5550e21a1bd45866fe403ccd8fb3 3 | folderAsset: yes 4 | timeCreated: 1472767147 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Components/ComponentsReadme.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a65e38a14956b994485754979f07aceb 3 | timeCreated: 1473325194 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween.XML.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c57939f471f26a54ebd8126d1763d863 3 | timeCreated: 1474237106 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/readme.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e6c17562767eef4e95f424e115ef71d 3 | timeCreated: 1474237106 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 64ae11b0c295b2041ae09cb68cd67ca8 3 | folderAsset: yes 4 | timeCreated: 1474237114 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Database/TestFolder/TestFolder/world03.box.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c1cbdcfb15d62b4fbc919218d882860 3 | timeCreated: 1474481434 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Database/TestFolder/TestFolder/world04.box.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0862854be6257949b36f22ff10b0f4c 3 | timeCreated: 1474481434 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Database.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed6647dc14af562458114029d343b4cb 3 | folderAsset: yes 4 | timeCreated: 1474134197 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92ff608f2c3b0914ab6a9e3ee8e70042 3 | timeCreated: 1474237100 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween43.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8659e1063e69cf3449f52961d7fffd79 3 | timeCreated: 1474237100 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween43.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cb46b5142476fc48a63fb1ab8f94f90 3 | timeCreated: 1474237106 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween46.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7812fecae0cec7a40809e0efcf9c57e6 3 | timeCreated: 1474237100 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween46.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 655c571c748e40842aa4f5660970d58c 3 | timeCreated: 1474237106 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween50.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f944dccbd3ed0247b5b4144c4a3c4fd 3 | timeCreated: 1474237100 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween50.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 670574afa693acf4ca96158b09279a2e 3 | timeCreated: 1474237106 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Dvar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74439a670b6e10c428bc66b95c3f8228 3 | folderAsset: yes 4 | timeCreated: 1473323969 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e93283e81d0f89a49aa61e7c362e03c7 3 | folderAsset: yes 4 | timeCreated: 1474310397 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/UI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4a6e2e0e316afb469f900b3c33f843f 3 | folderAsset: yes 4 | timeCreated: 1474310397 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/JECSUEditor.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce6b8ee1d798ac646957e5fb108b96d4 3 | timeCreated: 1474327588 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4bdcba0e7bb66648ad427d1332a7327 3 | folderAsset: yes 4 | timeCreated: 1473328745 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Database/TestFolder.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c80db80580edf054e90cf7391d2a10e0 3 | folderAsset: yes 4 | timeCreated: 1474534768 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Example/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e36269ea708efd440a2592505db903f8 3 | folderAsset: yes 4 | timeCreated: 1474129220 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Example/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 975841f967c3d6442a0a1ad4d0e757d2 3 | folderAsset: yes 4 | timeCreated: 1474150136 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Components.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 352ac002f08d8f542a98f5a2ebbdf341 3 | folderAsset: yes 4 | timeCreated: 1473323989 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5066a1c561c36d8489206717333c3a76 3 | folderAsset: yes 4 | timeCreated: 1473323870 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Interpolation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c68d219e606d4264ebd552d3a32f5b10 3 | folderAsset: yes 4 | timeCreated: 1472948706 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/PoolSystems.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56f17963af2d3e747be8bb3cf887794d 3 | folderAsset: yes 4 | timeCreated: 1473328840 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ce56df02445ee0449f2687f8bf6418a 3 | folderAsset: yes 4 | timeCreated: 1474233798 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/UI/EntityListElem.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e752f6c065876014eab0f9411cc0e036 3 | timeCreated: 1474313693 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Serialization.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35c95c0b6242183429a2252515bd4a2c 3 | folderAsset: yes 4 | timeCreated: 1473328756 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Base.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab5fa4d7d8db7d745a0795d3b5c4c99e 3 | folderAsset: yes 4 | timeCreated: 1473329336 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Templating.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8d0696eb1fd2ef4ead77b2868254f2e 3 | folderAsset: yes 4 | timeCreated: 1473494273 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TemplateDatabase.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68300e42c623a074980856917baea3b1 3 | folderAsset: yes 4 | timeCreated: 1473775605 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TemplateDatabase/example.jdb: -------------------------------------------------------------------------------- 1 | example_entity_id "Example Name" 2 | [someComponent] 3 | [anotherComponent] 4 | someField = "some string" 5 | //some comment 6 | someProperty = 9.22 7 | [yetAnotherComponent] 8 | Size = 1 9 | Speed = 1 10 | 11 | -------------------------------------------------------------------------------- /Assets/JECSU/CodeGeneration.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1283d692331b01949a09fbe88df05cc8 3 | folderAsset: yes 4 | timeCreated: 1474068984 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/ComponentSystems.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22237d264c768e9439c8e6eb657e9e9a 3 | folderAsset: yes 4 | timeCreated: 1473324071 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/DOTweenEditor.XML.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b136d049db69a124ba0c876f008da1a3 3 | timeCreated: 1474237106 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/DOTweenEditor.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 523cfcf0df324244a9cf85e556c36f26 3 | timeCreated: 1474237100 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 992a619733447164cbd6ec61ec109993 3 | folderAsset: yes 4 | timeCreated: 1472164599 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/UI/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2b332c227565e645a1eeb62936b3594 3 | folderAsset: yes 4 | timeCreated: 1474310397 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/Fonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3754f21483e14bb4dad8358c83e39139 3 | folderAsset: yes 4 | timeCreated: 1474313644 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2ce115e2ab49a0242ac756ba8cf6dfb1 3 | folderAsset: yes 4 | timeCreated: 1474313658 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/UI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a88022de8539c04b995fabc62e4df10 3 | folderAsset: yes 4 | timeCreated: 1474313689 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Visual/jecsu_selection.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e82ec4f616a13de43aff977f0ff7dd52 3 | timeCreated: 1474317479 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Execute.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fac4369ea86f264bb5ca055c137203b 3 | folderAsset: yes 4 | timeCreated: 1473329349 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Initialize.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc0c22ce9a99db549914d65ea1b9ec0b 3 | folderAsset: yes 4 | timeCreated: 1473329344 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Matcher.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6717cc2c1373ae4eb190a3f4f84df1b 3 | folderAsset: yes 4 | timeCreated: 1473329353 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/MonoSystem.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b29379f03471356459d71cc715a94d31 3 | folderAsset: yes 4 | timeCreated: 1473329518 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/CodeGeneration/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eaf2badd8117b3945b8c501ab138acc8 3 | folderAsset: yes 4 | timeCreated: 1473068365 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9bc8647fe2601cc4481b5c96ca8012cf 3 | folderAsset: yes 4 | timeCreated: 1474237100 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Visual.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28552293786afb0468837456147e6f57 3 | folderAsset: yes 4 | timeCreated: 1474316867 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Database/TestFolder/TestFolder.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1f760e92fef4ea41a3b1efd87a3aced 3 | folderAsset: yes 4 | timeCreated: 1474534776 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e6c387d2ba70f042a864344ca0fbd01 3 | folderAsset: yes 4 | timeCreated: 1474237100 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Elements.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa78108c2f712884ab730c77552b2bf0 3 | folderAsset: yes 4 | timeCreated: 1474523051 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Elements/DataboxBrowser/databox.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 64625ebe369df7f4295ab1c2e2f3fde7 3 | timeCreated: 1474523069 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Elements/DataboxBrowser/folder.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 075d139989f52f34c9c88d36922d2fa8 3 | timeCreated: 1474523068 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df39104e541f74644bf7f7a5415e6d4f 3 | folderAsset: yes 4 | timeCreated: 1474503089 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/Imgs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41e9f8a962d4a7a469dda5a07d84d32c 3 | folderAsset: yes 4 | timeCreated: 1474237100 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec452919b13057d47ba7b28425969b96 3 | folderAsset: yes 4 | timeCreated: 1427576137 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Elements/DataboxBrowser/root_folder.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e5ef6ef5ba09a844cb2d1a9e7f143b34 3 | timeCreated: 1474523066 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Elements/DataboxBrowser.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a7f655e306708547afdecd34e8bd279 3 | folderAsset: yes 4 | timeCreated: 1474523062 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JecsuConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | default 4 | default 5 | -------------------------------------------------------------------------------- /Assets/ui_set_active.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | 5 | public class ui_set_active : MonoBehaviour { 6 | 7 | public GameObject target; 8 | 9 | public void Set(bool value) 10 | { 11 | target.SetActive(value); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Visual/jecsu_selection.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4da7dbe27a2eb534ea4fea86e88061ab 3 | timeCreated: 1474317479 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/JECSU/Components/ColorComponent.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU.Components 2 | { 3 | using UnityEngine; 4 | using System; 5 | using System.Collections.Generic; 6 | [Serializable] 7 | public class ColorComponent : BaseComponent, IComponent 8 | { 9 | public Color color; 10 | } 11 | } -------------------------------------------------------------------------------- /Assets/DataBox.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9858c8d6140160048ac91355301e3e8c 3 | timeCreated: 1474341994 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JEdit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51424c2ce10521944819decaa0fab721 3 | timeCreated: 1474341553 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Test.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65171b5c4f1fda34e94ca24675735114 3 | timeCreated: 1474148816 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Entity.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecbc65e6cf5e90d4da09c95c9dae5ec5 3 | timeCreated: 1472143145 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ui_blocker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92296fc822e6a1347ae598cfcdc1f1fc 3 | timeCreated: 1474526901 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/GameViewBehavior.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6acd5eb3fe6e5a540b0610b5f4fd263c 3 | timeCreated: 1474149217 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/GameViewComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0e7a4d1d9b2ac149875de01cae5398b 3 | timeCreated: 1473324100 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/GameViewSelection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e27031b1e17df24c85061ee437bd186 3 | timeCreated: 1474317749 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dvar/Dvar.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a64a1648aeba0246894a027f95537bd 3 | timeCreated: 1472863811 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Helpers.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 335fab19e2eba6d45bd008bec3f961d8 3 | timeCreated: 1472948633 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Matcher.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7d309724110bee42a16b06ddf8d52ab 3 | timeCreated: 1472165438 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ui_set_active.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b12f131ccf38c5549bc90fd29f90bc5f 3 | timeCreated: 1474508180 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Components/PRS.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f37c9389ca47a8f44a6d40f2c7e90c10 3 | timeCreated: 1473324100 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/EntityManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78a9050914caf734dbf35cee3f4a3974 3 | timeCreated: 1472141970 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/FreeCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3c0e28537e31344583b91bfb51feae3 3 | timeCreated: 1474310397 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/ui_button.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69d2931c3a1c96848a33b72ee5f22a5d 3 | timeCreated: 1474310397 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/PoolSystems/Pool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b01af24251c29d44896e512ea7fad05b 3 | timeCreated: 1472143344 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Systems.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1774c52bf83adb409670eea573f3d53 3 | timeCreated: 1472171498 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JEDIT_DataboxBrowser.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff8956b1451e0584fa7081d606416948 3 | timeCreated: 1474523324 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/TestGameViewSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 282015feebb5ec24e828c65d0c0efb49 3 | timeCreated: 1474148843 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ui_background_blocker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 980af9c6cd123f541ab435ec59482068 3 | timeCreated: 1474524400 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Components/GameRes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57d85bd439a9e66459bff4dca8b17d02 3 | timeCreated: 1473324100 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/EntityEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 279b81a213ae45341a47a6b0440d17bf 3 | timeCreated: 1474310397 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/InputModule.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4419efcd1bd770942bda0bb09c08eb7a 3 | timeCreated: 1474310397 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/JECSUEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fef0daaf70142b444827c033e316ef0a 3 | timeCreated: 1474310397 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/JECSUEditor_UI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69e8c78aca5a8db479ed61ffec6a4017 3 | timeCreated: 1474310397 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/PanelAnimator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2242f7f89540fa940bdfa754fb14a7fb 3 | timeCreated: 1474310397 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/ui_utilities.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c437a0295d46994981d8bdae49511a7 3 | timeCreated: 1474310397 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Serialization/Save.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32d58b6ab22f5aa4896f1a58e0dd6be6 3 | timeCreated: 1472164954 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Templating/Template.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d335836d7c6fc274d97bf5a165aafa27 3 | timeCreated: 1473495775 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Example/ScriptableObjectFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c1cc7d654a5029448cf67408468b234 3 | timeCreated: 1474134183 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Example/ScriptableObjectWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0813f174ce8c62a498bc62bf88cb9fdd 3 | timeCreated: 1474134183 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Components/ColorComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f06c146eaf73c7a4595850a293ff9de9 3 | timeCreated: 1473325191 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Components/Serializeable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4406dc04472152d4193404225a907e0d 3 | timeCreated: 1473325191 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsConfig.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b59903dfb496d004d8f08677c027e7f6 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9dbf6cf73c266b14eba03d329717a810 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cc8656e43d482941b2b95d443c36174 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54393a5534ff6c74f905d6be1770a1ba 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Base/BaseSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85cfe36ec2146a0479ae57b5b205c5fb 3 | timeCreated: 1473329448 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Base/IEntitySystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a01ede3f8de9b6a4498c7ff64be36f9d 3 | timeCreated: 1473330076 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Templating/JECSUConfig.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ceb55789ec3fbbc488c086cd1c68cc72 3 | timeCreated: 1473494755 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Test.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | using JECSU; 5 | using JECSU.Components; 6 | 7 | public class Test : MonoBehaviour { 8 | 9 | void Start() 10 | { 11 | Systems.New(); 12 | 13 | var palm = Entity.FromID("palm01").AddComponent(); 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/JECSU/ComponentSystems/BaseComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d334383bf8e02d44f918c24276372ef3 3 | timeCreated: 1473325269 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/ComponentSystems/IComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dcf48354bb8f41d41ac71a76a186a9c6 3 | timeCreated: 1472143286 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsBaseConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 183143ebe6dd0124aac0741ff70e1fd2 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77ed27c3d6b79c044ad5c52b7832d379 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsExceptions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38269c00973f4f64db007f13af5acbf4 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsJsonParser.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76da27fbb0fa3c4459921ceb0782a604 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsJsonPrinter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be309c30e4f28364cadc2d0b014a5333 3 | timeCreated: 1451205258 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsSerializer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b904dc26e957fde4fb90a0d405d710ee 3 | timeCreated: 1451205258 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Execute/IExecuteSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8eda5c759f86f06499f64a7004589c04 3 | timeCreated: 1473330076 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Matcher/IMatcherSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5623078517b19b45bd8af3976cf4f3e 3 | timeCreated: 1473330076 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/MonoSystem/MonoSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6851e481ea92d343a801c4e7d6080a8 3 | timeCreated: 1473329927 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Templating/EntityConstructor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d01c9a02907cf1f43b0eaee3bb6f58b1 3 | timeCreated: 1473786358 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Templating/TemplateDatabase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 84dc16cba0060894e9a4b53877a664ea 3 | timeCreated: 1473494302 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JEdit.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | using JECSU; 5 | 6 | [RequireComponent(typeof(EntityManager))] 7 | public class JEdit : MonoBehaviour { 8 | 9 | public bool LoadEditor; 10 | void Start() 11 | { 12 | if(LoadEditor) 13 | Helpers.SpawnPrefab("JEdit/JECSUEditor"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Assets/JECSU/CodeGeneration/Editor/CodeGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: baac4868ebdb8dc4f9052fe6a4a4d1b8 3 | timeCreated: 1473068388 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/ComponentSystems/ComponentFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48d07f3b8a8f2c841bb1a5a2611538de 3 | timeCreated: 1473068348 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Internal/fsOption.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb4638b0e5989604ca0d3801ab74bb4f 3 | timeCreated: 1451205258 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsConverterRegistrar.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa1f5994b782ae24db0ec14460b60dc4 3 | timeCreated: 1451205258 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsDirectConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01d299a12e9acb74ea4725bd6158642a 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsIgnoreAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 040c5c9958137624c91fc44ec697d76f 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsObjectAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0824334ca5c07d49b5c390bd38781cf 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsObjectProcessor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4f4c2fbbdaec5046adaaa0bb47036a6 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsPropertyAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b366ee3695fdf924495750c204ea426a 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Interpolation/InterpolationHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be09152741448394fb0250dfedf2a5a4 3 | timeCreated: 1472948748 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Interpolation/TransformInterpolator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 736961b5a6a993842803bbb6212ceb89 3 | timeCreated: 1473326400 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Serialization/SerializerAttributes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b01466afd0020d94f89efb6c7d5a69d2 3 | timeCreated: 1473506364 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Initialize/IInitializeSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10d1ef0280884cb459ef14a744fe059f 3 | timeCreated: 1473329448 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Templating/EntityConstructorFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db695ee3847019e47b30b1e7ff69d5db 3 | timeCreated: 1473939732 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Templating/TemplateDatabaseParser.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a53f5eef4518054f96bca67dda00cdf 3 | timeCreated: 1473506364 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Internal/fsTypeExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c3b8173faf686b44bdf5a3478f776cd 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Internal/fsVersionManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39e37c86cc277f544a0860a95c73c4d6 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Internal/fsVersionedType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac58601fa737f8048831c6bd75a6fca2 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Reflection/fsMetaProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bce2bac5e1b3d9043a6a4207280d7d71 3 | timeCreated: 1451205258 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Reflection/fsMetaType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8dda7fa68f01f0e428c6d8090ae72532 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Reflection/fsTypeCache.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45c4a046c8137494c9fe68a832aa751d 3 | timeCreated: 1455068576 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsAotCompilationManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24433eeafcff7924b9fddf2320a13935 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsISerializationCallbacks.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff5a6a4a9df9cfc43b04b16bbc045902 3 | timeCreated: 1451205262 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsIgnoreAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace FullSerializer { 4 | /// 5 | /// The given property or field annotated with [JsonIgnore] will not be serialized. 6 | /// 7 | [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] 8 | public sealed class fsIgnoreAttribute : Attribute { 9 | } 10 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsMemberSerialization.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2d6fed6217d35c49868389b28b49050 3 | timeCreated: 1451205258 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/UI/Editor/PanelAnimatorInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65c146b5117c7d14b883316955c7a508 3 | timeCreated: 1474310397 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Matcher/MatcherSystemController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c6506fc99172be4e883881eba38d7e8 3 | timeCreated: 1473330141 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/CodeGeneration/Editor/EntityFactoryGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 242cfad95084ae8448bfd4d222eea1e4 3 | timeCreated: 1474068998 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsArrayConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8c61b81ee2d4ce41988db051d54e60a 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsDateConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 892fb7e848a12c74681de14331c8a072 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsEnumConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9b18d8643e0d0f45a42e7736c412559 3 | timeCreated: 1451205258 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsForwardConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7eccd27d395a3b445900ce1a85cc679a 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsGuidConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25223074bdc15f64c9c7c147346b40d0 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsNullableConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a18dfa892d8de7245824898c553a516b 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsTypeConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b7c8e9a78b8bb24d9cd168134ba2d3f 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Internal/fsPortableReflection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53f0d6faef1e74649a1d4ec87281ce9c 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Reflection/fsReflectionUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2fe4e0d816d15145b26bd01d34c8b47 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/CodeGeneration/Editor/ComponentFactoryGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c8a997722ad5954b981ff3fca399412 3 | timeCreated: 1474068998 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsDictionaryConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f364b62fa3618b438cf5dd61bd00a0f 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsIEnumerableConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9b9009ce07beeb4cab11ab8019d8f25 3 | timeCreated: 1451205258 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsKeyValuePairConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2611d96db6a6370458d57e180a2ffe30 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsPrimitiveConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 14030fd201904564584a2639fafcdcfc 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsReflectedConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ff9fcf67634b1b448fa901325a9510d 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsWeakReferenceConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d522279c90b14504f9a25467442f9981 3 | timeCreated: 1451205258 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Internal/fsCyclicReferenceManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c1dc6d180e2a624fb5ced24b343caac 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/Bounds_DirectConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3fe9630466a01c34fba9de74b67e17f6 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/GUIStyle_DirectConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08c93192f19b1a74a91771d664d38f0b 3 | timeCreated: 1455511482 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/Rect_DirectConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06db9349c97ef41438333fe8ef2c2f70 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/UnityEvent_Converter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a695d8e2a84646fbb7db60dc4fbbbd4 3 | timeCreated: 1469719791 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Components/Serializeable.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU.Components 2 | { 3 | using UnityEngine; 4 | using System; 5 | using System.Collections.Generic; 6 | using FullSerializer; 7 | 8 | /// 9 | /// Add this to entities you want to be saved by Save() 10 | /// 11 | public class Serializeable : BaseComponent, IComponent 12 | { 13 | } 14 | 15 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/GUIStyleState_DirectConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67b4783438fecdb4399aa4737e11776b 3 | timeCreated: 1455511482 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/Gradient_DirectConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 064742214cced30408a50448cc56cf32 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/Keyframe_DirectConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 685e0c3230dc4c1469af759c0cadadb0 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/LayerMask_DirectConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a480ab5fab4f3041a1dc7468d23ab7c 3 | timeCreated: 1451205257 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/RectOffset_DirectConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b6ebe5ce2ccdb4439953bd49e36ac3a 3 | timeCreated: 1455511482 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/Components/GameRes.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU.Components 2 | { 3 | using UnityEngine; 4 | using System; 5 | using System.Collections.Generic; 6 | //adding serializeable allows us to see it in inspector and save the component, using Save system 7 | [Serializable] 8 | public class GameRes : BaseComponent, IComponent 9 | { 10 | public string prefabID; 11 | 12 | } 13 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/AnimationCurve_DirectConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de4871d163dc05c4e879ab3bd2d1b0a9 3 | timeCreated: 1451205258 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/JECSU/ComponentSystems/IComponent.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | using System; 4 | 5 | /// 6 | /// Accessor for component 7 | /// 8 | public interface IComponent 9 | { 10 | //actual concrete type i.e. Position 11 | Type type { get; } 12 | Entity owner { get; set; } 13 | int ownerid { get; set; } 14 | string ownername { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /Assets/Database/world01.box: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | >892 palm01 "Palm(clone)" 5 | >1823 palm01 "Palm(clone)" 6 | [PRS] 7 | position = 8,2,4 8 | >1826 palm01 "Palm(clone)" 9 | [PRS] 10 | position = 5,1,3 11 | 12 | 13 | >99 nan "Palm Group" 14 | [PRS] 15 | position = 1,5,3 16 | [EntityGroup] 17 | list = { 1826, 1823, 892 } 18 | 19 | >111 nan "Positions group" 20 | [PRSGroup] 21 | list = { 1826.PRS , 1823.PRS, 892.PRS } -------------------------------------------------------------------------------- /Assets/Database/world02.box: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | >892 palm01 "Palm(clone)" 5 | >1823 palm01 "Palm(clone)" 6 | [PRS] 7 | position = 8,2,4 8 | >1826 palm01 "Palm(clone)" 9 | [PRS] 10 | position = 5,1,3 11 | 12 | 13 | >99 nan "Palm Group" 14 | [PRS] 15 | position = 1,5,3 16 | [EntityGroup] 17 | list = { 1826, 1823, 892 } 18 | 19 | >111 nan "Positions group" 20 | [PRSGroup] 21 | list = { 1826.PRS , 1823.PRS, 892.PRS } -------------------------------------------------------------------------------- /Assets/ui_blocker.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | using UnityEngine.EventSystems; 5 | 6 | public class ui_blocker : MonoBehaviour, IPointerClickHandler 7 | { 8 | public event Action onClick; 9 | 10 | public void OnPointerClick(PointerEventData eventData) 11 | { 12 | if (onClick != null) 13 | onClick(); 14 | Destroy(this.gameObject); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/Database/TestFolder/world05.box: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | >892 palm01 "Palm(clone)" 5 | >1823 palm01 "Palm(clone)" 6 | [PRS] 7 | position = 8,2,4 8 | >1826 palm01 "Palm(clone)" 9 | [PRS] 10 | position = 5,1,3 11 | 12 | 13 | >99 nan "Palm Group" 14 | [PRS] 15 | position = 1,5,3 16 | [EntityGroup] 17 | list = { 1826, 1823, 892 } 18 | 19 | >111 nan "Positions group" 20 | [PRSGroup] 21 | list = { 1826.PRS , 1823.PRS, 892.PRS } -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.meta eol=crlf 3 | *.psd filter=lfs diff=lfs merge=lfs -text 4 | *.jpg filter=lfs diff=lfs merge=lfs -text 5 | *.mp3 filter=lfs diff=lfs merge=lfs -text 6 | *.png filter=lfs diff=lfs merge=lfs -text 7 | *.tga filter=lfs diff=lfs merge=lfs -text 8 | *.wav filter=lfs diff=lfs merge=lfs -text 9 | *.mov filter=lfs diff=lfs merge=lfs -text 10 | *.fbx filter=lfs diff=lfs merge=lfs -text 11 | *.asset filter=lfs diff=lfs merge=lfs -text -------------------------------------------------------------------------------- /Assets/Database/TestFolder/TestFolder/world03.box: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | >892 palm01 "Palm(clone)" 5 | >1823 palm01 "Palm(clone)" 6 | [PRS] 7 | position = 8,2,4 8 | >1826 palm01 "Palm(clone)" 9 | [PRS] 10 | position = 5,1,3 11 | 12 | 13 | >99 nan "Palm Group" 14 | [PRS] 15 | position = 1,5,3 16 | [EntityGroup] 17 | list = { 1826, 1823, 892 } 18 | 19 | >111 nan "Positions group" 20 | [PRSGroup] 21 | list = { 1826.PRS , 1823.PRS, 892.PRS } -------------------------------------------------------------------------------- /Assets/Database/TestFolder/TestFolder/world04.box: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | >892 palm01 "Palm(clone)" 5 | >1823 palm01 "Palm(clone)" 6 | [PRS] 7 | position = 8,2,4 8 | >1826 palm01 "Palm(clone)" 9 | [PRS] 10 | position = 5,1,3 11 | 12 | 13 | >99 nan "Palm Group" 14 | [PRS] 15 | position = 1,5,3 16 | [EntityGroup] 17 | list = { 1826, 1823, 892 } 18 | 19 | >111 nan "Positions group" 20 | [PRSGroup] 21 | list = { 1826.PRS , 1823.PRS, 892.PRS } -------------------------------------------------------------------------------- /Assets/GameViewComponent.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU.Components 2 | { 3 | using UnityEngine; 4 | using System; 5 | using System.Collections.Generic; 6 | 7 | public class GameView : BaseComponent, IComponent 8 | { 9 | [TemplateIgnore] 10 | public GameViewBehavior view; 11 | 12 | /// 13 | /// Will the position be constantly updated? 14 | /// 15 | public bool dynamic = false; 16 | 17 | } 18 | } -------------------------------------------------------------------------------- /Assets/JECSU/Components/PRS.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU.Components 2 | { 3 | using UnityEngine; 4 | using System; 5 | using System.Collections.Generic; 6 | //adding serializeable allows us to see it in inspector and save the component, using Save system 7 | [Serializable] 8 | public class PRS : BaseComponent, IComponent 9 | { 10 | public Vector3 rotation; 11 | public Vector3 scale = Vector3.one; 12 | public Vector3 position; 13 | 14 | } 15 | } -------------------------------------------------------------------------------- /Assets/JECSU/Components/ComponentsReadme.txt: -------------------------------------------------------------------------------- 1 | Here lie "native" or "default" components that are maintained by the entity system. 2 | How to: 3 | to create new component just copy paste other one or manually create using other as template. 4 | after you've done this don't forget to go to unity top menu and > EntitySystem > Compile 5 | so that all components will get compiled to ComponentFactory class, its NOT NECESSARY 6 | (the system will work fine without it) , but it speeds up component creation a bit. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/Fonts/DroidSans-Bold.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1fff7e79e43e18e4a9dfd12803553df3 3 | timeCreated: 1474321525 4 | licenseType: Free 5 | TrueTypeFontImporter: 6 | serializedVersion: 4 7 | fontSize: 16 8 | forceTextureCase: -2 9 | characterSpacing: 0 10 | characterPadding: 1 11 | includeFontData: 1 12 | fontNames: 13 | - Droid Sans 14 | fallbackFontReferences: [] 15 | customCharacters: 16 | fontRenderingMode: 0 17 | ascentCalculationMode: 1 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/Fonts/DroidSansMono.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 21c04add2bfc1f643ba9574ee87c3f44 3 | timeCreated: 1474233803 4 | licenseType: Free 5 | TrueTypeFontImporter: 6 | serializedVersion: 4 7 | fontSize: 16 8 | forceTextureCase: -2 9 | characterSpacing: 0 10 | characterPadding: 1 11 | includeFontData: 1 12 | fontNames: 13 | - Droid Sans Mono 14 | fallbackFontReferences: [] 15 | customCharacters: 16 | fontRenderingMode: 0 17 | ascentCalculationMode: 1 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/MonoSystem/MonoSystem.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | using UnityEngine; 4 | 5 | /// 6 | /// In theory this should work with unity as a entity system, however it brings several challenges on the table and needs to be thought through, 7 | /// if its even needed. 8 | /// 9 | public class MonoSystem : MonoBehaviour 10 | { 11 | public bool isActive { get; set; } 12 | public Matcher matcher { get; set; } 13 | 14 | protected virtual void Awake() 15 | { 16 | Systems.RegisterMonoSystem(this); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a005818760726df49aeff4c1ed8ee679 3 | timeCreated: 1474237103 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween43.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b4e232d3e4aee84db20c54bd841ad50 3 | timeCreated: 1474237101 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween46.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71ed9e70af9ceb04ba46d6b35752c5b6 3 | timeCreated: 1474237102 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/DOTween50.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86d371d699f6b6e4181069ba16966fe7 3 | timeCreated: 1474237102 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/DOTweenEditor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbce408a787a6064687176a2671cc42f 3 | timeCreated: 1474237104 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace FullSerializer { 4 | /// 5 | /// The serialization converter allows for customization of the serialization process. 6 | /// 7 | public abstract class fsConverter : fsBaseConverter { 8 | /// 9 | /// Can this converter serialize and deserialize the given object type? 10 | /// 11 | /// The given object type. 12 | /// True if the converter can serialize it, false otherwise. 13 | public abstract bool CanProcess(Type type); 14 | } 15 | } -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Matcher/IMatcherSystem.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | using System; 4 | 5 | public interface IMatcherSystem : IEntitySystem 6 | { 7 | Matcher matcher { get; set; } 8 | void OnMatchAdded(Entity ent, Type t); 9 | void OnMatchRemoved(Entity ent, Type t); 10 | } 11 | 12 | public interface IMatcherSystem : IMatcherSystem {} 13 | public interface IMatcherSystem : IMatcherSystem {} 14 | public interface IMatcherSystem : IMatcherSystem {} 15 | public interface IMatcherSystem : IMatcherSystem {} 16 | public interface IMatcherSystem : IMatcherSystem {} 17 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsMemberSerialization.cs: -------------------------------------------------------------------------------- 1 | namespace FullSerializer { 2 | /// 3 | /// Controls how the reflected converter handles member serialization. 4 | /// 5 | public enum fsMemberSerialization { 6 | /// 7 | /// Only members with [SerializeField] or [fsProperty] attributes are serialized. 8 | /// 9 | OptIn, 10 | 11 | /// 12 | /// Only members with [NotSerialized] or [fsIgnore] will not be serialized. 13 | /// 14 | OptOut, 15 | 16 | /// 17 | /// The default member serialization behavior is applied. 18 | /// 19 | Default 20 | } 21 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # =============== # 2 | # Unity generated # 3 | # =============== # 4 | [Tt]emp/ 5 | [Oo]bj/ 6 | [Bb]uild 7 | [Ll]ibrary/ 8 | sysinfo.txt 9 | 10 | # ===================================== # 11 | # Visual Studio / MonoDevelop generated # 12 | # ===================================== # 13 | [Ee]xported[Oo]bj/ 14 | *.userprefs 15 | *.csproj 16 | *.pidb 17 | *.suo 18 | *.sln* 19 | *.user 20 | *.unityproj 21 | *.booproj 22 | SyntaxTree.VisualStudio.Unity.Bridge.dll 23 | SyntaxTree.VisualStudio.Unity.Messaging.dll 24 | UnityVS.VersionSpecific.dll 25 | UnityVS/ 26 | UnityVS.meta 27 | 28 | 29 | # ============ # 30 | # OS generated # 31 | # ============ # 32 | .DS_Store* 33 | ._* 34 | .Spotlight-V100 35 | .Trashes 36 | 37 | ehthumbs.db 38 | [Tt]humbs.db 39 | [Tt]humbs.db.meta 40 | 41 | 42 | 43 | /.vscode 44 | /Assets/Plugins/Editor/VSCode.cs -------------------------------------------------------------------------------- /Assets/JECSU/Templating/Template.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU.Serialization 2 | { 3 | using System; 4 | using System.Collections.Generic; 5 | using Components; 6 | 7 | /// 8 | /// This stores deserialized data for later use by Entity Constructor 9 | /// 10 | public class EntityTemplate 11 | { 12 | public string databaseID; 13 | public string parentID; 14 | public string Name; 15 | 16 | public string filepath; 17 | public int fileLine; 18 | 19 | public Dictionary> components = new Dictionary>(); 20 | 21 | public override string ToString() 22 | { 23 | return "EntityTemplate|Name:" + Name + "|db_id:" + databaseID + "|parentID:" + parentID + "|file:" + filepath + "|line:"+ fileLine; 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsExceptions.cs: -------------------------------------------------------------------------------- 1 | // note: This file contains exceptions used by FullSerializer. Exceptions are never used at runtime 2 | // in FullSerializer; they are only used when validating annotations and code-based models. 3 | 4 | using System; 5 | 6 | namespace FullSerializer { 7 | public sealed class fsMissingVersionConstructorException : Exception { 8 | public fsMissingVersionConstructorException(Type versionedType, Type constructorType) : 9 | base(versionedType + " is missing a constructor for previous model type " + constructorType) { } 10 | } 11 | 12 | public sealed class fsDuplicateVersionNameException : Exception { 13 | public fsDuplicateVersionNameException(Type typeA, Type typeB, string version) : 14 | base(typeA + " and " + typeB + " have the same version string (" + version + "); please change one of them.") { } 15 | } 16 | } -------------------------------------------------------------------------------- /Assets/JECSU/Serialization/SerializerAttributes.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | /// 4 | /// Indicates that this info wont be recognized when creating a template out of an entity 5 | /// 6 | [System.AttributeUsage(System.AttributeTargets.Class | 7 | System.AttributeTargets.Struct | 8 | System.AttributeTargets.Field | System.AttributeTargets.Property) 9 | ] 10 | public class JECSUAttribute : System.Attribute 11 | { 12 | } 13 | 14 | /// 15 | /// Indicates that this info wont be recognized when creating a template out of an entity 16 | /// 17 | [System.AttributeUsage(System.AttributeTargets.Class | 18 | System.AttributeTargets.Struct | 19 | System.AttributeTargets.Field | System.AttributeTargets.Property) 20 | ] 21 | public class TemplateIgnore : JECSUAttribute 22 | { 23 | } 24 | } -------------------------------------------------------------------------------- /Assets/GameViewBehavior.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | using JECSU; 5 | using JECSU.Components; 6 | 7 | public class GameViewBehavior : MonoBehaviour { 8 | 9 | public Entity entity; 10 | GameView gameview; 11 | PRS prs; 12 | Transform tr; 13 | public void Initialize(Entity _entity) 14 | { 15 | entity = _entity; 16 | prs = entity.GetComponent(); 17 | gameview = entity.GetComponent(); 18 | tr = transform; 19 | 20 | Pool.AddDirtyHandler(OnPRSChange); 21 | SetPRS(prs); 22 | } 23 | 24 | void SetPRS(PRS _prs) 25 | { 26 | tr.position = _prs.position; 27 | tr.rotation = Quaternion.Euler(_prs.rotation); 28 | tr.localScale = _prs.scale; 29 | } 30 | 31 | void OnPRSChange(PRS _prs) 32 | { 33 | if (prs != _prs) 34 | return; 35 | SetPRS(_prs); 36 | 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /Assets/DataBox.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | using UnityEngine; 4 | using System; 5 | using System.Collections.Generic; 6 | 7 | public class DataBox 8 | { 9 | public string ID; 10 | public List entities = new List(); 11 | 12 | public static string GetDatabasePath() 13 | { 14 | string path = JECSU.Serialization.JECSUConfig.current.databoxDatabasePath; 15 | 16 | if (path == "default") 17 | return Application.dataPath + "/Database"; 18 | else 19 | return path; 20 | } 21 | } 22 | 23 | public class DataboxManager 24 | { 25 | string databoxDirectoryPath; 26 | 27 | public List databoxes = new List(); 28 | public Dictionary databoxesById = new Dictionary(); 29 | 30 | public DataboxManager(string rootpath) 31 | { 32 | 33 | } 34 | 35 | 36 | } 37 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsPropertyAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace FullSerializer { 4 | /// 5 | /// Explicitly mark a property to be serialized. This can also be used to give the name that the 6 | /// property should use during serialization. 7 | /// 8 | [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] 9 | public sealed class fsPropertyAttribute : Attribute { 10 | /// 11 | /// The name of that the property will use in JSON serialization. 12 | /// 13 | public string Name; 14 | 15 | /// 16 | /// Use a custom converter for the given type. Specify the converter to use using typeof. 17 | /// 18 | public Type Converter; 19 | 20 | public fsPropertyAttribute() 21 | : this(string.Empty) { 22 | } 23 | 24 | public fsPropertyAttribute(string name) { 25 | Name = name; 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Internal/fsOption.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace FullSerializer.Internal { 4 | /// 5 | /// Simple option type. This is akin to nullable types. 6 | /// 7 | public struct fsOption { 8 | private bool _hasValue; 9 | private T _value; 10 | 11 | public bool HasValue { 12 | get { return _hasValue; } 13 | } 14 | public bool IsEmpty { 15 | get { return _hasValue == false; } 16 | } 17 | public T Value { 18 | get { 19 | if (IsEmpty) throw new InvalidOperationException("fsOption is empty"); 20 | return _value; 21 | } 22 | } 23 | 24 | public fsOption(T value) { 25 | _hasValue = true; 26 | _value = value; 27 | } 28 | 29 | public static fsOption Empty; 30 | } 31 | 32 | public static class fsOption { 33 | public static fsOption Just(T value) { 34 | return new fsOption(value); 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/readme.txt: -------------------------------------------------------------------------------- 1 | DOTween and DOTween Pro are copyright (c) 2014 Daniele Giardini - Demigiant 2 | 3 | // GET STARTED ////////////////////////////////////////////// 4 | 5 | - After importing a new DOTween update, select DOTween's Utility Panel from the Tools menu (if it doesn't open automatically) and press the "Setup DOTween..." button to set up additional features based on your Unity version. 6 | - In your code, add "using DG.Tweening" to each class where you want to use DOTween. 7 | - You're ready to tween. Check out the links below for full documentation and license info. 8 | 9 | 10 | // LINKS /////////////////////////////////////////////////////// 11 | 12 | DOTween website (documentation, examples, etc): http://dotween.demigiant.com 13 | DOTween license: http://dotween.demigiant.com/license.php 14 | DOTween repository (Google Code): https://code.google.com/p/dotween/ 15 | 16 | // NOTES ////////////////////////////////////////////////////// 17 | 18 | - DOTween's Utility Panel can be found under "Tools > DOTween Utility Panel" and also contains other useful options, plus a tab to set DOTween's preferences -------------------------------------------------------------------------------- /Assets/Example/ScriptableObjectFactory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Linq; 4 | using System.Reflection; 5 | using UnityEditor; 6 | using UnityEngine; 7 | 8 | /// 9 | /// Helper class for instantiating ScriptableObjects. 10 | /// 11 | public class ScriptableObjectFactory 12 | { 13 | [MenuItem("Assets/Create/ScriptableObject")] 14 | public static void Create() 15 | { 16 | var assembly = GetAssembly (); 17 | 18 | // Get all classes derived from ScriptableObject 19 | var allScriptableObjects = (from t in assembly.GetTypes() 20 | where t.IsSubclassOf(typeof(ScriptableObject)) 21 | select t).ToArray(); 22 | 23 | // Show the selection window. 24 | var window = EditorWindow.GetWindow(true, "Create a new ScriptableObject", true); 25 | window.ShowPopup(); 26 | 27 | window.Types = allScriptableObjects; 28 | } 29 | 30 | /// 31 | /// Returns the assembly that contains the script code for this project (currently hard coded) 32 | /// 33 | private static Assembly GetAssembly () 34 | { 35 | return Assembly.Load (new AssemblyName ("Assembly-CSharp")); 36 | } 37 | } -------------------------------------------------------------------------------- /Assets/TestGameViewSystem.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | using JECSU; 5 | using JECSU.Components; 6 | 7 | public class TestGameViewSystem : IInitializeSystem, IMatcherSystem, IExecuteSystem 8 | { 9 | public bool isActive 10 | { 11 | get;set; 12 | } 13 | 14 | public Matcher matcher 15 | { 16 | get;set; 17 | } 18 | 19 | public void Execute() 20 | { 21 | 22 | } 23 | 24 | public void Initialize() 25 | { 26 | 27 | } 28 | 29 | public void OnMatchAdded(Entity ent, Type t) 30 | { 31 | var res = ent.GetComponent(); 32 | if (res != null) 33 | { 34 | var gameview = ent.GetComponent(); 35 | var prefab = (GameObject) Resources.Load(res.prefabID); 36 | var go = GameObject.Instantiate(prefab); 37 | gameview.view = go.GetComponent(); 38 | if (gameview.view == null) 39 | gameview.view = go.AddComponent(); 40 | gameview.view.Initialize(ent); 41 | } 42 | } 43 | 44 | public void OnMatchRemoved(Entity ent, Type t) 45 | { 46 | 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Assets/JECSU/ComponentSystems/BaseComponent.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | using UnityEngine; 4 | using System; 5 | 6 | public class BaseComponent 7 | { 8 | [TemplateIgnore] 9 | private Entity _owner; 10 | [TemplateIgnore] 11 | public int ownerid { get; set; } 12 | [TemplateIgnore] 13 | public string ownername { get; set; } 14 | [TemplateIgnore] 15 | public Entity owner 16 | { 17 | get { return _owner; } 18 | set { _owner = value; ownerid = value.id; ownername = value.name; } 19 | } 20 | [TemplateIgnore] 21 | Type _type; 22 | [TemplateIgnore] 23 | public Type type 24 | { get { if (_type == null) _type = GetType(); return _type; } } 25 | 26 | 27 | //The pool subscribes to this event so it will get notified when the component is dirty. 28 | public event Action onDirty; 29 | 30 | /// 31 | /// Notify corresponding pool that this component was changed and needs to get updated. 32 | /// 33 | public void Dirty() 34 | { 35 | if (onDirty != null) 36 | onDirty(this); 37 | } 38 | } 39 | 40 | } -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/UI/Editor/PanelAnimatorInspector.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections.Generic; 3 | using UnityEditor; 4 | 5 | [CustomEditor(typeof(PanelAnimator))] 6 | public class PanelAnimatorInspector : Editor { 7 | 8 | public override void OnInspectorGUI() 9 | { 10 | var t = (PanelAnimator)target; 11 | var rt = ((RectTransform)t.transform); 12 | 13 | GUILayout.BeginHorizontal(); 14 | GUI.color = Color.red; 15 | if(GUILayout.Button("Store start")) 16 | { 17 | t.start_pos = rt.anchoredPosition; 18 | t.startOffset = new PanelAnimator.Offset(rt); 19 | } 20 | if (GUILayout.Button("Store end")) 21 | { 22 | t.end_pos = rt.anchoredPosition; 23 | t.endOffset = new PanelAnimator.Offset(rt); 24 | } 25 | GUILayout.EndHorizontal(); 26 | GUILayout.BeginHorizontal(); 27 | GUI.color = Color.green; 28 | if (GUILayout.Button("Move to start")) 29 | { 30 | t.JumpToStart(); 31 | } 32 | if (GUILayout.Button("Move to end")) 33 | { 34 | t.JumpToEnd(); 35 | } 36 | GUILayout.EndHorizontal(); 37 | GUI.color = Color.white; 38 | base.OnInspectorGUI(); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsNullableConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace FullSerializer.Internal { 4 | /// 5 | /// The reflected converter will properly serialize nullable types. However, we do it here 6 | /// instead as we can emit less serialization data. 7 | /// 8 | public class fsNullableConverter : fsConverter { 9 | public override bool CanProcess(Type type) { 10 | return 11 | type.Resolve().IsGenericType && 12 | type.GetGenericTypeDefinition() == typeof(Nullable<>); 13 | } 14 | 15 | public override fsResult TrySerialize(object instance, out fsData serialized, Type storageType) { 16 | // null is automatically serialized 17 | return Serializer.TrySerialize(Nullable.GetUnderlyingType(storageType), instance, out serialized); 18 | } 19 | 20 | public override fsResult TryDeserialize(fsData data, ref object instance, Type storageType) { 21 | // null is automatically deserialized 22 | return Serializer.TryDeserialize(data, Nullable.GetUnderlyingType(storageType), ref instance); 23 | } 24 | 25 | public override object CreateInstance(fsData data, Type storageType) { 26 | return storageType; 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/LayerMask_DirectConverter.cs: -------------------------------------------------------------------------------- 1 | #if !NO_UNITY 2 | using System; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | namespace FullSerializer { 7 | partial class fsConverterRegistrar { 8 | public static Internal.DirectConverters.LayerMask_DirectConverter Register_LayerMask_DirectConverter; 9 | } 10 | } 11 | 12 | namespace FullSerializer.Internal.DirectConverters { 13 | public class LayerMask_DirectConverter : fsDirectConverter { 14 | protected override fsResult DoSerialize(LayerMask model, Dictionary serialized) { 15 | var result = fsResult.Success; 16 | 17 | result += SerializeMember(serialized, null, "value", model.value); 18 | 19 | return result; 20 | } 21 | 22 | protected override fsResult DoDeserialize(Dictionary data, ref LayerMask model) { 23 | var result = fsResult.Success; 24 | 25 | var t0 = model.value; 26 | result += DeserializeMember(data, null, "value", out t0); 27 | model.value = t0; 28 | 29 | return result; 30 | } 31 | 32 | public override object CreateInstance(fsData data, Type storageType) { 33 | return new LayerMask(); 34 | } 35 | } 36 | } 37 | #endif -------------------------------------------------------------------------------- /Assets/GameViewSelection.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | 5 | public class GameViewSelection : MonoBehaviour { 6 | 7 | Renderer rd; 8 | Transform selectionRendering; 9 | 10 | Material selectionMat; 11 | 12 | void OnEnable() 13 | { 14 | rd = GetComponent(); 15 | selectionMat = Resources.Load("JEdit/Visual/jecsu_selection"); 16 | GameObject clone = new GameObject("SelectionRendering"); 17 | selectionRendering = clone.transform; 18 | clone.hideFlags = HideFlags.HideInHierarchy; 19 | var meshfilter = clone.AddComponent(); 20 | var renderer = clone.AddComponent(); 21 | 22 | meshfilter.mesh = GetComponent().sharedMesh; 23 | 24 | renderer.materials = rd.materials; 25 | var mats = renderer.materials; 26 | 27 | for (int i = 0; i < mats.Length; i++) 28 | { 29 | mats[i] = selectionMat; 30 | } 31 | 32 | renderer.materials = mats; 33 | } 34 | 35 | void OnDisable() 36 | { 37 | if(selectionRendering) 38 | Destroy(selectionRendering.gameObject); 39 | } 40 | 41 | void Update() 42 | { 43 | selectionRendering.position = transform.position; 44 | selectionRendering.rotation = transform.rotation; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsGuidConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace FullSerializer.Internal { 4 | /// 5 | /// Serializes and deserializes guids. 6 | /// 7 | public class fsGuidConverter : fsConverter { 8 | public override bool CanProcess(Type type) { 9 | return type == typeof(Guid); 10 | } 11 | 12 | public override bool RequestCycleSupport(Type storageType) { 13 | return false; 14 | } 15 | 16 | public override bool RequestInheritanceSupport(Type storageType) { 17 | return false; 18 | } 19 | 20 | public override fsResult TrySerialize(object instance, out fsData serialized, Type storageType) { 21 | var guid = (Guid)instance; 22 | serialized = new fsData(guid.ToString()); 23 | return fsResult.Success; 24 | } 25 | 26 | public override fsResult TryDeserialize(fsData data, ref object instance, Type storageType) { 27 | if (data.IsString) { 28 | instance = new Guid(data.AsString); 29 | return fsResult.Success; 30 | } 31 | 32 | return fsResult.Fail("fsGuidConverter encountered an unknown JSON data type"); 33 | } 34 | 35 | public override object CreateInstance(fsData data, Type storageType) { 36 | return new Guid(); 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /Assets/JECSU/ComponentSystems/ComponentFactory.cs: -------------------------------------------------------------------------------- 1 | /*This is generated file. 2 | This class speeds up component creation in a safe manner. 3 | 4 | ===============================================================================================*/ 5 | 6 | namespace JECSU 7 | { 8 | using System; 9 | using System.Collections.Generic; 10 | public static class ComponentFactory 11 | { 12 | static int lookup; 13 | public static IComponent MakeNew() where T : BaseComponent 14 | { 15 | Type t = typeof(T); 16 | return MakeNew(t); 17 | } 18 | public static IComponent MakeNew(Type t) 19 | { 20 | if (!@switch.ContainsKey(t))return null; 21 | @switch[t].Invoke(); 22 | switch (lookup) 23 | { 24 | case 0: 25 | return new JECSU.Components.GameView(); 26 | case 1: 27 | return new JECSU.Components.ColorComponent(); 28 | case 2: 29 | return new JECSU.Components.GameRes(); 30 | case 3: 31 | return new JECSU.Components.PRS(); 32 | case 4: 33 | return new JECSU.Components.Serializeable(); 34 | default: 35 | return null; 36 | } 37 | } 38 | static Dictionary @switch = new Dictionary { 39 | { typeof(JECSU.Components.GameView), () => lookup = 0 } 40 | ,{ typeof(JECSU.Components.ColorComponent), () => lookup = 1 } 41 | ,{ typeof(JECSU.Components.GameRes), () => lookup = 2 } 42 | ,{ typeof(JECSU.Components.PRS), () => lookup = 3 } 43 | ,{ typeof(JECSU.Components.Serializeable), () => lookup = 4 } 44 | }; 45 | } 46 | } 47 | //EOF 48 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/Bounds_DirectConverter.cs: -------------------------------------------------------------------------------- 1 | #if !NO_UNITY 2 | using System; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | namespace FullSerializer { 7 | partial class fsConverterRegistrar { 8 | public static Internal.DirectConverters.Bounds_DirectConverter Register_Bounds_DirectConverter; 9 | } 10 | } 11 | 12 | namespace FullSerializer.Internal.DirectConverters { 13 | public class Bounds_DirectConverter : fsDirectConverter { 14 | protected override fsResult DoSerialize(Bounds model, Dictionary serialized) { 15 | var result = fsResult.Success; 16 | 17 | result += SerializeMember(serialized, null, "center", model.center); 18 | result += SerializeMember(serialized, null, "size", model.size); 19 | 20 | return result; 21 | } 22 | 23 | protected override fsResult DoDeserialize(Dictionary data, ref Bounds model) { 24 | var result = fsResult.Success; 25 | 26 | var t0 = model.center; 27 | result += DeserializeMember(data, null, "center", out t0); 28 | model.center = t0; 29 | 30 | var t1 = model.size; 31 | result += DeserializeMember(data, null, "size", out t1); 32 | model.size = t1; 33 | 34 | return result; 35 | } 36 | 37 | public override object CreateInstance(fsData data, Type storageType) { 38 | return new Bounds(); 39 | } 40 | } 41 | } 42 | #endif -------------------------------------------------------------------------------- /Assets/Example/ScriptableObjectWindow.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using UnityEditor; 4 | using UnityEditor.ProjectWindowCallback; 5 | using UnityEngine; 6 | 7 | internal class EndNameEdit : EndNameEditAction 8 | { 9 | #region implemented abstract members of EndNameEditAction 10 | public override void Action (int instanceId, string pathName, string resourceFile) 11 | { 12 | AssetDatabase.CreateAsset(EditorUtility.InstanceIDToObject(instanceId), AssetDatabase.GenerateUniqueAssetPath(pathName)); 13 | } 14 | 15 | #endregion 16 | } 17 | 18 | /// 19 | /// Scriptable object window. 20 | /// 21 | public class ScriptableObjectWindow : EditorWindow 22 | { 23 | private int selectedIndex; 24 | private string[] names; 25 | 26 | private Type[] types; 27 | 28 | public Type[] Types 29 | { 30 | get { return types; } 31 | set 32 | { 33 | types = value; 34 | names = types.Select(t => t.FullName).ToArray(); 35 | } 36 | } 37 | 38 | public void OnGUI() 39 | { 40 | GUILayout.Label("ScriptableObject Class"); 41 | selectedIndex = EditorGUILayout.Popup(selectedIndex, names); 42 | 43 | if (GUILayout.Button("Create")) 44 | { 45 | var asset = ScriptableObject.CreateInstance(types[selectedIndex]); 46 | ProjectWindowUtil.StartNameEditingIfProjectWindowExists( 47 | asset.GetInstanceID(), 48 | ScriptableObject.CreateInstance(), 49 | string.Format("{0}.asset", names[selectedIndex]), 50 | AssetPreview.GetMiniThumbnail(asset), 51 | null); 52 | 53 | Close(); 54 | } 55 | } 56 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsConverterRegistrar.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using FullSerializer.Internal; 4 | 5 | namespace FullSerializer { 6 | /// 7 | /// This class allows arbitrary code to easily register global converters. To add a converter, 8 | /// simply declare a new field called "Register_*" that stores the type of converter you would 9 | /// like to add. Alternatively, you can do the same with a method called "Register_*"; just add 10 | /// the converter type to the `Converters` list. 11 | /// 12 | public partial class fsConverterRegistrar { 13 | static fsConverterRegistrar() { 14 | Converters = new List(); 15 | 16 | foreach (var field in typeof(fsConverterRegistrar).GetDeclaredFields()) { 17 | if (field.Name.StartsWith("Register_")) Converters.Add(field.FieldType); 18 | } 19 | 20 | foreach (var method in typeof(fsConverterRegistrar).GetDeclaredMethods()) { 21 | if (method.Name.StartsWith("Register_")) method.Invoke(null, null); 22 | } 23 | 24 | } 25 | 26 | public static List Converters; 27 | 28 | // Example field registration: 29 | //public static AnimationCurve_DirectConverter Register_AnimationCurve_DirectConverter; 30 | 31 | // Example method registration: 32 | //public static void Register_AnimationCurve_DirectConverter() { 33 | // Converters.Add(typeof(AnimationCurve_DirectConverter)); 34 | //} 35 | } 36 | } -------------------------------------------------------------------------------- /Assets/ui_background_blocker.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using System.Collections.Generic; 4 | using UnityEngine.UI; 5 | using UnityEngine.EventSystems; 6 | using UnityEngine.Events; 7 | 8 | public class ui_background_blocker : MonoBehaviour { 9 | 10 | /// 11 | /// When we click on the blocker background, basically when the block will be cancelled 12 | /// 13 | public UnityEvent OnClick; 14 | GameObject blocker; 15 | public void Toggle(bool val) 16 | { 17 | if (val) 18 | DoBlock(); 19 | else 20 | if(blocker) 21 | Destroy(blocker); 22 | } 23 | 24 | public void ToggleOn() 25 | { 26 | DoBlock(); 27 | } 28 | 29 | public void ToggleOff() 30 | { 31 | if (blocker) 32 | Destroy(blocker); 33 | } 34 | 35 | void DoBlock() 36 | { 37 | blocker = new GameObject("blocker"); 38 | blocker.transform.SetParent(transform.parent); 39 | blocker.transform.SetSiblingIndex(transform.GetSiblingIndex()); 40 | 41 | Image img = blocker.AddComponent(); 42 | img.color = new Color(0, 0, 0, 0); 43 | img.rectTransform.sizeDelta = new Vector2(Screen.width, Screen.height); 44 | img.transform.position = new Vector3(Screen.width / 2f, Screen.height / 2f, 0f); 45 | var blockComponent = blocker.AddComponent(); 46 | blockComponent.onClick += OnClick.Invoke; 47 | } 48 | 49 | public void Test() 50 | { 51 | Debug.Log("stsrada"); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsTypeConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | #if !UNITY_EDITOR && UNITY_WSA 4 | // For System.Reflection.TypeExtensions 5 | using System.Reflection; 6 | #endif 7 | 8 | namespace FullSerializer.Internal { 9 | public class fsTypeConverter : fsConverter { 10 | public override bool CanProcess(Type type) { 11 | return typeof(Type).IsAssignableFrom(type); 12 | } 13 | 14 | public override bool RequestCycleSupport(Type type) { 15 | return false; 16 | } 17 | 18 | public override bool RequestInheritanceSupport(Type type) { 19 | return false; 20 | } 21 | 22 | public override fsResult TrySerialize(object instance, out fsData serialized, Type storageType) { 23 | var type = (Type)instance; 24 | serialized = new fsData(type.FullName); 25 | return fsResult.Success; 26 | } 27 | 28 | public override fsResult TryDeserialize(fsData data, ref object instance, Type storageType) { 29 | if (data.IsString == false) { 30 | return fsResult.Fail("Type converter requires a string"); 31 | } 32 | 33 | instance = fsTypeCache.GetType(data.AsString); 34 | if (instance == null) { 35 | return fsResult.Fail("Unable to find type " + data.AsString); 36 | } 37 | return fsResult.Success; 38 | } 39 | 40 | public override object CreateInstance(fsData data, Type storageType) { 41 | return storageType; 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/Gradient_DirectConverter.cs: -------------------------------------------------------------------------------- 1 | #if !NO_UNITY 2 | using System; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | namespace FullSerializer { 7 | partial class fsConverterRegistrar { 8 | public static Internal.DirectConverters.Gradient_DirectConverter Register_Gradient_DirectConverter; 9 | } 10 | } 11 | 12 | namespace FullSerializer.Internal.DirectConverters { 13 | public class Gradient_DirectConverter : fsDirectConverter { 14 | protected override fsResult DoSerialize(Gradient model, Dictionary serialized) { 15 | var result = fsResult.Success; 16 | 17 | result += SerializeMember(serialized, null, "alphaKeys", model.alphaKeys); 18 | result += SerializeMember(serialized, null, "colorKeys", model.colorKeys); 19 | 20 | return result; 21 | } 22 | 23 | protected override fsResult DoDeserialize(Dictionary data, ref Gradient model) { 24 | var result = fsResult.Success; 25 | 26 | var t0 = model.alphaKeys; 27 | result += DeserializeMember(data, null, "alphaKeys", out t0); 28 | model.alphaKeys = t0; 29 | 30 | var t1 = model.colorKeys; 31 | result += DeserializeMember(data, null, "colorKeys", out t1); 32 | model.colorKeys = t1; 33 | 34 | return result; 35 | } 36 | 37 | public override object CreateInstance(fsData data, Type storageType) { 38 | return new Gradient(); 39 | } 40 | } 41 | } 42 | #endif -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/Imgs/Footer.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c7dc1c1588daf8449648f4d00c7d6b9 3 | timeCreated: 1474237114 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 2 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/Imgs/Header.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ef7c573f338cc44e8ab06cdf930ef96 3 | timeCreated: 1474237114 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 512 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 2 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_folder_empty.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f56ce1d0b999a9f40b865e263b2fcc6e 3 | timeCreated: 1474519625 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 8 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_folder_full.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: abc3bcba87826854fbb6a41ba95e2ef4 3 | timeCreated: 1474519625 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 8 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_question_mark.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d21b7cb03e55cfb45af86bb2da7d042f 3 | timeCreated: 1474512101 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 8 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_upward_arrow.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf79b89cff311b845827423cdd159786 3 | timeCreated: 1474520961 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 8 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/Imgs/DOTweenIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b418641d69f2f9c4788ff1bab0f939f1 3 | timeCreated: 1474237106 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/DoTween/Editor/Imgs/Footer_dark.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5202b7bef107f59468c36afdc133fc41 3 | timeCreated: 1474237106 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_databox_icon_64_S.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dfde86fa5f639a441a44fd4d24cbe137 3 | timeCreated: 1474503089 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 8 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_dropdown_arrow.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 476264f4435f98a4d8d2a6fc3f73be6f 3 | timeCreated: 1474505049 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 8 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_entity_icon_64_S.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 879e2e74a75a4514d9958d0c70edf9c2 3 | timeCreated: 1474503826 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 8 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Resources/JEdit/Textures/jedit_icon_close_cross.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3af8d3c8d4d3e914b89aa62a7f55a3f5 3 | timeCreated: 1474511634 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 8 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/JECSU/Systems/Matcher/MatcherSystemController.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | using System; 4 | using System.Collections.Generic; 5 | 6 | /// 7 | /// This object wraps around Matcher System 8 | /// It is used by Systems class 9 | /// 10 | public class MatcherSystemController 11 | { 12 | IMatcherSystem system; 13 | Matcher matcher; 14 | //which types we will match 15 | List systemTypes = new List(); 16 | 17 | //here we get all generic types from system and create matcher out of them 18 | public void Initialize(IMatcherSystem _system) 19 | { 20 | system = _system; 21 | var interfaces = system.GetType().GetInterfaces(); 22 | 23 | foreach (var type in interfaces) 24 | { 25 | if (!type.IsGenericType) 26 | continue; 27 | Type gendef = type.GetGenericTypeDefinition(); 28 | if ( 29 | gendef == typeof(IMatcherSystem<>) || 30 | gendef == typeof(IMatcherSystem<,>) || 31 | gendef == typeof(IMatcherSystem<,,>) || 32 | gendef == typeof(IMatcherSystem<,,,>)) 33 | 34 | systemTypes.AddRange(type.GetGenericArguments()); 35 | } 36 | 37 | matcher = new Matcher(); 38 | matcher.OnMatchAdded += system.OnMatchAdded; 39 | matcher.OnMatchRemoved += system.OnMatchRemoved; 40 | 41 | matcher.SetIs(systemTypes.ToArray()); 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/GUIStyleState_DirectConverter.cs: -------------------------------------------------------------------------------- 1 | #if !NO_UNITY 2 | using System; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | namespace FullSerializer { 7 | partial class fsConverterRegistrar { 8 | public static Internal.DirectConverters.GUIStyleState_DirectConverter Register_GUIStyleState_DirectConverter; 9 | } 10 | } 11 | 12 | namespace FullSerializer.Internal.DirectConverters { 13 | public class GUIStyleState_DirectConverter : fsDirectConverter { 14 | protected override fsResult DoSerialize(GUIStyleState model, Dictionary serialized) { 15 | var result = fsResult.Success; 16 | 17 | result += SerializeMember(serialized, null, "background", model.background); 18 | result += SerializeMember(serialized, null, "textColor", model.textColor); 19 | 20 | return result; 21 | } 22 | 23 | protected override fsResult DoDeserialize(Dictionary data, ref GUIStyleState model) { 24 | var result = fsResult.Success; 25 | 26 | var t0 = model.background; 27 | result += DeserializeMember(data, null, "background", out t0); 28 | model.background = t0; 29 | 30 | var t2 = model.textColor; 31 | result += DeserializeMember(data, null, "textColor", out t2); 32 | model.textColor = t2; 33 | 34 | return result; 35 | } 36 | 37 | public override object CreateInstance(fsData data, Type storageType) { 38 | return new GUIStyleState(); 39 | } 40 | } 41 | } 42 | #endif -------------------------------------------------------------------------------- /Assets/JECSU/Interpolation/TransformInterpolator.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU 2 | { 3 | using UnityEngine; 4 | 5 | /// 6 | /// Object that performs interpolation, works in tandem with Interpolator component 7 | /// 8 | public class TransformInterpolator 9 | { 10 | /// 11 | /// target transform 12 | /// 13 | Transform transform; 14 | /// 15 | /// Set this to set next target position to interpolate to 16 | /// 17 | public Vector3 position { get { return transform.position; } set { was_posUpdated = true; lastPos = posUpdate; posUpdate = value; } } 18 | 19 | bool was_posUpdated; 20 | Vector3 posUpdate, lastPos; 21 | /// 22 | /// holds time since last pos_update 23 | /// 24 | float interpolationDriver; 25 | 26 | public TransformInterpolator(Transform target) 27 | { 28 | transform = target; 29 | InterpolationHandler.Register(this); 30 | } 31 | 32 | public void Update() 33 | { 34 | //if received new position reset timer 35 | if (was_posUpdated) 36 | { 37 | was_posUpdated = false; 38 | interpolationDriver = 0f; 39 | } 40 | 41 | interpolationDriver += Time.deltaTime; 42 | //remap time to 0-1 43 | float lerp = interpolationDriver.Remap(0f, Time.fixedDeltaTime, 0f, 1f); 44 | //set target position 45 | transform.position = Vector3.Lerp(lastPos, posUpdate, lerp); 46 | } 47 | } 48 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsContext.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace FullSerializer { 5 | /// 6 | /// fsContext stores global metadata that can be used to customize how fsConverters operate 7 | /// during serialization. 8 | /// 9 | public sealed class fsContext { 10 | /// 11 | /// All of the context objects. 12 | /// 13 | private readonly Dictionary _contextObjects = new Dictionary(); 14 | 15 | /// 16 | /// Removes all context objects from the context. 17 | /// 18 | public void Reset() { 19 | _contextObjects.Clear(); 20 | } 21 | 22 | /// 23 | /// Sets the context object for the given type with the given value. 24 | /// 25 | public void Set(T obj) { 26 | _contextObjects[typeof(T)] = obj; 27 | } 28 | 29 | /// 30 | /// Returns true if there is a context object for the given type. 31 | /// 32 | public bool Has() { 33 | return _contextObjects.ContainsKey(typeof(T)); 34 | } 35 | 36 | /// 37 | /// Fetches the context object for the given type. 38 | /// 39 | public T Get() { 40 | object val; 41 | if (_contextObjects.TryGetValue(typeof(T), out val)) { 42 | return (T)val; 43 | } 44 | throw new InvalidOperationException("There is no context object of type " + typeof(T)); 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/UnityEvent_Converter.cs: -------------------------------------------------------------------------------- 1 | #if !NO_UNITY 2 | using System; 3 | using UnityEngine; 4 | using UnityEngine.Events; 5 | 6 | namespace FullSerializer { 7 | partial class fsConverterRegistrar { 8 | public static Internal.Converters.UnityEvent_Converter Register_UnityEvent_Converter; 9 | } 10 | } 11 | 12 | namespace FullSerializer.Internal.Converters { 13 | // The standard FS reflection converter has started causing Unity to crash when processing 14 | // UnityEvent. We can send the serialization through JsonUtility which appears to work correctly 15 | // instead. 16 | // 17 | // We have to support legacy serialization formats so importing works as expected. 18 | public class UnityEvent_Converter : fsConverter { 19 | public override bool CanProcess(Type type) { 20 | return typeof(UnityEvent).Resolve().IsAssignableFrom(type) && type.IsGenericType == false; 21 | } 22 | 23 | public override bool RequestCycleSupport(Type storageType) { 24 | return false; 25 | } 26 | 27 | public override fsResult TryDeserialize(fsData data, ref object instance, Type storageType) { 28 | Type objectType = (Type)instance; 29 | 30 | fsResult result = fsResult.Success; 31 | instance = JsonUtility.FromJson(fsJsonPrinter.CompressedJson(data), objectType); 32 | return result; 33 | } 34 | 35 | public override fsResult TrySerialize(object instance, out fsData serialized, Type storageType) { 36 | fsResult result = fsResult.Success; 37 | serialized = fsJsonParser.Parse(JsonUtility.ToJson(instance)); 38 | return result; 39 | } 40 | } 41 | } 42 | #endif -------------------------------------------------------------------------------- /Assets/JECSU/Templating/JECSUConfig.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU.Serialization 2 | { 3 | 4 | using System; 5 | using System.IO; 6 | using System.Text; 7 | using System.Xml; 8 | using System.Xml.Serialization; 9 | using UnityEngine; 10 | /// 11 | /// This class represents the config of the database itself and is loaded from disc in root folder of the project in Database.xml 12 | /// 13 | [Serializable] 14 | public class JECSUConfig 15 | { 16 | public string templateDatabasePath = "default"; 17 | public string databoxDatabasePath = "default"; 18 | 19 | 20 | private static JECSUConfig _current; 21 | public static JECSUConfig current 22 | { 23 | get 24 | { 25 | if (_current != null) 26 | return _current; 27 | string path = Application.dataPath + "/JecsuConfig.xml"; 28 | var serializer = new XmlSerializer(typeof(JECSUConfig)); 29 | 30 | if (File.Exists(path)) 31 | { 32 | using (var fStream = new FileStream(path, FileMode.Open)) 33 | _current = (JECSUConfig)serializer.Deserialize(fStream); 34 | } 35 | 36 | else 37 | { 38 | _current = new JECSUConfig(); 39 | 40 | using (XmlTextWriter tw = new XmlTextWriter(path, Encoding.UTF8)) 41 | { 42 | tw.Formatting = Formatting.Indented; 43 | serializer.Serialize(tw, current); 44 | } 45 | } 46 | 47 | return _current; 48 | } 49 | } 50 | } 51 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Internal/fsVersionedType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace FullSerializer.Internal { 4 | public struct fsVersionedType { 5 | /// 6 | /// The direct ancestors that this type can import. 7 | /// 8 | public fsVersionedType[] Ancestors; 9 | 10 | /// 11 | /// The identifying string that is unique among all ancestors. 12 | /// 13 | public string VersionString; 14 | 15 | /// 16 | /// The modeling type that this versioned type maps back to. 17 | /// 18 | public Type ModelType; 19 | 20 | /// 21 | /// Migrate from an instance of an ancestor. 22 | /// 23 | public object Migrate(object ancestorInstance) { 24 | return Activator.CreateInstance(ModelType, ancestorInstance); 25 | } 26 | 27 | public override string ToString() { 28 | return "fsVersionedType [ModelType=" + ModelType + ", VersionString=" + VersionString + ", Ancestors.Length=" + Ancestors.Length + "]"; 29 | } 30 | 31 | public static bool operator ==(fsVersionedType a, fsVersionedType b) { 32 | return a.ModelType == b.ModelType; 33 | } 34 | 35 | public static bool operator !=(fsVersionedType a, fsVersionedType b) { 36 | return a.ModelType != b.ModelType; 37 | } 38 | 39 | public override bool Equals(object obj) { 40 | return 41 | obj is fsVersionedType && 42 | ModelType == ((fsVersionedType)obj).ModelType; 43 | } 44 | 45 | public override int GetHashCode() { 46 | return ModelType.GetHashCode(); 47 | } 48 | } 49 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/AnimationCurve_DirectConverter.cs: -------------------------------------------------------------------------------- 1 | #if !NO_UNITY 2 | using System; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | namespace FullSerializer { 7 | partial class fsConverterRegistrar { 8 | public static Internal.DirectConverters.AnimationCurve_DirectConverter Register_AnimationCurve_DirectConverter; 9 | } 10 | } 11 | 12 | namespace FullSerializer.Internal.DirectConverters { 13 | public class AnimationCurve_DirectConverter : fsDirectConverter { 14 | protected override fsResult DoSerialize(AnimationCurve model, Dictionary serialized) { 15 | var result = fsResult.Success; 16 | 17 | result += SerializeMember(serialized, null, "keys", model.keys); 18 | result += SerializeMember(serialized, null, "preWrapMode", model.preWrapMode); 19 | result += SerializeMember(serialized, null, "postWrapMode", model.postWrapMode); 20 | 21 | return result; 22 | } 23 | 24 | protected override fsResult DoDeserialize(Dictionary data, ref AnimationCurve model) { 25 | var result = fsResult.Success; 26 | 27 | var t0 = model.keys; 28 | result += DeserializeMember(data, null, "keys", out t0); 29 | model.keys = t0; 30 | 31 | var t1 = model.preWrapMode; 32 | result += DeserializeMember(data, null, "preWrapMode", out t1); 33 | model.preWrapMode = t1; 34 | 35 | var t2 = model.postWrapMode; 36 | result += DeserializeMember(data, null, "postWrapMode", out t2); 37 | model.postWrapMode = t2; 38 | 39 | return result; 40 | } 41 | 42 | public override object CreateInstance(fsData data, Type storageType) { 43 | return new AnimationCurve(); 44 | } 45 | } 46 | } 47 | #endif -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/Rect_DirectConverter.cs: -------------------------------------------------------------------------------- 1 | #if !NO_UNITY 2 | using System; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | namespace FullSerializer { 7 | partial class fsConverterRegistrar { 8 | public static Internal.DirectConverters.Rect_DirectConverter Register_Rect_DirectConverter; 9 | } 10 | } 11 | 12 | namespace FullSerializer.Internal.DirectConverters { 13 | public class Rect_DirectConverter : fsDirectConverter { 14 | protected override fsResult DoSerialize(Rect model, Dictionary serialized) { 15 | var result = fsResult.Success; 16 | 17 | result += SerializeMember(serialized, null, "xMin", model.xMin); 18 | result += SerializeMember(serialized, null, "yMin", model.yMin); 19 | result += SerializeMember(serialized, null, "xMax", model.xMax); 20 | result += SerializeMember(serialized, null, "yMax", model.yMax); 21 | 22 | return result; 23 | } 24 | 25 | protected override fsResult DoDeserialize(Dictionary data, ref Rect model) { 26 | var result = fsResult.Success; 27 | 28 | var t0 = model.xMin; 29 | result += DeserializeMember(data, null, "xMin", out t0); 30 | model.xMin = t0; 31 | 32 | var t1 = model.yMin; 33 | result += DeserializeMember(data, null, "yMin", out t1); 34 | model.yMin = t1; 35 | 36 | var t2 = model.xMax; 37 | result += DeserializeMember(data, null, "xMax", out t2); 38 | model.xMax = t2; 39 | 40 | var t3 = model.yMax; 41 | result += DeserializeMember(data, null, "yMax", out t3); 42 | model.yMax = t3; 43 | 44 | return result; 45 | } 46 | 47 | public override object CreateInstance(fsData data, Type storageType) { 48 | return new Rect(); 49 | } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsDirectConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace FullSerializer { 5 | /// 6 | /// The direct converter is similar to a regular converter, except that it targets specifically only one type. 7 | /// This means that it can be used without performance impact when discovering converters. It is strongly 8 | /// recommended that you derive from fsDirectConverter{TModel}. 9 | /// 10 | /// Due to the way that direct converters operate, inheritance is *not* supported. Direct converters 11 | /// will only be used with the exact ModelType object. 12 | public abstract class fsDirectConverter : fsBaseConverter { 13 | public abstract Type ModelType { get; } 14 | } 15 | 16 | public abstract class fsDirectConverter : fsDirectConverter { 17 | public override Type ModelType { get { return typeof(TModel); } } 18 | 19 | public sealed override fsResult TrySerialize(object instance, out fsData serialized, Type storageType) { 20 | var serializedDictionary = new Dictionary(); 21 | var result = DoSerialize((TModel)instance, serializedDictionary); 22 | serialized = new fsData(serializedDictionary); 23 | return result; 24 | } 25 | 26 | public sealed override fsResult TryDeserialize(fsData data, ref object instance, Type storageType) { 27 | var result = fsResult.Success; 28 | if ((result += CheckType(data, fsDataType.Object)).Failed) return result; 29 | 30 | var obj = (TModel)instance; 31 | result += DoDeserialize(data.AsDictionary, ref obj); 32 | instance = obj; 33 | return result; 34 | } 35 | 36 | protected abstract fsResult DoSerialize(TModel model, Dictionary serialized); 37 | protected abstract fsResult DoDeserialize(Dictionary data, ref TModel model); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/RectOffset_DirectConverter.cs: -------------------------------------------------------------------------------- 1 | #if !NO_UNITY 2 | using System; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | namespace FullSerializer { 7 | partial class fsConverterRegistrar { 8 | public static Internal.DirectConverters.RectOffset_DirectConverter Register_RectOffset_DirectConverter; 9 | } 10 | } 11 | 12 | namespace FullSerializer.Internal.DirectConverters { 13 | public class RectOffset_DirectConverter : fsDirectConverter { 14 | protected override fsResult DoSerialize(RectOffset model, Dictionary serialized) { 15 | var result = fsResult.Success; 16 | 17 | result += SerializeMember(serialized, null, "bottom", model.bottom); 18 | result += SerializeMember(serialized, null, "left", model.left); 19 | result += SerializeMember(serialized, null, "right", model.right); 20 | result += SerializeMember(serialized, null, "top", model.top); 21 | 22 | return result; 23 | } 24 | 25 | protected override fsResult DoDeserialize(Dictionary data, ref RectOffset model) { 26 | var result = fsResult.Success; 27 | 28 | var t0 = model.bottom; 29 | result += DeserializeMember(data, null, "bottom", out t0); 30 | model.bottom = t0; 31 | 32 | var t2 = model.left; 33 | result += DeserializeMember(data, null, "left", out t2); 34 | model.left = t2; 35 | 36 | var t3 = model.right; 37 | result += DeserializeMember(data, null, "right", out t3); 38 | model.right = t3; 39 | 40 | var t4 = model.top; 41 | result += DeserializeMember(data, null, "top", out t4); 42 | model.top = t4; 43 | 44 | return result; 45 | } 46 | 47 | public override object CreateInstance(fsData data, Type storageType) { 48 | return new RectOffset(); 49 | } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Assets/JECSU/Helpers.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | namespace JECSU 5 | { 6 | public static class Helpers 7 | { 8 | public static class Math 9 | { 10 | 11 | } 12 | 13 | /// 14 | /// Changes float from range, to range 15 | /// 16 | /// 17 | /// 18 | /// 19 | /// 20 | /// 21 | /// 22 | public static float Remap(this float value, float from1, float to1, float from2, float to2) 23 | { 24 | return (value - from1) / (to1 - from1) * (to2 - from2) + from2; 25 | } 26 | 27 | public static void DestroyChildren(this Transform tr) 28 | { 29 | List list = new List(); 30 | foreach (Transform child in tr) 31 | { 32 | list.Add(child); 33 | } 34 | int count = list.Count; 35 | for (int i = 0; i < count; i++) 36 | { 37 | GameObject.Destroy(list[i].gameObject); 38 | } 39 | } 40 | 41 | public static GameObject SpawnPrefab(string path) 42 | { 43 | var pref = Resources.Load(path); 44 | return GameObject.Instantiate(pref); 45 | } 46 | 47 | //Breadth-first search 48 | public static Transform FindDeepChild(this Transform aParent, string aName) 49 | { 50 | var result = aParent.Find(aName); 51 | if (result != null) 52 | return result; 53 | foreach (Transform child in aParent) 54 | { 55 | result = child.FindDeepChild(aName); 56 | if (result != null) 57 | return result; 58 | } 59 | return null; 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /Assets/JECSU/Serialization/Save.cs: -------------------------------------------------------------------------------- 1 | //TODO : migrate to yaml 2 | namespace JECSU.Serialization 3 | { 4 | using UnityEngine; 5 | using System.Collections.Generic; 6 | using Components; 7 | using FullSerializer; 8 | using System.IO; 9 | 10 | /// 11 | /// This is experimental class, exploring the options to fully save flat program state. This will probably use yaml at some point. 12 | /// About: performs save, uses FullSerializer for that 13 | /// How to: 14 | /// Add "Serializeable" component on entities you need saved. 15 | /// Set path to savefile 16 | /// Use SaveState(); 17 | /// 18 | public class Save : MonoBehaviour 19 | { 20 | /// 21 | /// save file path 22 | /// 23 | static string relativeFolder = "/Save/savefile.sav"; 24 | 25 | /// 26 | /// Use this to save all entities that have "Serializeable" Component on them. 27 | /// 28 | public void SaveGame() 29 | { 30 | SaveState(); 31 | } 32 | 33 | public static void SaveState() 34 | { 35 | List tosave = Matcher.Is(); 36 | 37 | string path = Application.dataPath + relativeFolder; 38 | 39 | Serialize(tosave, path, true); 40 | } 41 | 42 | static bool Serialize(object obj, string path, bool beautify) 43 | { 44 | fsSerializer _serializer = new fsSerializer(); 45 | fsData data; 46 | _serializer.TrySerialize(obj, out data).AssertSuccessWithoutWarnings(); 47 | StreamWriter sw = new StreamWriter(path); 48 | switch (beautify) 49 | { 50 | case true: 51 | sw.Write(fsJsonPrinter.PrettyJson(data)); 52 | break; 53 | case false: 54 | sw.Write(fsJsonPrinter.CompressedJson(data)); 55 | break; 56 | } 57 | 58 | sw.Close(); 59 | return true; 60 | } 61 | } 62 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Reflection/fsReflectionUtility.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | #if !UNITY_EDITOR && UNITY_WSA 4 | // For System.Reflection.TypeExtensions 5 | using System.Reflection; 6 | #endif 7 | 8 | namespace FullSerializer.Internal { 9 | public static class fsReflectionUtility { 10 | /// 11 | /// Searches for a particular implementation of the given interface type inside of the type. 12 | /// This is particularly useful if the interface type is an open type, ie, typeof(IFace{}), 13 | /// because this method will then return IFace{} but with appropriate type parameters 14 | /// inserted. 15 | /// 16 | /// The base type to search for interface 17 | /// The interface type to search for. Can be an open generic 18 | /// type. 19 | /// The actual interface type that the type contains, or null if there is no 20 | /// implementation of the given interfaceType on type. 21 | public static Type GetInterface(Type type, Type interfaceType) { 22 | if (interfaceType.Resolve().IsGenericType && 23 | interfaceType.Resolve().IsGenericTypeDefinition == false) { 24 | 25 | throw new ArgumentException("GetInterface requires that if the interface " + 26 | "type is generic, then it must be the generic type definition, not a " + 27 | "specific generic type instantiation"); 28 | }; 29 | 30 | while (type != null) { 31 | foreach (var iface in type.GetInterfaces()) { 32 | if (iface.Resolve().IsGenericType) { 33 | if (interfaceType == iface.GetGenericTypeDefinition()) { 34 | return iface; 35 | } 36 | } 37 | 38 | else if (interfaceType == iface) { 39 | return iface; 40 | } 41 | } 42 | 43 | type = type.Resolve().BaseType; 44 | } 45 | 46 | return null; 47 | } 48 | } 49 | } -------------------------------------------------------------------------------- /Assets/Example/palm.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9569179b5e1e9174ca470ecadbdc4e67 3 | timeCreated: 1474129220 4 | licenseType: Free 5 | ModelImporter: 6 | serializedVersion: 19 7 | fileIDToRecycleName: 8 | 100000: //RootNode 9 | 400000: //RootNode 10 | 2300000: //RootNode 11 | 3300000: //RootNode 12 | 4300000: polySurface1 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | resampleCurves: 1 21 | optimizeGameObjects: 0 22 | motionNodeName: 23 | animationImportErrors: 24 | animationImportWarnings: 25 | animationRetargetingWarnings: 26 | animationDoRetargetingWarnings: 0 27 | animationCompression: 1 28 | animationRotationError: 0.5 29 | animationPositionError: 0.5 30 | animationScaleError: 0.5 31 | animationWrapMode: 0 32 | extraExposedTransformPaths: [] 33 | clipAnimations: [] 34 | isReadable: 1 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | importBlendShapes: 1 41 | swapUVChannels: 0 42 | generateSecondaryUV: 0 43 | useFileUnits: 1 44 | optimizeMeshForGPU: 1 45 | keepQuads: 0 46 | weldVertices: 1 47 | secondaryUVAngleDistortion: 8 48 | secondaryUVAreaDistortion: 15.000001 49 | secondaryUVHardAngle: 88 50 | secondaryUVPackMargin: 4 51 | useFileScale: 1 52 | tangentSpace: 53 | normalSmoothAngle: 60 54 | normalImportMode: 0 55 | tangentImportMode: 3 56 | importAnimation: 1 57 | copyAvatar: 0 58 | humanDescription: 59 | human: [] 60 | skeleton: [] 61 | armTwist: 0.5 62 | foreArmTwist: 0.5 63 | upperLegTwist: 0.5 64 | legTwist: 0.5 65 | armStretch: 0.05 66 | legStretch: 0.05 67 | feetSpacing: 0 68 | rootMotionBoneName: 69 | hasTranslationDoF: 0 70 | lastHumanDescriptionAvatarSource: {instanceID: 0} 71 | animationType: 0 72 | humanoidOversampling: 1 73 | additionalBone: 0 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/JECSUEditor_UI.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU.Editor 2 | { 3 | 4 | using UnityEngine; 5 | using System; 6 | using System.Collections.Generic; 7 | using UnityEngine.UI; 8 | 9 | [RequireComponent(typeof(JECSUEditor))] 10 | public class JECSUEditor_UI : MonoBehaviour 11 | { 12 | public static bool isCameraInput; 13 | [SerializeField] 14 | private GameObject 15 | NewEntityBar, 16 | LeftPanel, 17 | RightPanel; 18 | [SerializeField] 19 | private RectTransform entityListContent; 20 | [SerializeField] 21 | private Text selectedText; 22 | 23 | public void SetSelectedName(string name) 24 | { 25 | selectedText.text = " " + name; 26 | } 27 | 28 | void Awake() 29 | { 30 | EntityManager.OnEntityRegistered += PopulateEntityList; 31 | } 32 | 33 | void PopulateEntityList(Entity entity) 34 | { 35 | GameObject prefab = Resources.Load("JEdit/UI/EntityListElem") as GameObject; 36 | entityListContent.DestroyChildren(); 37 | if(EntityManager.current != null) 38 | { 39 | foreach (var ent in EntityManager.entities) 40 | { 41 | var go = Instantiate(prefab); 42 | go.transform.SetParent(entityListContent, false); 43 | go.GetComponentInChildren().text = ent.name; 44 | } 45 | } 46 | } 47 | 48 | public void OnNewEntityButton(bool state) 49 | { 50 | NewEntityBar.SetActive(state); 51 | } 52 | 53 | public void LeftPanelState(bool state) 54 | { 55 | if (state) 56 | LeftPanel.GetComponent().GoEnd(); 57 | else 58 | LeftPanel.GetComponent().GoStart(); 59 | 60 | } 61 | 62 | public void RightPanelState(bool state) 63 | { 64 | if (state) 65 | RightPanel.GetComponent().GoEnd(); 66 | else 67 | RightPanel.GetComponent().GoStart(); 68 | 69 | } 70 | } 71 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/Unity/Keyframe_DirectConverter.cs: -------------------------------------------------------------------------------- 1 | #if !NO_UNITY 2 | using System; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | namespace FullSerializer { 7 | partial class fsConverterRegistrar { 8 | public static Internal.DirectConverters.Keyframe_DirectConverter Register_Keyframe_DirectConverter; 9 | } 10 | } 11 | 12 | namespace FullSerializer.Internal.DirectConverters { 13 | public class Keyframe_DirectConverter : fsDirectConverter { 14 | protected override fsResult DoSerialize(Keyframe model, Dictionary serialized) { 15 | var result = fsResult.Success; 16 | 17 | result += SerializeMember(serialized, null, "time", model.time); 18 | result += SerializeMember(serialized, null, "value", model.value); 19 | result += SerializeMember(serialized, null, "tangentMode", model.tangentMode); 20 | result += SerializeMember(serialized, null, "inTangent", model.inTangent); 21 | result += SerializeMember(serialized, null, "outTangent", model.outTangent); 22 | 23 | return result; 24 | } 25 | 26 | protected override fsResult DoDeserialize(Dictionary data, ref Keyframe model) { 27 | var result = fsResult.Success; 28 | 29 | var t0 = model.time; 30 | result += DeserializeMember(data, null, "time", out t0); 31 | model.time = t0; 32 | 33 | var t1 = model.value; 34 | result += DeserializeMember(data, null, "value", out t1); 35 | model.value = t1; 36 | 37 | var t2 = model.tangentMode; 38 | result += DeserializeMember(data, null, "tangentMode", out t2); 39 | model.tangentMode = t2; 40 | 41 | var t3 = model.inTangent; 42 | result += DeserializeMember(data, null, "inTangent", out t3); 43 | model.inTangent = t3; 44 | 45 | var t4 = model.outTangent; 46 | result += DeserializeMember(data, null, "outTangent", out t4); 47 | model.outTangent = t4; 48 | 49 | return result; 50 | } 51 | 52 | public override object CreateInstance(fsData data, Type storageType) { 53 | return new Keyframe(); 54 | } 55 | } 56 | } 57 | #endif -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/fsObjectAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace FullSerializer { 4 | /// 5 | /// This attribute controls some serialization behavior for a type. See the comments 6 | /// on each of the fields for more information. 7 | /// 8 | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] 9 | public sealed class fsObjectAttribute : Attribute { 10 | /// 11 | /// The previous model that should be used if an old version of this 12 | /// object is encountered. Using this attribute also requires that the 13 | /// type have a public constructor that takes only one parameter, an object 14 | /// instance of the given type. Use of this parameter *requires* that 15 | /// the VersionString parameter is also set. 16 | /// 17 | public Type[] PreviousModels; 18 | 19 | /// 20 | /// The version string to use for this model. This should be unique among all 21 | /// prior versions of this model that is supported for importation. If PreviousModel 22 | /// is set, then this attribute must also be set. A good valid example for this 23 | /// is "v1", "v2", "v3", ... 24 | /// 25 | public string VersionString; 26 | 27 | /// 28 | /// This controls the behavior for member serialization. 29 | /// The default behavior is fsMemberSerialization.Default. 30 | /// 31 | public fsMemberSerialization MemberSerialization = fsMemberSerialization.Default; 32 | 33 | /// 34 | /// Specify a custom converter to use for serialization. The converter type needs 35 | /// to derive from fsBaseConverter. This defaults to null. 36 | /// 37 | public Type Converter; 38 | 39 | /// 40 | /// Specify a custom processor to use during serialization. The processor type needs 41 | /// to derive from fsObjectProcessor and the call to CanProcess is not invoked. This 42 | /// defaults to null. 43 | /// 44 | public Type Processor; 45 | 46 | public fsObjectAttribute() { } 47 | public fsObjectAttribute(string versionString, params Type[] previousModels) { 48 | VersionString = versionString; 49 | PreviousModels = previousModels; 50 | } 51 | } 52 | } -------------------------------------------------------------------------------- /Assets/JECSU/JEdit/JECSUEditor.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU.Editor { 2 | using UnityEngine; 3 | using System; 4 | using System.Collections.Generic; 5 | using Components; 6 | 7 | public class JECSUEditor : MonoBehaviour { 8 | 9 | Entity selected, prevSelected; 10 | JECSUEditor_UI editorUI; 11 | 12 | void Awake() 13 | { 14 | editorUI = GetComponent(); 15 | } 16 | 17 | void Update() 18 | { 19 | TrackSelection(); 20 | } 21 | 22 | void TrackSelection() 23 | { 24 | if (Input.GetKey(KeyCode.Mouse0) && !JECSUEditor_UI.isCameraInput) 25 | { 26 | if (!Camera.current) 27 | return; 28 | Ray ray = Camera.current.ScreenPointToRay(Input.mousePosition); 29 | RaycastHit hit = new RaycastHit(); 30 | if(Physics.Raycast(ray, out hit, Mathf.Infinity)) 31 | { 32 | var gameview = hit.collider.gameObject.GetComponent(); 33 | if (gameview && gameview.entity != selected) 34 | { 35 | if(selected!=null) 36 | { 37 | DisableHighlightOn(selected); 38 | } 39 | prevSelected = selected; 40 | 41 | gameview.gameObject.AddComponent(); 42 | selected = gameview.entity; 43 | editorUI.SetSelectedName(selected.name); 44 | } 45 | } 46 | else 47 | { 48 | if (selected != null) 49 | DisableHighlightOn(selected); 50 | selected = null; 51 | } 52 | } 53 | } 54 | 55 | void DisableHighlightOn(Entity ent) 56 | { 57 | var gameviewcomponent = ent.GetComponent(); 58 | 59 | if (gameviewcomponent != null && gameviewcomponent.view.GetComponent()) 60 | { 61 | Destroy(gameviewcomponent.view.GetComponent()); 62 | } 63 | } 64 | 65 | public void tryCreateNewEntity(string databaseID) 66 | { 67 | Entity.FromID(databaseID); 68 | } 69 | } 70 | } -------------------------------------------------------------------------------- /Assets/JECSU/Interpolation/InterpolationHandler.cs: -------------------------------------------------------------------------------- 1 | namespace JECSU { 2 | 3 | using UnityEngine; 4 | using System.Collections.Generic; 5 | 6 | /// 7 | /// About: 8 | /// Manages all interpolators in the scene 9 | /// Purpose: 10 | /// Interpolates position of a view GameObject in the scene. 11 | /// How to use: 12 | /// Its assumed that your entity has Position component. 13 | /// Its assumed you already have a GameObject that represents your entity in scene. 14 | /// Add Interpolator component to your entity. 15 | /// initialize it with Interpolator.Init( target transform ); 16 | /// Supply interpolator COMPONENT with target position, through "position" property. 17 | /// 18 | /// Remarks: 19 | /// Interpolator assumes that entity system tick runs in FixedUpdate, thus Time.fixedTimeDelta is used 20 | /// 21 | public class InterpolationHandler : MonoBehaviour { 22 | 23 | 24 | #region SINGLETON 25 | private static InterpolationHandler _instance; 26 | public static InterpolationHandler instance { get { if (!_instance) _instance = GameObject.FindObjectOfType(); return _instance; } } 27 | #endregion 28 | 29 | 30 | public List interpolators = new List(); 31 | 32 | /// 33 | /// Constructs interpolationHandler in scene 34 | /// 35 | static void MakeNew() 36 | { 37 | GameObject root = new GameObject("InterpolationHandler"); 38 | root.AddComponent(); 39 | } 40 | 41 | /// 42 | /// Do not directly call, its automated 43 | /// 44 | /// 45 | public static void Register(TransformInterpolator interpolator) 46 | { 47 | if (instance == null) 48 | MakeNew(); 49 | 50 | instance.register(interpolator); 51 | } 52 | 53 | void register(TransformInterpolator interpolator) 54 | { 55 | interpolators.Add(interpolator); 56 | } 57 | 58 | void Update() 59 | { 60 | int count = interpolators.Count; 61 | for (int i = 0; i < count; i++) 62 | { 63 | interpolators[i].Update(); 64 | } 65 | } 66 | } 67 | } -------------------------------------------------------------------------------- /Assets/JECSU/Dependencies/fs/Converters/fsWeakReferenceConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace FullSerializer.Internal { 4 | /// 5 | /// Serializes and deserializes WeakReferences. 6 | /// 7 | public class fsWeakReferenceConverter : fsConverter { 8 | public override bool CanProcess(Type type) { 9 | return type == typeof(WeakReference); 10 | } 11 | 12 | public override bool RequestCycleSupport(Type storageType) { 13 | return false; 14 | } 15 | 16 | public override bool RequestInheritanceSupport(Type storageType) { 17 | return false; 18 | } 19 | 20 | public override fsResult TrySerialize(object instance, out fsData serialized, Type storageType) { 21 | var weakRef = (WeakReference)instance; 22 | 23 | var result = fsResult.Success; 24 | serialized = fsData.CreateDictionary(); 25 | 26 | if (weakRef.IsAlive) { 27 | fsData data; 28 | if ((result += Serializer.TrySerialize(weakRef.Target, out data)).Failed) { 29 | return result; 30 | } 31 | 32 | serialized.AsDictionary["Target"] = data; 33 | serialized.AsDictionary["TrackResurrection"] = new fsData(weakRef.TrackResurrection); 34 | } 35 | 36 | return result; 37 | } 38 | 39 | public override fsResult TryDeserialize(fsData data, ref object instance, Type storageType) { 40 | var result = fsResult.Success; 41 | 42 | if ((result += CheckType(data, fsDataType.Object)).Failed) return result; 43 | 44 | if (data.AsDictionary.ContainsKey("Target")) { 45 | var targetData = data.AsDictionary["Target"]; 46 | object targetInstance = null; 47 | 48 | if ((result += Serializer.TryDeserialize(targetData, typeof(object), ref targetInstance)).Failed) return result; 49 | 50 | bool trackResurrection = false; 51 | if (data.AsDictionary.ContainsKey("TrackResurrection") && data.AsDictionary["TrackResurrection"].IsBool) { 52 | trackResurrection = data.AsDictionary["TrackResurrection"].AsBool; 53 | } 54 | 55 | instance = new WeakReference(targetInstance, trackResurrection); 56 | } 57 | 58 | return result; 59 | } 60 | 61 | public override object CreateInstance(fsData data, Type storageType) { 62 | return new WeakReference(null); 63 | } 64 | } 65 | } --------------------------------------------------------------------------------