├── .gitignore ├── Base.meta ├── Base ├── AI.meta ├── AI │ ├── AIController.cs │ ├── AIController.cs.meta │ ├── BehaviourTree.cs │ ├── BehaviourTree.cs.meta │ ├── Blackboard.meta │ ├── Blackboard │ │ ├── Blackboard.cs │ │ └── Blackboard.cs.meta │ ├── Nodes.meta │ └── Nodes │ │ ├── BehaviourTreeNode.cs │ │ ├── BehaviourTreeNode.cs.meta │ │ ├── Compositor.meta │ │ ├── Compositor │ │ ├── CompositeNode.cs │ │ ├── CompositeNode.cs.meta │ │ ├── Parallel.cs │ │ ├── Parallel.cs.meta │ │ ├── Selector.cs │ │ ├── Selector.cs.meta │ │ ├── Sequence.cs │ │ └── Sequence.cs.meta │ │ ├── Decorator.meta │ │ ├── Decorator │ │ ├── DecoratorNode.cs │ │ ├── DecoratorNode.cs.meta │ │ ├── Negation.cs │ │ ├── Negation.cs.meta │ │ ├── Repeater.cs │ │ ├── Repeater.cs.meta │ │ ├── Succeder.cs │ │ ├── Succeder.cs.meta │ │ ├── Until.cs │ │ └── Until.cs.meta │ │ ├── NodeResult.cs │ │ ├── NodeResult.cs.meta │ │ ├── ParentNode.cs │ │ ├── ParentNode.cs.meta │ │ ├── TaskNode.cs │ │ └── TaskNode.cs.meta ├── ActionGraph.meta ├── ActionGraph │ ├── ActionGraph.cs │ ├── ActionGraph.cs.meta │ ├── ActionGraphNode.cs │ ├── ActionGraphNode.cs.meta │ ├── ActionGraphNodeBase.cs │ ├── ActionGraphNodeBase.cs.meta │ ├── Actions.meta │ ├── Actions │ │ ├── BaseAction.cs │ │ └── BaseAction.cs.meta │ ├── Condition.cs │ ├── Condition.cs.meta │ ├── Conditions.meta │ ├── Conditions │ │ ├── ParamEquals.cs │ │ ├── ParamEquals.cs.meta │ │ ├── TriggerEnter.cs │ │ └── TriggerEnter.cs.meta │ ├── Entries.meta │ ├── Entries │ │ ├── AnyEntry.cs │ │ ├── AnyEntry.cs.meta │ │ ├── EventEntry.cs │ │ └── EventEntry.cs.meta │ ├── GraphEntry.cs │ ├── GraphEntry.cs.meta │ ├── IActionGraphOwner.cs │ ├── IActionGraphOwner.cs.meta │ ├── Nodes.meta │ └── Nodes │ │ ├── ActionAnimParam.cs │ │ ├── ActionAnimParam.cs.meta │ │ ├── ActionChangeState.cs │ │ ├── ActionChangeState.cs.meta │ │ ├── ActionEvent.cs │ │ ├── ActionEvent.cs.meta │ │ ├── ActionSelector.cs │ │ ├── ActionSelector.cs.meta │ │ ├── ActionState.cs │ │ └── ActionState.cs.meta ├── Attributes.meta ├── Attributes │ ├── AnimatorParam.cs │ ├── AnimatorParam.cs.meta │ ├── AsReorderableList.cs │ ├── AsReorderableList.cs.meta │ ├── CreatedByFactory.cs │ ├── CreatedByFactory.cs.meta │ ├── MinMaxRangeAttribute.cs │ ├── MinMaxRangeAttribute.cs.meta │ ├── RequireValue.cs │ ├── RequireValue.cs.meta │ ├── Validate.cs │ ├── Validate.cs.meta │ ├── VisibleInInspector.cs │ └── VisibleInInspector.cs.meta ├── BaseBehaviour.cs ├── BaseBehaviour.cs.meta ├── BaseEditorAttribute.cs ├── BaseEditorAttribute.cs.meta ├── BaseScriptableObject.cs ├── BaseScriptableObject.cs.meta ├── CameraManager.cs ├── CameraManager.cs.meta ├── Console.meta ├── Console │ ├── ConsoleController.cs │ ├── ConsoleController.cs.meta │ ├── DebugConsole.cs │ └── DebugConsole.cs.meta ├── Core.meta ├── Core │ ├── BasePawn.cs │ ├── BasePawn.cs.meta │ ├── Camera.meta │ ├── Camera │ │ ├── ActionCamera.cs │ │ ├── ActionCamera.cs.meta │ │ ├── CameraBase.cs │ │ └── CameraBase.cs.meta │ ├── ControllSystem.cs │ ├── ControllSystem.cs.meta │ ├── Controller.cs │ ├── Controller.cs.meta │ ├── StatePawn.meta │ └── StatePawn │ │ ├── PawnAir.cs │ │ ├── PawnAir.cs.meta │ │ ├── PawnFall.cs │ │ ├── PawnFall.cs.meta │ │ ├── PawnIdle.cs │ │ ├── PawnIdle.cs.meta │ │ ├── PawnJump.cs │ │ ├── PawnJump.cs.meta │ │ ├── PawnMove.cs │ │ ├── PawnMove.cs.meta │ │ ├── PawnState.cs │ │ ├── PawnState.cs.meta │ │ ├── StatePawn.cs │ │ └── StatePawn.cs.meta ├── Dialog.meta ├── Dialog │ ├── Dialog.cs │ ├── Dialog.cs.meta │ ├── DialogActor.cs │ ├── DialogActor.cs.meta │ ├── DialogGameState.cs │ ├── DialogGameState.cs.meta │ ├── DialogInstance.cs │ ├── DialogInstance.cs.meta │ ├── DialogParser.cs │ ├── DialogParser.cs.meta │ ├── GUI.meta │ ├── GUI │ │ ├── IGUIDialogMenu.cs │ │ ├── IGUIDialogMenu.cs.meta │ │ ├── IGUIDialogTopic.cs │ │ └── IGUIDialogTopic.cs.meta │ ├── IDialogStateHandler.cs │ ├── IDialogStateHandler.cs.meta │ ├── MenuHandler.cs │ ├── MenuHandler.cs.meta │ ├── States.meta │ ├── States │ │ ├── DialogActorSlot.cs │ │ ├── DialogActorSlot.cs.meta │ │ ├── DialogFunctionSlot.cs │ │ ├── DialogFunctionSlot.cs.meta │ │ ├── DialogMenu.cs │ │ ├── DialogMenu.cs.meta │ │ ├── DialogState.cs │ │ ├── DialogState.cs.meta │ │ ├── DialogTopic.cs │ │ ├── DialogTopic.cs.meta │ │ ├── Items.meta │ │ └── Items │ │ │ ├── ExitItem.cs │ │ │ ├── ExitItem.cs.meta │ │ │ ├── GotoItem.cs │ │ │ ├── GotoItem.cs.meta │ │ │ ├── InvokeItem.cs │ │ │ ├── InvokeItem.cs.meta │ │ │ ├── SayItem.cs │ │ │ └── SayItem.cs.meta │ ├── TopicHandler.cs │ ├── TopicHandler.cs.meta │ ├── TopicItemHandler.cs │ └── TopicItemHandler.cs.meta ├── EditorPublic.meta ├── EditorPublic │ ├── IReorderableNotify.cs │ ├── IReorderableNotify.cs.meta │ ├── PropertyPath.cs │ ├── PropertyPath.cs.meta │ ├── ReflectionPathBuilder.cs │ └── ReflectionPathBuilder.cs.meta ├── EntryPoint.cs ├── EntryPoint.cs.meta ├── EventSystem.meta ├── EventSystem │ ├── EventScheduler.cs │ ├── EventScheduler.cs.meta │ ├── PlayableEvent.cs │ ├── PlayableEvent.cs.meta │ ├── PlayableEventBehaviour.cs │ ├── PlayableEventBehaviour.cs.meta │ ├── PlayableEventMixer.cs │ ├── PlayableEventMixer.cs.meta │ ├── PlayableEventTrack.cs │ └── PlayableEventTrack.cs.meta ├── Game.cs ├── Game.cs.meta ├── GameLoadingScreenState.cs ├── GameLoadingScreenState.cs.meta ├── GameState.cs ├── GameState.cs.meta ├── Gameplay.meta ├── Gameplay │ ├── ActionActivator.cs │ ├── ActionActivator.cs.meta │ ├── Activateable.cs │ ├── Activateable.cs.meta │ ├── Damageable.cs │ ├── Damageable.cs.meta │ ├── GUI.meta │ ├── GUI │ │ ├── IGUIActivateable.cs │ │ └── IGUIActivateable.cs.meta │ ├── GroundChecker.cs │ ├── GroundChecker.cs.meta │ ├── PawnVelocityDebug.cs │ ├── PawnVelocityDebug.cs.meta │ ├── SimpleActivator.cs │ ├── SimpleActivator.cs.meta │ ├── SimpleGroundChecker.cs │ └── SimpleGroundChecker.cs.meta ├── IBaseObject.cs ├── IBaseObject.cs.meta ├── ICinematicCamera.cs ├── ICinematicCamera.cs.meta ├── ILevelDependable.cs ├── ILevelDependable.cs.meta ├── ITickable.cs ├── ITickable.cs.meta ├── ListReordeable.cs ├── ListReordeable.cs.meta ├── Mesh.meta ├── Mesh │ ├── CharacterMesh.cs │ ├── CharacterMesh.cs.meta │ ├── CharacterSlotsDefinition.cs │ └── CharacterSlotsDefinition.cs.meta ├── Parameter.meta ├── Parameter │ ├── DataBank.cs │ ├── DataBank.cs.meta │ ├── DataSet.cs │ ├── DataSet.cs.meta │ ├── DataSetInstance.cs │ ├── DataSetInstance.cs.meta │ ├── IDataSet.cs │ ├── IDataSet.cs.meta │ ├── KnownType.cs │ ├── KnownType.cs.meta │ ├── Parameter.cs │ ├── Parameter.cs.meta │ ├── ParameterReference.cs │ ├── ParameterReference.cs.meta │ ├── Parametrized.cs │ ├── Parametrized.cs.meta │ ├── ParametrizedProperty.cs │ ├── ParametrizedProperty.cs.meta │ ├── SceneDataSet.cs │ ├── SceneDataSet.cs.meta │ ├── TypeRestricted.cs │ ├── TypeRestricted.cs.meta │ ├── Variant.cs │ └── Variant.cs.meta ├── ParametrizedScriptableObject.cs ├── ParametrizedScriptableObject.cs.meta ├── Parser.meta ├── Parser │ ├── ScriptParser.cs │ └── ScriptParser.cs.meta ├── Player.meta ├── Player │ ├── ActionPlayerController.cs │ ├── ActionPlayerController.cs.meta │ ├── BasePlayerController.cs │ ├── BasePlayerController.cs.meta │ ├── Input.meta │ ├── Input │ │ ├── ActionInput.cs │ │ ├── ActionInput.cs.meta │ │ ├── GenericInputBuffer.cs │ │ ├── GenericInputBuffer.cs.meta │ │ ├── InputBuffer.cs │ │ ├── InputBuffer.cs.meta │ │ ├── InputButtonEnum.cs │ │ ├── InputButtonEnum.cs.meta │ │ ├── InputScheme.cs │ │ └── InputScheme.cs.meta │ ├── SimplePlayerController.cs │ └── SimplePlayerController.cs.meta ├── SceneLoader.cs ├── SceneLoader.cs.meta ├── SerializedType.cs ├── SerializedType.cs.meta ├── SettingsManager.cs ├── SettingsManager.cs.meta ├── Socket.meta └── Socket │ ├── CustomProperties.cs │ ├── CustomProperties.cs.meta │ ├── SocketManager.cs │ └── SocketManager.cs.meta ├── Dependencies.meta ├── Dependencies ├── RSG.Promise.dll └── RSG.Promise.dll.meta ├── Editor.meta ├── Editor ├── AI.meta ├── AI │ ├── BehaviourTreeEditorNode.cs │ ├── BehaviourTreeEditorNode.cs.meta │ ├── BehaviourTreeEditorPresenter.cs │ ├── BehaviourTreeEditorPresenter.cs.meta │ ├── BehaviourTreeEditorView.cs │ ├── BehaviourTreeEditorView.cs.meta │ ├── Blackboard.meta │ ├── Blackboard │ │ ├── BlackboardEditor.cs │ │ ├── BlackboardEditor.cs.meta │ │ ├── BlackboardRequiredDrawer.cs │ │ ├── BlackboardRequiredDrawer.cs.meta │ │ ├── OfTypeAttributeDrawer.cs │ │ └── OfTypeAttributeDrawer.cs.meta │ ├── old.meta │ └── old │ │ ├── BehaviourNodeDrawer.cs │ │ ├── BehaviourNodeDrawer.cs.meta │ │ ├── BehaviourTreeEditor.cs │ │ ├── BehaviourTreeEditor.cs.meta │ │ ├── BehaviourTreeGraphNode.cs │ │ └── BehaviourTreeGraphNode.cs.meta ├── ActionGraph.meta ├── ActionGraph │ ├── ActionGraphDrawer.cs │ ├── ActionGraphDrawer.cs.meta │ ├── ActionGraphEditorAnimParamNode.cs │ ├── ActionGraphEditorAnimParamNode.cs.meta │ ├── ActionGraphEditorGraphEntry.cs │ ├── ActionGraphEditorGraphEntry.cs.meta │ ├── ActionGraphEditorNode.cs │ ├── ActionGraphEditorNode.cs.meta │ ├── ActionGraphEditorSelectorNode.cs │ ├── ActionGraphEditorSelectorNode.cs.meta │ ├── ActionGraphEditorState.cs │ ├── ActionGraphEditorState.cs.meta │ ├── ActionGraphPresenter.cs │ ├── ActionGraphPresenter.cs.meta │ ├── ActionGraphView.cs │ ├── ActionGraphView.cs.meta │ ├── ConditionListDrawer.cs │ ├── ConditionListDrawer.cs.meta │ ├── CustomActionEditor.cs │ └── CustomActionEditor.cs.meta ├── Animation.meta ├── Animation │ ├── AnimatorParamDrawer.cs │ └── AnimatorParamDrawer.cs.meta ├── Base.meta ├── Base │ ├── BaseBehaviourEditor.cs │ ├── BaseBehaviourEditor.cs.meta │ ├── BaseFrameworkEditor.cs │ ├── BaseFrameworkEditor.cs.meta │ ├── BaseScriptableObjectEditor.cs │ ├── BaseScriptableObjectEditor.cs.meta │ ├── ButtonInfoDrawer.cs │ ├── ButtonInfoDrawer.cs.meta │ ├── ReorderableListDrawer.cs │ └── ReorderableListDrawer.cs.meta ├── Dialog.meta ├── Dialog │ ├── ActorInfoEditor.cs │ ├── ActorInfoEditor.cs.meta │ ├── DialogImporter.cs │ ├── DialogImporter.cs.meta │ ├── DialogInstanceEditor.cs │ ├── DialogInstanceEditor.cs.meta │ ├── FunctionInfoEditor.cs │ └── FunctionInfoEditor.cs.meta ├── EditorPresenter.cs ├── EditorPresenter.cs.meta ├── EditorView.cs ├── EditorView.cs.meta ├── EnumFlagsAttributeDrawer.cs ├── EnumFlagsAttributeDrawer.cs.meta ├── Framework.Editor.asmdef ├── Framework.Editor.asmdef.meta ├── IAssetEditor.cs ├── IAssetEditor.cs.meta ├── ImageEffects.meta ├── ImageEffects │ ├── ColorShiftEditor.cs │ ├── ColorShiftEditor.cs.meta │ ├── DitheringModelEditor.cs │ ├── DitheringModelEditor.cs.meta │ ├── GlitchEditor.cs │ ├── GlitchEditor.cs.meta │ ├── GradientFogModelEditor.cs │ └── GradientFogModelEditor.cs.meta ├── Internal.meta ├── Internal │ ├── BuiltInResourcesWindow.cs │ ├── BuiltInResourcesWindow.cs.meta │ ├── EditorMinMaxSlider.cs │ ├── EditorMinMaxSlider.cs.meta │ ├── InspectorUtils.cs │ ├── InspectorUtils.cs.meta │ ├── MinMaxRangeDrawer.cs │ ├── MinMaxRangeDrawer.cs.meta │ ├── SpaceEditorStyles.cs │ ├── SpaceEditorStyles.cs.meta │ ├── Splitter.cs │ └── Splitter.cs.meta ├── KnownTypeUtils.cs ├── KnownTypeUtils.cs.meta ├── ListReorderableDrawer.cs ├── ListReorderableDrawer.cs.meta ├── Mesh.meta ├── Mesh │ ├── CharacterMeshEditor.cs │ └── CharacterMeshEditor.cs.meta ├── NodeGraph.meta ├── NodeGraph │ ├── GraphNode.cs │ ├── GraphNode.cs.meta │ ├── GraphNodeEditor.cs │ ├── GraphNodeEditor.cs.meta │ ├── IMouseMode.cs │ ├── IMouseMode.cs.meta │ ├── MouseModes.cs │ └── MouseModes.cs.meta ├── Parameter.meta ├── Parameter │ ├── DataBankEditor.cs │ ├── DataBankEditor.cs.meta │ ├── DataSetEditor.cs │ ├── DataSetEditor.cs.meta │ ├── DataSetLayerDrawer.cs │ ├── DataSetLayerDrawer.cs.meta │ ├── DataSetViewer.meta │ ├── DataSetViewer │ │ ├── DataSetHeader.cs │ │ ├── DataSetHeader.cs.meta │ │ ├── DataSetView.cs │ │ ├── DataSetView.cs.meta │ │ ├── DataSetWindow.cs │ │ └── DataSetWindow.cs.meta │ ├── DerivedTypeDrawer.cs │ ├── DerivedTypeDrawer.cs.meta │ ├── ParamListDrawer.cs │ ├── ParamListDrawer.cs.meta │ ├── ParamListEditor.cs │ ├── ParamListEditor.cs.meta │ ├── ParameterBindView.cs │ ├── ParameterBindView.cs.meta │ ├── ParameterDrawer.cs │ ├── ParameterDrawer.cs.meta │ ├── ParametrizedDrawer.cs │ ├── ParametrizedDrawer.cs.meta │ ├── SceneDataSetEditor.cs │ ├── SceneDataSetEditor.cs.meta │ ├── SerializedTypeEditor.cs │ ├── SerializedTypeEditor.cs.meta │ ├── VariantDrawer.cs │ ├── VariantDrawer.cs.meta │ ├── VariantUtils.cs │ └── VariantUtils.cs.meta ├── PickerWindow.cs ├── PickerWindow.cs.meta ├── PrefabBrush.meta ├── PrefabBrush │ ├── PrefabBrushEditorPresenter.cs │ ├── PrefabBrushEditorPresenter.cs.meta │ ├── PrefabBrushEditorView.cs │ └── PrefabBrushEditorView.cs.meta ├── PrettierList.meta ├── PrettierList │ ├── EditorList.cs │ ├── EditorList.cs.meta │ ├── EditorListOption.cs │ └── EditorListOption.cs.meta ├── ReferenceTypePicker.cs ├── ReferenceTypePicker.cs.meta ├── ReorderableList.meta ├── ReorderableList │ ├── ReorderableDrawer.cs │ ├── ReorderableDrawer.cs.meta │ ├── ReorderableList.cs │ └── ReorderableList.cs.meta ├── Socket.meta ├── Socket │ ├── AnimEventLoader.cs │ ├── AnimEventLoader.cs.meta │ ├── CustomPropertiesEditor.cs │ ├── CustomPropertiesEditor.cs.meta │ ├── SocketLoader.cs │ └── SocketLoader.cs.meta ├── Utils.meta ├── Utils │ ├── AssetDatabaseExtension.cs │ ├── AssetDatabaseExtension.cs.meta │ ├── Commands.cs │ ├── Commands.cs.meta │ ├── PrefabRandomizerEditor.cs │ ├── PrefabRandomizerEditor.cs.meta │ ├── PrefabRandomizerListEditor.cs │ ├── PrefabRandomizerListEditor.cs.meta │ ├── SceneReferenceDrawer.cs │ ├── SceneReferenceDrawer.cs.meta │ ├── SerializedPropertyExtension.cs │ ├── SerializedPropertyExtension.cs.meta │ ├── SplineInspector.cs │ └── SplineInspector.cs.meta ├── Validation.meta ├── Validation │ ├── ValidatorPresenter.cs │ ├── ValidatorPresenter.cs.meta │ ├── ValidatorWindow.cs │ └── ValidatorWindow.cs.meta ├── ZoomArea.meta └── ZoomArea │ ├── EditorAreaUtils.cs │ └── EditorAreaUtils.cs.meta ├── Framework.asmdef ├── Framework.asmdef.meta ├── GUI.meta ├── GUI ├── AnyKey.cs ├── AnyKey.cs.meta ├── BuildNumber.cs ├── BuildNumber.cs.meta ├── CustomButton.cs ├── CustomButton.cs.meta ├── GUIBase.cs ├── GUIBase.cs.meta ├── GUIController.cs ├── GUIController.cs.meta ├── MenuBase.cs ├── MenuBase.cs.meta ├── MenuController.cs ├── MenuController.cs.meta ├── QualitySetter.cs ├── QualitySetter.cs.meta ├── SelectChangeEffect.cs └── SelectChangeEffect.cs.meta ├── Gizmos.meta ├── Gizmos ├── ActionGraph Icon.png ├── ActionGraph Icon.png.meta ├── ActionGraphNode Icon.png ├── ActionGraphNode Icon.png.meta ├── Bar.png ├── Bar.png.meta ├── Bar.xcf ├── Bar.xcf.meta ├── BarClicked.png ├── BarClicked.png.meta ├── BarGrey.png ├── BarGrey.png.meta ├── BarGreyClicked.png ├── BarGreyClicked.png.meta ├── BehaviourTree Icon.png ├── BehaviourTree Icon.png.meta ├── BehaviourTree Icon.xcf ├── BehaviourTree Icon.xcf.meta ├── BehaviourTreeEditorIcon.png ├── BehaviourTreeEditorIcon.png.meta ├── ConsoleWindow.png ├── ConsoleWindow.png.meta ├── DataSet Icon.png ├── DataSet Icon.png.meta ├── Dialog Icon.png ├── Dialog Icon.png.meta ├── DialogInstance Icon.png ├── DialogInstance Icon.png.meta ├── DotFlowTarget.png ├── DotFlowTarget.png.meta ├── DotFlowTargetFill.png ├── DotFlowTargetFill.png.meta ├── DotFlowTargetFill.xcf ├── DotFlowTargetFill.xcf.meta ├── GraphNodeBackground.png ├── GraphNodeBackground.png.meta ├── GraphNodeBackground.xcf ├── GraphNodeBackground.xcf.meta ├── GraphNodeBackgroundSelected.png ├── GraphNodeBackgroundSelected.png.meta ├── IconTemplate.png ├── IconTemplate.png.meta ├── IconTemplate.xcf ├── IconTemplate.xcf.meta ├── InputScheme Icon.png ├── InputScheme Icon.png.meta ├── Range.xcf ├── Range.xcf.meta ├── SpaceEditorGUI.guiskin ├── SpaceEditorGUI.guiskin.meta ├── TimeRangeThumb.png ├── TimeRangeThumb.png.meta ├── TimeRangeThumbClicked.png ├── TimeRangeThumbClicked.png.meta ├── TimeRangeThumbGray.png ├── TimeRangeThumbGray.png.meta ├── TimeRangeThumbGrayClicked.png ├── TimeRangeThumbGrayClicked.png.meta ├── TimelineThumb.png ├── TimelineThumb.png.meta ├── TimelineThumbLine.png ├── TimelineThumbLine.png.meta ├── d_BehaviourTreeEditorIcon.png └── d_BehaviourTreeEditorIcon.png.meta ├── LICENSE ├── LICENSE.meta ├── Presets.meta ├── Presets ├── InputManager.preset └── InputManager.preset.meta ├── README.md ├── README.md.meta ├── ReorderableList.meta ├── ReorderableList ├── Attributes.meta ├── Attributes │ ├── ReorderableAttribute.cs │ └── ReorderableAttribute.cs.meta ├── ReorderableArray.cs └── ReorderableArray.cs.meta ├── Shaders.meta ├── Shaders ├── Framework-Dithering.cginc ├── Framework-Dithering.cginc.meta ├── Framework-Surface.shader ├── Framework-Surface.shader.meta ├── Framework-Triplanar.shader ├── Framework-Triplanar.shader.meta ├── Framework-ZoffGUI.shader ├── Framework-ZoffGUI.shader.meta ├── Image Effects.meta ├── Image Effects │ ├── ColorShift.meta │ ├── ColorShift │ │ ├── ColorShift.cs │ │ ├── ColorShift.cs.meta │ │ ├── ColorShiftRenderer.cs │ │ ├── ColorShiftRenderer.cs.meta │ │ ├── Resources.meta │ │ └── Resources │ │ │ ├── Framework-ColorShift.shader │ │ │ └── Framework-ColorShift.shader.meta │ ├── Dithering.meta │ ├── Dithering │ │ ├── DitheringRenderer.cs │ │ ├── DitheringRenderer.cs.meta │ │ ├── FullscreenDithering.cs │ │ ├── FullscreenDithering.cs.meta │ │ ├── Resources.meta │ │ └── Resources │ │ │ ├── Framework-DitheringEffect.shader │ │ │ └── Framework-DitheringEffect.shader.meta │ ├── Glitch.meta │ ├── Glitch │ │ ├── Glitch.cs │ │ ├── Glitch.cs.meta │ │ ├── GlitchRenderer.cs │ │ ├── GlitchRenderer.cs.meta │ │ ├── Resources.meta │ │ └── Resources │ │ │ ├── Framework-Glitch.shader │ │ │ └── Framework-Glitch.shader.meta │ ├── GradientFog.meta │ └── GradientFog │ │ ├── GradientFog.cs │ │ ├── GradientFog.cs.meta │ │ ├── GradientFogRenderer.cs │ │ ├── GradientFogRenderer.cs.meta │ │ ├── Resources.meta │ │ └── Resources │ │ ├── Framework-GradientFog.shader │ │ └── Framework-GradientFog.shader.meta ├── SpriteGradient.shader ├── SpriteGradient.shader.meta ├── Terrain Improved.meta ├── Terrain Improved │ ├── Improved-AddPass.shader │ ├── Improved-AddPass.shader.meta │ ├── Improved-Base.shader │ ├── Improved-Base.shader.meta │ ├── Improved-FirstPass.shader │ ├── Improved-FirstPass.shader.meta │ ├── Improved-TerrainSplatmapCommon.cginc │ └── Improved-TerrainSplatmapCommon.cginc.meta ├── Terrain Splamix.meta └── Terrain Splamix │ ├── Splatmix-AddPass.shader │ ├── Splatmix-AddPass.shader.meta │ ├── Splatmix-Base.shader │ ├── Splatmix-Base.shader.meta │ ├── Splatmix-FirstPass.shader │ ├── Splatmix-FirstPass.shader.meta │ ├── Splatmix-TerrainSplatmapCommon.cginc │ └── Splatmix-TerrainSplatmapCommon.cginc.meta ├── Tests.meta ├── Tests ├── Editor.meta ├── Editor │ ├── DebugConsoleTests.cs │ └── DebugConsoleTests.cs.meta ├── Framework.Test.asmdef └── Framework.Test.asmdef.meta ├── Utils.meta └── Utils ├── Animation.meta ├── Animation ├── AnimationDirector.cs ├── AnimationDirector.cs.meta ├── AnimationPlayer.cs ├── AnimationPlayer.cs.meta ├── ClipData.cs └── ClipData.cs.meta ├── AudioRandomizer.cs ├── AudioRandomizer.cs.meta ├── BezierCurve.cs ├── BezierCurve.cs.meta ├── EnumFlagsAttribute.cs ├── EnumFlagsAttribute.cs.meta ├── EventQueue.cs ├── EventQueue.cs.meta ├── Extensions.meta ├── Extensions ├── CommonExtensions.cs ├── CommonExtensions.cs.meta ├── GameObjectExtensions.cs ├── GameObjectExtensions.cs.meta ├── KeyValuePairExtensions.cs ├── KeyValuePairExtensions.cs.meta ├── MonoGameExtensions.cs ├── MonoGameExtensions.cs.meta ├── RectExtensions.cs ├── RectExtensions.cs.meta ├── ReflectionExtensions.cs ├── ReflectionExtensions.cs.meta ├── TransformExtensions.cs ├── TransformExtensions.cs.meta ├── Vector3Extensions.cs └── Vector3Extensions.cs.meta ├── Lifetime.cs ├── Lifetime.cs.meta ├── Pair.cs ├── Pair.cs.meta ├── Persistent.cs ├── Persistent.cs.meta ├── Pool.meta ├── Pool ├── PooledObject.cs ├── PooledObject.cs.meta ├── PrefabPool.cs └── PrefabPool.cs.meta ├── PrefabRandomizer.cs ├── PrefabRandomizer.cs.meta ├── PrefabRandomizerList.cs ├── PrefabRandomizerList.cs.meta ├── ReflectionEnumerator.cs ├── ReflectionEnumerator.cs.meta ├── SceneReference.cs ├── SceneReference.cs.meta ├── SerializedDictionary.cs ├── SerializedDictionary.cs.meta ├── Singleton.cs ├── Singleton.cs.meta ├── Spline.cs ├── Spline.cs.meta ├── StringUtils.cs ├── StringUtils.cs.meta ├── TweenSystem.cs ├── TweenSystem.cs.meta ├── Tweener.cs ├── Tweener.cs.meta ├── UniqueQueue.cs └── UniqueQueue.cs.meta /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /Assets/AssetStoreTools* 7 | 8 | # Autogenerated VS/MD solution and project files 9 | ExportedObj/ 10 | *.csproj 11 | *.unityproj 12 | *.sln 13 | *.suo 14 | *.tmp 15 | *.user 16 | *.userprefs 17 | *.pidb 18 | *.booproj 19 | *.svd 20 | 21 | 22 | # Unity3D generated meta files 23 | *.pidb.meta 24 | 25 | # Unity3D Generated File On Crash Reports 26 | sysinfo.txt 27 | 28 | # Builds 29 | *.apk 30 | *.unitypackage 31 | -------------------------------------------------------------------------------- /Base.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b926d753985985644a2dc63eb3a097bf 3 | folderAsset: yes 4 | timeCreated: 1468845301 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/AI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 498e37a3dd58e164687e56f0a8664074 3 | folderAsset: yes 4 | timeCreated: 1481805718 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/AI/AIController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9841369fca42eb84282558abdcabe162 3 | timeCreated: 1493069564 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/BehaviourTree.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4aeaf624a237fa542b456bdf1958f9cc 3 | timeCreated: 1509631599 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {fileID: 2800000, guid: e2314a8e0862dd94c987607e7f0bf00e, type: 3} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Base/AI/Blackboard.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5aadc96aa2869a848bc9c9a11317065a 3 | folderAsset: yes 4 | timeCreated: 1481971479 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/AI/Blackboard/Blackboard.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7dccd46015ea329459ee721451f3d618 3 | timeCreated: 1481839900 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27b86b079abfe4e479a44de6a73ec79d 3 | folderAsset: yes 4 | timeCreated: 1481833358 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/AI/Nodes/BehaviourTreeNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c6b75eb1ba57574b985be732b4b09bd 3 | timeCreated: 1481805806 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Compositor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4738e601db75ed40b0867eaf3a32f18 3 | folderAsset: yes 4 | timeCreated: 1481972127 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Compositor/CompositeNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0bf6d8558fc991340a0ff2de47df52ec 3 | timeCreated: 1481805835 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Compositor/Parallel.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework.AI 6 | { 7 | public class Parallel : CompositeNode 8 | { 9 | public override string Name 10 | { 11 | get { return "Parallel"; } 12 | } 13 | 14 | public override string Description 15 | { 16 | get { return "Executes children in parallel"; } 17 | } 18 | 19 | protected override NodeResult OnUpdate() 20 | { 21 | throw new System.NotImplementedException(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Compositor/Parallel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e565129efaa453e4db9ddbd0feac6ecd 3 | timeCreated: 1481833408 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Compositor/Selector.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework.AI 6 | { 7 | public class Selector : CompositeNode 8 | { 9 | public override string Name 10 | { 11 | get { return "Selector"; } 12 | } 13 | 14 | public override string Description 15 | { 16 | get { return "Returns success when any child return success, returns failrue when none"; } 17 | } 18 | 19 | protected override NodeResult OnUpdate() 20 | { 21 | throw new System.NotImplementedException(); 22 | } 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Compositor/Selector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 03c407dc69a1f3844ad742c814e0f238 3 | timeCreated: 1481833374 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Compositor/Sequence.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3996b5cc7c0ae0c46a14efb573a6a05d 3 | timeCreated: 1481833386 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Decorator.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f206cba07c115549b5c56d223920e82 3 | folderAsset: yes 4 | timeCreated: 1481972143 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Decorator/DecoratorNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1406e65098b8b2d42997cc7a29914d00 3 | timeCreated: 1481805847 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Decorator/Negation.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework.AI 6 | { 7 | public class Negation : DecoratorNode 8 | { 9 | public override string Name 10 | { 11 | get { return "Negation"; } 12 | } 13 | 14 | public override string Description 15 | { 16 | get { return "Boolean negation of child result"; } 17 | } 18 | 19 | protected override NodeResult OnUpdate() 20 | { 21 | var childResult = CurrentController.CheckNodeStatus(DecoratedNode); 22 | if (childResult != NodeResult.Running) 23 | { 24 | if (childResult == NodeResult.Success) 25 | return NodeResult.Failrue; 26 | else if (childResult == NodeResult.Failrue) 27 | return NodeResult.Success; 28 | } 29 | 30 | return NodeResult.Running; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Decorator/Negation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0fc88ed3f1929dd4dab22be4764b2941 3 | timeCreated: 1481833394 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Decorator/Repeater.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework.AI 6 | { 7 | public class Repeater : DecoratorNode 8 | { 9 | public override string Name 10 | { 11 | get { return "Repeater"; } 12 | } 13 | 14 | public override string Description 15 | { 16 | get { return "Repeats given times"; } 17 | } 18 | 19 | protected override NodeResult OnUpdate() 20 | { 21 | throw new System.NotImplementedException(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Decorator/Repeater.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a382c797f8417f34b8b5f9158d48b0d2 3 | timeCreated: 1481833430 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Decorator/Succeder.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework.AI 6 | { 7 | public class Succeder : DecoratorNode 8 | { 9 | public override string Name 10 | { 11 | get { return "Succeder"; } 12 | } 13 | 14 | public override string Description 15 | { 16 | get { return "Ignores children result and always returns success"; } 17 | } 18 | 19 | protected override NodeResult OnUpdate() 20 | { 21 | throw new System.NotImplementedException(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Decorator/Succeder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dcaddc2a6906e964ab30ad6bcd3feada 3 | timeCreated: 1481833417 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Decorator/Until.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework.AI 6 | { 7 | public class Until : DecoratorNode 8 | { 9 | public override string Name 10 | { 11 | get { return "Until"; } 12 | } 13 | 14 | public override string Description 15 | { 16 | get { return "Repeats children until it returns success"; } 17 | } 18 | 19 | protected override NodeResult OnUpdate() 20 | { 21 | throw new System.NotImplementedException(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Base/AI/Nodes/Decorator/Until.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 762ab767673510f4c836b682dbcff639 3 | timeCreated: 1481833438 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/NodeResult.cs: -------------------------------------------------------------------------------- 1 | namespace Framework.AI 2 | { 3 | public enum NodeResult 4 | { 5 | Suspended, 6 | Running, 7 | Success, 8 | Failrue 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Base/AI/Nodes/NodeResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0e57fc9020788646a3c77c8a1c5ed0c 3 | timeCreated: 1481834948 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/ParentNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b4e23f5be4cbf74f93ba1d67b8b001a 3 | timeCreated: 1481891643 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/AI/Nodes/TaskNode.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework.AI 6 | { 7 | public abstract class TaskNode : BehaviourTreeNode { } 8 | 9 | public abstract class TaskNode : TaskNode where T : BehaviourTreeNode 10 | { 11 | protected sealed override void OnSetupRequiredParameters() 12 | { 13 | base.SetupParametersForType(this as T); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Base/AI/Nodes/TaskNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd8ed2faa480d0447aa97d144b426df3 3 | timeCreated: 1481805859 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/ActionGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 010de8f786654ed7b0ceb2e48ea1766c 3 | timeCreated: 1547896616 -------------------------------------------------------------------------------- /Base/ActionGraph/ActionGraph.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b11afdd7bb027d40be0593ff326ada1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {fileID: 2800000, guid: 668000e5b350f694a9042d03cc4951f7, type: 3} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/ActionGraph/ActionGraphNode.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | namespace Framework 5 | { 6 | public abstract class ActionGraphNode : ActionGraphNodeBase 7 | { 8 | [Header("Execution")] 9 | public int Priority; 10 | 11 | [SerializeField] 12 | [HideInInspector] 13 | public List Connections = new List(); 14 | } 15 | 16 | public abstract class ActionGraphNode : ActionGraphNode where T : ActionGraphNodeBase 17 | { 18 | public override void OnSetupParametrizedProperties() 19 | { 20 | SetupParameters(this as T); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /Base/ActionGraph/ActionGraphNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb419198aec748fa80d9819c2afa7fd7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {fileID: 2800000, guid: 0a2f74ef1abeb3a4ab18028662560681, type: 3} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/ActionGraph/ActionGraphNodeBase.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using UnityEngine; 4 | 5 | namespace Framework 6 | { 7 | public abstract class ActionGraphNodeBase : ParametrizedScriptableObject 8 | { 9 | [SerializeField] 10 | [HideInInspector] 11 | public ActionGraph Graph; 12 | 13 | #if UNITY_EDITOR 14 | [SerializeField] 15 | [HideInInspector] 16 | public Vector2 EditorPosition; 17 | #endif 18 | 19 | public override IDataSetProvider GetProvider() 20 | { 21 | return Graph; 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /Base/ActionGraph/ActionGraphNodeBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3cd8d3089fe646c28cf3187842dc66b3 3 | timeCreated: 1550607281 -------------------------------------------------------------------------------- /Base/ActionGraph/Actions.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63ecee901c4b415aab6238298cecf229 3 | timeCreated: 1552509633 -------------------------------------------------------------------------------- /Base/ActionGraph/Actions/BaseAction.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Framework.Actions 4 | { 5 | [System.Serializable] 6 | public abstract class BaseAction : ParametrizedScriptableObject 7 | { 8 | [SerializeField] 9 | [HideInInspector] 10 | public ActionGraph Graph; 11 | 12 | public void Execute() 13 | { 14 | OnExecute(); 15 | } 16 | 17 | protected abstract void OnExecute(); 18 | 19 | public override IDataSetProvider GetProvider() 20 | { 21 | return Graph; 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /Base/ActionGraph/Actions/BaseAction.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1dc2e75b26db4b168c57f480f05395f3 3 | timeCreated: 1552509640 -------------------------------------------------------------------------------- /Base/ActionGraph/Condition.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09460c8caf6a448bb6f41661562e73ae 3 | timeCreated: 1550600621 -------------------------------------------------------------------------------- /Base/ActionGraph/Conditions.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2477c82235742d2bc237306241a0cd1 3 | timeCreated: 1550601487 -------------------------------------------------------------------------------- /Base/ActionGraph/Conditions/ParamEquals.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0dacd5c8bb35b684aae5850a873cf0a2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/ActionGraph/Conditions/TriggerEnter.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Framework 4 | { 5 | public class TriggerEnter : Condition 6 | { 7 | [Parametrized] 8 | public Transform Target; 9 | 10 | private bool Satisfied; 11 | 12 | public override bool IsSatisfied() => Satisfied; 13 | 14 | public override void OnSetupParametrizedProperties() 15 | { 16 | SetupParameters(this); 17 | } 18 | 19 | public override string GetDescription() 20 | { 21 | string param = Target ? Target.ToString() : "target"; 22 | return $"On enter [{param}]"; 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Base/ActionGraph/Conditions/TriggerEnter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29aa00bc57994619b4052d70c50a6578 3 | timeCreated: 1551545847 -------------------------------------------------------------------------------- /Base/ActionGraph/Entries.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34acd3b3fff14a5689281093ee924dc2 3 | timeCreated: 1550616309 -------------------------------------------------------------------------------- /Base/ActionGraph/Entries/AnyEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45ab0894f1744525b327e9d26135ce67 3 | timeCreated: 1550602704 -------------------------------------------------------------------------------- /Base/ActionGraph/Entries/EventEntry.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework 6 | { 7 | public class EventEntry : GraphEntry 8 | { 9 | [SerializeField] 10 | public TConditionList Conditions = new TConditionList(); 11 | 12 | [SerializeField] 13 | [HideInInspector] 14 | public ActionGraphNode Child; 15 | 16 | private void OnEnable() 17 | { 18 | EnsureConditionData(); 19 | } 20 | 21 | private void OnValidate() 22 | { 23 | EnsureConditionData(); 24 | } 25 | 26 | private void EnsureConditionData() 27 | { 28 | foreach (var condition in Conditions) 29 | { 30 | if (condition) 31 | condition.Graph = Graph; 32 | } 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /Base/ActionGraph/Entries/EventEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 801a2c0aa40a46dea654c9af87c7b04d 3 | timeCreated: 1550602692 -------------------------------------------------------------------------------- /Base/ActionGraph/GraphEntry.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Framework 4 | { 5 | public struct ConditionsSelector 6 | { 7 | ActionGraphNode SelectNode(List conditions, List nodes) 8 | { 9 | // TODO implement selection! 10 | return null; 11 | } 12 | } 13 | 14 | public abstract class GraphEntry : ActionGraphNodeBase 15 | { 16 | public override void OnSetupParametrizedProperties() 17 | { } 18 | } 19 | } -------------------------------------------------------------------------------- /Base/ActionGraph/GraphEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2597c0bf1ff24856aa67e119768bdd3d 3 | timeCreated: 1550602713 -------------------------------------------------------------------------------- /Base/ActionGraph/IActionGraphOwner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ccdf5d17a60b448e8af8c20e59bf4550 3 | timeCreated: 1552691356 -------------------------------------------------------------------------------- /Base/ActionGraph/Nodes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 336f51253eea405f9b530dee590868db 3 | timeCreated: 1547896652 -------------------------------------------------------------------------------- /Base/ActionGraph/Nodes/ActionAnimParam.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace Framework 5 | { 6 | public class ActionAnimParam : ActionGraphNode 7 | { 8 | public static readonly string TriggerMetadata = "_AnimTrigger"; 9 | 10 | [SerializeField] 11 | [HideInInspector] 12 | public Variant AnimParam = new Variant(); 13 | 14 | [Parametrized] 15 | [VisibleInInspector] 16 | public RuntimeAnimatorController Anim; 17 | } 18 | } -------------------------------------------------------------------------------- /Base/ActionGraph/Nodes/ActionAnimParam.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06631e15915c4ea68fc8987306688de9 3 | timeCreated: 1541934474 -------------------------------------------------------------------------------- /Base/ActionGraph/Nodes/ActionChangeState.cs: -------------------------------------------------------------------------------- 1 | namespace Framework 2 | { 3 | public class ActionChangeState : ActionGraphNode 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /Base/ActionGraph/Nodes/ActionChangeState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd1fa11ed6774ba2a8f1fbbbe5a7a1eb 3 | timeCreated: 1541934494 -------------------------------------------------------------------------------- /Base/ActionGraph/Nodes/ActionEvent.cs: -------------------------------------------------------------------------------- 1 | namespace Framework 2 | { 3 | public class ActionEvent : ActionGraphNode 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /Base/ActionGraph/Nodes/ActionEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 403391ae966c46a194587bc3d33d7ce5 3 | timeCreated: 1541934463 -------------------------------------------------------------------------------- /Base/ActionGraph/Nodes/ActionSelector.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | namespace Framework 5 | { 6 | public class ActionSelector : ActionGraphNode 7 | { 8 | [HideInInspector] 9 | [SerializeField] 10 | public SerializedType InputType; 11 | 12 | [System.Serializable] 13 | public class EntryPoint 14 | { 15 | [SerializeField] 16 | public Variant Input; 17 | 18 | [SerializeField] 19 | public List Nodes = new List(); 20 | } 21 | 22 | [SerializeField] 23 | public List Inputs = new List(); 24 | } 25 | } -------------------------------------------------------------------------------- /Base/ActionGraph/Nodes/ActionSelector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4cc7088b158c4851a6498e49303e74b0 3 | timeCreated: 1547896674 -------------------------------------------------------------------------------- /Base/ActionGraph/Nodes/ActionState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 536c0127b49a4218893f80a36a28abfc 3 | timeCreated: 1551543616 -------------------------------------------------------------------------------- /Base/Attributes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2051a4554a34a4994ef1d023f4b8186 3 | timeCreated: 1540738453 -------------------------------------------------------------------------------- /Base/Attributes/AnimatorParam.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Framework 4 | { 5 | public class AnimatorParam : BaseEditorAttribute 6 | { 7 | public AnimatorControllerParameterType ParamType; 8 | public string AnimatorName; 9 | 10 | public AnimatorParam(string animatorName) 11 | { 12 | AnimatorName = animatorName; 13 | } 14 | 15 | public AnimatorParam(AnimatorControllerParameterType type, string animatorName) 16 | { 17 | ParamType = type; 18 | AnimatorName = animatorName; 19 | } 20 | 21 | public AnimatorParam(AnimatorControllerParameterType type) 22 | { 23 | ParamType = type; 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /Base/Attributes/AnimatorParam.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bfeb92041da24d7cb1d60b24327cc347 3 | timeCreated: 1545583198 -------------------------------------------------------------------------------- /Base/Attributes/AsReorderableList.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Framework 4 | { 5 | public class AsReorderableList : BaseEditorAttribute 6 | { 7 | public bool Editable { get; private set; } 8 | 9 | public AsReorderableList(bool editable = true) 10 | { 11 | Editable = editable; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Base/Attributes/AsReorderableList.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0700187f0bf23934f8d33b4dc451ada8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/Attributes/CreatedByFactory.cs: -------------------------------------------------------------------------------- 1 | namespace Framework 2 | { 3 | public class CreatedByFactory : BaseEditorAttribute 4 | { 5 | public CreatedByFactory() 6 | { 7 | 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /Base/Attributes/CreatedByFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8472be4aec94f9788d4e5849aeb24eb 3 | timeCreated: 1551546683 -------------------------------------------------------------------------------- /Base/Attributes/MinMaxRangeAttribute.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Framework 4 | { 5 | public class MinMaxRangeAttribute : PropertyAttribute 6 | { 7 | public float MinLimit = 0; 8 | public float MaxLimit = 1; 9 | public bool ShowEditRange; 10 | public bool ShowDebugValues; 11 | 12 | public MinMaxRangeAttribute(int min, int max) 13 | { 14 | MinLimit = min; 15 | MaxLimit = max; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /Base/Attributes/MinMaxRangeAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e171d7d113994b25974208af72d0782b 3 | timeCreated: 1558172534 -------------------------------------------------------------------------------- /Base/Attributes/RequireValue.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Framework 4 | { 5 | public interface IValueChecker 6 | { 7 | bool HasValue(); 8 | } 9 | 10 | public class RequireValue : BaseEditorAttribute 11 | { 12 | 13 | } 14 | } -------------------------------------------------------------------------------- /Base/Attributes/RequireValue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6bd4e69676d459f915f011b3931ba20 3 | timeCreated: 1540691160 -------------------------------------------------------------------------------- /Base/Attributes/Validate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 723c01dfd0a34ef5aa6af087e6559ace 3 | timeCreated: 1540691202 -------------------------------------------------------------------------------- /Base/Attributes/VisibleInInspector.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Framework 4 | { 5 | [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] 6 | public class VisibleInInspector : Attribute 7 | { 8 | 9 | } 10 | } -------------------------------------------------------------------------------- /Base/Attributes/VisibleInInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9a416080c2a451c9dd490fa8abf4273 3 | timeCreated: 1540738428 -------------------------------------------------------------------------------- /Base/BaseBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ecb82b6b15b488c881335dc1ecadbd4 3 | timeCreated: 1530964791 -------------------------------------------------------------------------------- /Base/BaseEditorAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Framework 4 | { 5 | public class BaseEditorAttribute : UnityEngine.PropertyAttribute 6 | { 7 | 8 | } 9 | } -------------------------------------------------------------------------------- /Base/BaseEditorAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5376e9d898943a99c59fe477bdba3a0 3 | timeCreated: 1530966624 -------------------------------------------------------------------------------- /Base/BaseScriptableObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a51ce1e987844db79e6c5fde0cbca7d2 3 | timeCreated: 1530964811 -------------------------------------------------------------------------------- /Base/CameraManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e38fa04806c24a2bbbe0ebb4f01f3542 3 | timeCreated: 1543750917 -------------------------------------------------------------------------------- /Base/Console.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de59e8905d0746248b64c309fb80a84f 3 | folderAsset: yes 4 | timeCreated: 1476103965 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/Console/ConsoleController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f71d0e912221ce4ba1026dc2bc98c6c 3 | timeCreated: 1473951267 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Console/DebugConsole.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ef516baa592d1448ac6f3ca3cb925d2 3 | timeCreated: 1473855794 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd9e486a950531449b02a642c820510f 3 | folderAsset: yes 4 | timeCreated: 1511207767 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Base/Core/BasePawn.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30be5921ca6fa5c4781529a5b24b3368 3 | timeCreated: 1480859733 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Core/Camera.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a653b87a75b6d5e4eae027d515929819 3 | folderAsset: yes 4 | timeCreated: 1493498592 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/Core/Camera/ActionCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2bef3f4f218647c40b666a884e0f50c4 3 | timeCreated: 1493415593 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Core/Camera/CameraBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1f3e36f3a1a52a4c8c1d5eaa07459a0 3 | timeCreated: 1458842912 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Core/ControllSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a6135b43bc539947a70458b12077cf1 3 | timeCreated: 1507847827 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Base/Core/Controller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e778454c50ff12e4ab434022bd6e8e53 3 | timeCreated: 1493133174 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Core/StatePawn.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf38ecf6d57561b44a4c332f8bf15047 3 | folderAsset: yes 4 | timeCreated: 1493498603 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/PawnAir.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework 6 | { 7 | public class PawnAir : PawnState 8 | { 9 | private float AirTime; 10 | 11 | protected override void OnProcessMovement(Vector3 direction) 12 | { 13 | Pawn.SimulateMovement(Pawn.CurrentDirection); 14 | 15 | if (AirTime < Mathf.Epsilon) 16 | { 17 | Pawn.SwitchState(); 18 | } 19 | else 20 | { 21 | Pawn.ForceSum.y = 0; 22 | } 23 | } 24 | 25 | protected override void OnTick() 26 | { 27 | ProcessTime(ref AirTime); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/PawnAir.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5fffa09605c353b4e8baf653499e3a90 3 | timeCreated: 1493551560 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/PawnFall.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.Events; 5 | 6 | namespace Framework 7 | { 8 | public class PawnFall : PawnState 9 | { 10 | public UnityEvent OnLand; 11 | 12 | protected override void OnProcessMovement(Vector3 direction) 13 | { 14 | Pawn.SimulateMovement(Pawn.CurrentDirection); 15 | 16 | if (!Pawn.IsGrounded) 17 | return; 18 | 19 | OnLand.Invoke(); 20 | 21 | if (direction.magnitude > 0) 22 | { 23 | Pawn.SwitchState(); 24 | } 25 | else 26 | { 27 | Pawn.SwitchState(); 28 | } 29 | } 30 | 31 | protected override void OnFixedTick() 32 | { 33 | if (Pawn.IsGrounded) 34 | return; 35 | 36 | Pawn.ForceSum.y = Pawn.LastForceSum.y + Pawn.Movement.Gravity * Time.deltaTime; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/PawnFall.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 509a5d06a9b103e4d8afa2771148f2a2 3 | timeCreated: 1493543523 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/PawnIdle.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework 6 | { 7 | public class PawnIdle : PawnState 8 | { 9 | protected override void OnProcessMovement(Vector3 direction) 10 | { 11 | Pawn.SimulateMovement(direction); 12 | 13 | if (Pawn.IsGrounded) 14 | { 15 | if (direction.magnitude > Mathf.Epsilon) 16 | Pawn.SwitchState(); 17 | } 18 | else 19 | { 20 | Pawn.SwitchState(); 21 | } 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/PawnIdle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bb94ccf697ee7c45b92cea17c15d95c 3 | timeCreated: 1493543516 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/PawnJump.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.Events; 5 | 6 | namespace Framework 7 | { 8 | public class PawnJump : PawnState 9 | { 10 | private float JumpTime; 11 | 12 | public UnityEvent OnJump; 13 | 14 | protected override void OnStart() 15 | { 16 | JumpTime = Pawn.Jump.JumpDuration; 17 | 18 | OnJump.Invoke(); 19 | } 20 | 21 | protected override void OnProcessMovement(Vector3 direction) 22 | { 23 | Pawn.SimulateMovement(Pawn.CurrentDirection); 24 | 25 | if (JumpTime < Mathf.Epsilon) 26 | { 27 | Pawn.SwitchState(); 28 | } 29 | else 30 | { 31 | Pawn.ForceSum.y = Pawn.Jump.JumpSpeed; 32 | } 33 | } 34 | 35 | protected override void OnTick() 36 | { 37 | ProcessTime(ref JumpTime); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/PawnJump.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d123be3413f5dbf4781377f9d279babc 3 | timeCreated: 1493543532 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/PawnMove.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework 6 | { 7 | public class PawnMove : PawnState 8 | { 9 | protected override void OnProcessMovement(Vector3 direction) 10 | { 11 | Pawn.SimulateMovement(direction); 12 | 13 | if (Pawn.IsGrounded) 14 | { 15 | if (direction.magnitude < Mathf.Epsilon) 16 | { 17 | Pawn.SwitchState(); 18 | } 19 | else 20 | { 21 | Pawn.ForceSum.y = 0; 22 | } 23 | } 24 | else 25 | { 26 | Pawn.SwitchState(); 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/PawnMove.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ce0d19650e1e5448a94cb1eb3f26807 3 | timeCreated: 1493543510 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/PawnState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8eaeef8c4b689a4f81cc54e545a5556 3 | timeCreated: 1493498610 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Core/StatePawn/StatePawn.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e96a69f10ae2334dac95dcdafb8206d 3 | timeCreated: 1493498760 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d51c7834d7a2d7c42800cad07109f8ed 3 | folderAsset: yes 4 | timeCreated: 1506466954 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/Dialog/Dialog.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80a673da2f6f3034bb77a397b21ec07c 3 | timeCreated: 1506768947 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {fileID: 2800000, guid: d023e2786153eb8439a8a42f9c616fee, type: 3} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/DialogActor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework 6 | { 7 | public class DialogActor : MonoBehaviour 8 | { 9 | public string DisplayedName; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Base/Dialog/DialogActor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f706070389fb45347b8df14d07081647 3 | timeCreated: 1506703243 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/DialogGameState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70fa9dc03852c5f498c47d1adc6a5967 3 | timeCreated: 1506892836 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/DialogInstance.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52f36ddf15b41ba488dea94762784d1d 3 | timeCreated: 1506704418 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {fileID: 2800000, guid: 20c312956b29c824e9ee600228868c15, type: 3} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/DialogParser.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7791885cad1dceb42a747abf94f56f86 3 | timeCreated: 1506466962 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/GUI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d451ef690c0a422ba27eaf3271555f0d 3 | timeCreated: 1525557458 -------------------------------------------------------------------------------- /Base/Dialog/GUI/IGUIDialogMenu.cs: -------------------------------------------------------------------------------- 1 | namespace Framework.Base.Dialog 2 | { 3 | public abstract class IGUIDialogMenu : GUIBase 4 | { 5 | public abstract void SetLineText(int i, string text); 6 | public abstract void ClearLines(); 7 | public abstract int GetLineCount(); 8 | } 9 | } -------------------------------------------------------------------------------- /Base/Dialog/GUI/IGUIDialogMenu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 053a9eccb1ae4d618676310ea5017aec 3 | timeCreated: 1525557044 -------------------------------------------------------------------------------- /Base/Dialog/GUI/IGUIDialogTopic.cs: -------------------------------------------------------------------------------- 1 | namespace Framework.Base.Dialog 2 | { 3 | public abstract class IGUIDialogTopic : GUIBase 4 | { 5 | public abstract void SetText(string text); 6 | public abstract void SetName(string name); 7 | } 8 | } -------------------------------------------------------------------------------- /Base/Dialog/GUI/IGUIDialogTopic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 875d657240804ada8a90a1ec88d02fb9 3 | timeCreated: 1525557176 -------------------------------------------------------------------------------- /Base/Dialog/IDialogStateHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb750433aac26f5429b401ff7b0ab293 3 | timeCreated: 1507151784 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/MenuHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01997c5f570d7b64e9d1877caa45701b 3 | timeCreated: 1507146054 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/States.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 357d7c29aab140c46aede2e2b1d10f33 3 | folderAsset: yes 4 | timeCreated: 1507160768 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/Dialog/States/DialogActorSlot.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework 6 | { 7 | public class DialogActorSlot : ScriptableObject 8 | { 9 | 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Base/Dialog/States/DialogActorSlot.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f0a76e30db1d394085e28dd0044db15 3 | timeCreated: 1506764394 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/States/DialogFunctionSlot.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Framework 4 | { 5 | public class DialogFunctionSlot : ScriptableObject 6 | { 7 | 8 | } 9 | } -------------------------------------------------------------------------------- /Base/Dialog/States/DialogFunctionSlot.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbf5b072a8124c7297e9d69e30fe2fe2 3 | timeCreated: 1506764681 -------------------------------------------------------------------------------- /Base/Dialog/States/DialogMenu.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework 6 | { 7 | public class DialogMenu : DialogState 8 | { 9 | [SerializeField] 10 | public List Items = new List(); 11 | 12 | [System.Serializable] 13 | public class MenuItem 14 | { 15 | [SerializeField] 16 | public DialogState State; 17 | 18 | [SerializeField] 19 | public string Text; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Base/Dialog/States/DialogMenu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d6286e92f1d70e4ca27ebc3be5c3f80 3 | timeCreated: 1506612433 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/States/DialogState.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework 6 | { 7 | [System.Serializable] 8 | public abstract class DialogState : ScriptableObject 9 | { 10 | public void Begin() 11 | { 12 | OnBegin(); 13 | } 14 | 15 | public void End() 16 | { 17 | OnEnd(); 18 | } 19 | 20 | protected virtual void OnBegin() 21 | { } 22 | 23 | protected virtual void OnEnd() 24 | { } 25 | 26 | public virtual void DestroyChildren() 27 | { } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Base/Dialog/States/DialogState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d03b00b609664ed44ac97d445dce6ecd 3 | timeCreated: 1506612450 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/States/DialogTopic.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.Events; 5 | 6 | namespace Framework 7 | { 8 | [System.Serializable] 9 | public partial class DialogTopic : DialogState 10 | { 11 | public List Items = new List(); 12 | 13 | public abstract class Item : ScriptableObject 14 | { } 15 | 16 | public override void DestroyChildren() 17 | { 18 | foreach (var item in Items) 19 | { 20 | DestroyImmediate(item, true); 21 | } 22 | 23 | Items.Clear(); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Base/Dialog/States/DialogTopic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b54e4c82f47fb64b81b01cf62a3eabb 3 | timeCreated: 1506612438 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/States/Items.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a14da3f1ed3d8a44bddcff87fafb7cd 3 | folderAsset: yes 4 | timeCreated: 1507160700 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/Dialog/States/Items/ExitItem.cs: -------------------------------------------------------------------------------- 1 | namespace Framework 2 | { 3 | public class ExitItem : DialogTopic.Item 4 | { } 5 | } 6 | -------------------------------------------------------------------------------- /Base/Dialog/States/Items/ExitItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59a77eb11b81d7c49a932961529dd8da 3 | timeCreated: 1507160863 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/States/Items/GotoItem.cs: -------------------------------------------------------------------------------- 1 | namespace Framework 2 | { 3 | public class GotoItem : DialogTopic.Item 4 | { 5 | public DialogState State; 6 | } 7 | } -------------------------------------------------------------------------------- /Base/Dialog/States/Items/GotoItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97a0b26a00f63ce40bf344f3adc68693 3 | timeCreated: 1507160885 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/States/Items/InvokeItem.cs: -------------------------------------------------------------------------------- 1 | namespace Framework 2 | { 3 | public class InvokeItem : DialogTopic.Item 4 | { 5 | public DialogFunctionSlot Function; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Base/Dialog/States/Items/InvokeItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4d9369e578f5444f9ad3e151635a75a 3 | timeCreated: 1507160874 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/States/Items/SayItem.cs: -------------------------------------------------------------------------------- 1 | namespace Framework 2 | { 3 | public class SayItem : DialogTopic.Item 4 | { 5 | public DialogActorSlot Actor; 6 | 7 | public string Text; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Base/Dialog/States/Items/SayItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7dcb2831ba4c49646916d7e740b48150 3 | timeCreated: 1507160850 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/TopicHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dfadbb8de6a03554fbc008edeade21c3 3 | timeCreated: 1507146063 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Dialog/TopicItemHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 072964f39a1559b44b4269a500974119 3 | timeCreated: 1507226026 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/EditorPublic.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49fd252bb59945b6b7be7a189c69e6b3 3 | timeCreated: 1551473360 -------------------------------------------------------------------------------- /Base/EditorPublic/IReorderableNotify.cs: -------------------------------------------------------------------------------- 1 | using Framework.Editor; 2 | 3 | namespace Framework.Editor 4 | { 5 | public interface INotify 6 | { 7 | bool IsFromPath(PropertyPath path); 8 | } 9 | 10 | public interface IReorderableNotify : INotify 11 | { 12 | void OnReordered(PropertyPath path, int oldIndex, int newIndex); 13 | void OnAdded(PropertyPath path); 14 | void OnRemoved(PropertyPath path, int index); 15 | } 16 | } -------------------------------------------------------------------------------- /Base/EditorPublic/IReorderableNotify.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1cfbcc7273f4de78c0569efd7380803 3 | timeCreated: 1550688460 -------------------------------------------------------------------------------- /Base/EditorPublic/PropertyPath.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f1b62b8b827432284dfe27a071e2534 3 | timeCreated: 1551471371 -------------------------------------------------------------------------------- /Base/EditorPublic/ReflectionPathBuilder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5fece562fa36419eaf6dc6b8681c4856 3 | timeCreated: 1551473780 -------------------------------------------------------------------------------- /Base/EntryPoint.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class EntryPoint : MonoBehaviour 6 | { 7 | // Start is called before the first frame update 8 | void Start() 9 | { 10 | 11 | } 12 | 13 | // Update is called once per frame 14 | void Update() 15 | { 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Base/EntryPoint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23330cd7e761729448d495384c6d5be0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/EventSystem.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb97c1beb066bd54aa507883f27b69cd 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Base/EventSystem/EventScheduler.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using UnityEngine; 5 | using UnityEngine.Events; 6 | 7 | namespace Framework 8 | { 9 | public class EventScheduler : BaseBehaviour 10 | { 11 | [System.Serializable] 12 | public struct SchedulableEvent 13 | { 14 | [SerializeField] public string Name; 15 | [SerializeField] public UnityEvent Event; 16 | } 17 | 18 | public List Events = new List(); 19 | 20 | public void RaiseEvent(string name) 21 | { 22 | var result = Events.FirstOrDefault(x => x.Name.Equals(name)); 23 | 24 | if (!string.IsNullOrEmpty(result.Name) && result.Event != null) 25 | { 26 | result.Event.Invoke(); 27 | } 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /Base/EventSystem/EventScheduler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e48dd952badf9847b32e12702412da9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/EventSystem/PlayableEvent.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.Playables; 3 | 4 | namespace Framework 5 | { 6 | [System.Serializable] 7 | public class PlayableEvent : PlayableAsset 8 | { 9 | public PlayableEventBehaviour template = new PlayableEventBehaviour(); 10 | 11 | public override Playable CreatePlayable(PlayableGraph graph, GameObject go) 12 | { 13 | return ScriptPlayable.Create(graph, template); 14 | } 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /Base/EventSystem/PlayableEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1110222d74d5648498f97253987bf9d7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/EventSystem/PlayableEventBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee2a1ac7ae2eaf34893d66ea27568a0a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/EventSystem/PlayableEventMixer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1f43621c659f6c46b180be894c07b31 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/EventSystem/PlayableEventTrack.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 122ac927accc41f8ae2a1af20265eaed 3 | timeCreated: 1525359954 -------------------------------------------------------------------------------- /Base/Game.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bad14ffe397c1d44884df84d2ddf160a 3 | timeCreated: 1458759220 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/GameLoadingScreenState.cs: -------------------------------------------------------------------------------- 1 | namespace Framework 2 | { 3 | public class GameLoadingScreenState : GameState 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /Base/GameLoadingScreenState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d6e5629917745229793fc04bc168b55 3 | timeCreated: 1543768329 -------------------------------------------------------------------------------- /Base/GameState.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Framework 4 | { 5 | public abstract class GameState : Framework.BaseBehaviour, ITickable 6 | { 7 | public void Tick() 8 | { 9 | OnTick(); 10 | } 11 | 12 | public void FixedTick() 13 | { 14 | OnFixedTick(); 15 | } 16 | 17 | public void LateTick() 18 | { 19 | OnLateTick(); 20 | } 21 | 22 | protected virtual void OnTick() 23 | { } 24 | 25 | protected virtual void OnFixedTick() 26 | { } 27 | 28 | protected virtual void OnLateTick() 29 | { } 30 | 31 | public void DoStart() 32 | { 33 | OnStart(); 34 | } 35 | 36 | public void DoEnd() 37 | { 38 | OnEnd(); 39 | } 40 | 41 | protected virtual void OnEnd() 42 | { } 43 | 44 | protected virtual void OnStart() 45 | { } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Base/GameState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bf14a35c63514a45b2cca246ae5af38 3 | timeCreated: 1468842473 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Gameplay.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38919931133eec442b0540fd5cc95e25 3 | folderAsset: yes 4 | timeCreated: 1481298117 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/Gameplay/ActionActivator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f42e991da5fbfe14ea8a5bbe7cd46296 3 | timeCreated: 1507285367 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Gameplay/Activateable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d81b96e263245094183705da451d1b36 3 | timeCreated: 1507285506 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Gameplay/Damageable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7d2489dbec15f147a6fbe329ff3d5f3 3 | timeCreated: 1493395304 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Gameplay/GUI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d012b3bc4704f10ad4111f459860802 3 | timeCreated: 1525594911 -------------------------------------------------------------------------------- /Base/Gameplay/GUI/IGUIActivateable.cs: -------------------------------------------------------------------------------- 1 | using Framework.Base.Gameplay; 2 | using UnityEngine; 3 | using UnityEngine.EventSystems; 4 | 5 | namespace Framework 6 | { 7 | public abstract class IGUIActivateable : GUIBase, ISubmitHandler 8 | { 9 | public abstract void OnActivatorSelected(ActionActivator activator); 10 | 11 | private Activateable Actor; 12 | 13 | public void Init(Activateable activateable) 14 | { 15 | Actor = activateable; 16 | } 17 | 18 | public void OnSubmit(BaseEventData eventData) 19 | { 20 | Actor?.OnSubmit(); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /Base/Gameplay/GUI/IGUIActivateable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82eaf1eb91804dcd84c8ccbec3016a7a 3 | timeCreated: 1525594921 -------------------------------------------------------------------------------- /Base/Gameplay/GroundChecker.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Framework 4 | { 5 | public abstract class GroundChecker : MonoBehaviour 6 | { 7 | public bool IsGrouneded { get; private set; } 8 | 9 | public void CheckGround() 10 | { 11 | IsGrouneded = OnCheckGround(); 12 | } 13 | 14 | protected abstract bool OnCheckGround(); 15 | } 16 | } -------------------------------------------------------------------------------- /Base/Gameplay/GroundChecker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80a5e50c9fae4160b0d9d54bbe5ba4d0 3 | timeCreated: 1511207893 -------------------------------------------------------------------------------- /Base/Gameplay/PawnVelocityDebug.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0d51706da7e7e547a8627ae19e5536d 3 | timeCreated: 1507246711 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Gameplay/SimpleActivator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef1fdbd23cf7ec6498f798c2b921273c 3 | timeCreated: 1508031617 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Base/Gameplay/SimpleGroundChecker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d56c1a612a094e2395c9ea443600540c 3 | timeCreated: 1511207989 -------------------------------------------------------------------------------- /Base/IBaseObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b50569a794141dfb23cfe4ab0669e35 3 | timeCreated: 1540726531 -------------------------------------------------------------------------------- /Base/ICinematicCamera.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework 6 | { 7 | public interface ICinematicCamera 8 | { 9 | void StartAnimating(float speed, float duration, float rate); 10 | 11 | bool IsAnimating(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Base/ICinematicCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98f9114dd3ab21b4e8e501be45fc3b1a 3 | timeCreated: 1481106881 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/ILevelDependable.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | 5 | public interface ILevelDependable 6 | { 7 | void OnLevelCleanUp(); 8 | void OnLevelLoaded(); 9 | void OnPreLevelLoaded(); 10 | } 11 | 12 | public interface ILoadingDependable 13 | { 14 | void PreOnLoadingScreenOn(); 15 | void PostOnLoadingScreenOn(); 16 | 17 | void PreOnLoadingScreenOff(); 18 | void PostOnLoadingScreenOff(); 19 | } 20 | -------------------------------------------------------------------------------- /Base/ILevelDependable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c502dcc634f5774b993780b42198e7c 3 | timeCreated: 1469782475 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/ITickable.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public interface ITickable 6 | { 7 | void Tick(); 8 | void FixedTick(); 9 | void LateTick(); 10 | } 11 | -------------------------------------------------------------------------------- /Base/ITickable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47934aa8a5d474f4a96abf618392627f 3 | timeCreated: 1493309359 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/ListReordeable.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Framework 4 | { 5 | public class ListReordeable : UnityEngine.PropertyAttribute 6 | { 7 | 8 | } 9 | } -------------------------------------------------------------------------------- /Base/ListReordeable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c3ead68cb25c154185b801c8da8449b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/Mesh.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0224fb75a5e49f2468ae9d0c03a5b632 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Base/Mesh/CharacterMesh.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6b756cbc08c3284b85ebfdaf6874722 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/Mesh/CharacterSlotsDefinition.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using Framework; 4 | using Malee; 5 | using UnityEngine; 6 | 7 | namespace Framework 8 | { 9 | #if UNITY_EDITOR 10 | [CreateAssetMenu(menuName = "Data/Character Slots Definiton", fileName = "New Character Slots Definiton")] 11 | #endif 12 | [System.Serializable] 13 | public class CharacterSlotsDefinition : Framework.BaseScriptableObject 14 | { 15 | [System.Serializable] 16 | public struct SlotInfo 17 | { 18 | [SerializeField] 19 | public string Name; 20 | } 21 | 22 | [SerializeField] 23 | public List Slots; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Base/Mesh/CharacterSlotsDefinition.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70c0fbc3b5821c84cb65829307bb9940 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/Parameter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 600795bdd2a365946ba61eee51266772 3 | folderAsset: yes 4 | timeCreated: 1481971776 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/Parameter/DataBank.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72bebf45e6984327a597affaa7216eaa 3 | timeCreated: 1542021326 -------------------------------------------------------------------------------- /Base/Parameter/DataSet.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b19df5d572f4081b00b016f9cfcf0f3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {fileID: 2800000, guid: abb66ba30717ec0458a43396ea145216, type: 3} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/Parameter/DataSetInstance.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57806ff7b7f54072826102808fe897cd 3 | timeCreated: 1542022344 -------------------------------------------------------------------------------- /Base/Parameter/IDataSet.cs: -------------------------------------------------------------------------------- 1 | namespace Framework 2 | { 3 | public interface IDataSet 4 | { 5 | void Init(); 6 | 7 | void InsertFromParameter(Parameter parameter); 8 | 9 | bool GetFromParameter(Variant parameter); 10 | 11 | bool SetToParameter(Variant parameter); 12 | 13 | bool HasValue(System.Type type, string name); 14 | 15 | bool HasValue(string name); 16 | 17 | T GetValue(string name); 18 | 19 | void SetValue(string name, T newValue); 20 | } 21 | } -------------------------------------------------------------------------------- /Base/Parameter/IDataSet.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0bf4e91277b04b02a79fd361b2228d15 3 | timeCreated: 1540321226 -------------------------------------------------------------------------------- /Base/Parameter/KnownType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf4c09b1f4ed3c745ac56c42f905010f 3 | timeCreated: 1482187808 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Parameter/Parameter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4602b36756d4946b2235ecf247c2a45 3 | timeCreated: 1552512856 -------------------------------------------------------------------------------- /Base/Parameter/ParameterReference.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 349260af4eb14263baac58c55ed3796f 3 | timeCreated: 1552512423 -------------------------------------------------------------------------------- /Base/Parameter/Parametrized.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Framework 4 | { 5 | [System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field)] 6 | public class Parametrized: PropertyAttribute { } 7 | } -------------------------------------------------------------------------------- /Base/Parameter/Parametrized.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b51598ea95f44c5e93968b42569b0c3c 3 | timeCreated: 1542024579 -------------------------------------------------------------------------------- /Base/Parameter/ParametrizedProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44b660031ce2f3a4b9ed315a5f4ebd92 3 | timeCreated: 1482263549 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Parameter/SceneDataSet.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86d9197c91044f8cb5f804aa4306ae83 3 | timeCreated: 1542020901 -------------------------------------------------------------------------------- /Base/Parameter/TypeRestricted.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Framework 4 | { 5 | public class TypeRestricted : BaseEditorAttribute 6 | { 7 | public enum TypeSource 8 | { 9 | Value, 10 | Field, 11 | Property, 12 | Method 13 | } 14 | 15 | public Type Type; 16 | public TypeSource Source; 17 | public string SourceValue; 18 | 19 | public TypeRestricted(Type type) 20 | { 21 | Type = type; 22 | Source = TypeSource.Value; 23 | } 24 | 25 | public TypeRestricted(TypeSource source, string value) 26 | { 27 | Source = source; 28 | SourceValue = value; 29 | 30 | if (Source == TypeSource.Value) 31 | { 32 | Type = new SerializedType(value).Type; 33 | } 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /Base/Parameter/TypeRestricted.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b435ab4166b646de888c890670ceb1ae 3 | timeCreated: 1551616589 -------------------------------------------------------------------------------- /Base/Parameter/Variant.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab92e4bafd7b423429182f0af0841281 3 | timeCreated: 1481904011 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/ParametrizedScriptableObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 257856b3bb664fc7a46f4ca56a2383db 3 | timeCreated: 1551613634 -------------------------------------------------------------------------------- /Base/Parser.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22d18adce91f1cb499d533dbef1be259 3 | folderAsset: yes 4 | timeCreated: 1506465441 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/Parser/ScriptParser.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0bb8385c95303d479737001d8733d31 3 | timeCreated: 1506465535 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Player.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 582a44a32762b22448e5dcd541eb28ef 3 | folderAsset: yes 4 | timeCreated: 1493308588 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/Player/ActionPlayerController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5103af53899f1b04f8ba055d989ac7b9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/Player/BasePlayerController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ffcc99aacf1c4074b870f145bf516a38 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/Player/Input.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd581e186b709d54e868d19a9e9acac8 3 | folderAsset: yes 4 | timeCreated: 1470648899 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Base/Player/Input/ActionInput.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | [System.Serializable] 5 | public class ActionInput 6 | { 7 | public InputButtonEnum Buttons; 8 | public ButtonState State; 9 | public bool IsMoving; 10 | public bool IsInAir; 11 | } 12 | 13 | public enum ButtonState 14 | { 15 | None, 16 | Pressed, 17 | Hold, 18 | Rapid 19 | } 20 | -------------------------------------------------------------------------------- /Base/Player/Input/ActionInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c20b066f423b2b3408e93e7a99d39887 3 | timeCreated: 1470741938 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Player/Input/GenericInputBuffer.cs: -------------------------------------------------------------------------------- 1 | namespace Framework 2 | { 3 | public class GenericInputBuffer : InputBuffer 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /Base/Player/Input/GenericInputBuffer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac1099151ab741bc8e382221010f6526 3 | timeCreated: 1540769099 -------------------------------------------------------------------------------- /Base/Player/Input/InputBuffer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0ba379e04926614384594defeefb077 3 | timeCreated: 1470399077 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Player/Input/InputButtonEnum.cs: -------------------------------------------------------------------------------- 1 | [System.Flags] 2 | public enum InputButtonEnum 3 | { 4 | Dash = 1, 5 | Jump = 1 << 1, 6 | Block = 1 << 2, 7 | Burst = 1 << 3, 8 | Slash = 1 << 4, 9 | Kick = 1 << 5, 10 | Special = 1 << 7, 11 | } 12 | -------------------------------------------------------------------------------- /Base/Player/Input/InputButtonEnum.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a0f68264455e774baab41d91a7f1bbd 3 | timeCreated: 1470648910 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Player/Input/InputScheme.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d7e735522ea4de38fae71df9db56eaa 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {fileID: 2800000, guid: 7c5d39b6273d7d44e88d5bdcce949596, type: 3} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/Player/SimplePlayerController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e66ba22b881ee144ba81628e72afe6a6 3 | timeCreated: 1493308601 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/SceneLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70dbb3d599cf68042a26d78f5791a998 3 | timeCreated: 1469750289 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/SerializedType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d2cca8a8ddf9204da1e45047e034c05 3 | timeCreated: 1481993957 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/SettingsManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6599355344222ad49993eac5ae23a35a 3 | timeCreated: 1469786844 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Base/Socket.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 973f43f57fe7c12489c1fe2b3890e3e8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Base/Socket/CustomProperties.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Framework; 5 | using UnityEngine; 6 | 7 | public class CustomProperties : MonoBehaviour 8 | { 9 | [HideInInspector] 10 | [SerializeField] 11 | public List Properties = new List(); 12 | 13 | #if UNITY_EDITOR 14 | public void AddProperty(string name, object value) 15 | { 16 | var entry = Properties.FirstOrDefault(p => p.Name.Equals(name)); 17 | if (entry == null) 18 | { 19 | entry = new Parameter(typeof(string), name); 20 | Properties.Add(entry); 21 | } 22 | else 23 | entry.Name = name; 24 | 25 | entry.Value.SetAs(value.ToString()); 26 | } 27 | #endif 28 | } 29 | -------------------------------------------------------------------------------- /Base/Socket/CustomProperties.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7777aa083e97caa4b97eff7cad7181f4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Base/Socket/SocketManager.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | #if UNITY_EDITOR 6 | using UnityEditor; 7 | #endif 8 | 9 | public class SocketManager : MonoBehaviour 10 | { 11 | [SerializeField] 12 | public List Sockets = new List(); 13 | 14 | void OnValidate() 15 | { 16 | var allSockets = GetComponentsInChildren(); 17 | foreach (CustomProperties socket in allSockets) 18 | { 19 | if (!Sockets.Contains(socket)) 20 | Sockets.Add(socket); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Base/Socket/SocketManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2ccc783b41406041a5f91b63ccefbaf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Dependencies.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 278e2e8b835c569479a27a4a61a19abd 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Dependencies/RSG.Promise.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Dependencies/RSG.Promise.dll -------------------------------------------------------------------------------- /Dependencies/RSG.Promise.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d9bb7726a6de2843b22c818f9059bdb 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | platformData: 13 | - first: 14 | Any: 15 | second: 16 | enabled: 1 17 | settings: {} 18 | - first: 19 | Editor: Editor 20 | second: 21 | enabled: 0 22 | settings: 23 | DefaultValueInitialized: true 24 | - first: 25 | Windows Store Apps: WindowsStoreApps 26 | second: 27 | enabled: 0 28 | settings: 29 | CPU: AnyCPU 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4bdcc2f7a0c1124cae98c3b54cde5fb 3 | folderAsset: yes 4 | timeCreated: 1476103592 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Editor/AI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f426abfbc679ac49b7456e674597784 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/AI/BehaviourTreeEditorNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90fba4b0b04932244b3b29f46191dd3e 3 | timeCreated: 1504367188 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/AI/BehaviourTreeEditorPresenter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d39f3b9c3d110c468e78e21610659b6 3 | timeCreated: 1499512209 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/AI/BehaviourTreeEditorView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 993224b916e4f214c834c7b71e8066c9 3 | timeCreated: 1499512193 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/AI/Blackboard.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80f428e78a7a4ce4e872ad26bd292ebb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/AI/Blackboard/BlackboardEditor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using Framework.AI; 4 | using UnityEditor; 5 | using UnityEngine; 6 | 7 | [CustomEditor(typeof(Blackboard))] 8 | public class BlackboardEditor : Editor 9 | { 10 | public override void OnInspectorGUI() 11 | { 12 | DrawDefaultInspector(); 13 | 14 | // Go through all values in blackboard and 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Editor/AI/Blackboard/BlackboardEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 64acaac3d2e93f146b9b1200b0f399bc 3 | timeCreated: 1482233961 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/AI/Blackboard/BlackboardRequiredDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d0ac7f645eccf948ae04de11d75238e 3 | timeCreated: 1481899122 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/AI/Blackboard/OfTypeAttributeDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec57a6ffbe3c2ec4bb2140a09b46bf29 3 | timeCreated: 1481989348 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/AI/old.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 469a96d23e57a4f4bbc3427204f15eef 3 | folderAsset: yes 4 | timeCreated: 1499513535 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Editor/AI/old/BehaviourNodeDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fdf70c555e5cf18469095b5e65378c63 3 | timeCreated: 1481910132 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/AI/old/BehaviourTreeEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52bd75474be206a489251e284455ddfe 3 | timeCreated: 1481805787 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/AI/old/BehaviourTreeGraphNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a59c7fe0421586e408fe28a771564ce9 3 | timeCreated: 1481808471 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/ActionGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 394aedb3662248b880d66ea88f4d64ac 3 | timeCreated: 1541851174 -------------------------------------------------------------------------------- /Editor/ActionGraph/ActionGraphDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d45fe4c6ba64dffab248f95814994d4 3 | timeCreated: 1552683321 -------------------------------------------------------------------------------- /Editor/ActionGraph/ActionGraphEditorAnimParamNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f21212cad1d44e7baacb2007c6bf54e2 3 | timeCreated: 1541940000 -------------------------------------------------------------------------------- /Editor/ActionGraph/ActionGraphEditorGraphEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ada59b39bfd142d2a1e5f8904eef86b7 3 | timeCreated: 1550617211 -------------------------------------------------------------------------------- /Editor/ActionGraph/ActionGraphEditorNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54b3dbb8e9c747819569b8e8b1734d5b 3 | timeCreated: 1540854987 -------------------------------------------------------------------------------- /Editor/ActionGraph/ActionGraphEditorSelectorNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74f0cc03c43d4edd8ba112ec1871c70f 3 | timeCreated: 1547896775 -------------------------------------------------------------------------------- /Editor/ActionGraph/ActionGraphEditorState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bd34cd300584f728ed1fa2d73246637 3 | timeCreated: 1551717504 -------------------------------------------------------------------------------- /Editor/ActionGraph/ActionGraphPresenter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb466298f5b743ec8d2af691242329e8 3 | timeCreated: 1540854971 -------------------------------------------------------------------------------- /Editor/ActionGraph/ActionGraphView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9839bf16895f40a5b97f2891d0a63cc2 3 | timeCreated: 1540854959 -------------------------------------------------------------------------------- /Editor/ActionGraph/ConditionListDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86e5efcc21a64b86acab42e4c19cb6df 3 | timeCreated: 1551547761 -------------------------------------------------------------------------------- /Editor/ActionGraph/CustomActionEditor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace Framework.Editor 5 | { 6 | [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] 7 | public class CustomActionEditor : Attribute 8 | { 9 | public CustomActionEditor(System.Type type) 10 | { 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Editor/ActionGraph/CustomActionEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 261999c5533c4bc8b26bb04b6989e974 3 | timeCreated: 1541940383 -------------------------------------------------------------------------------- /Editor/Animation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01631c27753c46809ffdbb329de7b8fe 3 | timeCreated: 1545583392 -------------------------------------------------------------------------------- /Editor/Animation/AnimatorParamDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5dfef37ece0a4ac89614fd590b8cf174 3 | timeCreated: 1545583400 -------------------------------------------------------------------------------- /Editor/Base.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e190cae13eaf415cb8f8828d4d698409 3 | timeCreated: 1530964849 -------------------------------------------------------------------------------- /Editor/Base/BaseBehaviourEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | 3 | namespace Framework.Editor.Base 4 | { 5 | [CustomEditor(typeof(BaseBehaviour), editorForChildClasses: true)] 6 | [CanEditMultipleObjects] 7 | public class BaseBehaviourEditor : BaseFrameworkEditor 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Editor/Base/BaseBehaviourEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7d214288b8a4b119cf8980f9bd0ee42 3 | timeCreated: 1531171295 -------------------------------------------------------------------------------- /Editor/Base/BaseFrameworkEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ced888ea0794e91a73df3539ea75c55 3 | timeCreated: 1531171333 -------------------------------------------------------------------------------- /Editor/Base/BaseScriptableObjectEditor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Reflection; 5 | using UnityEditor; 6 | using UnityEngine; 7 | 8 | namespace Framework.Editor.Base 9 | { 10 | [CustomEditor(typeof(BaseScriptableObject), editorForChildClasses: true)] 11 | [CanEditMultipleObjects] 12 | public class BaseScriptableObjectEditor : BaseFrameworkEditor 13 | { 14 | 15 | } 16 | } -------------------------------------------------------------------------------- /Editor/Base/BaseScriptableObjectEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f414a02d855e4487bd6e51276fdc4796 3 | timeCreated: 1530964864 -------------------------------------------------------------------------------- /Editor/Base/ButtonInfoDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc840b9c5eb848e4b4d6ba5c0e571865 3 | timeCreated: 1540841612 -------------------------------------------------------------------------------- /Editor/Base/ReorderableListDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86323a7f75ab4681bbd0c810df240334 3 | timeCreated: 1530965004 -------------------------------------------------------------------------------- /Editor/Dialog.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 713d1e435dadc3a4888e6e92b7b43a2c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/Dialog/ActorInfoEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79866e92991a56f4489537b943a31610 3 | timeCreated: 1506771237 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Dialog/DialogImporter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52f510bf68ac2784c8462c4edd85f37f 3 | timeCreated: 1506696258 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Dialog/DialogInstanceEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc567938f635234f8c125e174d85246 3 | timeCreated: 1506769016 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Dialog/FunctionInfoEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e083b0dc73cc9df47bff59a296957b31 3 | timeCreated: 1506772080 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/EditorPresenter.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework.Editor 6 | { 7 | public abstract class EditorPresenter 8 | { 9 | internal virtual void OnEnable() 10 | { } 11 | 12 | internal virtual void OnUndoRedo() 13 | { } 14 | 15 | internal virtual void OnDestroy() 16 | { } 17 | 18 | internal virtual void OnFocus() 19 | { } 20 | 21 | internal virtual void OnProjectChange() 22 | { } 23 | 24 | internal virtual void OnSelectionChange() 25 | { } 26 | 27 | internal virtual void OnUpdate() 28 | { } 29 | 30 | internal abstract void OnDraw(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Editor/EditorPresenter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c87064973fa6bf4c9fc08298e4efd3d 3 | timeCreated: 1499512622 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/EditorView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68203f63da77cc44386bf66d982ebc9a 3 | timeCreated: 1499512616 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/EnumFlagsAttributeDrawer.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | 4 | namespace Framework 5 | { 6 | [CustomPropertyDrawer(typeof(EnumFlagsAttribute))] 7 | public class EnumFlagsAttributeDrawer : PropertyDrawer 8 | { 9 | public override void OnGUI(Rect _position, SerializedProperty _property, GUIContent _label) 10 | { 11 | _property.intValue = EditorGUI.MaskField(_position, _label, _property.intValue, _property.enumNames); 12 | } 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /Editor/EnumFlagsAttributeDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bfc4a5129ef2ad41b38c47bf29b152d 3 | timeCreated: 1493460818 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Framework.Editor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Framework.Editor", 3 | "references": [ 4 | "Framework", 5 | "Unity.Postprocessing.Runtime", 6 | "Unity.Postprocessing.Editor", 7 | "Unity.Timeline.Editor" 8 | ], 9 | "includePlatforms": [ 10 | "Editor" 11 | ], 12 | "excludePlatforms": [], 13 | "allowUnsafeCode": false, 14 | "overrideReferences": false, 15 | "precompiledReferences": [], 16 | "autoReferenced": true, 17 | "defineConstraints": [], 18 | "versionDefines": [] 19 | } -------------------------------------------------------------------------------- /Editor/Framework.Editor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4898cb9f69f7b344a66619c1d175abe 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Editor/IAssetEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Framework.Editor 4 | { 5 | public interface IAssetEditor where TAsset : ScriptableObject 6 | { 7 | void OnLoadAsset(TAsset asset); 8 | void ReloadAssetFromSelection(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Editor/IAssetEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f6900f26ef14ef42b61e3bd0c404556 3 | timeCreated: 1499514521 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/ImageEffects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11d241881343cf14cbe18e1271dde61e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/ImageEffects/ColorShiftEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine.Rendering.PostProcessing; 2 | using UnityEditor; 3 | using UnityEngine; 4 | 5 | namespace UnityEditor.Rendering.PostProcessing 6 | { 7 | [PostProcessEditor(typeof(ColorShift))] 8 | public class ColorShiftEditor : PostProcessEffectEditor 9 | { 10 | SerializedParameterOverride RedShift; 11 | SerializedParameterOverride GreenShift; 12 | SerializedParameterOverride BlueShift; 13 | 14 | public override void OnEnable() 15 | { 16 | RedShift = FindParameterOverride(x => x.RedShift); 17 | GreenShift = FindParameterOverride(x => x.GreenShift); 18 | BlueShift = FindParameterOverride(x => x.BlueShift); 19 | } 20 | 21 | public override void OnInspectorGUI() 22 | { 23 | PropertyField(RedShift); 24 | PropertyField(GreenShift); 25 | PropertyField(BlueShift); 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /Editor/ImageEffects/ColorShiftEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a7d495396c9497aaea22ce859a99b8d 3 | timeCreated: 1525346438 -------------------------------------------------------------------------------- /Editor/ImageEffects/DitheringModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04695def429143d08f131030aebef238 3 | timeCreated: 1525172074 -------------------------------------------------------------------------------- /Editor/ImageEffects/GlitchEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 022ed9b29c3f42ae9951dfb3097c1366 3 | timeCreated: 1525253347 -------------------------------------------------------------------------------- /Editor/ImageEffects/GradientFogModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b8cb7a6ff63b2c458a5c104ebf9fa7e 3 | timeCreated: 1493717923 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Internal.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 617f05d2ac3e92b4891713e46cc3f4a4 3 | folderAsset: yes 4 | timeCreated: 1476103644 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Editor/Internal/BuiltInResourcesWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c416fcce327cd35418957f7d87ee46fa 3 | timeCreated: 1470327389 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Internal/EditorMinMaxSlider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5379fcc831166514bb78a359e0108d93 3 | timeCreated: 1471445531 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Internal/InspectorUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87a6ab4d3aa342f4eb54b0a92fa78c79 3 | timeCreated: 1482058425 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Internal/MinMaxRangeDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f851c738b2b24fa798ef7d469b5d6357 3 | timeCreated: 1558172601 -------------------------------------------------------------------------------- /Editor/Internal/SpaceEditorStyles.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce899c822f51da641a13e95a68717dda 3 | timeCreated: 1471519465 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Internal/Splitter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 181f1bcc8ba442aa91954766677f3647 3 | timeCreated: 1552040441 -------------------------------------------------------------------------------- /Editor/KnownTypeUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ccda87bfa85a411185328dad84bbea92 3 | timeCreated: 1540927957 -------------------------------------------------------------------------------- /Editor/ListReorderableDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dbe989db536f66341b118e44720d2b2d 3 | timeCreated: 1507658247 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Mesh.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd54d29867c68ef47bcf4b8f7035ca01 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/Mesh/CharacterMeshEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c534a6556e798ce43a074416913c07d5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/NodeGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: acfc1c052ab0a9a46883b1440f4c2235 3 | folderAsset: yes 4 | timeCreated: 1482187551 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Editor/NodeGraph/GraphNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: baf3894d1693c0a4caf070974705162d 3 | timeCreated: 1470241707 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/NodeGraph/GraphNodeEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ed5872c460105a4d9de9e077e17931d 3 | timeCreated: 1470317318 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/NodeGraph/IMouseMode.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Framework.Editor 6 | { 7 | public interface IMouseMode 8 | { 9 | void Start(Vector2 pos); 10 | void End(Vector2 pos); 11 | void Update(Vector2 pos); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Editor/NodeGraph/IMouseMode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c67d2ed59babfa40b1a896995ce7d37 3 | timeCreated: 1504553787 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/NodeGraph/MouseModes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d02331f936954be41861802d08c0041f 3 | timeCreated: 1504555075 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Parameter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d8062da34c0cd04eaf3c95d959be138 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/Parameter/DataBankEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f692ca8730c5e044fa709781056bb470 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Parameter/DataSetEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | namespace Framework.Editor 5 | { 6 | [CustomEditor(typeof(DataSet))] 7 | class DataSetEditor : DataBankEditor 8 | { 9 | private DataSet DataSet => target as DataSet; 10 | protected override DataBank Target => DataSet.Bank; 11 | } 12 | } -------------------------------------------------------------------------------- /Editor/Parameter/DataSetEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a31b50c8df144519dbc851451bf5179 3 | timeCreated: 1540322117 -------------------------------------------------------------------------------- /Editor/Parameter/DataSetLayerDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17b0a5288ef94191bb371c9ea323a98d 3 | timeCreated: 1542023549 -------------------------------------------------------------------------------- /Editor/Parameter/DataSetViewer.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 304bf9a82fcd8714db2b5b1939c59120 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/Parameter/DataSetViewer/DataSetHeader.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor.IMGUI.Controls; 2 | 3 | namespace Framework.Editor 4 | { 5 | public class DataSetHeader : MultiColumnHeader 6 | { 7 | public DataSetHeader(MultiColumnHeaderState state) : base(state) 8 | { 9 | 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /Editor/Parameter/DataSetViewer/DataSetHeader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e21c5ecd3fae46beaa4af2ed5aa203d5 3 | timeCreated: 1559062969 -------------------------------------------------------------------------------- /Editor/Parameter/DataSetViewer/DataSetView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2fcda3ef5aa347f41b02cc7ababbeb60 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Parameter/DataSetViewer/DataSetWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49ff78f25f38b874baed0086b2d1bec7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Parameter/DerivedTypeDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c88047d3bf524e92a5b7f42538c98cca 3 | timeCreated: 1545584507 -------------------------------------------------------------------------------- /Editor/Parameter/ParamListDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9cc0e516059a1041925db889f4e64a6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Parameter/ParamListEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38f0c982b55241e290ef6799cb1c63f7 3 | timeCreated: 1550607657 -------------------------------------------------------------------------------- /Editor/Parameter/ParameterBindView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72002d3b284048b89bc203ce10c2c5f6 3 | timeCreated: 1552737263 -------------------------------------------------------------------------------- /Editor/Parameter/ParameterDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b42ca03fc3154da9a8513bf23ece2fb2 3 | timeCreated: 1552513508 -------------------------------------------------------------------------------- /Editor/Parameter/ParametrizedDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8eadb1a1c94f4c1abd8d3abbfefaff8b 3 | timeCreated: 1542032455 -------------------------------------------------------------------------------- /Editor/Parameter/SceneDataSetEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | namespace Framework.Editor 5 | { 6 | [CustomEditor(typeof(SceneDataSet))] 7 | class SceneDataSetEditor : DataBankEditor 8 | { 9 | private SceneDataSet DataSet => target as SceneDataSet; 10 | protected override DataBank Target => DataSet.Bank; 11 | } 12 | } -------------------------------------------------------------------------------- /Editor/Parameter/SceneDataSetEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b3060adb588eda4d83de243d102c425 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Parameter/SerializedTypeEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEditor.PackageManager; 3 | using UnityEngine; 4 | 5 | namespace Framework.Editor 6 | { 7 | [CustomPropertyDrawer(typeof(SerializedType))] 8 | public class SerializedTypeEditor : PropertyDrawer 9 | { 10 | public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) 11 | { 12 | var target = property.GetAs(); 13 | string content = target.ToString(); 14 | 15 | position.height = base.GetPropertyHeight(property, label); 16 | position = EditorGUI.PrefixLabel(position, label); 17 | 18 | if (GUI.Button(position, content, EditorStyles.objectField)) 19 | { 20 | KnownTypeUtils.ShowAddParameterMenu(type => 21 | { 22 | target.Type = type?.Type; 23 | target.Metadata = type?.Metadata; 24 | }, true); 25 | } 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /Editor/Parameter/SerializedTypeEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b092fe875477419087b8a9b07250381f 3 | timeCreated: 1551570159 -------------------------------------------------------------------------------- /Editor/Parameter/VariantDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a036fe7325548b69677c3ce232258dd 3 | timeCreated: 1550685448 -------------------------------------------------------------------------------- /Editor/Parameter/VariantUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df7bddedd7d3d5b4ebae240924d0b608 3 | timeCreated: 1481908197 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/PickerWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b02dd43b1f17ea049a8392742f29000b 3 | timeCreated: 1511622222 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Editor/PrefabBrush.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 032fdd0b98354704893ebb712ebfc5dd 3 | folderAsset: yes 4 | timeCreated: 1507648976 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Editor/PrefabBrush/PrefabBrushEditorPresenter.cs: -------------------------------------------------------------------------------- 1 | namespace Framework.Editor 2 | { 3 | public class PrefabBrushEditorPresenter : EditorPresenter 4 | { 5 | private PrefabBrushEditorView View; 6 | 7 | public PrefabBrushEditorPresenter(PrefabBrushEditorView prefabBrushEditorView) 8 | { 9 | View = prefabBrushEditorView; 10 | } 11 | 12 | internal override void OnDraw() 13 | { 14 | View.DrawHandle(); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Editor/PrefabBrush/PrefabBrushEditorPresenter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db8fd834f20b45c2a5c64a65cfad96b1 3 | timeCreated: 1507650029 -------------------------------------------------------------------------------- /Editor/PrefabBrush/PrefabBrushEditorView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b93c8760e7b6ea746acb46ee2c868ebf 3 | timeCreated: 1507650315 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/PrettierList.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05b7b66b59efa2445b20fb450b711b7f 3 | folderAsset: yes 4 | timeCreated: 1482187571 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Editor/PrettierList/EditorList.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7f1b9a266f960c44919cbf618ed704f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Editor/PrettierList/EditorListOption.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_EDITOR 2 | using UnityEditor; 3 | using UnityEngine; 4 | 5 | [System.Flags] 6 | public enum EditorListOption 7 | { 8 | None = 0, 9 | ListSize = 1, 10 | ListLabel = 2, 11 | ElementLabels = 4, 12 | ForceResize = 8, 13 | Buttons = 16, 14 | AddButton = 32, 15 | Default = ListSize | ListLabel | ElementLabels, 16 | NoElementLabels = ListSize | ListLabel, 17 | All = Default | Buttons | ForceResize 18 | } 19 | #endif -------------------------------------------------------------------------------- /Editor/PrettierList/EditorListOption.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 283de1b17f2dcc14e9bca16d7ba75b4f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Editor/ReferenceTypePicker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d353680cb1f4164ca885f1518821e76 3 | timeCreated: 1482073828 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/ReorderableList.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f07b3a7bda77a444854c49231339e5c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/ReorderableList/ReorderableDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b5cb2f0917b1f34f8aceb725a71bfe7 3 | timeCreated: 1491846866 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/ReorderableList/ReorderableList.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7524a33cc4881484f94d10e60833382b 3 | timeCreated: 1434688391 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Socket.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0b3b0758f79af942ae4727c74f64674 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/Socket/AnimEventLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 086fdd09c7b9bd047ba164a8cf12f0d6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Socket/CustomPropertiesEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b225620ce29839d4baaa8d93ecaa3b12 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Socket/SocketLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 033c5a67da7b00f4281617fd53f719c0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Utils.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8dfed22daf93e4e40a6f524387580207 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/Utils/AssetDatabaseExtension.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | 4 | namespace Framework 5 | { 6 | public static class AssetDatabaseUtils 7 | { 8 | public static void AddToParentAsset(Object asset, Object obj) 9 | { 10 | var path = AssetDatabase.GetAssetPath(asset); 11 | if (!string.IsNullOrEmpty(path)) 12 | { 13 | var parent = AssetDatabase.LoadAssetAtPath(path, AssetDatabase.GetMainAssetTypeAtPath(path)); 14 | obj.hideFlags |= HideFlags.HideInHierarchy; 15 | AssetDatabase.AddObjectToAsset(obj, parent); 16 | AssetDatabase.SaveAssets(); 17 | AssetDatabase.Refresh(); 18 | } 19 | } 20 | 21 | public static void AddToAsset(Object asset, Object obj) 22 | { 23 | obj.hideFlags |= HideFlags.HideInHierarchy; 24 | AssetDatabase.AddObjectToAsset(obj, asset); 25 | AssetDatabase.SaveAssets(); 26 | AssetDatabase.Refresh(); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Editor/Utils/AssetDatabaseExtension.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b4187130662442d9971442304f4decc 3 | timeCreated: 1551611284 -------------------------------------------------------------------------------- /Editor/Utils/Commands.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d828d9e93309d141adafd9df84054ea 3 | timeCreated: 1508016074 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Editor/Utils/PrefabRandomizerEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f3f7dcc7da042ff8aa78e15e3760e73 3 | timeCreated: 1507652755 -------------------------------------------------------------------------------- /Editor/Utils/PrefabRandomizerListEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26471449d75e4e7c9c9a44a35259ee47 3 | timeCreated: 1508426573 -------------------------------------------------------------------------------- /Editor/Utils/SceneReferenceDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc4139eeb49d4624ae14d808a2340969 3 | timeCreated: 1540657307 -------------------------------------------------------------------------------- /Editor/Utils/SerializedPropertyExtension.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c5a4e26f08c422fb85857792d0e2f0e 3 | timeCreated: 1545590104 -------------------------------------------------------------------------------- /Editor/Utils/SplineInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 409f6c6013e4f5047af6f6c0ef9f5c56 3 | timeCreated: 1493459344 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Editor/Validation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e82add85b754418ba638f35c129bc2a5 3 | timeCreated: 1540721523 -------------------------------------------------------------------------------- /Editor/Validation/ValidatorPresenter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 518693af85f7459e8d3c1a6b08ea1945 3 | timeCreated: 1540721588 -------------------------------------------------------------------------------- /Editor/Validation/ValidatorWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 256e3e8c202d4e6caa2b90ecd31cde7a 3 | timeCreated: 1540721532 -------------------------------------------------------------------------------- /Editor/ZoomArea.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae220fdc87758ea4990b6a301a10b846 3 | folderAsset: yes 4 | timeCreated: 1483272043 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Editor/ZoomArea/EditorAreaUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c47872cf0ca1cc849a8b8f7c53c580b0 3 | timeCreated: 1483272051 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Framework.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Framework", 3 | "references": [ 4 | "Unity.Postprocessing.Runtime", 5 | "Unity.Timeline" 6 | ], 7 | "includePlatforms": [], 8 | "excludePlatforms": [], 9 | "allowUnsafeCode": false, 10 | "overrideReferences": false, 11 | "precompiledReferences": [], 12 | "autoReferenced": true, 13 | "defineConstraints": [], 14 | "versionDefines": [] 15 | } -------------------------------------------------------------------------------- /Framework.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 811eb4a85a81a3b42a7b781a71dbe8eb 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GUI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d3d7cdd513b771408c92a70b1739046 3 | folderAsset: yes 4 | timeCreated: 1476104140 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /GUI/AnyKey.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.EventSystems; 3 | using UnityEngine.UI; 4 | 5 | public class AnyKey : MonoBehaviour 6 | { 7 | public bool Single; 8 | public Button.ButtonClickedEvent SomeEvent; 9 | 10 | private bool Used; 11 | 12 | void Update() 13 | { 14 | if (Single && Used) 15 | return; 16 | 17 | if (Input.anyKey) 18 | { 19 | Used = true; 20 | SomeEvent.Invoke(); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /GUI/AnyKey.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c336d0c4012b0b24da5d3f695fc23539 3 | timeCreated: 1469887896 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /GUI/BuildNumber.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | public class BuildNumber : MonoBehaviour 6 | { 7 | public Text VersionText; 8 | public string Prefix; 9 | 10 | void Awake() 11 | { 12 | VersionText.text = Prefix + Application.version; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /GUI/BuildNumber.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9592c80e71d18f5478f822cb54e53be5 3 | timeCreated: 1469970557 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /GUI/CustomButton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 55ada4885832eae4ab2c4f5a87c92cf1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GUI/GUIBase.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | [RequireComponent(typeof(CanvasGroup))] 5 | public abstract class GUIBase : MonoBehaviour 6 | { 7 | private CanvasGroup _canvasGroup; 8 | 9 | public virtual bool IsGameplayGUI { get { return true; } } 10 | 11 | protected CanvasGroup CanvasGroup 12 | { 13 | get 14 | { 15 | if (!_canvasGroup) 16 | _canvasGroup = GetComponent(); 17 | return _canvasGroup; 18 | } 19 | } 20 | 21 | public virtual void Hide() 22 | { 23 | CanvasGroup.alpha = 0; 24 | CanvasGroup.interactable = false; 25 | } 26 | 27 | public virtual void Show() 28 | { 29 | CanvasGroup.alpha = 1; 30 | CanvasGroup.interactable = true; 31 | } 32 | 33 | public virtual void OnAwake() 34 | { 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /GUI/GUIBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b83cd871633ecfa4f8762132f8b7d7c2 3 | timeCreated: 1469484385 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /GUI/GUIController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ad2e8acae5c14f4d8e93b2fec919fc0 3 | timeCreated: 1469485290 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: -10 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /GUI/MenuBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc83450a3c722c447821bc0c37926169 3 | timeCreated: 1469799228 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /GUI/MenuController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3ecbfe7bce2f3c46a1186c73f2bb675 3 | timeCreated: 1469798851 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /GUI/QualitySetter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1f1f396a110ee6545b266f1d357ce514 3 | timeCreated: 1469812858 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /GUI/SelectChangeEffect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2274f74b8210d543959fdd6f1706b67 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Gizmos.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a75340af75baec24dac439185de504d1 3 | folderAsset: yes 4 | timeCreated: 1493310648 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Gizmos/ActionGraph Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/ActionGraph Icon.png -------------------------------------------------------------------------------- /Gizmos/ActionGraphNode Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/ActionGraphNode Icon.png -------------------------------------------------------------------------------- /Gizmos/Bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/Bar.png -------------------------------------------------------------------------------- /Gizmos/Bar.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/Bar.xcf -------------------------------------------------------------------------------- /Gizmos/Bar.xcf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f474542940f869a409353e8cbd9a063d 3 | timeCreated: 1471599588 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Gizmos/BarClicked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/BarClicked.png -------------------------------------------------------------------------------- /Gizmos/BarGrey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/BarGrey.png -------------------------------------------------------------------------------- /Gizmos/BarGreyClicked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/BarGreyClicked.png -------------------------------------------------------------------------------- /Gizmos/BehaviourTree Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/BehaviourTree Icon.png -------------------------------------------------------------------------------- /Gizmos/BehaviourTree Icon.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/BehaviourTree Icon.xcf -------------------------------------------------------------------------------- /Gizmos/BehaviourTree Icon.xcf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea95e8e8e35eb074ba4d9f7df428af73 3 | timeCreated: 1481970407 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Gizmos/BehaviourTreeEditorIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/BehaviourTreeEditorIcon.png -------------------------------------------------------------------------------- /Gizmos/ConsoleWindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/ConsoleWindow.png -------------------------------------------------------------------------------- /Gizmos/DataSet Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/DataSet Icon.png -------------------------------------------------------------------------------- /Gizmos/Dialog Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/Dialog Icon.png -------------------------------------------------------------------------------- /Gizmos/DialogInstance Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/DialogInstance Icon.png -------------------------------------------------------------------------------- /Gizmos/DotFlowTarget.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/DotFlowTarget.png -------------------------------------------------------------------------------- /Gizmos/DotFlowTargetFill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/DotFlowTargetFill.png -------------------------------------------------------------------------------- /Gizmos/DotFlowTargetFill.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/DotFlowTargetFill.xcf -------------------------------------------------------------------------------- /Gizmos/DotFlowTargetFill.xcf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ae564368afc2f84dbe6c9d72bc3a0df 3 | timeCreated: 1481932045 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Gizmos/GraphNodeBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/GraphNodeBackground.png -------------------------------------------------------------------------------- /Gizmos/GraphNodeBackground.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/GraphNodeBackground.xcf -------------------------------------------------------------------------------- /Gizmos/GraphNodeBackground.xcf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88fc8ce86faf80e4aa2a3ba8604175e2 3 | timeCreated: 1481920716 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Gizmos/GraphNodeBackgroundSelected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/GraphNodeBackgroundSelected.png -------------------------------------------------------------------------------- /Gizmos/IconTemplate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/IconTemplate.png -------------------------------------------------------------------------------- /Gizmos/IconTemplate.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/IconTemplate.xcf -------------------------------------------------------------------------------- /Gizmos/IconTemplate.xcf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5e03feadcd3a3c41b5f1a41c89c0c66 3 | timeCreated: 1471191731 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Gizmos/InputScheme Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/InputScheme Icon.png -------------------------------------------------------------------------------- /Gizmos/Range.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/Range.xcf -------------------------------------------------------------------------------- /Gizmos/Range.xcf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f72a97629d739764fae2b5eb17c7c4e5 3 | timeCreated: 1471599589 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Gizmos/SpaceEditorGUI.guiskin.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5c050214291ace42a829632460527f9 3 | timeCreated: 1471516037 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Gizmos/TimeRangeThumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/TimeRangeThumb.png -------------------------------------------------------------------------------- /Gizmos/TimeRangeThumbClicked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/TimeRangeThumbClicked.png -------------------------------------------------------------------------------- /Gizmos/TimeRangeThumbGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/TimeRangeThumbGray.png -------------------------------------------------------------------------------- /Gizmos/TimeRangeThumbGrayClicked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/TimeRangeThumbGrayClicked.png -------------------------------------------------------------------------------- /Gizmos/TimelineThumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/TimelineThumb.png -------------------------------------------------------------------------------- /Gizmos/TimelineThumbLine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/TimelineThumbLine.png -------------------------------------------------------------------------------- /Gizmos/d_BehaviourTreeEditorIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BentouDev/Unity3DFramework/31c72c90c12bdd7b7d7a5310dd01ad2ad186bbd7/Gizmos/d_BehaviourTreeEditorIcon.png -------------------------------------------------------------------------------- /LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da108b6dd5f9c7b4da98905d1c600f34 3 | timeCreated: 1476103592 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Presets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96ae6cb9153dac942bb7a712321b2f16 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Presets/InputManager.preset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a57734645db217f49bda9ecb9241b39f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2655988077585873504 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Unity3D Framework 2 | Basic framework for all my Unity3D games 3 | 4 | Discontinued 5 | -------------------------------------------------------------------------------- /README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76892c4919767b743bc7a395236f0b7c 3 | timeCreated: 1476103592 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /ReorderableList.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c232f41a83452d34ca17331c12b4f586 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /ReorderableList/Attributes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b01a1a9e8f5c586419eba255ce2c3ec6 3 | folderAsset: yes 4 | timeCreated: 1436466573 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /ReorderableList/Attributes/ReorderableAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af18777bcf6ae2c47a02c3ff8adabb0e 3 | timeCreated: 1434664597 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /ReorderableList/ReorderableArray.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5132fa5788b8a7347b370fa5d071c913 3 | timeCreated: 1436466574 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6ed2a6589aafb74f9dba969d863240f 3 | folderAsset: yes 4 | timeCreated: 1493477296 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Framework-Dithering.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b9ab1334382d654a8585377b71d1289 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Framework-Surface.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f57ff118db0608458ed79f47434d3d3 3 | timeCreated: 1493633607 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Framework-Triplanar.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 903f7381d877d7148bcc063d486d1a7e 3 | timeCreated: 1493478745 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Framework-ZoffGUI.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df02b17852ae7c141b29d08bdea927f1 3 | timeCreated: 1493477312 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Image Effects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35eaa6c27deeac8499ab6cb7c79c4d66 3 | folderAsset: yes 4 | timeCreated: 1493717089 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Image Effects/ColorShift.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 345ad68545f14b739abd77fea536fa7d 3 | timeCreated: 1525346312 -------------------------------------------------------------------------------- /Shaders/Image Effects/ColorShift/ColorShift.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using UnityEngine.Rendering.PostProcessing; 4 | 5 | namespace UnityEngine.Rendering.PostProcessing 6 | { 7 | [Serializable] 8 | [PostProcess(typeof(ColorShiftRenderer), PostProcessEvent.AfterStack, "Framework/ColorShift")] 9 | public class ColorShift : PostProcessEffectSettings 10 | { 11 | public Vector2Parameter RedShift = new Vector2Parameter(); 12 | public Vector2Parameter GreenShift = new Vector2Parameter(); 13 | public Vector2Parameter BlueShift = new Vector2Parameter(); 14 | } 15 | } -------------------------------------------------------------------------------- /Shaders/Image Effects/ColorShift/ColorShift.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86a163a6a2c94e6e851dbb53c536045a 3 | timeCreated: 1525346332 -------------------------------------------------------------------------------- /Shaders/Image Effects/ColorShift/ColorShiftRenderer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6072427048304447b5b6045d9cf37744 3 | timeCreated: 1525346341 -------------------------------------------------------------------------------- /Shaders/Image Effects/ColorShift/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dffdc87800937ec43bc2dea32ee12350 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Shaders/Image Effects/ColorShift/Resources/Framework-ColorShift.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5ce86b6255448cf9499d0adde0c1631 3 | timeCreated: 1525346325 -------------------------------------------------------------------------------- /Shaders/Image Effects/Dithering.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7fc9638650e4d768fe47b902500bef0 3 | timeCreated: 1525171716 -------------------------------------------------------------------------------- /Shaders/Image Effects/Dithering/DitheringRenderer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a51b5b6d67f74cbd816e2814a8f71614 3 | timeCreated: 1525171745 -------------------------------------------------------------------------------- /Shaders/Image Effects/Dithering/FullscreenDithering.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using UnityEngine.Rendering.PostProcessing; 4 | 5 | namespace UnityEngine.Rendering.PostProcessing 6 | { 7 | [Serializable] 8 | [PostProcess(typeof(DitheringRenderer), PostProcessEvent.AfterStack, "Framework/Dithering")] 9 | public class FullscreenDithering : PostProcessEffectSettings 10 | { 11 | public TextureParameter Pattern = new TextureParameter(); 12 | 13 | public IntParameter DitherSize = new IntParameter { value = 4 }; 14 | 15 | public FloatParameter OriginalContribution = new FloatParameter { value = 128 }; 16 | public FloatParameter DitherContribution = new FloatParameter { value = 128 }; 17 | public FloatParameter NominalValue = new FloatParameter { value = 128 }; 18 | 19 | public Vector2Parameter TextureScale = new Vector2Parameter { value = new Vector2(1,1) }; 20 | } 21 | } -------------------------------------------------------------------------------- /Shaders/Image Effects/Dithering/FullscreenDithering.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f768984b1714601a7cf5fd3dcdae895 3 | timeCreated: 1525171736 -------------------------------------------------------------------------------- /Shaders/Image Effects/Dithering/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 537ca5f893bc18649851f614aaf4d14e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Shaders/Image Effects/Dithering/Resources/Framework-DitheringEffect.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 957fa5ae2c487b547aaea72c73295caf 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Image Effects/Glitch.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19378bac479a25544bd169608c0539aa 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Shaders/Image Effects/Glitch/Glitch.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using UnityEngine.Rendering.PostProcessing; 4 | 5 | namespace UnityEngine.Rendering.PostProcessing 6 | { 7 | [Serializable] 8 | [PostProcess(typeof(GlitchRenderer), PostProcessEvent.AfterStack, "Framework/Glitch")] 9 | public class Glitch : PostProcessEffectSettings 10 | { 11 | public TextureParameter Displacement = new TextureParameter(); 12 | 13 | [Range(0,1)] 14 | public FloatParameter ColorBleed = new FloatParameter { value = 1 }; 15 | 16 | [Range(0,1)] 17 | public FloatParameter Strength = new FloatParameter { value = 1 }; 18 | 19 | [Range(0, 1)] 20 | public FloatParameter FlipIntensity = new FloatParameter { value = 1 }; 21 | 22 | public FloatParameter NoiseDistance = new FloatParameter { value = 100 }; 23 | } 24 | } -------------------------------------------------------------------------------- /Shaders/Image Effects/Glitch/Glitch.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a0f9b077803940419df64eddc98134b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Shaders/Image Effects/Glitch/GlitchRenderer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71b005744d6dc1941a789fa155880568 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Shaders/Image Effects/Glitch/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4d404a19b7150642921be6333c55d0a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Shaders/Image Effects/Glitch/Resources/Framework-Glitch.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70d658e90f4042dc894e8c41dda2230e 3 | timeCreated: 1525253152 -------------------------------------------------------------------------------- /Shaders/Image Effects/GradientFog.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 237e4c79fda9e084d8ad176d68d526c1 3 | folderAsset: yes 4 | timeCreated: 1493717102 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Image Effects/GradientFog/GradientFog.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c464fe5f8ea20849b9bb867db330ae0 3 | timeCreated: 1493717129 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Shaders/Image Effects/GradientFog/GradientFogRenderer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5702191b7b39c246b22b0f750d8be4f 3 | timeCreated: 1493717119 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Shaders/Image Effects/GradientFog/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5916cb716bf60784f93afc0d2b7e8c81 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Shaders/Image Effects/GradientFog/Resources/Framework-GradientFog.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb81c4154cee52545892f032b2894870 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/SpriteGradient.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72e1870b991ad56408dba954a01d03d8 3 | timeCreated: 1507237382 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Terrain Improved.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6dc01c22274bdb147a5c138b173887a0 3 | folderAsset: yes 4 | timeCreated: 1493636436 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Terrain Improved/Improved-AddPass.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41e918e65e57b144b84e782d92a5ef0d 3 | timeCreated: 1493636441 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Terrain Improved/Improved-Base.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d656de0cf59c8d489197df67ec3f757 3 | timeCreated: 1493636442 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Terrain Improved/Improved-FirstPass.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 825859ba1a6f4414a8b6749015cabdbb 3 | timeCreated: 1493636447 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Terrain Improved/Improved-TerrainSplatmapCommon.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0b0f6f71a06fb04199c4ca85d95c07f 3 | timeCreated: 1493636436 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Terrain Splamix.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 775b50660fe5fc14cb21194171515b1f 3 | folderAsset: yes 4 | timeCreated: 1493636436 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Terrain Splamix/Splatmix-AddPass.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ce36b772cd384c49b0e4d882447ac25 3 | timeCreated: 1493636832 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Terrain Splamix/Splatmix-Base.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/Terrain/Splatmix-Base" { 2 | Properties { 3 | _MainTex ("Base (RGB) Smoothness (A)", 2D) = "white" {} 4 | _MetallicTex ("Metallic (R)", 2D) = "white" {} 5 | 6 | // used in fallback on old cards 7 | _Color ("Main Color", Color) = (1,1,1,1) 8 | } 9 | 10 | SubShader { 11 | Tags { 12 | "RenderType" = "Opaque" 13 | "Queue" = "Geometry-100" 14 | } 15 | LOD 200 16 | 17 | CGPROGRAM 18 | #pragma surface surf Standard fullforwardshadows 19 | #pragma target 3.0 20 | // needs more than 8 texcoords 21 | #pragma exclude_renderers gles 22 | #include "UnityPBSLighting.cginc" 23 | 24 | sampler2D _MainTex; 25 | sampler2D _MetallicTex; 26 | 27 | struct Input { 28 | float2 uv_MainTex; 29 | }; 30 | 31 | void surf (Input IN, inout SurfaceOutputStandard o) { 32 | half4 c = tex2D (_MainTex, IN.uv_MainTex); 33 | o.Albedo = c.rgb; 34 | o.Alpha = 1; 35 | o.Smoothness = c.a; 36 | o.Metallic = tex2D (_MetallicTex, IN.uv_MainTex).r; 37 | } 38 | 39 | ENDCG 40 | } 41 | 42 | FallBack "Diffuse" 43 | } 44 | -------------------------------------------------------------------------------- /Shaders/Terrain Splamix/Splatmix-Base.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9dfa29e0b2d77034aa6b2315ff04239d 3 | timeCreated: 1493636833 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Terrain Splamix/Splatmix-FirstPass.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93971987fcc3feb419a41145860b146d 3 | timeCreated: 1493636832 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Terrain Splamix/Splatmix-TerrainSplatmapCommon.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e7e8a8c4319a9e4d88b4463dcf7a14b 3 | timeCreated: 1493636832 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Tests.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 749a2b76130e8624296f7a0d00143701 3 | folderAsset: yes 4 | timeCreated: 1476104140 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Tests/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0aa5ccc089da22a47b9b06f31e80282e 3 | folderAsset: yes 4 | timeCreated: 1473948953 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Tests/Editor/DebugConsoleTests.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c3f453c45e461441931389895f7fb24 3 | timeCreated: 1473948959 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Tests/Framework.Test.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Framework.Test", 3 | "references": [ 4 | "Framework" 5 | ], 6 | "optionalUnityReferences": [ 7 | "TestAssemblies" 8 | ], 9 | "includePlatforms": [], 10 | "excludePlatforms": [], 11 | "allowUnsafeCode": false 12 | } -------------------------------------------------------------------------------- /Tests/Framework.Test.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04b1f6021de2cc3409d721800b172010 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Utils.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 918589c803aa97c49b5cf7bc78c522ab 3 | folderAsset: yes 4 | timeCreated: 1458761493 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Utils/Animation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7138108b01fb704f9f5056981a58de9 3 | folderAsset: yes 4 | timeCreated: 1482187741 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Utils/Animation/AnimationDirector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a88bd143715958545b23d1dc79f689ae 3 | timeCreated: 1458760035 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Animation/AnimationPlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 838a060dc2fa88d44b07e4bc907801e9 3 | timeCreated: 1468856764 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Animation/ClipData.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | 5 | [System.Serializable] 6 | public struct ClipData 7 | { 8 | [SerializeField] 9 | public int Tier; 10 | 11 | [SerializeField] 12 | public float Duration; 13 | 14 | [SerializeField] 15 | public List Animations; 16 | } 17 | 18 | [System.Serializable] 19 | public struct AnimData 20 | { 21 | [SerializeField] 22 | public Animator Animator; 23 | 24 | [SerializeField] 25 | public string Animation; 26 | } -------------------------------------------------------------------------------- /Utils/Animation/ClipData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a36833be6a3a0a247b38a351a6c869f6 3 | timeCreated: 1458760053 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/AudioRandomizer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e01d345525103947a0114292894a15f 3 | timeCreated: 1469819578 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/BezierCurve.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 560417c5301dac943a8d68b62692fd75 3 | timeCreated: 1469365354 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/EnumFlagsAttribute.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Framework 4 | { 5 | public class EnumFlagsAttribute : PropertyAttribute 6 | { 7 | public EnumFlagsAttribute() { } 8 | } 9 | } -------------------------------------------------------------------------------- /Utils/EnumFlagsAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 12016d26459efca4696890073fdfeee3 3 | timeCreated: 1493460882 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/EventQueue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1fdd962dd5b14294c872ffe7740fe4f4 3 | timeCreated: 1509713258 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Utils/Extensions.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 716b0f47af3775c45b48f9fca186cd9f 3 | folderAsset: yes 4 | timeCreated: 1476104140 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Utils/Extensions/CommonExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b45ebaae66fdfeb429a63335831debb0 3 | timeCreated: 1493503413 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Extensions/GameObjectExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0bfca79cdd9bb0f42885063da86ca52e 3 | timeCreated: 1462701877 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Extensions/KeyValuePairExtensions.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Framework 4 | { 5 | public static class KeyValuePairExtensions 6 | { 7 | // No suitable Deconstruct instance or extension method was found for type 'KeyValuePair', with 2 out parameters and a void return type. 8 | public static void Deconstruct(this KeyValuePair pair, out K key, out V value) 9 | { 10 | key = pair.Key; 11 | value = pair.Value; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Utils/Extensions/KeyValuePairExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c27b0e2f313433db5280ad59b4e67e1 3 | timeCreated: 1551466633 -------------------------------------------------------------------------------- /Utils/Extensions/MonoGameExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bcf3464adc2d054c8461f129b576731 3 | timeCreated: 1458760035 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Extensions/RectExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 788855e31cbcd3646a7f965710da1273 3 | timeCreated: 1483278330 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Extensions/ReflectionExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a37beba0d6e4e838c06ed6d87451142 3 | timeCreated: 1530966806 -------------------------------------------------------------------------------- /Utils/Extensions/TransformExtensions.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace RectTransformExtensions 4 | { 5 | public static class TransformExtender 6 | { 7 | public static bool IsOnRightOf(this RectTransform first, RectTransform second) 8 | { 9 | return first.anchoredPosition.x > second.anchoredPosition.x; 10 | } 11 | 12 | public static bool IsOnLeftOf(this RectTransform first, RectTransform second) 13 | { 14 | return first.anchoredPosition.x < second.pivot.x; 15 | } 16 | 17 | public static bool IsOnCenterOf(this RectTransform first, RectTransform second) 18 | { 19 | return Mathf.Abs(first.anchoredPosition.x - second.anchoredPosition.x) < float.Epsilon; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Utils/Extensions/TransformExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cee27160137918448f5cafafb7914ce 3 | timeCreated: 1458760245 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Extensions/Vector3Extensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a806e11151d7bef47a47f7159021eeae 3 | timeCreated: 1468911187 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Lifetime.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a4afe6040e84c168f3a62b2ee6a5af9 3 | timeCreated: 1508627297 -------------------------------------------------------------------------------- /Utils/Pair.cs: -------------------------------------------------------------------------------- 1 | namespace Framework.Utils 2 | { 3 | public static class PairUtils 4 | { 5 | public static Pair MakePair(T first, U second) 6 | { 7 | return new Pair(first, second); 8 | } 9 | } 10 | 11 | public struct Pair 12 | { 13 | public Pair(T first, U second) 14 | { 15 | this.First = first; 16 | this.Second = second; 17 | } 18 | 19 | public T First { get; set; } 20 | public U Second { get; set; } 21 | 22 | public void Deconstruct(out T first, out U second) 23 | { 24 | first = First; 25 | second = Second; 26 | } 27 | }; 28 | } -------------------------------------------------------------------------------- /Utils/Pair.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bcc9af1aa424fcc91394b3c1b2f37bc 3 | timeCreated: 1540329904 -------------------------------------------------------------------------------- /Utils/Persistent.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class Persistent : MonoBehaviour 4 | { 5 | public bool IsDestroyedOnExit; 6 | 7 | void Start() 8 | { 9 | DontDestroyOnLoad(gameObject); 10 | } 11 | 12 | public void DestroyOnExit() 13 | { 14 | Debug.Log("[Persistent] Object " + name + 15 | " destroyed " + IsDestroyedOnExit); 16 | 17 | if (IsDestroyedOnExit) 18 | { 19 | Destroy(gameObject); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Utils/Persistent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9257fe6717c3c7d449166f66a35e1375 3 | timeCreated: 1458759543 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Pool.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4d58ac7d8c571740bc73d3054d0009a 3 | folderAsset: yes 4 | timeCreated: 1482187724 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Utils/Pool/PooledObject.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class PooledObject : MonoBehaviour 4 | { 5 | private PrefabPool pool; 6 | 7 | public void SetPool(PrefabPool pool) 8 | { 9 | this.pool = pool; 10 | } 11 | 12 | public void ReturnToPool() 13 | { 14 | pool.ReturnObject(gameObject); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Utils/Pool/PooledObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee15cf5bcefed0d4392c832509528e50 3 | timeCreated: 1468929042 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Pool/PrefabPool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5264da584eb38fa428596ea7fef043f3 3 | timeCreated: 1468927748 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: -100 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/PrefabRandomizer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c589d5b2d3f64941849bccbd8b28330 3 | timeCreated: 1507652681 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/PrefabRandomizerList.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using UnityEngine; 5 | 6 | namespace Framework 7 | { 8 | #if UNITY_EDITOR 9 | [CreateAssetMenu(menuName = "Data/Prefab Randomizer List", fileName = "New Prefab Randomizer List")] 10 | #endif 11 | [System.Serializable] 12 | public class PrefabRandomizerList : ScriptableObject 13 | { 14 | [SerializeField] 15 | public List Prefabs = new List(); 16 | 17 | public int Count => Prefabs.Count; 18 | public bool Any => Prefabs.Any(); 19 | public GameObject this[int i] => Prefabs[i]; 20 | public GameObject Random => Prefabs[UnityEngine.Random.Range(0, Prefabs.Count)]; 21 | } 22 | } -------------------------------------------------------------------------------- /Utils/PrefabRandomizerList.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37fc92fb67beaa4439f4c2d5d78bc364 3 | timeCreated: 1508426282 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Utils/ReflectionEnumerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e34a40c9549d4a48b6496a19e9f41ad 3 | timeCreated: 1481810146 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/SceneReference.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.SceneManagement; 3 | 4 | namespace Framework 5 | { 6 | [System.Serializable] 7 | public class SceneReference : IValueChecker 8 | { 9 | [SerializeField] 10 | private Object sceneAsset; 11 | 12 | [SerializeField] 13 | private string sceneName = ""; 14 | 15 | public string SceneName => sceneName; 16 | 17 | // makes it work with the existing Unity methods (LoadLevel/LoadScene) 18 | public static implicit operator string(SceneReference sceneField) 19 | { 20 | return sceneField.SceneName; 21 | } 22 | 23 | public bool HasValue() 24 | { 25 | return !string.IsNullOrWhiteSpace(SceneName); 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /Utils/SceneReference.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8199ab0b99464fc0a721a63ff36139ba 3 | timeCreated: 1540657218 -------------------------------------------------------------------------------- /Utils/SerializedDictionary.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23f42bff25b3d4e40b43a42e8f091a7e 3 | timeCreated: 1506700982 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Singleton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5146e484c7fb2a244b9969e1799dd9b8 3 | timeCreated: 1458759543 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/Spline.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 360d212fe6bf15d4aa3ca4481795d3f6 3 | timeCreated: 1493457693 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/StringUtils.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using UnityEngine; 5 | 6 | public static class StringUtils 7 | { 8 | public static string MakeUnique(string name, IEnumerable collection) 9 | { 10 | string result = name; 11 | 12 | for (int i = 0; collection.Any(c => c.Equals(result)); i++) 13 | { 14 | result = string.Format("{0} {1}", name, i); 15 | } 16 | 17 | return result; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Utils/StringUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46e3f21573ef39d43be212986d445bb6 3 | timeCreated: 1481981396 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/TweenSystem.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using Utils; 3 | 4 | namespace Framework.Utils 5 | { 6 | public class TweenSystem : Singleton 7 | { 8 | public bool Enabled = true; 9 | 10 | void FixedUpdate() 11 | { 12 | if (Enabled) Tween.Update(Time.fixedTime, Time.time); 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /Utils/TweenSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 15d69c3fa72f4422b37126880f99518f 3 | timeCreated: 1540484327 -------------------------------------------------------------------------------- /Utils/Tweener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8e393a653788d74eb8dcd06bccfe604 3 | timeCreated: 1458760245 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Utils/UniqueQueue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc4e1378a596035459548c14a1dc0e4f 3 | timeCreated: 1509715587 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | --------------------------------------------------------------------------------