| @@ -0,0 +1 @@ | ||
| http://evasiongames.com/gameflow/docs |
| @@ -0,0 +1 @@ | ||
| http://evasiongames.com/es/gameflow/docs |
| @@ -0,0 +1,13 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!134 &13400000 | ||
| PhysicMaterial: | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: Bouncy | ||
| dynamicFriction: 0 | ||
| staticFriction: 0 | ||
| bounciness: 0.5 | ||
| frictionCombine: 1 | ||
| bounceCombine: 3 |
| @@ -0,0 +1,41 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: DiffuseRGBA | ||
| m_Shader: {fileID: 30, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 4 | ||
| m_EnableInstancingVariants: 0 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| disabledShaderPasses: [] | ||
| m_SavedProperties: | ||
| serializedVersion: 3 | ||
| m_TexEnvs: | ||
| - _BumpMap: | ||
| m_Texture: {fileID: 0} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| - _Detail: | ||
| m_Texture: {fileID: 0} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| - _MainTex: | ||
| m_Texture: {fileID: 0} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| - _ParallaxMap: | ||
| m_Texture: {fileID: 0} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: | ||
| - _Parallax: 0.02 | ||
| - _Shininess: 0.078125 | ||
| m_Colors: | ||
| - _Color: {r: 1, g: 1, b: 1, a: 1} | ||
| - _SpecColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} |
| @@ -0,0 +1,30 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: Green | ||
| m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 4 | ||
| m_EnableInstancingVariants: 0 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| disabledShaderPasses: [] | ||
| m_SavedProperties: | ||
| serializedVersion: 3 | ||
| m_TexEnvs: | ||
| - _Detail: | ||
| m_Texture: {fileID: 0} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| - _MainTex: | ||
| m_Texture: {fileID: 0} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: [] | ||
| m_Colors: | ||
| - _Color: {r: 0.4, g: 1, b: 0.8, a: 1} |
| @@ -0,0 +1,26 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: Red | ||
| m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 5 | ||
| m_EnableInstancingVariants: 0 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| disabledShaderPasses: [] | ||
| m_SavedProperties: | ||
| serializedVersion: 3 | ||
| m_TexEnvs: | ||
| - _MainTex: | ||
| m_Texture: {fileID: 0} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: [] | ||
| m_Colors: | ||
| - _Color: {r: 1, g: 0, b: 0, a: 1} |
| @@ -0,0 +1,26 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: Yellow | ||
| m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 4 | ||
| m_EnableInstancingVariants: 0 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| disabledShaderPasses: [] | ||
| m_SavedProperties: | ||
| serializedVersion: 3 | ||
| m_TexEnvs: | ||
| - _MainTex: | ||
| m_Texture: {fileID: 0} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: [] | ||
| m_Colors: | ||
| - _Color: {r: 1, g: 1, b: 0, a: 1} |
| @@ -0,0 +1,329 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!1 &121568 | ||
| GameObject: | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| serializedVersion: 5 | ||
| m_Component: | ||
| - component: {fileID: 421568} | ||
| - component: {fileID: 114753395995865834} | ||
| - component: {fileID: 11421558} | ||
| - component: {fileID: 11421562} | ||
| - component: {fileID: 11421560} | ||
| - component: {fileID: 11421564} | ||
| - component: {fileID: 11421566} | ||
| - component: {fileID: 11421568} | ||
| - component: {fileID: 13221568} | ||
| - component: {fileID: 114184071637145144} | ||
| m_Layer: 0 | ||
| m_Name: FPS Counter | ||
| m_TagString: Untagged | ||
| m_Icon: {fileID: 0} | ||
| m_NavMeshLayer: 0 | ||
| m_StaticEditorFlags: 0 | ||
| m_IsActive: 1 | ||
| --- !u!4 &421568 | ||
| Transform: | ||
| m_ObjectHideFlags: 1 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 121568} | ||
| m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| m_LocalScale: {x: 1, y: 1, z: 1} | ||
| m_Children: [] | ||
| m_Father: {fileID: 0} | ||
| m_RootOrder: 0 | ||
| m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
| --- !u!114 &11421558 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 121568} | ||
| m_Enabled: 1 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: -2147088620, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 1 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114184071637145144} | ||
| editor: {fileID: 0} | ||
| _id: Program5221 | ||
| _actions: | ||
| - {fileID: 11421560} | ||
| _parameters: [] | ||
| _showParameters: 0 | ||
| _showSettings: 0 | ||
| _actionsFoldout: 1 | ||
| _ignorePause: 0 | ||
| --- !u!114 &11421560 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 121568} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: -514907287, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 0.8.8b | ||
| _moved: 1 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 11421558} | ||
| editor: {fileID: 0} | ||
| _caption: | ||
| _breakpoint: 0 | ||
| _target: {fileID: 13221568} | ||
| _targetVar: {fileID: 0} | ||
| _property: 12 | ||
| _alignmentValue: 0 | ||
| _anchorValue: 0 | ||
| _colorValue: {r: 1, g: 1, b: 1, a: 1} | ||
| _enabledValue: 1 | ||
| _fontValue: {fileID: 0} | ||
| _fontSizeValue: 0 | ||
| _fontStyleValue: 0 | ||
| _lineSpacingValue: 0 | ||
| _pixelOffsetValue: {x: 0, y: 0} | ||
| _richTextValue: 0 | ||
| _screenRectValue: | ||
| serializedVersion: 2 | ||
| x: 0 | ||
| y: 0 | ||
| width: 0 | ||
| height: 0 | ||
| _tabSizeValue: 0 | ||
| _textValue: | ||
| _valueVar: {fileID: 11427102, guid: d11065f7f98d84dd5a96e090b115e83b, type: 2} | ||
| _format: '{0:N}' | ||
| _formatVar: {fileID: 0} | ||
| --- !u!114 &11421562 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 121568} | ||
| m_Enabled: 1 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 131294560, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 1 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114184071637145144} | ||
| editor: {fileID: 0} | ||
| _id: Program9818 | ||
| _actions: | ||
| - {fileID: 11421566} | ||
| - {fileID: 11421568} | ||
| - {fileID: 11421564} | ||
| _parameters: [] | ||
| _showParameters: 0 | ||
| _showSettings: 1 | ||
| _actionsFoldout: 1 | ||
| _ignorePause: 0 | ||
| --- !u!114 &11421564 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 121568} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: -514907287, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 0.8.8b | ||
| _moved: 1 | ||
| _foldout: 0 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 11421562} | ||
| editor: {fileID: 0} | ||
| _caption: | ||
| _breakpoint: 0 | ||
| _target: {fileID: 13221568} | ||
| _targetVar: {fileID: 0} | ||
| _property: 8 | ||
| _alignmentValue: 0 | ||
| _anchorValue: 0 | ||
| _colorValue: {r: 1, g: 1, b: 1, a: 1} | ||
| _enabledValue: 1 | ||
| _fontValue: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} | ||
| _fontSizeValue: 16 | ||
| _fontStyleValue: 0 | ||
| _lineSpacingValue: 1 | ||
| _pixelOffsetValue: {x: 10, y: 25} | ||
| _richTextValue: 1 | ||
| _screenRectValue: | ||
| serializedVersion: 2 | ||
| x: 10 | ||
| y: 7 | ||
| width: 18 | ||
| height: 18 | ||
| _tabSizeValue: 4 | ||
| _textValue: 00 | ||
| _valueVar: {fileID: 0} | ||
| _format: | ||
| _formatVar: {fileID: 0} | ||
| --- !u!114 &11421566 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 121568} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 938558877, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 0.8.8b | ||
| _moved: 1 | ||
| _foldout: 0 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 11421562} | ||
| editor: {fileID: 0} | ||
| _caption: | ||
| _breakpoint: 0 | ||
| _target: {fileID: 121568} | ||
| _targetVar: {fileID: 0} | ||
| _parent: {fileID: 0} | ||
| _parentVar: {fileID: 0} | ||
| --- !u!114 &11421568 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 121568} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 145151700, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 0.8.8b | ||
| _moved: 1 | ||
| _foldout: 0 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 11421562} | ||
| editor: {fileID: 0} | ||
| _caption: | ||
| _breakpoint: 0 | ||
| _target: {fileID: 421568} | ||
| _targetVar: {fileID: 0} | ||
| _space: 0 | ||
| _spaceVar: {fileID: 0} | ||
| _mask: {x: 1, y: 1, z: 1} | ||
| _maskVar: {fileID: 0} | ||
| _relative: 0 | ||
| _relativeVar: {fileID: 0} | ||
| _multiplier: 1 | ||
| _multiplierVar: {fileID: 0} | ||
| _position: {x: 0, y: 0, z: 0} | ||
| _positionVar: {fileID: 0} | ||
| --- !u!132 &13221568 | ||
| GUIText: | ||
| m_ObjectHideFlags: 1 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 121568} | ||
| m_Enabled: 1 | ||
| serializedVersion: 3 | ||
| m_Text: FPS | ||
| m_Anchor: 0 | ||
| m_Alignment: 0 | ||
| m_PixelOffset: {x: 10, y: 25} | ||
| m_LineSpacing: 1 | ||
| m_TabSize: 4 | ||
| m_Font: {fileID: 0} | ||
| m_Material: {fileID: 0} | ||
| m_FontSize: 16 | ||
| m_FontStyle: 0 | ||
| m_Color: | ||
| serializedVersion: 2 | ||
| rgba: 4294967295 | ||
| m_PixelCorrect: 1 | ||
| m_RichText: 1 | ||
| --- !u!1001 &100100000 | ||
| Prefab: | ||
| m_ObjectHideFlags: 1 | ||
| serializedVersion: 2 | ||
| m_Modification: | ||
| m_TransformParent: {fileID: 0} | ||
| m_Modifications: [] | ||
| m_RemovedComponents: [] | ||
| m_ParentPrefab: {fileID: 0} | ||
| m_RootGameObject: {fileID: 121568} | ||
| m_IsPrefabParent: 1 | ||
| --- !u!114 &114184071637145144 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 1 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 121568} | ||
| m_Enabled: 1 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 1528663654, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _blocks: | ||
| - {fileID: 114753395995865834} | ||
| - {fileID: 11421562} | ||
| - {fileID: 11421558} | ||
| editor: {fileID: 0} | ||
| _showSettings: 0 | ||
| _displayMode: 1 | ||
| _windowTitle: GameFlow | ||
| _windowMinSize: {x: 250, y: 50} | ||
| _windowMaxSize: {x: 600, y: 400} | ||
| --- !u!114 &114753395995865834 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 121568} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 1749583841, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114184071637145144} | ||
| editor: {fileID: 0} | ||
| _text: A simple FPS (Frames Per Second) counter. |
| @@ -0,0 +1,332 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!1001 &100100000 | ||
| Prefab: | ||
| m_ObjectHideFlags: 1 | ||
| serializedVersion: 2 | ||
| m_Modification: | ||
| m_TransformParent: {fileID: 0} | ||
| m_Modifications: [] | ||
| m_RemovedComponents: [] | ||
| m_ParentPrefab: {fileID: 0} | ||
| m_RootGameObject: {fileID: 1847531681444932} | ||
| m_IsPrefabParent: 1 | ||
| --- !u!1 &1847531681444932 | ||
| GameObject: | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| serializedVersion: 5 | ||
| m_Component: | ||
| - component: {fileID: 4471510148436132} | ||
| - component: {fileID: 114950382016448806} | ||
| - component: {fileID: 114492205178650668} | ||
| - component: {fileID: 114257540066748544} | ||
| - component: {fileID: 114708019366218034} | ||
| - component: {fileID: 114233135456826686} | ||
| - component: {fileID: 114924425831025270} | ||
| - component: {fileID: 114355797444676278} | ||
| - component: {fileID: 114280603717282838} | ||
| - component: {fileID: 114924287457965186} | ||
| m_Layer: 0 | ||
| m_Name: Pause Controller | ||
| m_TagString: Untagged | ||
| m_Icon: {fileID: 0} | ||
| m_NavMeshLayer: 0 | ||
| m_StaticEditorFlags: 0 | ||
| m_IsActive: 1 | ||
| --- !u!4 &4471510148436132 | ||
| Transform: | ||
| m_ObjectHideFlags: 1 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1847531681444932} | ||
| m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| m_LocalScale: {x: 1, y: 1, z: 1} | ||
| m_Children: [] | ||
| m_Father: {fileID: 0} | ||
| m_RootOrder: 0 | ||
| m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
| --- !u!114 &114233135456826686 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1847531681444932} | ||
| m_Enabled: 1 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: -1870977559, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114924287457965186} | ||
| editor: {fileID: 0} | ||
| _id: Program8700 | ||
| _actions: | ||
| - {fileID: 114280603717282838} | ||
| _parameters: [] | ||
| _showParameters: 0 | ||
| _showSettings: 1 | ||
| _actionsFoldout: 1 | ||
| _ignorePause: 1 | ||
| --- !u!114 &114257540066748544 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1847531681444932} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 1749583841, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114924287457965186} | ||
| editor: {fileID: 0} | ||
| _text: A simple Pause controller. | ||
| --- !u!114 &114280603717282838 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1847531681444932} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 999285341, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114233135456826686} | ||
| editor: {fileID: 0} | ||
| _caption: | ||
| _breakpoint: 0 | ||
| _conditions: | ||
| - {fileID: 114492205178650668} | ||
| _actions: | ||
| - {fileID: 114924425831025270} | ||
| _elseActions: [] | ||
| _elseVisible: 0 | ||
| --- !u!114 &114355797444676278 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1847531681444932} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 807093266, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114924287457965186} | ||
| editor: {fileID: 0} | ||
| _id: | ||
| --- !u!114 &114492205178650668 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1847531681444932} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 1810492686, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114280603717282838} | ||
| editor: {fileID: 0} | ||
| _caption: | ||
| _connective: 0 | ||
| _inputType: 0 | ||
| _key: {fileID: 114950382016448806} | ||
| _keyVar: {fileID: 0} | ||
| _keyCode: 0 | ||
| _keyCodeVar: {fileID: 0} | ||
| _comparison: 1 | ||
| --- !u!114 &114708019366218034 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1847531681444932} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 280294710, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114924287457965186} | ||
| editor: {fileID: 0} | ||
| _id: KeyCode | ||
| _dataType: 9 | ||
| _typeName: UnityEngine.KeyCode | ||
| _indirectDataType: 0 | ||
| _indirectTypeName: | ||
| _defaultStringValue: | ||
| _defaultIntValue: 0 | ||
| _defaultFloatValue: 0 | ||
| _defaultBoolValue: 0 | ||
| _defaultVector2Value: {x: 0, y: 0} | ||
| _defaultVector3Value: {x: 0, y: 0, z: 0} | ||
| _defaultVector4Value: {x: 0, y: 0, z: 0, w: 0} | ||
| _defaultRectValue: | ||
| serializedVersion: 2 | ||
| x: 0 | ||
| y: 0 | ||
| width: 0 | ||
| height: 0 | ||
| _defaultColorValue: {r: 0, g: 0, b: 0, a: 0} | ||
| _defaultEnumIntValue: 0 | ||
| _defaultBoundsValue: | ||
| m_Center: {x: 0, y: 0, z: 0} | ||
| m_Extent: {x: 0, y: 0, z: 0} | ||
| _defaultQuaternionValue: {x: 0, y: 0, z: 0, w: 0} | ||
| _stringValue: | ||
| _intValue: 0 | ||
| _floatValue: 0 | ||
| _boolValue: 1 | ||
| _vector2Value: {x: 0, y: 0} | ||
| _vector3Value: {x: 0, y: 0, z: 0} | ||
| _rectValue: | ||
| serializedVersion: 2 | ||
| x: 0 | ||
| y: 0 | ||
| width: 0 | ||
| height: 0 | ||
| _colorValue: {r: 0, g: 0, b: 0, a: 1} | ||
| _objectValue: {fileID: 0} | ||
| _enumIntValue: 112 | ||
| _enumCached: 0 | ||
| _boundsValue: | ||
| m_Center: {x: 0, y: 0, z: 0} | ||
| m_Extent: {x: 0, y: 0, z: 0} | ||
| _quaternionValue: {x: 0, y: 0, z: 0, w: 1} | ||
| _vector4Value: {x: 0, y: 0, z: 0, w: 0} | ||
| _animationCurveValue: | ||
| serializedVersion: 2 | ||
| m_Curve: [] | ||
| m_PreInfinity: 2 | ||
| m_PostInfinity: 2 | ||
| m_RotationOrder: 4 | ||
| _readOnly: 0 | ||
| _private: 0 | ||
| _persistent: 0 | ||
| _indirect: 0 | ||
| _isVariant: 0 | ||
| _showDescription: 0 | ||
| _description: <Description> | ||
| _changeListeners: [] | ||
| _hidden: 0 | ||
| _display: 1 | ||
| _label: Pause/Resume Key | ||
| --- !u!114 &114924287457965186 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 1 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1847531681444932} | ||
| m_Enabled: 1 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 1528663654, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _blocks: | ||
| - {fileID: 114257540066748544} | ||
| - {fileID: 114708019366218034} | ||
| - {fileID: 114355797444676278} | ||
| - {fileID: 114233135456826686} | ||
| - {fileID: 114950382016448806} | ||
| editor: {fileID: 0} | ||
| _showSettings: 0 | ||
| _displayMode: 1 | ||
| _windowTitle: GameFlow | ||
| _windowMinSize: {x: 240, y: 64} | ||
| _windowMaxSize: {x: 600, y: 400} | ||
| --- !u!114 &114924425831025270 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1847531681444932} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 1673353149, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114280603717282838} | ||
| editor: {fileID: 0} | ||
| _caption: | ||
| _breakpoint: 0 | ||
| --- !u!114 &114950382016448806 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1847531681444932} | ||
| m_Enabled: 1 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: -1187461405, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114924287457965186} | ||
| editor: {fileID: 0} | ||
| _id: PauseKey | ||
| _code: 0 | ||
| _codeVar: {fileID: 114708019366218034} | ||
| _enabledInPause: 1 | ||
| _enabledInPauseVar: {fileID: 0} |
| @@ -0,0 +1,376 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!1001 &100100000 | ||
| Prefab: | ||
| m_ObjectHideFlags: 1 | ||
| serializedVersion: 2 | ||
| m_Modification: | ||
| m_TransformParent: {fileID: 0} | ||
| m_Modifications: [] | ||
| m_RemovedComponents: [] | ||
| m_ParentPrefab: {fileID: 0} | ||
| m_RootGameObject: {fileID: 1481784894560384} | ||
| m_IsPrefabParent: 1 | ||
| --- !u!1 &1481784894560384 | ||
| GameObject: | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| serializedVersion: 5 | ||
| m_Component: | ||
| - component: {fileID: 4922696479468218} | ||
| - component: {fileID: 114320836978366652} | ||
| - component: {fileID: 114395147343173626} | ||
| - component: {fileID: 114622943816944158} | ||
| - component: {fileID: 114413048545769184} | ||
| - component: {fileID: 114467147916577076} | ||
| - component: {fileID: 114837158016154904} | ||
| - component: {fileID: 114063789623008712} | ||
| - component: {fileID: 114761927820598472} | ||
| m_Layer: 0 | ||
| m_Name: Scale | ||
| m_TagString: EditorOnly | ||
| m_Icon: {fileID: 0} | ||
| m_NavMeshLayer: 0 | ||
| m_StaticEditorFlags: 0 | ||
| m_IsActive: 1 | ||
| --- !u!4 &4922696479468218 | ||
| Transform: | ||
| m_ObjectHideFlags: 1 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1481784894560384} | ||
| m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| m_LocalScale: {x: 1.82, y: 1.82, z: 1.82} | ||
| m_Children: [] | ||
| m_Father: {fileID: 0} | ||
| m_RootOrder: 0 | ||
| m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
| --- !u!114 &114063789623008712 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1481784894560384} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 2011229414, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114320836978366652} | ||
| editor: {fileID: 0} | ||
| _caption: | ||
| _breakpoint: 0 | ||
| _output: {fileID: 114837158016154904} | ||
| --- !u!114 &114320836978366652 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1481784894560384} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 1992407490, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114761927820598472} | ||
| editor: {fileID: 0} | ||
| _id: Program4433 | ||
| _actions: | ||
| - {fileID: 114063789623008712} | ||
| - {fileID: 114622943816944158} | ||
| _parameters: [] | ||
| _showParameters: 0 | ||
| _showSettings: 1 | ||
| _actionsFoldout: 1 | ||
| _ignorePause: 0 | ||
| _listeningRange: 0 | ||
| _listeningTarget: {fileID: 1481784894560384} | ||
| _listeningList: {fileID: 0} | ||
| _parameter: {fileID: 114395147343173626} | ||
| --- !u!114 &114395147343173626 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1481784894560384} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 280294710, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 0 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114761927820598472} | ||
| editor: {fileID: 0} | ||
| _id: Scale | ||
| _dataType: 2 | ||
| _typeName: | ||
| _indirectDataType: 0 | ||
| _indirectTypeName: | ||
| _defaultStringValue: | ||
| _defaultIntValue: 0 | ||
| _defaultFloatValue: 0 | ||
| _defaultBoolValue: 0 | ||
| _defaultVector2Value: {x: 0, y: 0} | ||
| _defaultVector3Value: {x: 0, y: 0, z: 0} | ||
| _defaultVector4Value: {x: 0, y: 0, z: 0, w: 0} | ||
| _defaultRectValue: | ||
| serializedVersion: 2 | ||
| x: 0 | ||
| y: 0 | ||
| width: 0 | ||
| height: 0 | ||
| _defaultColorValue: {r: 0, g: 0, b: 0, a: 0} | ||
| _defaultEnumIntValue: 0 | ||
| _defaultBoundsValue: | ||
| m_Center: {x: 0, y: 0, z: 0} | ||
| m_Extent: {x: 0, y: 0, z: 0} | ||
| _defaultQuaternionValue: {x: 0, y: 0, z: 0, w: 0} | ||
| _stringValue: | ||
| _intValue: 0 | ||
| _floatValue: 1.48 | ||
| _boolValue: 1 | ||
| _vector2Value: {x: 0, y: 0} | ||
| _vector3Value: {x: 0, y: 0, z: 0} | ||
| _rectValue: | ||
| serializedVersion: 2 | ||
| x: 0 | ||
| y: 0 | ||
| width: 0 | ||
| height: 0 | ||
| _colorValue: {r: 0, g: 0, b: 0, a: 1} | ||
| _objectValue: {fileID: 0} | ||
| _enumIntValue: 0 | ||
| _enumCached: 0 | ||
| _boundsValue: | ||
| m_Center: {x: 0, y: 0, z: 0} | ||
| m_Extent: {x: 0, y: 0, z: 0} | ||
| _quaternionValue: {x: 0, y: 0, z: 0, w: 1} | ||
| _vector4Value: {x: 0, y: 0, z: 0, w: 0} | ||
| _animationCurveValue: | ||
| serializedVersion: 2 | ||
| m_Curve: [] | ||
| m_PreInfinity: 2 | ||
| m_PostInfinity: 2 | ||
| m_RotationOrder: 4 | ||
| _readOnly: 0 | ||
| _private: 0 | ||
| _persistent: 0 | ||
| _indirect: 0 | ||
| _isVariant: 0 | ||
| _showDescription: 0 | ||
| _description: <Description> | ||
| _changeListeners: | ||
| - {fileID: 114320836978366652} | ||
| _hidden: 0 | ||
| _display: 1 | ||
| _label: Scale | ||
| --- !u!114 &114413048545769184 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1481784894560384} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 807093266, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114761927820598472} | ||
| editor: {fileID: 0} | ||
| _id: | ||
| --- !u!114 &114467147916577076 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1481784894560384} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 1749583841, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 0 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114761927820598472} | ||
| editor: {fileID: 0} | ||
| _text: 'Sets the scale of the selected GameObject. ' | ||
| --- !u!114 &114622943816944158 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1481784894560384} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 408363946, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 1 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114320836978366652} | ||
| editor: {fileID: 0} | ||
| _caption: | ||
| _breakpoint: 0 | ||
| _target: {fileID: 0} | ||
| _targetVar: {fileID: 114837158016154904} | ||
| _space: 0 | ||
| _spaceVar: {fileID: 0} | ||
| _mask: {x: 1, y: 1, z: 1} | ||
| _maskVar: {fileID: 0} | ||
| _relative: 0 | ||
| _relativeVar: {fileID: 0} | ||
| _multiplier: 1 | ||
| _multiplierVar: {fileID: 0} | ||
| _inputType: 2 | ||
| _inputTypeVar: {fileID: 0} | ||
| _scale: {x: 0, y: 0, z: 0} | ||
| _scaleVar: {fileID: 0} | ||
| _factor: 0 | ||
| _factorVar: {fileID: 0} | ||
| _value: 0 | ||
| _valueVar: {fileID: 114395147343173626} | ||
| --- !u!114 &114761927820598472 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 1 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1481784894560384} | ||
| m_Enabled: 1 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 1528663654, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _blocks: | ||
| - {fileID: 114467147916577076} | ||
| - {fileID: 114395147343173626} | ||
| - {fileID: 114413048545769184} | ||
| - {fileID: 114320836978366652} | ||
| - {fileID: 114837158016154904} | ||
| editor: {fileID: 0} | ||
| _showSettings: 0 | ||
| _displayMode: 2 | ||
| _windowTitle: Scale | ||
| _windowMinSize: {x: 250, y: 25} | ||
| _windowMaxSize: {x: 250, y: 25} | ||
| --- !u!114 &114837158016154904 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 3 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 100100000} | ||
| m_GameObject: {fileID: 1481784894560384} | ||
| m_Enabled: 0 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 161578033, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: | ||
| m_EditorClassIdentifier: | ||
| _initialized: 1 | ||
| _reset: 0 | ||
| _version: 1.0 | ||
| _moved: 0 | ||
| _foldout: 0 | ||
| _drawSeparator: 0 | ||
| enabledInEditor: 1 | ||
| container: {fileID: 114761927820598472} | ||
| editor: {fileID: 0} | ||
| _id: Selected | ||
| _dataType: 8 | ||
| _typeName: UnityEngine.GameObject | ||
| _indirectDataType: 0 | ||
| _indirectTypeName: | ||
| _defaultStringValue: | ||
| _defaultIntValue: 0 | ||
| _defaultFloatValue: 0 | ||
| _defaultBoolValue: 0 | ||
| _defaultVector2Value: {x: 0, y: 0} | ||
| _defaultVector3Value: {x: 0, y: 0, z: 0} | ||
| _defaultVector4Value: {x: 0, y: 0, z: 0, w: 0} | ||
| _defaultRectValue: | ||
| serializedVersion: 2 | ||
| x: 0 | ||
| y: 0 | ||
| width: 0 | ||
| height: 0 | ||
| _defaultColorValue: {r: 0, g: 0, b: 0, a: 0} | ||
| _defaultEnumIntValue: 0 | ||
| _defaultBoundsValue: | ||
| m_Center: {x: 0, y: 0, z: 0} | ||
| m_Extent: {x: 0, y: 0, z: 0} | ||
| _defaultQuaternionValue: {x: 0, y: 0, z: 0, w: 0} | ||
| _stringValue: | ||
| _intValue: 0 | ||
| _floatValue: 0 | ||
| _boolValue: 1 | ||
| _vector2Value: {x: 0, y: 0} | ||
| _vector3Value: {x: 0, y: 0, z: 0} | ||
| _rectValue: | ||
| serializedVersion: 2 | ||
| x: 0 | ||
| y: 0 | ||
| width: 0 | ||
| height: 0 | ||
| _colorValue: {r: 0, g: 0, b: 0, a: 1} | ||
| _objectValue: {fileID: 1481784894560384} | ||
| _enumIntValue: 0 | ||
| _enumCached: 0 | ||
| _boundsValue: | ||
| m_Center: {x: 0, y: 0, z: 0} | ||
| m_Extent: {x: 0, y: 0, z: 0} | ||
| _quaternionValue: {x: 0, y: 0, z: 0, w: 1} | ||
| _vector4Value: {x: 0, y: 0, z: 0, w: 0} | ||
| _animationCurveValue: | ||
| serializedVersion: 2 | ||
| m_Curve: [] | ||
| m_PreInfinity: 2 | ||
| m_PostInfinity: 2 | ||
| m_RotationOrder: 4 | ||
| _readOnly: 0 | ||
| _private: 0 | ||
| _persistent: 0 | ||
| _indirect: 0 | ||
| _isVariant: 0 | ||
| _showDescription: 0 | ||
| _description: <Description> | ||
| _changeListeners: [] |
| @@ -0,0 +1,9 @@ | ||
| GameFlow - Prefabs folder | ||
| ------------------------- | ||
|
|
||
| The Prefabs folder is organized in subfolders grouping prefabs by type: | ||
|
|
||
| - Prefabs/Gamefabs - These are ready-to-use prefabs containing GameFlow program that you can instantiate in your scene to add a specific functionality to your game. Example: "Pause Controller" to automatically have the ability to pause/resume your game with a key. | ||
|
|
||
| - Prefabs/Utilities - These are small tools for the Unity Editor programmed with GameFlow that will be shown as floating windows (also called "Utility" windows). Just double click on the desired prefab file to show it in a window. | ||
|
|
| @@ -0,0 +1,14 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!114 &11400000 | ||
| MonoBehaviour: | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_GameObject: {fileID: 0} | ||
| m_Enabled: 1 | ||
| m_EditorHideFlags: 0 | ||
| m_Script: {fileID: 1031342568, guid: 20990ec6b45e544b0b5f28b1e0c1c96b, type: 3} | ||
| m_Name: Localization | ||
| m_EditorClassIdentifier: | ||
| _systemLanguage: 10 |
| @@ -0,0 +1,7 @@ | ||
| GameFlow - Resources folder | ||
| --------------------------- | ||
|
|
||
| IMPORTANT: PLEASE DO NOT REMOVE ANY OF THE ORIGINAL FILES IN THIS FOLDER! | ||
|
|
||
| The Built-in prefab needs to be in this folder so the included built-in Variables can be accessed at runtime programmatically. Please don't move the file to a different folder. | ||
|
|
| @@ -0,0 +1,154 @@ | ||
| // [!] DO NOT REMOVE THIS FILE | ||
|
|
||
| using UnityEngine; | ||
| using UnityEditor; | ||
|
|
||
| namespace GameFlow { | ||
|
|
||
| public class MenuItems { | ||
|
|
||
| // Assets > Create > GameFlow | ||
|
|
||
| [MenuItem("Assets/Create/GameFlow/Action...", false, 3100)] | ||
| static void Assets_CreateAction() { | ||
| AssetsMenuItems.CreateAction(); | ||
| } | ||
|
|
||
| [MenuItem("Assets/Create/GameFlow/Condition...", false, 3101)] | ||
| static void Assets_CreateCondition() { | ||
| AssetsMenuItems.CreateCondition(); | ||
| } | ||
|
|
||
| [MenuItem("Assets/Create/GameFlow/Macro", false)] | ||
| static void Assets_Macro() { | ||
| AssetsMenuItems.CreateMacro(); | ||
| } | ||
|
|
||
| // GameObject > GameFlow | ||
|
|
||
| [MenuItem("GameObject/GameFlow/Program", false, 24)] | ||
| static void GameObject_CreateProgram() { | ||
| GameObjectMenuItems.CreateProgram(); | ||
| } | ||
|
|
||
| [MenuItem("GameObject/GameFlow/State Machine", false, 24)] | ||
| static void GameObject_CreateStateMachine() { | ||
| GameObjectMenuItems.CreateStateMachine(); | ||
| } | ||
|
|
||
| [MenuItem("GameObject/GameFlow/Timer", false, 24)] | ||
| static void GameObject_CreateTimer() { | ||
| GameObjectMenuItems.CreateTimer(); | ||
| } | ||
|
|
||
| [MenuItem("GameObject/GameFlow/Path", false, 24)] | ||
| public static void GameObject_CreatePath() { | ||
| GameObjectMenuItems.CreatePath(); | ||
| } | ||
|
|
||
| [MenuItem("GameObject/GameFlow/Pool", false, 24)] | ||
| public static void GameObject_CreatePool() { | ||
| GameObjectMenuItems.CreatePool(); | ||
| } | ||
|
|
||
| // Tools > GameFlow > Create | ||
|
|
||
| [MenuItem("Tools/GameFlow/Create/Action...", false)] | ||
| static void Tools_CreateAction() { | ||
| AssetsMenuItems.CreateAction(); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Create/Condition...", false)] | ||
| static void Tools_CreateCondition() { | ||
| AssetsMenuItems.CreateCondition(); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Create/Macro", false)] | ||
| static void Tools_Macro() { | ||
| AssetsMenuItems.CreateMacro(); | ||
| } | ||
|
|
||
| // Tools > GameFlow > Macros | ||
|
|
||
| [MenuItem("Tools/GameFlow/Macros/Macro Key 1 &1", false, 2001)] | ||
| static void ShortcutKey1() { | ||
| MacroMenuItems.ShortcutKey1(); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Macros/Macro Key 2 &2", false, 2002)] | ||
| static void ShortcutKey2() { | ||
| MacroMenuItems.ShortcutKey2(); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Macros/Macro Key 3 &3", false, 2003)] | ||
| static void ShortcutKey3() { | ||
| MacroMenuItems.ShortcutKey3(); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Macros/Macro Key 4 &4", false, 2004)] | ||
| static void ShortcutKey4() { | ||
| MacroMenuItems.ShortcutKey4(); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Macros/Macro Key 5 &5", false, 2005)] | ||
| static void ShortcutKey5() { | ||
| MacroMenuItems.ShortcutKey5(); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Macros/Macro Key 6 &6", false, 2006)] | ||
| static void ShortcutKey6() { | ||
| MacroMenuItems.ShortcutKey6(); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Macros/Macro Key 7 &7", false, 2007)] | ||
| static void ShortcutKey7() { | ||
| MacroMenuItems.ShortcutKey7(); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Macros/Macro Key 8 &8", false, 2008)] | ||
| static void ShortcutKey8() { | ||
| MacroMenuItems.ShortcutKey8(); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Macros/Macro Key 9 &9", false, 2009)] | ||
| static void ShortcutKey9() { | ||
| MacroMenuItems.ShortcutKey9(); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Macros/Last Macro &0", false, 2020)] | ||
| static void LastMacro() { | ||
| MacroMenuItems.LastMacro(); | ||
| } | ||
|
|
||
| // Tools > GameFlow | ||
|
|
||
| [MenuItem("Tools/GameFlow/Quick Start", false, 2030)] | ||
| static void QuickStart() { | ||
| Application.OpenURL("http://evasiongames.com/gameflow/docs/start"); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/Release Notes ", false, 2031)] | ||
| static void ReleaseNotes() { | ||
| Application.OpenURL("http://evasiongames.com/gameflow/releases/v1.0"); | ||
| } | ||
|
|
||
| [MenuItem("Tools/GameFlow/About", false, 2032)] | ||
| static void About() { | ||
| AboutWindow.Open(); | ||
| } | ||
|
|
||
| // Window > GameFlow | ||
|
|
||
| [MenuItem("Window/GameFlow/Add Block... %&g", true)] | ||
| static bool ValidateAddBlock() { | ||
| return WindowMenuItems.ValidateAddBlock(); | ||
| } | ||
|
|
||
| [MenuItem("Window/GameFlow/Add Block... %&g")] | ||
| static void AddBlock() { | ||
| WindowMenuItems.AddBlock(); | ||
| } | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,167 @@ | ||
| // [!] DO NOT REMOVE THIS FILE | ||
|
|
||
| using System; | ||
| using System.Reflection; | ||
| using UnityEngine; | ||
| using UnityEngine.Scripting; | ||
|
|
||
| #if NETFX_CORE | ||
| using System.Collections; | ||
| using System.Collections.Generic; | ||
| using System.IO; | ||
| using System.Linq; | ||
| using Windows.ApplicationModel; | ||
| using Windows.Foundation; | ||
| using Windows.Storage; | ||
| #endif | ||
|
|
||
| namespace GameFlow { | ||
|
|
||
| [Preserve] | ||
| public class RuntimeReflector : IReflector { | ||
|
|
||
| [RuntimeInitializeOnLoadMethod] | ||
| static void Init() { | ||
| RuntimeReflection.reflector = new RuntimeReflector(); | ||
| } | ||
|
|
||
| private RuntimeReflector() { | ||
| } | ||
|
|
||
| #if NETFX_CORE | ||
| private static Assembly[] _assemblies; | ||
| #endif | ||
|
|
||
| public Assembly[] GetAssemblies() { | ||
| #if NETFX_CORE | ||
| if (_assemblies != null) { | ||
| return _assemblies; | ||
| } | ||
| StorageFolder folder = Package.Current.InstalledLocation; | ||
| var task = folder.GetFilesAsync().AsTask(); | ||
| List<Assembly> list = new List<Assembly>(); | ||
| foreach (StorageFile file in task.Result) { | ||
| if (file.FileType == ".dll" || file.FileType == ".exe") { | ||
| try { | ||
| var filename = file.Name.Substring(0, file.Name.Length - file.FileType.Length); | ||
| AssemblyName name = new AssemblyName { Name = filename }; | ||
| Assembly assembly = Assembly.Load(name); | ||
| list.Add(assembly); | ||
| } catch { | ||
| } | ||
| } | ||
| } | ||
| _assemblies = list.ToArray(); | ||
| return _assemblies; | ||
| #else | ||
| return AppDomain.CurrentDomain.GetAssemblies(); | ||
| #endif | ||
| } | ||
|
|
||
| public bool IsTypeArray(Type type) { | ||
| #if NETFX_CORE | ||
| return type.GetTypeInfo().IsArray; | ||
| #else | ||
| return type.IsArray; | ||
| #endif | ||
| } | ||
|
|
||
| public bool IsTypePrimitive(Type type) { | ||
| #if NETFX_CORE | ||
| return type.GetTypeInfo().IsPrimitive; | ||
| #else | ||
| return type.IsPrimitive; | ||
| #endif | ||
| } | ||
|
|
||
| public bool IsTypeVisible(Type type) { | ||
| #if NETFX_CORE | ||
| return type.GetTypeInfo().IsVisible; | ||
| #else | ||
| return type.IsVisible; | ||
| #endif | ||
| } | ||
|
|
||
| public bool IsTypeEnum(Type type) { | ||
| #if NETFX_CORE | ||
| return type.GetTypeInfo().IsEnum; | ||
| #else | ||
| return type.IsEnum; | ||
| #endif | ||
| } | ||
|
|
||
| public bool IsTypeValueType(Type type) { | ||
| #if NETFX_CORE | ||
| return type.GetTypeInfo().IsValueType; | ||
| #else | ||
| return type.IsValueType; | ||
| #endif | ||
| } | ||
|
|
||
| public bool IsTypeSubclassOf(Type type1, Type type2) { | ||
| #if NETFX_CORE | ||
| return type1.GetTypeInfo().IsSubclassOf(type2); | ||
| #else | ||
| return type1.IsSubclassOf(type2); | ||
| #endif | ||
| } | ||
|
|
||
| public bool IsTypeAssignableFrom(Type type1, Type type2) { | ||
| #if NETFX_CORE | ||
| return type1.GetTypeInfo().IsAssignableFrom(type2.GetTypeInfo()); | ||
| #else | ||
| return type1.IsAssignableFrom(type2); | ||
| #endif | ||
| } | ||
|
|
||
| public PropertyInfo GetTypeProperty(Type type, string name) { | ||
| #if NETFX_CORE | ||
| return type.GetRuntimeProperty(name); | ||
| #else | ||
| return type.GetProperty(name); | ||
| #endif | ||
| } | ||
|
|
||
| public PropertyInfo[] GetTypeProperties(Type type) { | ||
| #if NETFX_CORE | ||
| return type.GetRuntimeProperties().ToArray(); | ||
| #else | ||
| return type.GetProperties(); | ||
| #endif | ||
| } | ||
|
|
||
| public FieldInfo GetTypeField(Type type, string name) { | ||
| #if NETFX_CORE | ||
| return type.GetRuntimeField(name); | ||
| #else | ||
| return type.GetField(name); | ||
| #endif | ||
| } | ||
|
|
||
| public FieldInfo[] GetTypeFields(Type type) { | ||
| #if NETFX_CORE | ||
| return type.GetRuntimeFields().ToArray(); | ||
| #else | ||
| return type.GetFields(); | ||
| #endif | ||
| } | ||
|
|
||
| public MethodInfo GetTypeMethod(Type type, string name, Type[] paramTypes) { | ||
| #if NETFX_CORE | ||
| return type.GetRuntimeMethod(name, paramTypes); | ||
| #else | ||
| return type.GetMethod(name, paramTypes); | ||
| #endif | ||
| } | ||
|
|
||
| public MethodInfo[] GetTypeMethods(Type type) { | ||
| #if NETFX_CORE | ||
| return type.GetRuntimeMethods().ToArray(); | ||
| #else | ||
| return type.GetMethods(); | ||
| #endif | ||
| } | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,11 @@ | ||
| GameFlow - Scripts folder | ||
| ------------------------- | ||
|
|
||
| IMPORTANT: PLEASE DO NOT REMOVE ANY OF THE ORIGINAL FILES IN THIS FOLDER! | ||
|
|
||
| These scripts implement important functionality for GameFlow: | ||
|
|
||
| - Scripts/RuntimeReflector.cs - This script implements an abstraction layer for Reflection operations allowing GameFlow to build for the Windows Store and other related platforms. | ||
|
|
||
| - Scripts/Editor/MenuItems.cs - This script allows for customization of the Tools > GameFlow menu and other related menus. See the customization chapter in the User Guide for more information. | ||
|
|
| @@ -0,0 +1,41 @@ | ||
| using UnityEngine; | ||
| using GameFlow; | ||
|
|
||
| // An example showing how to implement a basic custom Action. | ||
|
|
||
| namespace ${namespace} { | ||
|
|
||
| // Help summary is localized according to current system language. | ||
| [Help("en", "Action summary.", "context-help-url")] | ||
| [Help("es", "Resumen acción.", "url-ayuda-contextual")] | ||
|
|
||
| // Prevent the Action from appearing in the Add Component menu. | ||
| [AddComponentMenu("")] | ||
|
|
||
| public class ${action} : Action { | ||
|
|
||
| // Declare a Variable-friendly property for the action | ||
| [SerializeField] | ||
| string _yourName; | ||
| [SerializeField] | ||
| Variable _yourNameVar; | ||
|
|
||
| // Define a convenience property getter | ||
| string yourName { | ||
| // Link string value and Variable reference through an extension method | ||
| get { return _yourNameVar.GetValue(_yourName); } | ||
| } | ||
|
|
||
| // Code implementing any setup required by the action | ||
| protected override void OnSetup() { | ||
| } | ||
|
|
||
| // Code implementing the effect of the action | ||
| protected override void OnExecute() { | ||
| // Do something with the declared property | ||
| Debug.Log("Hello, " + yourName); | ||
| } | ||
| ${skip} | ||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,21 @@ | ||
| using GameFlow; | ||
| using UnityEditor; | ||
|
|
||
| namespace ${namespace} { | ||
|
|
||
| [CustomEditor(typeof(${action}))] | ||
| public class ${action}Editor : ActionEditor { | ||
|
|
||
| // Declare properties exactly as defined in the Action subclass | ||
| protected SerializedProperty _yourName; | ||
| protected SerializedProperty _yourNameVar; | ||
|
|
||
| // Action user interface | ||
| protected override void OnActionGUI() { | ||
| // Draws a Variable-friendly text field for the property in the Inspector | ||
| PropertyField("Your Name", _yourName, _yourNameVar); | ||
| } | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,52 @@ | ||
| using GameFlow; | ||
| using UnityEngine; | ||
|
|
||
| // An example showing how to implement a basic custom Condition. | ||
|
|
||
| namespace ${namespace} { | ||
|
|
||
| // Help summary is localized according to current system language. | ||
| [Help("en", "Condition summary.", "context-help-url")] | ||
| [Help("es", "Resumen condición.", "url-ayuda-contextual")] | ||
|
|
||
| // Prevent the Condition from appearing in the Add Component menu. | ||
| [AddComponentMenu("")] | ||
|
|
||
| public class ${condition} : Condition { | ||
|
|
||
| // Declare a Variable-friendly property for the condition | ||
| [SerializeField] | ||
| int _number; | ||
| [SerializeField] | ||
| Variable _numberVar; | ||
|
|
||
| // Define a convenience property getter | ||
| public int number { | ||
| // Link basic-type value and Variable reference through an extension method | ||
| get { return _numberVar.GetValue(_number); } | ||
| } | ||
|
|
||
| public enum Comparison { | ||
| IsZero, | ||
| IsNotZero | ||
| } | ||
|
|
||
| [SerializeField] | ||
| Comparison _comparison; | ||
|
|
||
| // Code implementing the evaluation of the Condition | ||
| protected override bool OnEvaluate() { | ||
| // Evaluate according to specified comparison | ||
| switch (_comparison) { | ||
| case Comparison.IsZero: | ||
| return number == 0; | ||
| case Comparison.IsNotZero: | ||
| return number != 0; | ||
| } | ||
| // Default evaluation | ||
| return false; | ||
| } | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,24 @@ | ||
| using GameFlow; | ||
| using UnityEditor; | ||
|
|
||
| namespace ${namespace} { | ||
|
|
||
| [CustomEditor(typeof(${condition}), true)] | ||
| public class ${condition}Editor : ConditionEditor { | ||
|
|
||
| // Declare properties exactly as defined in the Condition subclass | ||
| protected SerializedProperty _number; | ||
| protected SerializedProperty _numberVar; | ||
| protected SerializedProperty _comparison; | ||
|
|
||
| // Condition user interface | ||
| public override void OnConditionGUI() { | ||
| // Draws a Variable-friendly numeric field in the Inspector | ||
| PropertyField("Number", _number, _numberVar); | ||
| // Draws a label that you can click for additional options | ||
| PopupLabel(_comparison, true); | ||
| } | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,52 @@ | ||
| using UnityEngine; | ||
| using GameFlow; | ||
|
|
||
| // An example showing how to implement a basic custom Function (Action with output). | ||
|
|
||
| namespace ${namespace} { | ||
|
|
||
| // Help summary is localized according to current system language. | ||
| [Help("en", "Action summary.", "context-help-url")] | ||
| [Help("es", "Resumen acción.", "url-ayuda-contextual")] | ||
|
|
||
| // Prevent the Action from appearing in the Add Component menu. | ||
| [AddComponentMenu("")] | ||
|
|
||
| public class ${action} : Function { | ||
|
|
||
| // Declare a Variable-friendly property for the action | ||
| [SerializeField] | ||
| float _number1; | ||
| [SerializeField] | ||
| Variable _number1Var; | ||
|
|
||
| // Define a convenience property getter | ||
| public float number1 { | ||
| // Link basic-type value and Variable reference through an extension method | ||
| get { return _number1Var.GetValue(_number1); } | ||
| } | ||
|
|
||
| // Declare a 2nd Variable-friendly property for the action | ||
| [SerializeField] | ||
| float _number2; | ||
| [SerializeField] | ||
| Variable _number2Var; | ||
|
|
||
| // Define the corresponding convenience property getter | ||
| public float number2 { | ||
| get { return _number2Var.GetValue(_number2); } | ||
| } | ||
|
|
||
| // Code implementing any setup required by the action | ||
| protected override void OnSetup() { | ||
| } | ||
|
|
||
| // Code implementing the effect of the action | ||
| protected override void OnExecute() { | ||
| // Sum the values and put the result into the output Variable | ||
| output.SetValue(number1 + number2); | ||
| } | ||
| ${skip} | ||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,26 @@ | ||
| using GameFlow; | ||
| using UnityEditor; | ||
|
|
||
| namespace ${namespace} { | ||
|
|
||
| [CustomEditor(typeof(${action}))] | ||
| public class ${action}Editor : FunctionEditor { | ||
|
|
||
| // Declare properties exactly as defined in the Function subclass | ||
| protected SerializedProperty _number1; | ||
| protected SerializedProperty _number1Var; | ||
| protected SerializedProperty _number2; | ||
| protected SerializedProperty _number2Var; | ||
|
|
||
| // Action user interface | ||
| protected override void OnActionGUI() { | ||
| // Draws a pair of Variable-friendly numeric fields in the Inspector | ||
| PropertyField("Number 1", _number1, _number1Var); | ||
| PropertyField("Number 2", _number2, _number2Var); | ||
| // Draws a field for the output Variable indicating float as output type | ||
| OutputField<float>(); | ||
| } | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,40 @@ | ||
| using UnityEngine; | ||
| using GameFlow; | ||
|
|
||
| // An example showing how to implement an Action for using in Edit mode | ||
|
|
||
| namespace ${namespace} { | ||
|
|
||
| // Help summary is localized according to current system language. | ||
| [Help("en", "Action summary.", "context-help-url")] | ||
| [Help("es", "Resumen acción.", "url-ayuda-contextual")] | ||
|
|
||
| // Prevent the Action from appearing in the Add Component menu. | ||
| [AddComponentMenu("")] | ||
|
|
||
| public class ${action} : Action { | ||
|
|
||
| // Declare a Variable-friendly property for the action | ||
| [SerializeField] | ||
| string _yourName; | ||
| [SerializeField] | ||
| Variable _yourNameVar; | ||
|
|
||
| // Define a convenience property getter | ||
| public string yourName { | ||
| // Link basic-type value and Variable reference through an extension method | ||
| get { return _yourNameVar.GetValue(_yourName); } | ||
| } | ||
|
|
||
| // Code implementing any setup required by the action | ||
| protected override void OnSetup() { | ||
| } | ||
|
|
||
| // Code implementing the effect of the action (in Play mode) | ||
| protected override void OnExecute() { | ||
| // In this example the execution is delegated in the Editor script | ||
| } | ||
|
|
||
| } | ||
|
|
||
| } |