diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..164aae81 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,34 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. Is it a bug during playback or a bug in editing Flowcharts, Blocks, Commands, and so on? When and where it is happening, is it only in editor or only in build or both? + +**To Reproduce** +In order for someone else to attempt to solve the issue we need to know how to make it occur. As such when reporting bugs please detail how to make them occur in existing FungusExample scenes, or how to create a scene from empty, or attach a unitypackage with a minimal scene in it. +Then describe the steps to reproduce the behavior: +1. Go to the scene '...' in the FungusExample ***OR*** In a new scene, add the following '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Versions & Platform (please complete the following information):** + - Unity version [e.g. 2019.2.20f1 or 2017.4.25] + - Fungus Version[e.g. v.3.12.0] This can be found in your Docs/ChangeLog or via Preferences->Fungus + - Editor OS: [e.g. Win 10 or OSX Mavericks] + - Build Platform [e.g. WebGL, Windows IL2CPP, iOS, Android] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..715fe44b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,22 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +Please double check the feature or suggestion you have has not already been raised by searching within the existing [issues](https://github.com/snozbot/fungus/issues). If you find something similar to what you were thinking, please reply to the existing issue with either additional details/suggestions or simply a +1. + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..4ed64e02 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,42 @@ +🚨Before submitting this PR. +- Please review the [guidelines for contributing](./CONTRIBUTING.md) to this repository. +- We welcome the submission of incomplete PRs, for comment, feedback, or assistance. Please prefix the PR with [WIP]. +- Make sure you are making a pull request against the **develop branch** (left side). Also you should start *your branch* off *develop*. +- Make sure you are requesting to **pull a topic/feature/bugfix branch** (right side). We don't recommend you request from your master! +- Check the commit's or even all commits' message styles matches our style and structure. +- Check your code additions pass all tests. +- Check your code additions have not negatively impacted or altered the behaviour of the FungusExamples. +- If adding a new feature, ensure you have added a demo to the FungusExamples and if possible added Tests too. + +💔Thank you! With that done and out of the way, you can remove all the above text and get to submitting this PR. + +### Description + + +### What is the current behavior? + + +### What is the new behavior? + +- +- +- + +### Important Notes + + +- [ ] My change require changes to documentation +- My changes modify + - [ ] the editing of flowcharts/blocks/commands etc. + - [ ] the runtime execution of existing Fungus Features. e.g., Say, Menus, Portraits, etc. +- [ ] My change adds additional tests +- [ ] My change modifies existing FungusExamples + + + + +### Other information + + diff --git a/.gitignore b/.gitignore index 4149961d..2a799fe2 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ UWP/* Assets/Plugins/ Assets/Plugins.meta Logs/* +.vscode/launch.json diff --git a/Assets/Fungus/Docs/CHANGELOG.txt b/Assets/Fungus/Docs/CHANGELOG.txt index e56d654e..852a1ad1 100644 --- a/Assets/Fungus/Docs/CHANGELOG.txt +++ b/Assets/Fungus/Docs/CHANGELOG.txt @@ -1,7 +1,7 @@ Changelog {#changelog} ========= -v3.12.0 rc1 +v3.12.0 ====== ## Added @@ -32,6 +32,7 @@ v3.12.0 rc1 - More elaborated use of text in TMPro demo - Block Inspector forces type at creation. Thanks to Michaelwolf95 - Warning when requesting menu elements that are not avaialble, such as more menu items that you have created. +- Fungus Docs can now generate in github markdown format v3.11.5 {#v3.11.5} diff --git a/Assets/Fungus/Resources/Prefabs/NarrativeLog.prefab b/Assets/Fungus/Resources/Prefabs/NarrativeLog.prefab new file mode 100644 index 00000000..9c94da38 --- /dev/null +++ b/Assets/Fungus/Resources/Prefabs/NarrativeLog.prefab @@ -0,0 +1,434 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &3892339027384508655 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3892339027384508654} + - component: {fileID: 3892339027384508652} + - component: {fileID: 3892339027384508653} + m_Layer: 5 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3892339027384508654 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339027384508655} + 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: 3892339028978780123} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3892339027384508652 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339027384508655} + m_CullTransparentMesh: 0 +--- !u!114 &3892339027384508653 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339027384508655} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.2783019, g: 0.50158674, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Texture: {fileID: 0} + m_UVRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 +--- !u!1 &3892339028022738724 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3892339028022738723} + - component: {fileID: 3892339028022738735} + - component: {fileID: 3892339028022738720} + - component: {fileID: 3892339028022738721} + - component: {fileID: 3892339028022738722} + m_Layer: 5 + m_Name: EntryDisplayHolder + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3892339028022738723 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028022738724} + 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: 3892339028978780123} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 0, y: 0.000015258789} + m_SizeDelta: {x: 600, y: 0} + m_Pivot: {x: 0, y: 1} +--- !u!222 &3892339028022738735 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028022738724} + m_CullTransparentMesh: 0 +--- !u!114 &3892339028022738720 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028022738724} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.2783019, g: 0.50158674, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &3892339028022738721 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028022738724} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 0 + m_Spacing: 0 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 1 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!114 &3892339028022738722 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028022738724} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!1 &3892339028774243865 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3892339028774243842} + - component: {fileID: 3892339028774243843} + - component: {fileID: 3892339028774243844} + - component: {fileID: 3892339028774243845} + - component: {fileID: 3892339028774243846} + - component: {fileID: 3892339028774243864} + m_Layer: 5 + m_Name: NarrativeLog + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3892339028774243842 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028774243865} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 3892339028978780123} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!223 &3892339028774243843 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028774243865} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!114 &3892339028774243844 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028774243865} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!114 &3892339028774243845 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028774243865} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!225 &3892339028774243846 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028774243865} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &3892339028774243864 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028774243865} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fde579c9edfbe7e469349e39e2a87a48, type: 3} + m_Name: + m_EditorClassIdentifier: + entryDisplayPrefab: {fileID: 2879084013005042991, guid: 243a94cf6d8dda84f8351f4289587571, + type: 3} + entryHolder: {fileID: 3892339028022738723} +--- !u!1 &3892339028978780124 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3892339028978780123} + - component: {fileID: 3892339028978780103} + - component: {fileID: 3892339028978780120} + - component: {fileID: 3892339028978780121} + - component: {fileID: 3892339028978780122} + m_Layer: 5 + m_Name: MainWindow + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3892339028978780123 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028978780124} + 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: + - {fileID: 3892339027384508654} + - {fileID: 3892339028022738723} + m_Father: {fileID: 3892339028774243842} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 108.70001} + m_SizeDelta: {x: 600, y: 300} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3892339028978780103 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028978780124} + m_CullTransparentMesh: 0 +--- !u!114 &3892339028978780120 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028978780124} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0.392} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &3892339028978780121 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028978780124} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Content: {fileID: 3892339028022738723} + m_Horizontal: 0 + m_Vertical: 1 + m_MovementType: 2 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1 + m_Viewport: {fileID: 0} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 0} + m_HorizontalScrollbarVisibility: 0 + m_VerticalScrollbarVisibility: 0 + m_HorizontalScrollbarSpacing: 0 + m_VerticalScrollbarSpacing: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &3892339028978780122 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3892339028978780124} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ShowMaskGraphic: 1 diff --git a/Assets/Fungus/Resources/Prefabs/NarrativeLog.prefab.meta b/Assets/Fungus/Resources/Prefabs/NarrativeLog.prefab.meta new file mode 100644 index 00000000..d675b9f0 --- /dev/null +++ b/Assets/Fungus/Resources/Prefabs/NarrativeLog.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bffd475e4bfb82f49810ceafe8d17b78 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Resources/Prefabs/NarrativeLogEntryDisplay.prefab b/Assets/Fungus/Resources/Prefabs/NarrativeLogEntryDisplay.prefab new file mode 100644 index 00000000..6f602b65 --- /dev/null +++ b/Assets/Fungus/Resources/Prefabs/NarrativeLogEntryDisplay.prefab @@ -0,0 +1,269 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2333275596563789949 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8885489252217067950} + - component: {fileID: 7933068750079926288} + - component: {fileID: 4379489694222926579} + m_Layer: 5 + m_Name: NameText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8885489252217067950 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2333275596563789949} + 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: 2481548615123137394} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7933068750079926288 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2333275596563789949} + m_CullTransparentMesh: 0 +--- !u!114 &4379489694222926579 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2333275596563789949} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: 64bd3e45f7a714f16b3c213f55f17fea, type: 3} + m_FontSize: 18 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 1 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Name +--- !u!1 &3511986559566215052 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3365827255933976305} + - component: {fileID: 3857872114285753493} + - component: {fileID: 19882628764411882} + m_Layer: 5 + m_Name: StoryText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3365827255933976305 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3511986559566215052} + 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: 2481548615123137394} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3857872114285753493 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3511986559566215052} + m_CullTransparentMesh: 0 +--- !u!114 &19882628764411882 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3511986559566215052} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: 64bd3e45f7a714f16b3c213f55f17fea, type: 3} + m_FontSize: 22 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: New Text +--- !u!1 &9061313995661533662 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2481548615123137394} + - component: {fileID: 3382758035194104851} + - component: {fileID: 819304301769093009} + - component: {fileID: 5508376540251964814} + - component: {fileID: 2879084013005042991} + m_Layer: 5 + m_Name: NarrativeLogEntryDisplay + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2481548615123137394 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9061313995661533662} + 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: + - {fileID: 8885489252217067950} + - {fileID: 3365827255933976305} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 278} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3382758035194104851 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9061313995661533662} + m_CullTransparentMesh: 0 +--- !u!114 &819304301769093009 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9061313995661533662} + m_Enabled: 0 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Texture: {fileID: 0} + m_UVRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 +--- !u!114 &5508376540251964814 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9061313995661533662} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 10 + m_Right: 10 + m_Top: 10 + m_Bottom: 10 + m_ChildAlignment: 0 + m_Spacing: 0 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 1 + m_ChildControlWidth: 1 + m_ChildControlHeight: 1 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!114 &2879084013005042991 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9061313995661533662} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 824b58b7741a0dd4e9b43693c47b24f7, type: 3} + m_Name: + m_EditorClassIdentifier: + nameTextField: {fileID: 4379489694222926579} + storyTextField: {fileID: 19882628764411882} diff --git a/Assets/Fungus/Resources/Prefabs/NarrativeLogEntryDisplay.prefab.meta b/Assets/Fungus/Resources/Prefabs/NarrativeLogEntryDisplay.prefab.meta new file mode 100644 index 00000000..cad28ab4 --- /dev/null +++ b/Assets/Fungus/Resources/Prefabs/NarrativeLogEntryDisplay.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 243a94cf6d8dda84f8351f4289587571 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/AssertCommand.cs b/Assets/Fungus/Scripts/Commands/AssertCommand.cs new file mode 100644 index 00000000..229c3db6 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/AssertCommand.cs @@ -0,0 +1,70 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; +using UnityEngine.Assertions; + +namespace Fungus +{ + /// + /// Assert on 2 Fungus variable values. + /// + [CommandInfo("Scripting", + "Assert", + "Assert based on compared values.")] + [AddComponentMenu("")] + public class AssertCommand : Command + { + [SerializeField] + protected StringData message; + + [SerializeField] + [VariableProperty(AllVariableTypes.VariableAny.Any)] + protected Variable a, b; + + public enum Method + { + AreEqual, + AreNotEqual, + } + + [SerializeField] + protected Method method; + + public override void OnEnter() + { + switch (method) + { + case Method.AreEqual: + Assert.AreEqual(a.GetValue(), b.GetValue()); + break; + + case Method.AreNotEqual: + Assert.AreNotEqual(a.GetValue(), b.GetValue()); + break; + + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (a == null) + return "Error: No A variable"; + if (b == null) + return "Error: No B variable"; + + return a.Key + " " + method.ToString() + " " + b.Key; + } + + public override bool HasReference(Variable variable) + { + return variable == message.stringRef || + variable == a || variable == b || + base.HasReference(variable); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/AssertCommand.cs.meta b/Assets/Fungus/Scripts/Commands/AssertCommand.cs.meta new file mode 100644 index 00000000..a16fc062 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/AssertCommand.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c40b126bd148ae743b56bc8c00162589 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Break.cs b/Assets/Fungus/Scripts/Commands/Break.cs index 4286468f..b1f36030 100644 --- a/Assets/Fungus/Scripts/Commands/Break.cs +++ b/Assets/Fungus/Scripts/Commands/Break.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -8,61 +8,39 @@ namespace Fungus /// /// Force a loop to terminate immediately. /// - [CommandInfo("Flow", - "Break", + [CommandInfo("Flow", + "Break", "Force a loop to terminate immediately.")] [AddComponentMenu("")] public class Break : Command { #region Public members + //located the containing loop and tell it to end public override void OnEnter() { - // Find index of previous while command - int whileIndex = -1; - int whileIndentLevel = -1; - for (int i = CommandIndex - 1; i >=0; --i) + Condition loopingCond = null; + // Find index of previous looping command + for (int i = CommandIndex - 1; i >= 0; --i) { - While whileCommand = ParentBlock.CommandList[i] as While; - if (whileCommand != null) + Condition cond = ParentBlock.CommandList[i] as Condition; + if (cond != null && cond.IsLooping) { - whileIndex = i; - whileIndentLevel = whileCommand.IndentLevel; + loopingCond = cond; break; } } - if (whileIndex == -1) + if (loopingCond == null) { - // No enclosing While command found, just continue + // No enclosing loop command found, just continue + Debug.LogError("Break called but found no enclosing looping construct." + GetLocationIdentifier()); Continue(); - return; } - - // Find matching End statement at same indent level as While - for (int i = whileIndex + 1; i < ParentBlock.CommandList.Count; ++i) + else { - End endCommand = ParentBlock.CommandList[i] as End; - - if (endCommand != null && - endCommand.IndentLevel == whileIndentLevel) - { - // Sanity check that break command is actually between the While and End commands - if (CommandIndex > whileIndex && CommandIndex < endCommand.CommandIndex) - { - // Continue at next command after End - Continue (endCommand.CommandIndex + 1); - return; - } - else - { - break; - } - } + loopingCond.MoveToEnd(); } - - // No matching End command found so just continue - Continue(); } public override Color GetButtonColor() diff --git a/Assets/Fungus/Scripts/Commands/Call.cs b/Assets/Fungus/Scripts/Commands/Call.cs index 7150f206..12a5ff58 100644 --- a/Assets/Fungus/Scripts/Commands/Call.cs +++ b/Assets/Fungus/Scripts/Commands/Call.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -53,8 +53,6 @@ namespace Fungus public override void OnEnter() { - var flowchart = GetFlowchart(); - if (targetBlock != null) { // Check if calling your own parent block diff --git a/Assets/Fungus/Scripts/Commands/CallMethod.cs b/Assets/Fungus/Scripts/Commands/CallMethod.cs index 74f6855a..107a1439 100644 --- a/Assets/Fungus/Scripts/Commands/CallMethod.cs +++ b/Assets/Fungus/Scripts/Commands/CallMethod.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ClearMenu.cs b/Assets/Fungus/Scripts/Commands/ClearMenu.cs index 82722c4a..1c53c46a 100644 --- a/Assets/Fungus/Scripts/Commands/ClearMenu.cs +++ b/Assets/Fungus/Scripts/Commands/ClearMenu.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Transform.meta b/Assets/Fungus/Scripts/Commands/Collection.meta similarity index 57% rename from Assets/Fungus/Scripts/Commands/Transform.meta rename to Assets/Fungus/Scripts/Commands/Collection.meta index 7eb641ce..ee30b8f3 100644 --- a/Assets/Fungus/Scripts/Commands/Transform.meta +++ b/Assets/Fungus/Scripts/Commands/Collection.meta @@ -1,9 +1,8 @@ fileFormatVersion: 2 -guid: f7ddb80a0487d1342b36129da32ad1f6 +guid: 7d7820abad934b747ae1797c3aa82197 folderAsset: yes -timeCreated: 1503815490 -licenseType: Free DefaultImporter: + externalObjects: {} userData: assetBundleName: assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseCommand.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseCommand.cs new file mode 100644 index 00000000..49322556 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseCommand.cs @@ -0,0 +1,35 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Base class for all FungusCollection commands + /// + [AddComponentMenu("")] + public abstract class CollectionBaseCommand : Command + { + [SerializeField] + protected CollectionData collection; + + public override Color GetButtonColor() + { + return new Color32(191, 217, 235, 255); + } + + public override bool HasReference(Variable variable) + { + return variable == collection.collectionRef; + } + + public override string GetSummary() + { + if (collection.Value == null) + return "Error: no collection selected"; + + return collection.Value.name; + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseCommand.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseCommand.cs.meta new file mode 100644 index 00000000..68f6899a --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseCommand.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dab2b4efcfae62841b5070c4cfec8c4a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseIntCommand.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseIntCommand.cs new file mode 100644 index 00000000..b5f790a4 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseIntCommand.cs @@ -0,0 +1,42 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Base class for all FungusCollection commands that use an intvar + /// + [AddComponentMenu("")] + public abstract class CollectionBaseIntCommand : CollectionBaseCommand + { + [SerializeField] + protected IntegerData integer; + + public override void OnEnter() + { + if (collection.Value != null) + { + OnEnterInner(); + } + + Continue(); + } + + protected abstract void OnEnterInner(); + + public override bool HasReference(Variable variable) + { + return variable == integer.integerRef || base.HasReference(variable); + } + + public override string GetSummary() + { + if (collection.Value == null) + return "Error: no collection selected"; + + return integer.Value.ToString() + " on " + collection.Value.name; + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseIntCommand.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseIntCommand.cs.meta new file mode 100644 index 00000000..f9e38838 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseIntCommand.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 328b7e125f24d5349be4fe583267ba1d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseTwoCollectionCommand.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseTwoCollectionCommand.cs new file mode 100644 index 00000000..0183a54d --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseTwoCollectionCommand.cs @@ -0,0 +1,50 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Base class for all FungusCollection commands that require a second collection of the same type + /// + [AddComponentMenu("")] + public abstract class CollectionBaseTwoCollectionCommand : CollectionBaseCommand + { + [SerializeField] + protected CollectionData rhsCollection; + + public override void OnEnter() + { + if (collection.Value != null && rhsCollection.Value != null) + { + OnEnterInner(); + } + + Continue(); + } + + protected abstract void OnEnterInner(); + + public override bool HasReference(Variable variable) + { + return variable == rhsCollection.collectionRef || base.HasReference(variable); + } + + public override string GetSummary() + { + if (collection.Value == null) + return "Error: no collection selected"; + + if (rhsCollection.Value == null) + return "Error: no variable selected"; + + if (collection.Value.ContainedType() != rhsCollection.Value.ContainedType()) + { + return "Error: Collection types do not match. " + collection.Value.ContainedType().Name + " != " + rhsCollection.Value.ContainedType().Name; + } + + return collection.Value.name + " , " + rhsCollection.Value.name; + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseTwoCollectionCommand.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseTwoCollectionCommand.cs.meta new file mode 100644 index 00000000..593556c3 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseTwoCollectionCommand.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c4010b5577069fc4cb9480f87ed3f73e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarAndIntCommand.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarAndIntCommand.cs new file mode 100644 index 00000000..6744aaad --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarAndIntCommand.cs @@ -0,0 +1,47 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Base class for all FungusCollection commands that require a compatible variable and an integer + /// + [AddComponentMenu("")] + public abstract class CollectionBaseVarAndIntCommand : CollectionBaseVarCommand + { + [SerializeField] + [VariableProperty(typeof(IntegerVariable))] + protected IntegerVariable integer; + + public override void OnEnter() + { + if (collection.Value != null && variableToUse != null && integer != null) + { + OnEnterInner(); + } + + Continue(); + } + + public override bool HasReference(Variable variable) + { + return variable == integer || base.HasReference(variable); + } + + public override string GetSummary() + { + if (collection.Value == null) + return "Error: no collection selected"; + + if (variableToUse == null) + return "Error: no variable selected"; + + if (integer == null) + return "Error: no integer selected"; + + return integer.Key + " on " + variableToUse.Key + " in " + collection.Value.name; + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarAndIntCommand.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarAndIntCommand.cs.meta new file mode 100644 index 00000000..2cb1e4c0 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarAndIntCommand.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 561b53abc515d704d8845caa3b3ee26f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarCommand.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarCommand.cs new file mode 100644 index 00000000..249e2d2c --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarCommand.cs @@ -0,0 +1,54 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Base class for all FungusCollection commands that require a compatible variable type + /// + [AddComponentMenu("")] + public abstract class CollectionBaseVarCommand : CollectionBaseCommand, ICollectionCompatible + { + [SerializeField] + [VariableProperty(compatibleVariableName = "collection")] + protected Variable variableToUse; + + public override void OnEnter() + { + if (collection.Value != null && variableToUse != null) + { + OnEnterInner(); + } + + Continue(); + } + + protected abstract void OnEnterInner(); + + public override bool HasReference(Variable variable) + { + return variable == variableToUse || base.HasReference(variable); + } + + public override string GetSummary() + { + if (collection.Value == null) + return "Error: no collection selected"; + + if (variableToUse == null) + return "Error: no variable selected"; + + return variableToUse.Key + " to " + collection.Value.name; + } + + bool ICollectionCompatible.IsVarCompatibleWithCollection(Variable variable, string compatibleWith) + { + if (compatibleWith == "collection") + return collection.Value == null ? false : collection.Value.IsElementCompatible(variable); + else + return true; + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarCommand.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarCommand.cs.meta new file mode 100644 index 00000000..ee8dd1b5 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionBaseVarCommand.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fe12b6eb87e59984cb4122f978f11e45 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAdd.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAdd.cs new file mode 100644 index 00000000..82c3b1cd --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAdd.cs @@ -0,0 +1,39 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Add an item to a collection + /// + [CommandInfo("Collection", + "Add", + "Add an item to a collection")] + [AddComponentMenu("")] + public class CollectionCommandAdd : CollectionBaseVarCommand + { + [Tooltip("Only add if the item does not already exist in the collection")] + [SerializeField] + protected BooleanData onlyIfUnique = new BooleanData(false); + + protected override void OnEnterInner() + { + if (onlyIfUnique.Value) + collection.Value.AddUnique(variableToUse); + else + collection.Value.Add(variableToUse); + } + + public override bool HasReference(Variable variable) + { + return onlyIfUnique.booleanRef == variable || base.HasReference(variable); + } + + public override string GetSummary() + { + return base.GetSummary() + (onlyIfUnique.Value ? " Unique" : ""); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAdd.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAdd.cs.meta new file mode 100644 index 00000000..9b6b0353 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAdd.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a30a3b6902ecde54ea81d503f6a2b27e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAddAll.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAddAll.cs new file mode 100644 index 00000000..e31ae989 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAddAll.cs @@ -0,0 +1,39 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Add all items in given rhs collection to target collection + /// + [CommandInfo("Collection", + "Add All", + "Add all items in given rhs collection to target collection")] + [AddComponentMenu("")] + public class CollectionCommandAddAll : CollectionBaseTwoCollectionCommand + { + [Tooltip("Only add if the item does not already exist in the collection")] + [SerializeField] + protected BooleanData onlyIfUnique = new BooleanData(false); + + protected override void OnEnterInner() + { + if (onlyIfUnique.Value) + collection.Value.AddUnique(rhsCollection); + else + collection.Value.Add(rhsCollection); + } + + public override bool HasReference(Variable variable) + { + return onlyIfUnique.booleanRef == variable || base.HasReference(variable); + } + + public override string GetSummary() + { + return base.GetSummary() + (onlyIfUnique.Value ? " Unique" : ""); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAddAll.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAddAll.cs.meta new file mode 100644 index 00000000..7f10b77f --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandAddAll.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5688faa1580d8d147b59e18fcdd888ad +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandClear.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandClear.cs new file mode 100644 index 00000000..19450f9f --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandClear.cs @@ -0,0 +1,27 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Clears a target collection + /// + [CommandInfo("Collection", + "Clear", + "Clears a target collection")] + [AddComponentMenu("")] + public class CollectionCommandClear : CollectionBaseCommand + { + public override void OnEnter() + { + if (collection.Value != null) + { + collection.Value.Clear(); + } + + Continue(); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandClear.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandClear.cs.meta new file mode 100644 index 00000000..70c94b54 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandClear.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8b071472a9dcdc7469059042e2e6e50d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContains.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContains.cs new file mode 100644 index 00000000..30e6fd80 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContains.cs @@ -0,0 +1,37 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Does the collection contain the given variable + /// + [CommandInfo("Collection", + "Contains", + "Does the collection contain the given variable")] + [AddComponentMenu("")] + public class CollectionCommandContains : CollectionBaseVarCommand + { + [VariableProperty(typeof(BooleanVariable))] + protected BooleanVariable result; + + protected override void OnEnterInner() + { + if (result == null) + { + Debug.LogWarning("No result var set"); + } + else + { + result.Value = collection.Value.Contains(variableToUse); + } + } + + public override bool HasReference(Variable variable) + { + return result == variable || base.HasReference(variable); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContains.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContains.cs.meta new file mode 100644 index 00000000..16c6438d --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContains.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6bd67ee6ac8134b4e9aea26299040034 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAll.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAll.cs new file mode 100644 index 00000000..8794e9f7 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAll.cs @@ -0,0 +1,53 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Does target collection, contain all rhs collection items + /// + [CommandInfo("Collection", + "Contains All Of", + "Does target collection, contain all rhs collection items")] + [AddComponentMenu("")] + public class CollectionCommandContainsAll : CollectionBaseTwoCollectionCommand + { + [Tooltip("Do they have to be in the same order?")] + [SerializeField] + protected BooleanData inSameOrder = new BooleanData(false); + + [VariableProperty(typeof(BooleanVariable))] + protected BooleanVariable result; + + protected override void OnEnterInner() + { + if (result == null) + { + Debug.LogWarning("No result var set"); + } + else + { + if (inSameOrder.Value) + { + result.Value = collection.Value.ContainsAllOfOrdered(rhsCollection.Value); + } + else + { + result.Value = collection.Value.ContainsAllOf(rhsCollection.Value); + } + } + } + + public override bool HasReference(Variable variable) + { + return result == variable || inSameOrder.booleanRef == variable || base.HasReference(variable); + } + + public override string GetSummary() + { + return base.GetSummary() + (inSameOrder.Value ? " Ordered" : ""); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAll.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAll.cs.meta new file mode 100644 index 00000000..31913dea --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAll.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1df2de5cf986f9d419a124bb9d834b11 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAny.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAny.cs new file mode 100644 index 00000000..26ef61da --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAny.cs @@ -0,0 +1,37 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Does target collection, contain any of the items in the rhs collection items + /// + [CommandInfo("Collection", + "Contains Any Of", + "Does target collection, contain any of the items in the rhs collection items")] + [AddComponentMenu("")] + public class CollectionCommandContainsAny : CollectionBaseTwoCollectionCommand + { + [VariableProperty(typeof(BooleanVariable))] + protected BooleanVariable result; + + protected override void OnEnterInner() + { + if (result == null) + { + Debug.LogWarning("No result var set"); + } + else + { + result.Value = collection.Value.ContainsAnyOf(rhsCollection.Value); + } + } + + public override bool HasReference(Variable variable) + { + return result == variable || base.HasReference(variable); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAny.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAny.cs.meta new file mode 100644 index 00000000..9522c299 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandContainsAny.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c4e05f36271510b41a7d7889025e180e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCopy.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCopy.cs new file mode 100644 index 00000000..09663e32 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCopy.cs @@ -0,0 +1,22 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Clears target and then adds all of rhs to target. + /// + [CommandInfo("Collection", + "Copy", + "Clears target and then adds all of rhs to target.")] + [AddComponentMenu("")] + public class CollectionCommandCopy : CollectionBaseTwoCollectionCommand + { + protected override void OnEnterInner() + { + collection.Value.CopyFrom(rhsCollection.Value); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCopy.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCopy.cs.meta new file mode 100644 index 00000000..e0a122e8 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCopy.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 820324be5b6a927469519df54a9bbad0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCount.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCount.cs new file mode 100644 index 00000000..81a4d221 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCount.cs @@ -0,0 +1,25 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Number of items in the collection + /// + [CommandInfo("Collection", + "Count", + "Number of items in the collection")] + [CommandInfo("Collection", + "Length", + "Number of items in the collection")] + [AddComponentMenu("")] + public class CollectionCommandCount : CollectionBaseIntCommand + { + protected override void OnEnterInner() + { + integer.Value = collection.Value.Count; + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCount.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCount.cs.meta new file mode 100644 index 00000000..d264f4a0 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandCount.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 31765259d3ac50e4993fd654cd7ea78b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandElement.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandElement.cs new file mode 100644 index 00000000..81831411 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandElement.cs @@ -0,0 +1,53 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Get or Set, an element in a collection + /// + [CommandInfo("Collection", + "Element", + "Get or Set, an element in a collection")] + [AddComponentMenu("")] + public class CollectionCommandElement : CollectionBaseVarCommand + { + public enum GetSet + { + Get, + Set, + } + + [SerializeField] + protected IntegerData index; + + [SerializeField] + protected GetSet getset = GetSet.Get; + + protected override void OnEnterInner() + { + if (index.Value >= 0 && index.Value < collection.Value.Count) + { + if (getset == GetSet.Get) + { + collection.Value.Get(index.Value, ref variableToUse); + } + else + { + collection.Value.Set(index.Value, variableToUse); + } + } + else + { + throw new System.ArgumentOutOfRangeException(); + } + } + + public override string GetSummary() + { + return base.GetSummary() + " " + getset.ToString(); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandElement.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandElement.cs.meta new file mode 100644 index 00000000..d2b11379 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandElement.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: bf40659a274400d40856f146223798ac +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandExclusive.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandExclusive.cs new file mode 100644 index 00000000..dcc396b8 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandExclusive.cs @@ -0,0 +1,24 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Remove all items from collection that are also in RHS and add all the items in RHS that are not already + /// in target. Similar to a xor + /// + [CommandInfo("Collection", + "Exclusive", + "Remove all items from collection that are also in RHS and add all the items in RHS that are not already in target. " + + "Similar to a xor")] + [AddComponentMenu("")] + public class CollectionCommandExclusive : CollectionBaseTwoCollectionCommand + { + protected override void OnEnterInner() + { + collection.Value.Exclusive(rhsCollection.Value); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandExclusive.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandExclusive.cs.meta new file mode 100644 index 00000000..e4730cf8 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandExclusive.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 824e24d12ca84774ea135507417e94a1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandFind.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandFind.cs new file mode 100644 index 00000000..b4927e6b --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandFind.cs @@ -0,0 +1,41 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Find an item in a collection + /// + [CommandInfo("Collection", + "Find", + "Find an item in a collection")] + [CommandInfo("Collection", + "IndexOf", + "Find an item in a collection")] + [AddComponentMenu("")] + public class CollectionCommandFind : CollectionBaseVarAndIntCommand + { + [Tooltip("If true, will find the last occurance rather than first occurance.")] + [SerializeField] + protected BooleanData lastInsteadOfFirst = new BooleanData(false); + + protected override void OnEnterInner() + { + integer.Value = !lastInsteadOfFirst.Value ? + collection.Value.IndexOf(variableToUse) + : collection.Value.LastIndexOf(variableToUse); + } + + public override bool HasReference(Variable variable) + { + return lastInsteadOfFirst.booleanRef == variable || base.HasReference(variable); + } + + public override string GetSummary() + { + return base.GetSummary() + (lastInsteadOfFirst.Value ? " Last" : ""); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandFind.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandFind.cs.meta new file mode 100644 index 00000000..cc1ad6b8 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandFind.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 59afe81b26e37ea4ea10dd91dfeee937 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandInsert.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandInsert.cs new file mode 100644 index 00000000..9a4fe83b --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandInsert.cs @@ -0,0 +1,22 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Add at a specific location in the collection + /// + [CommandInfo("Collection", + "Insert", + "Add at a specific location in the collection")] + [AddComponentMenu("")] + public class CollectionCommandInsert : CollectionBaseVarAndIntCommand + { + protected override void OnEnterInner() + { + collection.Value.Insert(integer.Value, variableToUse); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandInsert.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandInsert.cs.meta new file mode 100644 index 00000000..6623d389 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandInsert.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dd126ef47d8264a4d8a6aac5b4f3fb12 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandIntersection.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandIntersection.cs new file mode 100644 index 00000000..433560e9 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandIntersection.cs @@ -0,0 +1,22 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Remove all items from collection that aren't also in RHS, similar to an overlap. + /// + [CommandInfo("Collection", + "Intersection", + "Remove all items from collection that aren't also in RHS, similar to an overlap.")] + [AddComponentMenu("")] + public class CollectionCommandIntersection : CollectionBaseTwoCollectionCommand + { + protected override void OnEnterInner() + { + collection.Value.Intersection(rhsCollection.Value); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandIntersection.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandIntersection.cs.meta new file mode 100644 index 00000000..6fefadb5 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandIntersection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 586c189d813b1b045ba358c612f4a6eb +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandOccurrences.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandOccurrences.cs new file mode 100644 index 00000000..da2034bd --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandOccurrences.cs @@ -0,0 +1,22 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// How many occurrences of a given variable exist in a target collection + /// + [CommandInfo("Collection", + "Occurrences", + "How many occurrences of a given variable exist in a target collection")] + [AddComponentMenu("")] + public class CollectionCommandOccurrences : CollectionBaseVarAndIntCommand + { + protected override void OnEnterInner() + { + integer.Value = collection.Value.Occurrences(variableToUse); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandOccurrences.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandOccurrences.cs.meta new file mode 100644 index 00000000..b1b5323f --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandOccurrences.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 75a3711bc9cd44e429e15e10f6029fae +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemove.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemove.cs new file mode 100644 index 00000000..48506878 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemove.cs @@ -0,0 +1,39 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Remove an item to a collection + /// + [CommandInfo("Collection", + "Remove", + "Remove an item to a collection")] + [AddComponentMenu("")] + public class CollectionCommandRemove : CollectionBaseVarCommand + { + [Tooltip("Should it remove ALL occurances of variable")] + [SerializeField] + protected BooleanData allOccurances = new BooleanData(false); + + protected override void OnEnterInner() + { + if (allOccurances.Value) + collection.Value.RemoveAll(variableToUse); + else + collection.Value.Remove(variableToUse); + } + + public override bool HasReference(Variable variable) + { + return allOccurances.booleanRef == variable || base.HasReference(variable); + } + + public override string GetSummary() + { + return base.GetSummary() + (allOccurances.Value ? " ALL" : ""); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemove.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemove.cs.meta new file mode 100644 index 00000000..6eb78967 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemove.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6e2313a05ce56ea49bbf1922b58d793a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAllOf.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAllOf.cs new file mode 100644 index 00000000..729f8eec --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAllOf.cs @@ -0,0 +1,22 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Remove all items in given rhs collection to target collection + /// + [CommandInfo("Collection", + "Remove All Of", + "Remove all items in given rhs collection to target collection")] + [AddComponentMenu("")] + public class CollectionCommandRemoveAllOf : CollectionBaseTwoCollectionCommand + { + protected override void OnEnterInner() + { + collection.Value.RemoveAll(rhsCollection); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAllOf.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAllOf.cs.meta new file mode 100644 index 00000000..ea63a58b --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAllOf.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2bb49f43c99a0af4db604a1770b31e83 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAt.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAt.cs new file mode 100644 index 00000000..2464277c --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAt.cs @@ -0,0 +1,22 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Remove item at given index + /// + [CommandInfo("Collection", + "Remove At", + "Remove item at given index")] + [AddComponentMenu("")] + public class CollectionCommandRemoveAt : CollectionBaseIntCommand + { + protected override void OnEnterInner() + { + collection.Value.RemoveAt(integer.Value); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAt.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAt.cs.meta new file mode 100644 index 00000000..d2f4ff50 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandRemoveAt.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c8ee8f64433f29a4f82b03a8e6550ae2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReserve.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReserve.cs new file mode 100644 index 00000000..71c287d9 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReserve.cs @@ -0,0 +1,22 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Reserve space for given number of items in the collection + /// + [CommandInfo("Collection", + "Reserve", + "Reserve space for given number of items in the collection")] + [AddComponentMenu("")] + public class CollectionCommandReserve : CollectionBaseIntCommand + { + protected override void OnEnterInner() + { + collection.Value.Reserve(integer.Value); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReserve.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReserve.cs.meta new file mode 100644 index 00000000..8c443131 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReserve.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4672406760fa8f340aabac4528f04c1c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandResize.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandResize.cs new file mode 100644 index 00000000..108b37fd --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandResize.cs @@ -0,0 +1,22 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Resize will grow the collection to be the given size, will not remove items to shrink + /// + [CommandInfo("Collection", + "Resize", + "Resize will grow the collection to be the given size, will not remove items to shrink")] + [AddComponentMenu("")] + public class CollectionCommandResize : CollectionBaseIntCommand + { + protected override void OnEnterInner() + { + collection.Value.Resize(integer.Value); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandResize.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandResize.cs.meta new file mode 100644 index 00000000..413f91fe --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandResize.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3ce11d7cce59a3340937a8d112cd4ad5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReverse.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReverse.cs new file mode 100644 index 00000000..6a0623db --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReverse.cs @@ -0,0 +1,27 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Reverse the current order of a target collection + /// + [CommandInfo("Collection", + "Reverse", + "Reverse the current order of a target collection")] + [AddComponentMenu("")] + public class CollectionCommandReverse : CollectionBaseCommand + { + public override void OnEnter() + { + if (collection.Value != null) + { + collection.Value.Reverse(); + } + + Continue(); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReverse.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReverse.cs.meta new file mode 100644 index 00000000..20b9f67b --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandReverse.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d7359fcb744d14a41acae4b3a2e34b73 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandShuffle.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandShuffle.cs new file mode 100644 index 00000000..28749926 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandShuffle.cs @@ -0,0 +1,27 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Randomly reorders all elements of a target collection + /// + [CommandInfo("Collection", + "Shuffle", + "Randomly reorders all elements of a target collection")] + [AddComponentMenu("")] + public class CollectionCommandShuffle : CollectionBaseCommand + { + public override void OnEnter() + { + if (collection.Value != null) + { + collection.Value.Shuffle(); + } + + Continue(); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandShuffle.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandShuffle.cs.meta new file mode 100644 index 00000000..253917e4 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandShuffle.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a15d511e013edfe45a0a4726bda90c8f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandSort.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandSort.cs new file mode 100644 index 00000000..a03926bb --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandSort.cs @@ -0,0 +1,27 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Sort a target collection + /// + [CommandInfo("Collection", + "Sort", + "Sort a target collection")] + [AddComponentMenu("")] + public class CollectionCommandSort : CollectionBaseCommand + { + public override void OnEnter() + { + if (collection.Value != null) + { + collection.Value.Sort(); + } + + Continue(); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandSort.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandSort.cs.meta new file mode 100644 index 00000000..69fe1e7a --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandSort.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 00093f39e8583954ba5935bca806f0f1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandUnique.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandUnique.cs new file mode 100644 index 00000000..40ab2605 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandUnique.cs @@ -0,0 +1,27 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Removes all duplicates. + /// + [CommandInfo("Collection", + "Unique", + "Removes all duplicates.")] + [AddComponentMenu("")] + public class CollectionCommandUnique : CollectionBaseCommand + { + public override void OnEnter() + { + if (collection.Value != null) + { + collection.Value.Unique(); + } + + Continue(); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandUnique.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandUnique.cs.meta new file mode 100644 index 00000000..a8c45c32 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionCommandUnique.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 59ae026a39db9cf4d8453309fa6192db +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionRandom.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionRandom.cs new file mode 100644 index 00000000..2a149cde --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionRandom.cs @@ -0,0 +1,22 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Use the collection as a source of random selection. Picking a random item each run. + /// + [CommandInfo("Collection", + "RandomItem", + "Use the collection as a source of random selection. Picking a random item each run.")] + [AddComponentMenu("")] + public class CollectionRandom : CollectionBaseVarCommand + { + protected override void OnEnterInner() + { + collection.Value.Get(Random.Range(0, collection.Value.Count - 1), ref variableToUse); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionRandom.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionRandom.cs.meta new file mode 100644 index 00000000..0b589499 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionRandom.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d58ddca8952c1a149a39835e2eeac9a7 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionRandomBag.cs b/Assets/Fungus/Scripts/Commands/Collection/CollectionRandomBag.cs new file mode 100644 index 00000000..3a95c85a --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionRandomBag.cs @@ -0,0 +1,80 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Use the collection as a source of random items and turn it into a random bag. Drawing the + /// next random item until out of items and then reshuffling them. + /// + [CommandInfo("Collection", + "RandomBag", + "Use the collection as a source of random items and turn it into a random bag. " + + "Drawing the next random item until out of items and then reshuffling them.")] + [AddComponentMenu("")] + public class CollectionRandomBag : CollectionBaseVarCommand + { + [SerializeField] + [Tooltip("Will add this many copies to the bag. If you want 5 of everything, you want 4 copies.")] + protected IntegerData duplicatesToPutInBag = new IntegerData(0); + + [SerializeField] + protected IntegerData currentIndex = new IntegerData(int.MaxValue); + + protected bool isInit = false; + + protected override void OnEnterInner() + { + if (!isInit) + { + Init(); + } + + currentIndex.Value++; + + if (currentIndex.Value >= collection.Value.Count) + { + Reshuffle(); + } + + collection.Value.Get(currentIndex.Value, ref variableToUse); + } + + protected void Init() + { + var startingCount = collection.Value.Count; + for (int i = 0; i < duplicatesToPutInBag.Value; i++) + { + for (int j = 0; j < startingCount; j++) + { + collection.Value.Add(collection.Value.Get(j)); + } + } + + //force invalid index + currentIndex.Value = collection.Value.Count; + + isInit = true; + } + + protected void Reshuffle() + { + currentIndex.Value = 0; + collection.Value.Shuffle(); + } + + public override bool HasReference(Variable variable) + { + return base.HasReference(variable) || duplicatesToPutInBag.integerRef == variable || currentIndex.integerRef; + } + + public override string GetSummary() + { + return base.GetSummary() + + (duplicatesToPutInBag.integerRef != null ? " " + duplicatesToPutInBag.integerRef.Key : "") + + (currentIndex.integerRef != null ? " " + currentIndex.integerRef.Key : ""); ; + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/CollectionRandomBag.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/CollectionRandomBag.cs.meta new file mode 100644 index 00000000..2b992196 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/CollectionRandomBag.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 56176eef6b396a442b08b88220304436 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/ForEach.cs b/Assets/Fungus/Scripts/Commands/Collection/ForEach.cs new file mode 100644 index 00000000..f3f27ce6 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/ForEach.cs @@ -0,0 +1,90 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Loop over each element in the given collection. + /// + [CommandInfo("Collection", + "For Each", + "Loop over each element in the given collection, similar to a foreach but internally uses indicies")] + [AddComponentMenu("")] + public class ForEach : Condition, ICollectionCompatible + { + [SerializeField] + protected CollectionData collection; + + [SerializeField] + [VariableProperty(compatibleVariableName = "collection")] + protected Variable item; + + [SerializeField] + [Tooltip("Optional")] + protected IntegerData curIndex; + + #region Public members + + public override bool IsLooping { get { return true; } } + + protected override void PreEvaluate() + { + //if we came from the end then we are already looping, if not this is first loop so prep + if (ParentBlock.PreviousActiveCommandIndex != endCommand.CommandIndex) + { + curIndex.Value = -1; + } + } + + protected override bool EvaluateCondition() + { + var col = collection.Value; + curIndex.Value++; + if (curIndex < col.Count) + { + col.Get(curIndex, ref item); + return true; + } + + return false; + } + + protected override void OnFalse() + { + MoveToEnd(); + } + + protected override bool HasNeededProperties() + { + return collection.Value != null && item != null; + } + + public override bool HasReference(Variable variable) + { + return collection.collectionRef == variable || item == variable || + base.HasReference(variable); + } + + bool ICollectionCompatible.IsVarCompatibleWithCollection(Variable variable, string compatibleWith) + { + if (compatibleWith == "collection") + return collection.Value == null ? false : collection.Value.IsElementCompatible(variable); + else + return true; + } + + public override string GetSummary() + { + if (item == null) + return "Error: No item var"; + if (collection.Value == null) + return "Error: No collection"; + + return item.Key + " in " + collection.Value.name; + } + + #endregion Public members + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/ForEach.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/ForEach.cs.meta new file mode 100644 index 00000000..2c7276c4 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/ForEach.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1ce547d5384ce3a41b7142cab8ab41dd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/GameObjectFind.cs b/Assets/Fungus/Scripts/Commands/Collection/GameObjectFind.cs new file mode 100644 index 00000000..7236defd --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/GameObjectFind.cs @@ -0,0 +1,51 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + [CommandInfo("GameObject", + "FindAll", + "Find all gameobjects by tag and store in a collection")] + [AddComponentMenu("")] + public class GameObjectFind : CollectionBaseCommand + { + [Tooltip("Find all gameobjects of tag")] + [SerializeField] + protected StringData tagString; + + public override void OnEnter() + { + var col = collection.Value; + + if (col != null) + { + var res = GameObject.FindGameObjectsWithTag(tagString.Value); + + for (int i = 0; i < res.Length; i++) + { + col.Add(res[i]); + } + } + + Continue(); + } + + public override bool HasReference(Variable variable) + { + return variable == tagString.stringRef || base.HasReference(variable); + } + + public override string GetSummary() + { + if (collection.Value == null) + return "Error: no collection selected"; + + if (!(collection.Value is GameObjectCollection)) + return "Error: collection is not GameObjectCollection"; + + return tagString.Value + " GOs, store in " + collection.Value.name; + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/GameObjectFind.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/GameObjectFind.cs.meta new file mode 100644 index 00000000..7a5bb5c4 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/GameObjectFind.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8509f58e038dd8c46b98cab78d34e06a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/Physics2DCast.cs b/Assets/Fungus/Scripts/Commands/Collection/Physics2DCast.cs new file mode 100644 index 00000000..84e753d4 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/Physics2DCast.cs @@ -0,0 +1,162 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + [CommandInfo("Physics2D", + "Cast2D", + "Find all gameobjects hit by given physics shape overlap")] + [AddComponentMenu("")] + public class Physics2DCast : CollectionBaseCommand + { + public enum CastType + { + Box, + Capsule, + Circle, + Line, + Ray, + } + + [Tooltip("")] + [SerializeField] + protected CastType castType = CastType.Ray; + + [Tooltip("Starting point or centre of shape")] + [SerializeField] + protected Vector3Data position1; + + [Tooltip("")] + [SerializeField] + protected Vector3Data direction; + + [Tooltip("")] + [SerializeField] + protected FloatData maxDistance = new FloatData(float.PositiveInfinity); + + [Tooltip("CAPSULE & Circle ONLY")] + [SerializeField] + protected FloatData radius = new FloatData(0.5f); + + [Tooltip("BOX & CAPSULE ONLY")] + [SerializeField] + protected Vector3Data shapeSize = new Vector3Data(Vector3.one * 0.5f); + + [Tooltip("BOX & CAPSULE ONLY")] + [SerializeField] + protected FloatData shapeAngle; + + [Tooltip("LINE ONLY")] + [SerializeField] + protected Vector3Data lineEnd; + + [Tooltip("")] + [SerializeField] + protected LayerMask layerMask = ~0; + + [Tooltip("")] + [SerializeField] + protected FloatData minDepth = new FloatData(float.NegativeInfinity), maxDepth = new FloatData(float.PositiveInfinity); + + [SerializeField] + protected CapsuleDirection2D capsuleDirection; + + public override void OnEnter() + { + var col = collection.Value; + + if (col != null) + { + RaycastHit2D[] resHits = null; + + switch (castType) + { + case CastType.Box: + resHits = Physics2D.BoxCastAll(position1.Value, shapeSize.Value, shapeAngle.Value, direction.Value, maxDistance.Value, layerMask.value, minDepth.Value, maxDepth.Value); + break; + + case CastType.Capsule: + resHits = Physics2D.CapsuleCastAll(position1.Value, shapeSize.Value, capsuleDirection, shapeAngle.Value, direction.Value, maxDistance.Value, layerMask.value, minDepth.Value, maxDepth.Value); + break; + + case CastType.Circle: + resHits = Physics2D.CircleCastAll(position1.Value, radius.Value, direction.Value, maxDistance.Value, layerMask.value, minDepth.Value, maxDepth.Value); + break; + + case CastType.Line: + resHits = Physics2D.LinecastAll(position1.Value, lineEnd.Value, layerMask.value, minDepth.Value, maxDepth.Value); + break; + + case CastType.Ray: + resHits = Physics2D.RaycastAll(position1.Value, direction.Value, maxDistance.Value, layerMask.value, minDepth.Value, maxDepth.Value); + break; + + default: + break; + } + + PutCollidersIntoGameObjectCollection(resHits); + } + + Continue(); + } + + protected void PutCollidersIntoGameObjectCollection(RaycastHit2D[] resColliders) + { + if (resColliders != null) + { + var col = collection.Value; + for (int i = 0; i < resColliders.Length; i++) + { + col.Add(resColliders[i].collider.gameObject); + } + } + } + + public override bool HasReference(Variable variable) + { + return variable == position1.vector3Ref || + variable == radius.floatRef || + variable == shapeSize.vector3Ref || + variable == shapeAngle.floatRef || + variable == minDepth.floatRef || + variable == maxDepth.floatRef || + variable == direction.vector3Ref || + variable == maxDistance.floatRef || + variable == lineEnd.vector3Ref || + base.HasReference(variable); + } + + public override string GetSummary() + { + if (collection.Value == null) + return "Error: no collection selected"; + + //TODO we could support more than just GOs + if (!(collection.Value is GameObjectCollection)) + return "Error: collection is not GameObjectCollection"; + + return castType.ToString() + ", store in " + collection.Value.name; + } + + public override bool IsPropertyVisible(string propertyName) + { + if (castType == CastType.Capsule && propertyName == "capsulePosition2") + return true; + + if (castType == CastType.Line && propertyName == "lineEnd") + return true; + + if ((castType == CastType.Capsule || castType == CastType.Circle) && propertyName == "radius") + return true; + + if ((castType == CastType.Capsule || castType == CastType.Box) && + (propertyName == "shapeAngle" || propertyName == "shapeSize")) + return true; + + return base.IsPropertyVisible(propertyName); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/Physics2DCast.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/Physics2DCast.cs.meta new file mode 100644 index 00000000..994c591e --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/Physics2DCast.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: da8de59f5960f5c4b9d61002cc912b37 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/Physics2DOverlap.cs b/Assets/Fungus/Scripts/Commands/Collection/Physics2DOverlap.cs new file mode 100644 index 00000000..24da6545 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/Physics2DOverlap.cs @@ -0,0 +1,154 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + [CommandInfo("Physics2D", + "Overlap2D", + "Find all gameobjects hit by given physics shape overlap")] + [AddComponentMenu("")] + public class Physics2DOverlap : CollectionBaseCommand + { + public enum Shape + { + Point, + Area, + Box, + Circle, + Capsule, + } + + [Tooltip("")] + [SerializeField] + protected Shape shape = Shape.Box; + + [Tooltip("Starting point or centre of shape")] + [SerializeField] + protected Vector3Data position1; + + [Tooltip("AREA ONLY")] + [SerializeField] + protected Vector3Data areaEndPosition; + + [Tooltip("CAPSULE & Circle ONLY")] + [SerializeField] + protected FloatData radius = new FloatData(0.5f); + + [Tooltip("BOX & CAPSULE ONLY")] + [SerializeField] + protected Vector3Data shapeSize = new Vector3Data(Vector3.one * 0.5f); + + [Tooltip("BOX & CAPSULE ONLY")] + [SerializeField] + protected FloatData shapeAngle; + + [Tooltip("")] + [SerializeField] + protected LayerMask layerMask = ~0; + + [Tooltip("")] + [SerializeField] + protected FloatData minDepth = new FloatData(float.NegativeInfinity), maxDepth = new FloatData(float.PositiveInfinity); + + [SerializeField] + protected CapsuleDirection2D capsuleDirection; + + public override void OnEnter() + { + var col = collection.Value; + + if (col != null) + { + Collider2D[] resColliders = null; + + switch (shape) + { + case Shape.Area: + resColliders = Physics2D.OverlapAreaAll(position1.Value, areaEndPosition.Value, layerMask.value, minDepth.Value, maxDepth.Value); + break; + + case Shape.Box: + resColliders = Physics2D.OverlapBoxAll(position1.Value, shapeSize.Value, shapeAngle.Value, layerMask.value, minDepth.Value, maxDepth.Value); + break; + + case Shape.Circle: + resColliders = Physics2D.OverlapCircleAll(position1.Value, radius.Value, layerMask.value, minDepth.Value, maxDepth.Value); + break; + + case Shape.Capsule: + resColliders = Physics2D.OverlapCapsuleAll(position1.Value, shapeSize.Value, capsuleDirection, shapeAngle.Value, layerMask.value, minDepth.Value, maxDepth.Value); + break; + + case Shape.Point: + resColliders = Physics2D.OverlapPointAll(position1.Value, layerMask.value, minDepth.Value, maxDepth.Value); + break; + + default: + break; + } + + PutCollidersIntoGameObjectCollection(resColliders); + } + + Continue(); + } + + protected void PutCollidersIntoGameObjectCollection(Collider2D[] resColliders) + { + if (resColliders != null) + { + var col = collection.Value; + for (int i = 0; i < resColliders.Length; i++) + { + col.Add(resColliders[i].gameObject); + } + } + } + + public override bool HasReference(Variable variable) + { + return variable == position1.vector3Ref || + variable == areaEndPosition.vector3Ref || + variable == radius.floatRef || + variable == shapeSize.vector3Ref || + variable == shapeAngle.floatRef || + variable == minDepth.floatRef || + variable == maxDepth.floatRef || + base.HasReference(variable); + } + + public override string GetSummary() + { + if (collection.Value == null) + return "Error: no collection selected"; + + //TODO we could support more than just GOs + if (!(collection.Value is GameObjectCollection)) + return "Error: collection is not GameObjectCollection"; + + return shape.ToString() + ", store in " + collection.Value.name; + } + + public override bool IsPropertyVisible(string propertyName) + { + if (shape == Shape.Capsule && propertyName == "capsulePosition2") + return true; + + if (shape == Shape.Area && propertyName == "areaEndPosition") + return true; + + if ((shape == Shape.Capsule || shape == Shape.Circle) && propertyName == "radius") + return true; + + if ((shape == Shape.Capsule || shape == Shape.Box) && propertyName == "shapeAngle") + return true; + + if (shape == Shape.Box && (propertyName == "boxHalfExtends" || propertyName == "boxOrientation")) + return true; + + return base.IsPropertyVisible(propertyName); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/Physics2DOverlap.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/Physics2DOverlap.cs.meta new file mode 100644 index 00000000..2369aac0 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/Physics2DOverlap.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c27aec18d802f45429190093660305e4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/PhysicsCast.cs b/Assets/Fungus/Scripts/Commands/Collection/PhysicsCast.cs new file mode 100644 index 00000000..f5b145e7 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/PhysicsCast.cs @@ -0,0 +1,147 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + [CommandInfo("Physics", + "Cast", + "Find all gameobjects hit by given physics shape cast")] + [AddComponentMenu("")] + public class PhysicsCast : CollectionBaseCommand + { + public enum CastType + { + Box, + Capsule, + Ray, + Sphere, + } + + [SerializeField] + protected CastType castType = CastType.Ray; + + [Tooltip("Starting point/origin or centre of shape")] + [SerializeField] + protected Vector3Data position1; + + [Tooltip("")] + [SerializeField] + protected Vector3Data direction; + + [Tooltip("")] + [SerializeField] + protected FloatData maxDistance = new FloatData(float.PositiveInfinity); + + [Tooltip("CAPSULE ONLY; end point of the capsule")] + [SerializeField] + protected Vector3Data capsulePosition2; + + [Tooltip("CAPSULE & SPHERE ONLY")] + [SerializeField] + protected FloatData radius = new FloatData(0.5f); + + [Tooltip("BOX ONLY")] + [SerializeField] + protected Vector3Data boxHalfExtends = new Vector3Data(Vector3.one * 0.5f); + + [Tooltip("BOX ONLY")] + [SerializeField] + protected QuaternionData boxOrientation = new QuaternionData(Quaternion.identity); + + [Tooltip("")] + [SerializeField] + protected LayerMask layerMask = ~0; + + [Tooltip("")] + [SerializeField] + protected QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal; + + public override void OnEnter() + { + var col = collection.Value; + + if (col != null) + { + RaycastHit[] resHits = null; + + switch (castType) + { + case CastType.Ray: + resHits = Physics.RaycastAll(position1.Value, direction.Value, maxDistance.Value, layerMask.value, queryTriggerInteraction); + break; + + case CastType.Sphere: + resHits = Physics.SphereCastAll(position1.Value, radius.Value, direction.Value, maxDistance.Value, layerMask.value, queryTriggerInteraction); + break; + + case CastType.Box: + resHits = Physics.BoxCastAll(position1.Value, boxHalfExtends.Value, direction.Value, boxOrientation.Value, maxDistance.Value, layerMask.value, queryTriggerInteraction); + break; + + case CastType.Capsule: + resHits = Physics.CapsuleCastAll(position1.Value, capsulePosition2.Value, radius.Value, direction.Value, maxDistance.Value, layerMask.value, queryTriggerInteraction); + break; + + default: + break; + } + + PutCollidersIntoGameObjectCollection(resHits); + } + + Continue(); + } + + protected void PutCollidersIntoGameObjectCollection(RaycastHit[] resHits) + { + if (resHits != null) + { + var col = collection.Value; + for (int i = 0; i < resHits.Length; i++) + { + col.Add(resHits[i].collider.gameObject); + } + } + } + + public override bool HasReference(Variable variable) + { + return variable == direction.vector3Ref || + variable == maxDistance.floatRef || + variable == position1.vector3Ref || + variable == capsulePosition2.vector3Ref || + variable == radius.floatRef || + variable == boxHalfExtends.vector3Ref || + variable == boxOrientation.quaternionRef || + base.HasReference(variable); + } + + public override string GetSummary() + { + if (collection.Value == null) + return "Error: no collection selected"; + + //TODO we could support more than just GOs + if (!(collection.Value is GameObjectCollection)) + return "Error: collection is not GameObjectCollection"; + + return castType.ToString() + ", store in " + collection.Value.name; + } + + public override bool IsPropertyVisible(string propertyName) + { + if (castType == CastType.Capsule && propertyName == "capsulePosition2") + return true; + + if ((castType == CastType.Capsule || castType == CastType.Sphere) && propertyName == "radius") + return true; + + if (castType == CastType.Box && (propertyName == "boxHalfExtends" || propertyName == "boxOrientation")) + return true; + + return base.IsPropertyVisible(propertyName); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/PhysicsCast.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/PhysicsCast.cs.meta new file mode 100644 index 00000000..272dbd8d --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/PhysicsCast.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 44a4b238cb3af004bbae4a6145089ea2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Collection/PhysicsOverlap.cs b/Assets/Fungus/Scripts/Commands/Collection/PhysicsOverlap.cs new file mode 100644 index 00000000..1cb6e79e --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/PhysicsOverlap.cs @@ -0,0 +1,136 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// + /// + [CommandInfo("Physics", + "Overlap", + "Find all gameobjects hit by given physics shape overlap")] + [AddComponentMenu("")] + public class PhysicsOverlap : CollectionBaseCommand + { + public enum Shape + { + Box, + Capsule, + Sphere, + } + + [Tooltip("")] + [SerializeField] + protected Shape shape = Shape.Box; + + [Tooltip("Starting point or centre of shape")] + [SerializeField] + protected Vector3Data position1; + + [Tooltip("CAPSULE ONLY; end point of the capsule")] + [SerializeField] + protected Vector3Data capsulePosition2; + + [Tooltip("CAPSULE & SPHERE ONLY")] + [SerializeField] + protected FloatData radius = new FloatData(0.5f); + + [Tooltip("BOX ONLY")] + [SerializeField] + protected Vector3Data boxHalfExtends = new Vector3Data(Vector3.one * 0.5f); + + [Tooltip("BOX ONLY")] + [SerializeField] + protected QuaternionData boxOrientation = new QuaternionData(Quaternion.identity); + + [Tooltip("")] + [SerializeField] + protected LayerMask layerMask = ~0; + + [Tooltip("")] + [SerializeField] + protected QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal; + + public override void OnEnter() + { + var col = collection.Value; + + if (col != null) + { + Collider[] resColliders = null; + + switch (shape) + { + case Shape.Box: + resColliders = Physics.OverlapBox(position1.Value, boxHalfExtends.Value, boxOrientation.Value, layerMask.value, queryTriggerInteraction); + break; + + case Shape.Sphere: + resColliders = Physics.OverlapSphere(position1.Value, radius.Value, layerMask.value, queryTriggerInteraction); + break; + + case Shape.Capsule: + resColliders = Physics.OverlapCapsule(position1.Value, capsulePosition2.Value, radius.Value, layerMask.value, queryTriggerInteraction); + break; + + default: + break; + } + + PutCollidersIntoGameObjectCollection(resColliders); + } + + Continue(); + } + + protected void PutCollidersIntoGameObjectCollection(Collider[] resColliders) + { + if (resColliders != null) + { + var col = collection.Value; + for (int i = 0; i < resColliders.Length; i++) + { + col.Add(resColliders[i].gameObject); + } + } + } + + public override bool HasReference(Variable variable) + { + return variable == position1.vector3Ref || + variable == capsulePosition2.vector3Ref || + variable == radius.floatRef || + variable == boxHalfExtends.vector3Ref || + variable == boxOrientation.quaternionRef || + base.HasReference(variable); + } + + public override string GetSummary() + { + if (collection.Value == null) + return "Error: no collection selected"; + + //TODO we could support more than just GOs + if (!(collection.Value is GameObjectCollection)) + return "Error: collection is not GameObjectCollection"; + + return shape.ToString() + ", store in " + collection.Value.name; + } + + public override bool IsPropertyVisible(string propertyName) + { + if (shape == Shape.Capsule && propertyName == "capsulePosition2") + return true; + + if ((shape == Shape.Capsule || shape == Shape.Sphere) && propertyName == "radius") + return true; + + if (shape == Shape.Box && (propertyName == "boxHalfExtends" || propertyName == "boxOrientation")) + return true; + + return base.IsPropertyVisible(propertyName); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Collection/PhysicsOverlap.cs.meta b/Assets/Fungus/Scripts/Commands/Collection/PhysicsOverlap.cs.meta new file mode 100644 index 00000000..57665f64 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Collection/PhysicsOverlap.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5996bc0e902a19f4fa257341b0691de3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Comment.cs b/Assets/Fungus/Scripts/Commands/Comment.cs index 66686c02..ac6bd3f6 100644 --- a/Assets/Fungus/Scripts/Commands/Comment.cs +++ b/Assets/Fungus/Scripts/Commands/Comment.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Condition.cs b/Assets/Fungus/Scripts/Commands/Condition.cs index 26e14bc8..5af13b89 100644 --- a/Assets/Fungus/Scripts/Commands/Condition.cs +++ b/Assets/Fungus/Scripts/Commands/Condition.cs @@ -1,118 +1,166 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; namespace Fungus { + /// + /// Base for all Conditional based Commands, Ifs, Loops, and so on. + /// [AddComponentMenu("")] public abstract class Condition : Command { - public static string GetOperatorDescription(CompareOperator compareOperator) + protected End endCommand; + + public override void OnEnter() { - string summary = ""; - switch (compareOperator) + if (ParentBlock == null) { - case CompareOperator.Equals: - summary += "=="; - break; - case CompareOperator.NotEquals: - summary += "!="; - break; - case CompareOperator.LessThan: - summary += "<"; - break; - case CompareOperator.GreaterThan: - summary += ">"; - break; - case CompareOperator.LessThanOrEquals: - summary += "<="; - break; - case CompareOperator.GreaterThanOrEquals: - summary += ">="; - break; + return; } - return summary; - } - - #region Public members - - public override void OnEnter() - { - - if (ParentBlock == null) + //if looping we need the end command in order to work + if(IsLooping && !EnsureRequiredEnd()) { + Debug.LogError(GetLocationIdentifier() + " is looping but has no matching End command"); + Continue(); return; } - if( !HasNeededProperties() ) + if ( !HasNeededProperties() ) { + Debug.LogError(GetLocationIdentifier() + " cannot run due to missing required properties"); Continue(); return; } - if( !this.IsElseIf ) + //Ensuring we arrived at this elif honestly, not incorrectly due to fall through from a previous command + if (this.IsElseIf && !DoesPassElifSanityCheck()) + { + //elif is being asked to run but didn't come from a previously failing if or elif, this isn't allowed + MoveToEnd(); + return; + } + + EvaluateAndContinue(); + } + + public override bool OpenBlock() + { + return true; + } + + public override Color GetButtonColor() + { + return new Color32(253, 253, 150, 255); + } + + public virtual bool IsLooping { get { return false; } } + + + /// + /// Moves execution to the closing End of the current command, attempts to locate end if not + /// already known and if no closing End exists. + /// + public virtual void MoveToEnd() + { + if(endCommand == null) + { + endCommand = FindOurEndCommand(); + } + + if (endCommand != null) { - EvaluateAndContinue(); + // Continue at next command after End + // and make the end non looping incase it gets run via index etc. + endCommand.Loop = false; + Continue(endCommand.CommandIndex + 1); } else { - System.Type previousCommandType = ParentBlock.GetPreviousActiveCommandType(); - var prevCmdIndent = ParentBlock.GetPreviousActiveCommandIndent(); + //nowhere to go, so we assume the block wants to stop but is missing and end, this + // is also ensures back compat + Debug.LogWarning("Condition wants to move to end but no End command found, stopping block. " + GetLocationIdentifier()); + StopParentBlock(); + } + } - //handle our matching if or else if in the chain failing and moving to us, - // need to make sure it is the same indent level - if (prevCmdIndent == IndentLevel && previousCommandType.IsSubclassOf(typeof(Condition))) - { - // Else If behaves the same as an If command - EvaluateAndContinue(); - } - else - { - // Else If behaves mostly like an Else command, - // but will also jump to a following Else command. + + protected End FindOurEndCommand() + { + return FindMatchingEndCommand(this); + } - // Stop if this is the last command in the list - if (CommandIndex >= ParentBlock.CommandList.Count - 1) - { - StopParentBlock(); - return; - } + /// + /// Helper to find the paired End Command for the given command. + /// + /// + /// Mathcing End Command or null if not found + public static End FindMatchingEndCommand(Command startCommand) + { + if (startCommand.ParentBlock == null) + return null; + + int indent = startCommand.IndentLevel; + for (int i = startCommand.CommandIndex + 1; i < startCommand.ParentBlock.CommandList.Count; ++i) + { + var command = startCommand.ParentBlock.CommandList[i]; - // Find the next End command at the same indent level as this Else If command - int indent = indentLevel; - for (int i = CommandIndex + 1; i < ParentBlock.CommandList.Count; ++i) + if (command.IndentLevel == indent) + { + if (command is End) { - var command = ParentBlock.CommandList[i]; - - if (command.IndentLevel == indent) - { - System.Type type = command.GetType(); - if (type == typeof(End)) - { - // Execute command immediately after the Else or End command - Continue(command.CommandIndex + 1); - return; - } - } + return command as End; } - - // No End command found - StopParentBlock(); + } + else if (command.IndentLevel < indent) + { + //managed to be less indent than the inner but not find and end, this shouldn't occur + // but may be user error or bad data, makes sense for completeness here + return null; } } + + return null; } - public override bool OpenBlock() + /// + /// Helper for child classes that require an End command to function. For IsLooping commands + /// this also configures the loopback within the End command. + /// + /// + protected virtual bool EnsureRequiredEnd() { + if (endCommand == null) + { + endCommand = FindOurEndCommand(); + + if (endCommand == null) + { + Debug.LogError( GetLocationIdentifier() + "', could not find closing End command and thus cannot loop."); + //StopParentBlock(); + return false; + } + } + + if (IsLooping) + { + // Tell the following end command to loop back + endCommand.Loop = true; + endCommand.LoopBackIndex = CommandIndex; + } return true; } - #endregion - + /// + /// Called by OnEnter when the condition is needed to evaluate and continue execution. + /// Means child classes do not have to deal with erronuous execution conditions, like fall through. + /// protected virtual void EvaluateAndContinue() { + PreEvaluate(); + if (EvaluateCondition()) { OnTrue(); @@ -123,17 +171,23 @@ namespace Fungus } } + /// + /// Called when the condition is run and EvaluateCondition returns true + /// protected virtual void OnTrue() { Continue(); } + /// + /// Called when the condition is run and EvaluateCondition returns false + /// protected virtual void OnFalse() { - // Last command in block - if (CommandIndex >= ParentBlock.CommandList.Count) + //looping constructs only care about the end + if(IsLooping) { - StopParentBlock(); + MoveToEnd(); return; } @@ -177,7 +231,6 @@ namespace Fungus { // Execute the Else If command Continue(i); - return; } } @@ -186,10 +239,47 @@ namespace Fungus StopParentBlock(); } + /// + /// Sits in the if within EvaluateAndContinue, if returns true, OnTrue will run, if false, OnFalse will run. + /// protected abstract bool EvaluateCondition(); - protected abstract bool HasNeededProperties(); + /// + /// Child classes are required to report if it is possible for them to be evaulated. + /// + protected virtual bool HasNeededProperties() { return true; } + /// + /// Declare if the child class is implementing an 'else if' command, which requires some special handling + /// protected virtual bool IsElseIf { get { return false; } } + + /// + /// Called before EvaluateCondition, allowing for child classes to gather required data + /// + protected virtual void PreEvaluate() { } + + /// + /// Ensure that this condition didn't come from a non matching if/elif. + /// + /// + protected virtual bool DoesPassElifSanityCheck() + { + System.Type previousCommandType = ParentBlock.GetPreviousActiveCommandType(); + var prevCmdIndent = ParentBlock.GetPreviousActiveCommandIndent(); + var prevCmd = ParentBlock.GetPreviousActiveCommand(); + + //handle our matching if or else if in the chain failing and moving to us, + // need to make sure it is the same indent level + if (prevCmd == null || + prevCmdIndent != IndentLevel || + !previousCommandType.IsSubclassOf(typeof(Condition)) || + (prevCmd as Condition).IsLooping) + { + return false; + } + + return true; + } } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/ControlAudio.cs b/Assets/Fungus/Scripts/Commands/ControlAudio.cs index d4100ead..ef14850e 100644 --- a/Assets/Fungus/Scripts/Commands/ControlAudio.cs +++ b/Assets/Fungus/Scripts/Commands/ControlAudio.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ControlStage.cs b/Assets/Fungus/Scripts/Commands/ControlStage.cs index 0dd9dd87..06ccb027 100644 --- a/Assets/Fungus/Scripts/Commands/ControlStage.cs +++ b/Assets/Fungus/Scripts/Commands/ControlStage.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ControlWithDisplay.cs b/Assets/Fungus/Scripts/Commands/ControlWithDisplay.cs index c6df1b3f..3357d456 100644 --- a/Assets/Fungus/Scripts/Commands/ControlWithDisplay.cs +++ b/Assets/Fungus/Scripts/Commands/ControlWithDisplay.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using System; diff --git a/Assets/Fungus/Scripts/Commands/Conversation.cs b/Assets/Fungus/Scripts/Commands/Conversation.cs index e7cdbd0c..0b084982 100644 --- a/Assets/Fungus/Scripts/Commands/Conversation.cs +++ b/Assets/Fungus/Scripts/Commands/Conversation.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/DebugBreak.cs b/Assets/Fungus/Scripts/Commands/DebugBreak.cs index 785bde0e..2dd31d72 100644 --- a/Assets/Fungus/Scripts/Commands/DebugBreak.cs +++ b/Assets/Fungus/Scripts/Commands/DebugBreak.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/DebugLog.cs b/Assets/Fungus/Scripts/Commands/DebugLog.cs index 6c39772b..d67c4c4c 100644 --- a/Assets/Fungus/Scripts/Commands/DebugLog.cs +++ b/Assets/Fungus/Scripts/Commands/DebugLog.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/DeleteSaveKey.cs b/Assets/Fungus/Scripts/Commands/DeleteSaveKey.cs index e9a6e6b5..a1d969db 100644 --- a/Assets/Fungus/Scripts/Commands/DeleteSaveKey.cs +++ b/Assets/Fungus/Scripts/Commands/DeleteSaveKey.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Destroy.cs b/Assets/Fungus/Scripts/Commands/Destroy.cs index 8288d4b3..27ed738c 100644 --- a/Assets/Fungus/Scripts/Commands/Destroy.cs +++ b/Assets/Fungus/Scripts/Commands/Destroy.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/DestroyOnLoad.cs b/Assets/Fungus/Scripts/Commands/DestroyOnLoad.cs new file mode 100644 index 00000000..91e411bf --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/DestroyOnLoad.cs @@ -0,0 +1,41 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Calls DontDestroyOnLoad on the target gameobject. + /// + [CommandInfo("Scripting", + "DestroyOnLoad", + "Calls DontDestroyOnLoad on the target gameobject")] + [AddComponentMenu("")] + public class DestroyOnLoad : Command + { + [SerializeField] protected GameObjectData target; + + public override void OnEnter() + { + DontDestroyOnLoad(target.Value); + + Continue(); + } + + public override string GetSummary() + { + return target.Value != null ? target.Value.name : "Error: no target set"; + } + + public override bool HasReference(Variable variable) + { + return variable == target.gameObjectRef; + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/DestroyOnLoad.cs.meta b/Assets/Fungus/Scripts/Commands/DestroyOnLoad.cs.meta new file mode 100644 index 00000000..957b0417 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/DestroyOnLoad.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 779fdb236b4ca6343a6d631108388e42 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Else.cs b/Assets/Fungus/Scripts/Commands/Else.cs index be8843ee..dd311268 100644 --- a/Assets/Fungus/Scripts/Commands/Else.cs +++ b/Assets/Fungus/Scripts/Commands/Else.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -18,38 +18,18 @@ namespace Fungus public override void OnEnter() { - if (ParentBlock == null) + // Find the next End command at the same indent level as this Else command + var matchingEnd = Condition.FindMatchingEndCommand(this); + if (matchingEnd != null) { - return; + // Execute command immediately after the EndIf command + Continue(matchingEnd.CommandIndex + 1); } - - // Stop if this is the last command in the list - if (CommandIndex >= ParentBlock.CommandList.Count - 1) + else { + // No End command found StopParentBlock(); - return; - } - - // Find the next End command at the same indent level as this Else command - int indent = indentLevel; - for (int i = CommandIndex + 1; i < ParentBlock.CommandList.Count; ++i) - { - var command = ParentBlock.CommandList[i]; - - if (command.IndentLevel == indent) - { - System.Type type = command.GetType(); - if (type == typeof(End)) - { - // Execute command immediately after the EndIf command - Continue(command.CommandIndex + 1); - return; - } - } } - - // No End command found - StopParentBlock(); } public override bool OpenBlock() diff --git a/Assets/Fungus/Scripts/Commands/ElseIf.cs b/Assets/Fungus/Scripts/Commands/ElseIf.cs index eee6ab14..c5df382f 100644 --- a/Assets/Fungus/Scripts/Commands/ElseIf.cs +++ b/Assets/Fungus/Scripts/Commands/ElseIf.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -18,21 +18,11 @@ namespace Fungus #region Public members - public override bool OpenBlock() - { - return true; - } - public override bool CloseBlock() { return true; } - public override Color GetButtonColor() - { - return new Color32(253, 253, 150, 255); - } - #endregion } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/End.cs b/Assets/Fungus/Scripts/Commands/End.cs index 0ac0c45f..1258bacf 100644 --- a/Assets/Fungus/Scripts/Commands/End.cs +++ b/Assets/Fungus/Scripts/Commands/End.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -16,23 +16,22 @@ namespace Fungus { #region Public members + /// + /// Set to true by looping constructs to allow for loops to occur + /// public virtual bool Loop { get; set; } + /// + /// Set to the index of the owning looping construct + /// + public virtual int LoopBackIndex { get; set; } + public override void OnEnter() { if (Loop) { - for (int i = CommandIndex - 1; i >= 0; --i) - { - var command = ParentBlock.CommandList[i]; - - if (command.IndentLevel == IndentLevel && - command.GetType() == typeof(While)) - { - Continue(i); - return; - } - } + Continue(LoopBackIndex); + return; } Continue(); diff --git a/Assets/Fungus/Scripts/Commands/ExecuteLua.cs b/Assets/Fungus/Scripts/Commands/ExecuteLua.cs index cf538c75..8f1c058c 100644 --- a/Assets/Fungus/Scripts/Commands/ExecuteLua.cs +++ b/Assets/Fungus/Scripts/Commands/ExecuteLua.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/FadeScreen.cs b/Assets/Fungus/Scripts/Commands/FadeScreen.cs index 2f6d82c7..a84fb483 100644 --- a/Assets/Fungus/Scripts/Commands/FadeScreen.cs +++ b/Assets/Fungus/Scripts/Commands/FadeScreen.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -31,6 +31,8 @@ namespace Fungus [Tooltip("Optional texture to use when rendering the fullscreen fade effect.")] [SerializeField] protected Texture2D fadeTexture; + [SerializeField] protected LeanTweenType fadeTweenType = LeanTweenType.easeInOutQuad; + #region Public members public override void OnEnter() @@ -51,7 +53,7 @@ namespace Fungus { Continue(); } - }); + }, fadeTweenType); if (!waitUntilFinished) { diff --git a/Assets/Fungus/Scripts/Commands/FadeSprite.cs b/Assets/Fungus/Scripts/Commands/FadeSprite.cs index af68b7b5..8c8dadd7 100644 --- a/Assets/Fungus/Scripts/Commands/FadeSprite.cs +++ b/Assets/Fungus/Scripts/Commands/FadeSprite.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/FadeToView.cs b/Assets/Fungus/Scripts/Commands/FadeToView.cs index 3d1de7dc..5af59d37 100644 --- a/Assets/Fungus/Scripts/Commands/FadeToView.cs +++ b/Assets/Fungus/Scripts/Commands/FadeToView.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -35,6 +35,11 @@ namespace Fungus [Tooltip("Camera to use for the fade. Will use main camera if set to none.")] [SerializeField] protected Camera targetCamera; + [SerializeField] protected LeanTweenType fadeTweenType = LeanTweenType.easeInOutQuad; + [SerializeField] protected LeanTweenType orthoSizeTweenType = LeanTweenType.easeInOutQuad; + [SerializeField] protected LeanTweenType posTweenType = LeanTweenType.easeInOutQuad; + [SerializeField] protected LeanTweenType rotTweenType = LeanTweenType.easeInOutQuad; + protected virtual void Start() { AcquireCamera(); @@ -87,7 +92,7 @@ namespace Fungus { Continue(); } - }); + }, fadeTweenType, orthoSizeTweenType, posTweenType, rotTweenType); if (!waitUntilFinished) { diff --git a/Assets/Fungus/Scripts/Commands/FadeUI.cs b/Assets/Fungus/Scripts/Commands/FadeUI.cs index 0c47f735..2124a2a0 100644 --- a/Assets/Fungus/Scripts/Commands/FadeUI.cs +++ b/Assets/Fungus/Scripts/Commands/FadeUI.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/FromString.cs b/Assets/Fungus/Scripts/Commands/FromString.cs index 5caff060..6ce83169 100644 --- a/Assets/Fungus/Scripts/Commands/FromString.cs +++ b/Assets/Fungus/Scripts/Commands/FromString.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Fullscreen.cs b/Assets/Fungus/Scripts/Commands/Fullscreen.cs index 88244026..487faab0 100644 --- a/Assets/Fungus/Scripts/Commands/Fullscreen.cs +++ b/Assets/Fungus/Scripts/Commands/Fullscreen.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/GetText.cs b/Assets/Fungus/Scripts/Commands/GetText.cs index f6c01b59..affcc895 100644 --- a/Assets/Fungus/Scripts/Commands/GetText.cs +++ b/Assets/Fungus/Scripts/Commands/GetText.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/GetToggleState.cs b/Assets/Fungus/Scripts/Commands/GetToggleState.cs index 17ad1242..e8761184 100644 --- a/Assets/Fungus/Scripts/Commands/GetToggleState.cs +++ b/Assets/Fungus/Scripts/Commands/GetToggleState.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/If.cs b/Assets/Fungus/Scripts/Commands/If.cs index c8d15fb0..efeb8507 100644 --- a/Assets/Fungus/Scripts/Commands/If.cs +++ b/Assets/Fungus/Scripts/Commands/If.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -14,13 +14,5 @@ namespace Fungus [AddComponentMenu("")] public class If : VariableCondition { - #region Public members - - public override Color GetButtonColor() - { - return new Color32(253, 253, 150, 255); - } - - #endregion } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Input/GetAxis.cs b/Assets/Fungus/Scripts/Commands/Input/GetAxis.cs index 644ecbb2..364271a3 100644 --- a/Assets/Fungus/Scripts/Commands/Input/GetAxis.cs +++ b/Assets/Fungus/Scripts/Commands/Input/GetAxis.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Input/GetKey.cs b/Assets/Fungus/Scripts/Commands/Input/GetKey.cs index 341fd99d..4a7f31f8 100644 --- a/Assets/Fungus/Scripts/Commands/Input/GetKey.cs +++ b/Assets/Fungus/Scripts/Commands/Input/GetKey.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { diff --git a/Assets/Fungus/Scripts/Commands/Input/GetMousePosition.cs b/Assets/Fungus/Scripts/Commands/Input/GetMousePosition.cs new file mode 100644 index 00000000..d2325f34 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Input/GetMousePosition.cs @@ -0,0 +1,89 @@ +using UnityEngine; + +namespace Fungus +{ + // + /// Store Input.mousePosition and mouse screen conversions in a variable(s) + /// + [CommandInfo("Input", + "Get Mouse Position", + "Store various interpretations of Input.mousePosition")] + [AddComponentMenu("")] + public class GetMousePosition : Command + { + [VariableProperty(typeof(Vector2Variable))] + [SerializeField] + protected Vector2Variable screenPosition; + + [Tooltip("If null, Camera.main is used")] + protected Camera castCamera; + + [VariableProperty(typeof(Vector2Variable))] + [SerializeField] + protected Vector2Variable viewPosition; + + [VariableProperty(typeof(Vector3Variable))] + [SerializeField] + protected Vector3Variable worldPosition; + + [VariableProperty(typeof(Vector3Variable))] + [SerializeField] + protected Vector3Variable worldDirection; + + public override void OnEnter() + { + if (castCamera == null) + { + castCamera = Camera.main; + } + + if (screenPosition != null) + { + screenPosition.Value = Input.mousePosition; + } + + if (viewPosition != null) + { + viewPosition.Value = castCamera.ScreenToViewportPoint(Input.mousePosition); + } + + if (worldPosition != null) + { + var screenWithZ = Input.mousePosition; + screenWithZ.z = castCamera.nearClipPlane; + worldPosition.Value = castCamera.ScreenToWorldPoint(screenWithZ); + } + + if (worldDirection != null) + { + var screenWithZ = Input.mousePosition; + screenWithZ.z = castCamera.nearClipPlane; + worldDirection.Value = castCamera.ScreenPointToRay(screenWithZ).direction; + } + + Continue(); + } + + public override string GetSummary() + { + return (screenPosition != null ? screenPosition.Key + " " : "") + + (castCamera != null ? castCamera.name + " " : "MainCam") + + (viewPosition != null ? viewPosition.Key + " " : "") + + (worldPosition != null ? worldPosition.Key + " " : "") + + (worldDirection != null ? worldDirection.Key + " " : ""); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + return (screenPosition == variable || + viewPosition == variable || + worldPosition == variable || + worldDirection == variable); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Input/GetMousePosition.cs.meta b/Assets/Fungus/Scripts/Commands/Input/GetMousePosition.cs.meta new file mode 100644 index 00000000..8ac89118 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Input/GetMousePosition.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fb32240870e5bf545a0dafba446d3990 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/InvokeEvent.cs b/Assets/Fungus/Scripts/Commands/InvokeEvent.cs index 6cdc5bee..f84465c1 100644 --- a/Assets/Fungus/Scripts/Commands/InvokeEvent.cs +++ b/Assets/Fungus/Scripts/Commands/InvokeEvent.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/InvokeMethod.cs b/Assets/Fungus/Scripts/Commands/InvokeMethod.cs index ac438271..22328be5 100644 --- a/Assets/Fungus/Scripts/Commands/InvokeMethod.cs +++ b/Assets/Fungus/Scripts/Commands/InvokeMethod.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Jump.cs b/Assets/Fungus/Scripts/Commands/Jump.cs index 340841ce..64e448b3 100644 --- a/Assets/Fungus/Scripts/Commands/Jump.cs +++ b/Assets/Fungus/Scripts/Commands/Jump.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Label.cs b/Assets/Fungus/Scripts/Commands/Label.cs index dc64bc96..cb4fa83f 100644 --- a/Assets/Fungus/Scripts/Commands/Label.cs +++ b/Assets/Fungus/Scripts/Commands/Label.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/LeanTween/BaseLeanTweenCommand.cs b/Assets/Fungus/Scripts/Commands/LeanTween/BaseLeanTweenCommand.cs index 9607eb0f..ddac35ec 100644 --- a/Assets/Fungus/Scripts/Commands/LeanTween/BaseLeanTweenCommand.cs +++ b/Assets/Fungus/Scripts/Commands/LeanTween/BaseLeanTweenCommand.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; using UnityEngine.Serialization; namespace Fungus diff --git a/Assets/Fungus/Scripts/Commands/LeanTween/MoveLean.cs b/Assets/Fungus/Scripts/Commands/LeanTween/MoveLean.cs index 1ab79b07..81d77534 100644 --- a/Assets/Fungus/Scripts/Commands/LeanTween/MoveLean.cs +++ b/Assets/Fungus/Scripts/Commands/LeanTween/MoveLean.cs @@ -1,4 +1,6 @@ - +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; using UnityEngine.Serialization; using System.Collections; diff --git a/Assets/Fungus/Scripts/Commands/LeanTween/RotateLean.cs b/Assets/Fungus/Scripts/Commands/LeanTween/RotateLean.cs index ed8c7975..5a631cd0 100644 --- a/Assets/Fungus/Scripts/Commands/LeanTween/RotateLean.cs +++ b/Assets/Fungus/Scripts/Commands/LeanTween/RotateLean.cs @@ -1,4 +1,6 @@ - +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; using UnityEngine.Serialization; using System.Collections; diff --git a/Assets/Fungus/Scripts/Commands/LeanTween/ScaleLean.cs b/Assets/Fungus/Scripts/Commands/LeanTween/ScaleLean.cs index 603869e7..7a6d470c 100644 --- a/Assets/Fungus/Scripts/Commands/LeanTween/ScaleLean.cs +++ b/Assets/Fungus/Scripts/Commands/LeanTween/ScaleLean.cs @@ -1,4 +1,6 @@ - +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; using UnityEngine.Serialization; using System.Collections; diff --git a/Assets/Fungus/Scripts/Commands/LeanTween/StopTweensLean.cs b/Assets/Fungus/Scripts/Commands/LeanTween/StopTweensLean.cs index 24957c7d..bd9ce129 100644 --- a/Assets/Fungus/Scripts/Commands/LeanTween/StopTweensLean.cs +++ b/Assets/Fungus/Scripts/Commands/LeanTween/StopTweensLean.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/LoadScene.cs b/Assets/Fungus/Scripts/Commands/LoadScene.cs index e99660b5..fd1c6f5c 100644 --- a/Assets/Fungus/Scripts/Commands/LoadScene.cs +++ b/Assets/Fungus/Scripts/Commands/LoadScene.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/LoadVariable.cs b/Assets/Fungus/Scripts/Commands/LoadVariable.cs index 8e4f45ea..06380227 100644 --- a/Assets/Fungus/Scripts/Commands/LoadVariable.cs +++ b/Assets/Fungus/Scripts/Commands/LoadVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/LookFrom.cs b/Assets/Fungus/Scripts/Commands/LookFrom.cs index 875f7d35..fe02c69a 100644 --- a/Assets/Fungus/Scripts/Commands/LookFrom.cs +++ b/Assets/Fungus/Scripts/Commands/LookFrom.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/LookTo.cs b/Assets/Fungus/Scripts/Commands/LookTo.cs index f5a7ca59..0c29038c 100644 --- a/Assets/Fungus/Scripts/Commands/LookTo.cs +++ b/Assets/Fungus/Scripts/Commands/LookTo.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/LoopRange.cs b/Assets/Fungus/Scripts/Commands/LoopRange.cs new file mode 100644 index 00000000..645e11b9 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/LoopRange.cs @@ -0,0 +1,84 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) maintained by Chris Gregan (http://twitter.com/gofungus). +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + /// + /// Loop over a fixed integer range, similar to a common for loop. + /// + [CommandInfo("Flow", + "Loop Range", + "Loop over a fixed integer range, similar to a common for loop.")] + [CommandInfo("Flow", + "For", + "Loop over a fixed integer range, similar to a common for loop.")] + [AddComponentMenu("")] + public class LoopRange : Condition + { + [Tooltip("Starting value for the counter variable")] + [SerializeField] + protected IntegerData startingValue; + + [Tooltip("End value for the counter variable, exclusive")] + [SerializeField] + protected IntegerData endValue; + + [Tooltip("Optional int var to hold the current loop counter.")] + [SerializeField] + protected IntegerData counter; + + [Tooltip("Step size for the counter, how much does it go up by each loop. Default 1")] + [SerializeField] + protected IntegerData step = new IntegerData(1); + + #region Public members + + public override bool IsLooping { get { return true; } } + + protected override void PreEvaluate() + { + //if we came from the end then we are already looping, if not this is first loop so prep + if (ParentBlock.PreviousActiveCommandIndex != endCommand.CommandIndex) + { + counter.Value = startingValue.Value; + } + else + { + counter.Value += (startingValue.Value <= endValue.Value ? step.Value : -step.Value); + } + } + + protected override bool EvaluateCondition() + { + return (startingValue.Value <= endValue.Value ? + counter.Value < endValue.Value : + counter.Value > endValue.Value); + } + + protected override void OnFalse() + { + MoveToEnd(); + } + + public override void OnValidate() + { + // no infinite loops + if (step.Value == 0) + step.Value = 1; + + //no negative steps, we do that automatically + step.Value = Mathf.Abs(step.Value); + } + + public override bool HasReference(Variable variable) + { + return startingValue.integerRef == variable || endValue.integerRef == variable || + counter.integerRef == variable || step.integerRef == variable || + base.HasReference(variable); + } + + #endregion + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/LoopRange.cs.meta b/Assets/Fungus/Scripts/Commands/LoopRange.cs.meta new file mode 100644 index 00000000..ca43b9d8 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/LoopRange.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b0eebb5bf2fc1e542a35e2e5332e60d4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/LuaCondition.cs b/Assets/Fungus/Scripts/Commands/LuaCondition.cs index 7bd7d81d..5495015f 100644 --- a/Assets/Fungus/Scripts/Commands/LuaCondition.cs +++ b/Assets/Fungus/Scripts/Commands/LuaCondition.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -60,7 +63,7 @@ namespace Fungus } // Cache a descriptive name to use in Lua error messages - friendlyName = gameObject.name + "." + ParentBlock.BlockName + "." + this.GetType().ToString() + " #" + CommandIndex.ToString(); + friendlyName = GetLocationIdentifier(); Flowchart flowchart = GetFlowchart(); @@ -110,17 +113,6 @@ namespace Fungus return luaCompareString; } - - public override bool OpenBlock() - { - return true; - } - - public override Color GetButtonColor() - { - return new Color32(253, 253, 150, 255); - } - #endregion } } diff --git a/Assets/Fungus/Scripts/Commands/LuaElseIf.cs b/Assets/Fungus/Scripts/Commands/LuaElseIf.cs index c7a647a5..440c125e 100644 --- a/Assets/Fungus/Scripts/Commands/LuaElseIf.cs +++ b/Assets/Fungus/Scripts/Commands/LuaElseIf.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -18,21 +18,11 @@ namespace Fungus #region Public members - public override bool OpenBlock() - { - return true; - } - public override bool CloseBlock() { return true; } - public override Color GetButtonColor() - { - return new Color32(253, 253, 150, 255); - } - #endregion } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/LuaIf.cs b/Assets/Fungus/Scripts/Commands/LuaIf.cs index 0a69e412..5787a9e2 100644 --- a/Assets/Fungus/Scripts/Commands/LuaIf.cs +++ b/Assets/Fungus/Scripts/Commands/LuaIf.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -15,11 +15,6 @@ namespace Fungus public class LuaIf : LuaCondition { #region Public members - - public override Color GetButtonColor() - { - return new Color32(253, 253, 150, 255); - } #endregion } diff --git a/Assets/Fungus/Scripts/Commands/Math/Abs.cs b/Assets/Fungus/Scripts/Commands/Math/Abs.cs index 0859907b..a62fadf9 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Abs.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Abs.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus diff --git a/Assets/Fungus/Scripts/Commands/Math/BaseUnaryMathCommand.cs b/Assets/Fungus/Scripts/Commands/Math/BaseUnaryMathCommand.cs index 4a59709b..6c45908e 100644 --- a/Assets/Fungus/Scripts/Commands/Math/BaseUnaryMathCommand.cs +++ b/Assets/Fungus/Scripts/Commands/Math/BaseUnaryMathCommand.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus diff --git a/Assets/Fungus/Scripts/Commands/Math/Clamp.cs b/Assets/Fungus/Scripts/Commands/Math/Clamp.cs index 181e3bf5..345994e3 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Clamp.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Clamp.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { diff --git a/Assets/Fungus/Scripts/Commands/Math/Curve.cs b/Assets/Fungus/Scripts/Commands/Math/Curve.cs index 9d15bece..6e754f10 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Curve.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Curve.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus diff --git a/Assets/Fungus/Scripts/Commands/Math/Exp.cs b/Assets/Fungus/Scripts/Commands/Math/Exp.cs index 5489c1a6..4454361a 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Exp.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Exp.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus diff --git a/Assets/Fungus/Scripts/Commands/Math/Inv.cs b/Assets/Fungus/Scripts/Commands/Math/Inv.cs index 029761c3..a900cf53 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Inv.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Inv.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus diff --git a/Assets/Fungus/Scripts/Commands/Math/InvLerp.cs b/Assets/Fungus/Scripts/Commands/Math/InvLerp.cs index a0f86c83..1932999c 100644 --- a/Assets/Fungus/Scripts/Commands/Math/InvLerp.cs +++ b/Assets/Fungus/Scripts/Commands/Math/InvLerp.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { diff --git a/Assets/Fungus/Scripts/Commands/Math/Lerp.cs b/Assets/Fungus/Scripts/Commands/Math/Lerp.cs index e98055ae..2bcae56b 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Lerp.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Lerp.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { diff --git a/Assets/Fungus/Scripts/Commands/Math/Log.cs b/Assets/Fungus/Scripts/Commands/Math/Log.cs index 8875f974..fa85bfc5 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Log.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Log.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus diff --git a/Assets/Fungus/Scripts/Commands/Math/Map.cs b/Assets/Fungus/Scripts/Commands/Math/Map.cs index 3f653ad4..d7cba733 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Map.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Map.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { diff --git a/Assets/Fungus/Scripts/Commands/Math/MinMax.cs b/Assets/Fungus/Scripts/Commands/Math/MinMax.cs index 7294454f..28a1d36a 100644 --- a/Assets/Fungus/Scripts/Commands/Math/MinMax.cs +++ b/Assets/Fungus/Scripts/Commands/Math/MinMax.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { diff --git a/Assets/Fungus/Scripts/Commands/Math/Neg.cs b/Assets/Fungus/Scripts/Commands/Math/Neg.cs index 1f063868..85ab31b9 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Neg.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Neg.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus diff --git a/Assets/Fungus/Scripts/Commands/Math/Pow.cs b/Assets/Fungus/Scripts/Commands/Math/Pow.cs index 586c43c5..52a480c8 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Pow.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Pow.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { diff --git a/Assets/Fungus/Scripts/Commands/Math/Round.cs b/Assets/Fungus/Scripts/Commands/Math/Round.cs index d7ddc301..2a969905 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Round.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Round.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus diff --git a/Assets/Fungus/Scripts/Commands/Math/Sign.cs b/Assets/Fungus/Scripts/Commands/Math/Sign.cs index 89fea7b8..771d6d14 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Sign.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Sign.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus diff --git a/Assets/Fungus/Scripts/Commands/Math/Sqrt.cs b/Assets/Fungus/Scripts/Commands/Math/Sqrt.cs index d8e9485c..71633f4c 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Sqrt.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Sqrt.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus diff --git a/Assets/Fungus/Scripts/Commands/Math/ToInt.cs b/Assets/Fungus/Scripts/Commands/Math/ToInt.cs index cf8596ca..1231e2e1 100644 --- a/Assets/Fungus/Scripts/Commands/Math/ToInt.cs +++ b/Assets/Fungus/Scripts/Commands/Math/ToInt.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { diff --git a/Assets/Fungus/Scripts/Commands/Math/Trig.cs b/Assets/Fungus/Scripts/Commands/Math/Trig.cs index 2ef5b78a..881b0391 100644 --- a/Assets/Fungus/Scripts/Commands/Math/Trig.cs +++ b/Assets/Fungus/Scripts/Commands/Math/Trig.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { diff --git a/Assets/Fungus/Scripts/Commands/Menu.cs b/Assets/Fungus/Scripts/Commands/Menu.cs index 692c26c1..b9993ffe 100644 --- a/Assets/Fungus/Scripts/Commands/Menu.cs +++ b/Assets/Fungus/Scripts/Commands/Menu.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/MenuShuffle.cs b/Assets/Fungus/Scripts/Commands/MenuShuffle.cs index fcaf0082..f198318f 100644 --- a/Assets/Fungus/Scripts/Commands/MenuShuffle.cs +++ b/Assets/Fungus/Scripts/Commands/MenuShuffle.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/MenuTimer.cs b/Assets/Fungus/Scripts/Commands/MenuTimer.cs index 6808229c..a8542c90 100644 --- a/Assets/Fungus/Scripts/Commands/MenuTimer.cs +++ b/Assets/Fungus/Scripts/Commands/MenuTimer.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/MoveAdd.cs b/Assets/Fungus/Scripts/Commands/MoveAdd.cs index 0d7f2352..cabb8b37 100644 --- a/Assets/Fungus/Scripts/Commands/MoveAdd.cs +++ b/Assets/Fungus/Scripts/Commands/MoveAdd.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/MoveFrom.cs b/Assets/Fungus/Scripts/Commands/MoveFrom.cs index f6912477..a6453028 100644 --- a/Assets/Fungus/Scripts/Commands/MoveFrom.cs +++ b/Assets/Fungus/Scripts/Commands/MoveFrom.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/MoveTo.cs b/Assets/Fungus/Scripts/Commands/MoveTo.cs index 33ba70cc..80a6a7a5 100644 --- a/Assets/Fungus/Scripts/Commands/MoveTo.cs +++ b/Assets/Fungus/Scripts/Commands/MoveTo.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/MoveToView.cs b/Assets/Fungus/Scripts/Commands/MoveToView.cs index 3f9e4a2b..19bf5c2f 100644 --- a/Assets/Fungus/Scripts/Commands/MoveToView.cs +++ b/Assets/Fungus/Scripts/Commands/MoveToView.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -26,7 +26,11 @@ namespace Fungus [Tooltip("Camera to use for the pan. Will use main camera if set to none.")] [SerializeField] protected Camera targetCamera; - + + [SerializeField] protected LeanTweenType orthoSizeTweenType = LeanTweenType.easeInOutQuad; + [SerializeField] protected LeanTweenType posTweenType = LeanTweenType.easeInOutQuad; + [SerializeField] protected LeanTweenType rotTweenType = LeanTweenType.easeInOutQuad; + protected virtual void AcquireCamera() { if (targetCamera != null) @@ -69,7 +73,7 @@ namespace Fungus { Continue(); } - }); + }, orthoSizeTweenType, posTweenType, rotTweenType); if (!waitUntilFinished) { diff --git a/Assets/Fungus/Scripts/Commands/OpenURL.cs b/Assets/Fungus/Scripts/Commands/OpenURL.cs index f9d67987..b7190e33 100644 --- a/Assets/Fungus/Scripts/Commands/OpenURL.cs +++ b/Assets/Fungus/Scripts/Commands/OpenURL.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/PlayAmbianceSound.cs b/Assets/Fungus/Scripts/Commands/PlayAmbianceSound.cs index de01f162..7f3b5e63 100644 --- a/Assets/Fungus/Scripts/Commands/PlayAmbianceSound.cs +++ b/Assets/Fungus/Scripts/Commands/PlayAmbianceSound.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/PlayAnimState.cs b/Assets/Fungus/Scripts/Commands/PlayAnimState.cs index 4738a515..a94472dd 100644 --- a/Assets/Fungus/Scripts/Commands/PlayAnimState.cs +++ b/Assets/Fungus/Scripts/Commands/PlayAnimState.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/PlayMusic.cs b/Assets/Fungus/Scripts/Commands/PlayMusic.cs index bed4be71..806c64d6 100644 --- a/Assets/Fungus/Scripts/Commands/PlayMusic.cs +++ b/Assets/Fungus/Scripts/Commands/PlayMusic.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/PlayRandomSound.cs b/Assets/Fungus/Scripts/Commands/PlayRandomSound.cs index 3b1e2daf..7eb7c63f 100644 --- a/Assets/Fungus/Scripts/Commands/PlayRandomSound.cs +++ b/Assets/Fungus/Scripts/Commands/PlayRandomSound.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/PlaySound.cs b/Assets/Fungus/Scripts/Commands/PlaySound.cs index bb96c728..c5607856 100644 --- a/Assets/Fungus/Scripts/Commands/PlaySound.cs +++ b/Assets/Fungus/Scripts/Commands/PlaySound.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/PlayUsfxrSound.cs b/Assets/Fungus/Scripts/Commands/PlayUsfxrSound.cs index c1eacfdd..74360719 100644 --- a/Assets/Fungus/Scripts/Commands/PlayUsfxrSound.cs +++ b/Assets/Fungus/Scripts/Commands/PlayUsfxrSound.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using System; @@ -14,7 +14,7 @@ using UnityEngine.Serialization; "Play Usfxr Sound", "Plays a usfxr synth sound. Use the usfxr editor [Tools > Fungus > Utilities > Generate usfxr Sound Effects] to create the SettingsString. Set a ParentTransform if using positional sound. See https://github.com/zeh/usfxr for more information about usfxr.")] [AddComponentMenu("")] - [ExecuteInEditMode] + //[ExecuteInEditMode] public class PlayUsfxrSound : Command { [Tooltip("Transform to use for positional audio")] @@ -29,9 +29,9 @@ using UnityEngine.Serialization; protected SfxrSynth _synth = new SfxrSynth(); //Call this if the settings have changed - protected virtual void UpdateCache() + protected virtual void UpdateCache() { - if (_SettingsString.Value != null) + if (!string.IsNullOrEmpty(_SettingsString.Value)) { _synth.parameters.SetSettingsString(_SettingsString.Value); _synth.CacheSound(); @@ -103,6 +103,12 @@ using UnityEngine.Serialization; } } + public override void OnValidate() + { + OnEnable(); + base.OnValidate(); + } + #endregion } } diff --git a/Assets/Fungus/Scripts/Commands/Portrait.cs b/Assets/Fungus/Scripts/Commands/Portrait.cs index 5d2bc731..0b3b1afa 100644 --- a/Assets/Fungus/Scripts/Commands/Portrait.cs +++ b/Assets/Fungus/Scripts/Commands/Portrait.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -116,7 +116,7 @@ namespace Fungus if (stage == null) { // If no default specified, try to get any portrait stage in the scene - stage = FindObjectOfType(); + stage = Stage.GetActiveStage(); // If portrait stage does not exist, do nothing if (stage == null) { diff --git a/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityCount.cs b/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityCount.cs index 69df8bd8..eaf6dfd6 100644 --- a/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityCount.cs +++ b/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityCount.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -7,7 +10,7 @@ namespace Fungus /// /// Copy the value of the Priority Count to a local IntegerVariable, intended primarily to assist with debugging use of Priority. /// - [CommandInfo("Priority Signals", + [CommandInfo("PrioritySignals", "Get Priority Count", "Copy the value of the Priority Count to a local IntegerVariable, intended primarily to assist with debugging use of Priority.")] public class FungusPriorityCount : Command diff --git a/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityDecrease.cs b/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityDecrease.cs index 8461eaee..43ddea37 100644 --- a/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityDecrease.cs +++ b/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityDecrease.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -8,7 +11,7 @@ namespace Fungus /// Decrease the FungusPriority count, causing the related FungusPrioritySignals to fire. /// Intended to be used to notify external systems that fungus is doing something important and they should perhaps resume. /// - [CommandInfo("Priority Signals", + [CommandInfo("PrioritySignals", "Priority Down", "Decrease the FungusPriority count, causing the related FungusPrioritySignals to fire. " + "Intended to be used to notify external systems that fungus is doing something important and they should perhaps resume.")] diff --git a/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityIncrease.cs b/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityIncrease.cs index 40282e32..0be68bf5 100644 --- a/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityIncrease.cs +++ b/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityIncrease.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -8,7 +11,7 @@ namespace Fungus /// Increases the FungusPriority count, causing the related FungusPrioritySignals to fire. /// Intended to be used to notify external systems that fungus is doing something important and they should perhaps pause. /// - [CommandInfo("Priority Signals", + [CommandInfo("PrioritySignals", "Priority Up", "Increases the FungusPriority count, causing the related FungusPrioritySignals to fire. " + "Intended to be used to notify external systems that fungus is doing something important and they should perhaps pause.")] diff --git a/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityReset.cs b/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityReset.cs index d854f388..0ebc39e0 100644 --- a/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityReset.cs +++ b/Assets/Fungus/Scripts/Commands/Priority/FungusPriorityReset.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -7,7 +10,7 @@ namespace Fungus /// /// Resets the FungusPriority count to zero. Useful if you are among logic that is hard to have matching increase and decreases. /// - [CommandInfo("Priority Signals", + [CommandInfo("PrioritySignals", "Priority Reset", "Resets the FungusPriority count to zero. Useful if you are among logic that is hard to have matching increase and decreases.")] public class FungusPriorityReset : Command diff --git a/Assets/Fungus/Scripts/Commands/Property.meta b/Assets/Fungus/Scripts/Commands/Property.meta new file mode 100644 index 00000000..7d2d156d --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8a1a00144f44775449d32d39b5a7185a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/AnimatorProperty.cs b/Assets/Fungus/Scripts/Commands/Property/AnimatorProperty.cs new file mode 100644 index 00000000..c5be2d18 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/AnimatorProperty.cs @@ -0,0 +1,296 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Animator component + /// + [CommandInfo("Property", + "Animator", + "Get or Set a property of a Animator component")] + [AddComponentMenu("")] + public class AnimatorProperty : BaseVariableProperty + { + //generated property + public enum Property + { + IsOptimizable, + IsHuman, + HasRootMotion, + HumanScale, + IsInitialized, + DeltaPosition, + DeltaRotation, + Velocity, + AngularVelocity, + RootPosition, + RootRotation, + ApplyRootMotion, + HasTransformHierarchy, + GravityWeight, + BodyPosition, + BodyRotation, + StabilizeFeet, + LayerCount, + ParameterCount, + FeetPivotActive, + PivotWeight, + PivotPosition, + IsMatchingTarget, + Speed, + TargetPosition, + TargetRotation, + PlaybackTime, + RecorderStartTime, + RecorderStopTime, + HasBoundPlayables, + LayersAffectMassCenter, + LeftFeetBottomHeight, + RightFeetBottomHeight, + LogWarnings, + FireEvents, + KeepAnimatorControllerStateOnDisable, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(AnimatorVariable))] + protected AnimatorVariable animatorVar; + + [SerializeField] + [VariableProperty(typeof(BooleanVariable), + typeof(FloatVariable), + typeof(Vector3Variable), + typeof(QuaternionVariable), + typeof(IntegerVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iob = inOutVar as BooleanVariable; + var iof = inOutVar as FloatVariable; + var iov = inOutVar as Vector3Variable; + var ioq = inOutVar as QuaternionVariable; + var ioi = inOutVar as IntegerVariable; + + + var target = animatorVar.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.IsOptimizable: + iob.Value = target.isOptimizable; + break; + case Property.IsHuman: + iob.Value = target.isHuman; + break; + case Property.HasRootMotion: + iob.Value = target.hasRootMotion; + break; + case Property.HumanScale: + iof.Value = target.humanScale; + break; + case Property.IsInitialized: + iob.Value = target.isInitialized; + break; + case Property.DeltaPosition: + iov.Value = target.deltaPosition; + break; + case Property.DeltaRotation: + ioq.Value = target.deltaRotation; + break; + case Property.Velocity: + iov.Value = target.velocity; + break; + case Property.AngularVelocity: + iov.Value = target.angularVelocity; + break; + case Property.RootPosition: + iov.Value = target.rootPosition; + break; + case Property.RootRotation: + ioq.Value = target.rootRotation; + break; + case Property.ApplyRootMotion: + iob.Value = target.applyRootMotion; + break; + case Property.HasTransformHierarchy: + iob.Value = target.hasTransformHierarchy; + break; + case Property.GravityWeight: + iof.Value = target.gravityWeight; + break; + case Property.BodyPosition: + iov.Value = target.bodyPosition; + break; + case Property.BodyRotation: + ioq.Value = target.bodyRotation; + break; + case Property.StabilizeFeet: + iob.Value = target.stabilizeFeet; + break; + case Property.LayerCount: + ioi.Value = target.layerCount; + break; + case Property.ParameterCount: + ioi.Value = target.parameterCount; + break; + case Property.FeetPivotActive: + iof.Value = target.feetPivotActive; + break; + case Property.PivotWeight: + iof.Value = target.pivotWeight; + break; + case Property.PivotPosition: + iov.Value = target.pivotPosition; + break; + case Property.IsMatchingTarget: + iob.Value = target.isMatchingTarget; + break; + case Property.Speed: + iof.Value = target.speed; + break; + case Property.TargetPosition: + iov.Value = target.targetPosition; + break; + case Property.TargetRotation: + ioq.Value = target.targetRotation; + break; + case Property.PlaybackTime: + iof.Value = target.playbackTime; + break; + case Property.RecorderStartTime: + iof.Value = target.recorderStartTime; + break; + case Property.RecorderStopTime: + iof.Value = target.recorderStopTime; + break; + case Property.HasBoundPlayables: + iob.Value = target.hasBoundPlayables; + break; + case Property.LayersAffectMassCenter: + iob.Value = target.layersAffectMassCenter; + break; + case Property.LeftFeetBottomHeight: + iof.Value = target.leftFeetBottomHeight; + break; + case Property.RightFeetBottomHeight: + iof.Value = target.rightFeetBottomHeight; + break; + case Property.LogWarnings: + iob.Value = target.logWarnings; + break; + case Property.FireEvents: + iob.Value = target.fireEvents; + break; +#if UNITY_2019_2_OR_NEWER + case Property.KeepAnimatorControllerStateOnDisable: + iob.Value = target.keepAnimatorControllerStateOnDisable; + break; +#endif + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.RootPosition: + target.rootPosition = iov.Value; + break; + case Property.RootRotation: + target.rootRotation = ioq.Value; + break; + case Property.ApplyRootMotion: + target.applyRootMotion = iob.Value; + break; + case Property.BodyPosition: + target.bodyPosition = iov.Value; + break; + case Property.BodyRotation: + target.bodyRotation = ioq.Value; + break; + case Property.StabilizeFeet: + target.stabilizeFeet = iob.Value; + break; + case Property.FeetPivotActive: + target.feetPivotActive = iof.Value; + break; + case Property.Speed: + target.speed = iof.Value; + break; + case Property.PlaybackTime: + target.playbackTime = iof.Value; + break; + case Property.RecorderStartTime: + target.recorderStartTime = iof.Value; + break; + case Property.RecorderStopTime: + target.recorderStopTime = iof.Value; + break; + case Property.LayersAffectMassCenter: + target.layersAffectMassCenter = iob.Value; + break; + case Property.LogWarnings: + target.logWarnings = iob.Value; + break; + case Property.FireEvents: + target.fireEvents = iob.Value; + break; +#if UNITY_2019_2_OR_NEWER + case Property.KeepAnimatorControllerStateOnDisable: + target.keepAnimatorControllerStateOnDisable = iob.Value; + break; +#endif + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (animatorVar == null) + { + return "Error: no animatorVar set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (animatorVar == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/AnimatorProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/AnimatorProperty.cs.meta new file mode 100644 index 00000000..ee1ea325 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/AnimatorProperty.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e4616a794b2245d46970401b3acc492f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/AudioSourceProperty.cs b/Assets/Fungus/Scripts/Commands/Property/AudioSourceProperty.cs new file mode 100644 index 00000000..3cca2be8 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/AudioSourceProperty.cs @@ -0,0 +1,261 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a AudioSource component + /// + [CommandInfo("Property", + "AudioSource", + "Get or Set a property of a AudioSource component")] + [AddComponentMenu("")] + public class AudioSourceProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Volume, + Pitch, + Time, + TimeSamples, + IsPlaying, + IsVirtual, + Loop, + IgnoreListenerVolume, + PlayOnAwake, + IgnoreListenerPause, + PanStereo, + SpatialBlend, + Spatialize, + SpatializePostEffects, + ReverbZoneMix, + BypassEffects, + BypassListenerEffects, + BypassReverbZones, + DopplerLevel, + Spread, + Priority, + Mute, + MinDistance, + MaxDistance, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(AudioSourceVariable))] + protected AudioSourceVariable audioSourceVar; + + [SerializeField] + [VariableProperty(typeof(FloatVariable), + typeof(IntegerVariable), + typeof(BooleanVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iof = inOutVar as FloatVariable; + var ioi = inOutVar as IntegerVariable; + var iob = inOutVar as BooleanVariable; + + + var target = audioSourceVar.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Volume: + iof.Value = target.volume; + break; + case Property.Pitch: + iof.Value = target.pitch; + break; + case Property.Time: + iof.Value = target.time; + break; + case Property.TimeSamples: + ioi.Value = target.timeSamples; + break; + case Property.IsPlaying: + iob.Value = target.isPlaying; + break; + case Property.IsVirtual: + iob.Value = target.isVirtual; + break; + case Property.Loop: + iob.Value = target.loop; + break; + case Property.IgnoreListenerVolume: + iob.Value = target.ignoreListenerVolume; + break; + case Property.PlayOnAwake: + iob.Value = target.playOnAwake; + break; + case Property.IgnoreListenerPause: + iob.Value = target.ignoreListenerPause; + break; + case Property.PanStereo: + iof.Value = target.panStereo; + break; + case Property.SpatialBlend: + iof.Value = target.spatialBlend; + break; + case Property.Spatialize: + iob.Value = target.spatialize; + break; + case Property.SpatializePostEffects: + iob.Value = target.spatializePostEffects; + break; + case Property.ReverbZoneMix: + iof.Value = target.reverbZoneMix; + break; + case Property.BypassEffects: + iob.Value = target.bypassEffects; + break; + case Property.BypassListenerEffects: + iob.Value = target.bypassListenerEffects; + break; + case Property.BypassReverbZones: + iob.Value = target.bypassReverbZones; + break; + case Property.DopplerLevel: + iof.Value = target.dopplerLevel; + break; + case Property.Spread: + iof.Value = target.spread; + break; + case Property.Priority: + ioi.Value = target.priority; + break; + case Property.Mute: + iob.Value = target.mute; + break; + case Property.MinDistance: + iof.Value = target.minDistance; + break; + case Property.MaxDistance: + iof.Value = target.maxDistance; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.Volume: + target.volume = iof.Value; + break; + case Property.Pitch: + target.pitch = iof.Value; + break; + case Property.Time: + target.time = iof.Value; + break; + case Property.TimeSamples: + target.timeSamples = ioi.Value; + break; + case Property.Loop: + target.loop = iob.Value; + break; + case Property.IgnoreListenerVolume: + target.ignoreListenerVolume = iob.Value; + break; + case Property.PlayOnAwake: + target.playOnAwake = iob.Value; + break; + case Property.IgnoreListenerPause: + target.ignoreListenerPause = iob.Value; + break; + case Property.PanStereo: + target.panStereo = iof.Value; + break; + case Property.SpatialBlend: + target.spatialBlend = iof.Value; + break; + case Property.Spatialize: + target.spatialize = iob.Value; + break; + case Property.SpatializePostEffects: + target.spatializePostEffects = iob.Value; + break; + case Property.ReverbZoneMix: + target.reverbZoneMix = iof.Value; + break; + case Property.BypassEffects: + target.bypassEffects = iob.Value; + break; + case Property.BypassListenerEffects: + target.bypassListenerEffects = iob.Value; + break; + case Property.BypassReverbZones: + target.bypassReverbZones = iob.Value; + break; + case Property.DopplerLevel: + target.dopplerLevel = iof.Value; + break; + case Property.Spread: + target.spread = iof.Value; + break; + case Property.Priority: + target.priority = ioi.Value; + break; + case Property.Mute: + target.mute = iob.Value; + break; + case Property.MinDistance: + target.minDistance = iof.Value; + break; + case Property.MaxDistance: + target.maxDistance = iof.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (audioSourceVar == null) + { + return "Error: no audioSourceVar set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (audioSourceVar == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/AudioSourceProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/AudioSourceProperty.cs.meta new file mode 100644 index 00000000..533d3d7f --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/AudioSourceProperty.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2250cfac690a2b74f8f9dd9be91985c6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/CollectionProperty.cs b/Assets/Fungus/Scripts/Commands/Property/CollectionProperty.cs new file mode 100644 index 00000000..08792f4c --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/CollectionProperty.cs @@ -0,0 +1,125 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Collection component + /// + [CommandInfo("Property", + "Collection", + "Get or Set a property of a Collection component")] + [AddComponentMenu("")] + public class CollectionProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Capacity, + Count, + IsFixedSize, + IsReadOnly, + IsSynchronized, + Name, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + protected CollectionData collectionData; + + [SerializeField] + [VariableProperty(typeof(IntegerVariable), + typeof(BooleanVariable), + typeof(StringVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var ioi = inOutVar as IntegerVariable; + var iob = inOutVar as BooleanVariable; + var ios = inOutVar as StringVariable; + + + var target = collectionData.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Capacity: + ioi.Value = target.Capacity; + break; + case Property.Count: + ioi.Value = target.Count; + break; + case Property.IsFixedSize: + iob.Value = target.IsFixedSize; + break; + case Property.IsReadOnly: + iob.Value = target.IsReadOnly; + break; + case Property.IsSynchronized: + iob.Value = target.IsSynchronized; + break; + case Property.Name: + ios.Value = target.Name; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.Capacity: + target.Capacity = ioi.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (collectionData.Value == null) + { + return "Error: no collection set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (collectionData.collectionRef == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/CollectionProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/CollectionProperty.cs.meta new file mode 100644 index 00000000..acc59187 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/CollectionProperty.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6f03dcf7e7a1d2e418e5588731888b5a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/Collider2DProperty.cs b/Assets/Fungus/Scripts/Commands/Property/Collider2DProperty.cs new file mode 100644 index 00000000..4a8e4640 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Collider2DProperty.cs @@ -0,0 +1,153 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Collider2D component + /// + [CommandInfo("Property", + "Collider2D", + "Get or Set a property of a Collider2D component")] + [AddComponentMenu("")] + public class Collider2DProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Density, + IsTrigger, + UsedByEffector, + UsedByComposite, + Offset, + AttachedRigidbody, + ShapeCount, + Friction, + Bounciness, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + protected Collider2DData collider2DData; + + [SerializeField] + [VariableProperty(typeof(FloatVariable), + typeof(BooleanVariable), + typeof(Vector2Variable), + typeof(Rigidbody2DVariable), + typeof(IntegerVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iof = inOutVar as FloatVariable; + var iob = inOutVar as BooleanVariable; + var iov2 = inOutVar as Vector2Variable; + var iorb2d = inOutVar as Rigidbody2DVariable; + var ioi = inOutVar as IntegerVariable; + + + var target = collider2DData.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Density: + iof.Value = target.density; + break; + case Property.IsTrigger: + iob.Value = target.isTrigger; + break; + case Property.UsedByEffector: + iob.Value = target.usedByEffector; + break; + case Property.UsedByComposite: + iob.Value = target.usedByComposite; + break; + case Property.Offset: + iov2.Value = target.offset; + break; + case Property.AttachedRigidbody: + iorb2d.Value = target.attachedRigidbody; + break; + case Property.ShapeCount: + ioi.Value = target.shapeCount; + break; + case Property.Friction: + iof.Value = target.friction; + break; + case Property.Bounciness: + iof.Value = target.bounciness; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.Density: + target.density = iof.Value; + break; + case Property.IsTrigger: + target.isTrigger = iob.Value; + break; + case Property.UsedByEffector: + target.usedByEffector = iob.Value; + break; + case Property.UsedByComposite: + target.usedByComposite = iob.Value; + break; + case Property.Offset: + target.offset = iov2.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (collider2DData.Value == null) + { + return "Error: no collider2D set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (collider2DData.collider2DRef == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/Collider2DProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/Collider2DProperty.cs.meta new file mode 100644 index 00000000..b4d91cc7 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Collider2DProperty.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: c5d345b268622414c9bb53e05f4580ed +timeCreated: 1517559095 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/ColliderProperty.cs b/Assets/Fungus/Scripts/Commands/Property/ColliderProperty.cs new file mode 100644 index 00000000..2272ea61 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/ColliderProperty.cs @@ -0,0 +1,123 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Collider component + /// + [CommandInfo("Property", + "Collider", + "Get or Set a property of a Collider component")] + [AddComponentMenu("")] + public class ColliderProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Enabled, + AttachedRigidbody, + IsTrigger, + ContactOffset, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + protected ColliderData colliderData; + + [SerializeField] + [VariableProperty(typeof(BooleanVariable), + typeof(RigidbodyVariable), + typeof(FloatVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iob = inOutVar as BooleanVariable; + var iorb = inOutVar as RigidbodyVariable; + var iof = inOutVar as FloatVariable; + + + var target = colliderData.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Enabled: + iob.Value = target.enabled; + break; + case Property.AttachedRigidbody: + iorb.Value = target.attachedRigidbody; + break; + case Property.IsTrigger: + iob.Value = target.isTrigger; + break; + case Property.ContactOffset: + iof.Value = target.contactOffset; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.Enabled: + target.enabled = iob.Value; + break; + case Property.IsTrigger: + target.isTrigger = iob.Value; + break; + case Property.ContactOffset: + target.contactOffset = iof.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (colliderData.Value == null) + { + return "Error: no collider set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (colliderData.colliderRef == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/ColliderProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/ColliderProperty.cs.meta new file mode 100644 index 00000000..b037186d --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/ColliderProperty.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: ca6e05b34c44a734988887ef775a1a1b +timeCreated: 1517559091 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/Collision2DProperty.cs b/Assets/Fungus/Scripts/Commands/Property/Collision2DProperty.cs new file mode 100644 index 00000000..df506178 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Collision2DProperty.cs @@ -0,0 +1,147 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Collision2D component + /// + [CommandInfo("Property", + "Collision2D", + "Get or Set a property of a Collision2D component")] + [AddComponentMenu("")] + public class Collision2DProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Rigidbody, + OtherRigidbody, + Transform, + GameObject, + RelativeVelocity, + Enabled, + Collider, + OtherCollider, + ContactCount, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(Collision2DVariable))] + protected Collision2DVariable collision2DVar; + + [SerializeField] + [VariableProperty(typeof(Collider2DVariable), + typeof(Rigidbody2DVariable), + typeof(TransformVariable), + typeof(GameObjectVariable), + typeof(Vector2Variable), + typeof(BooleanVariable), + typeof(IntegerVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var ioc2d = inOutVar as Collider2DVariable; + var iorb2d = inOutVar as Rigidbody2DVariable; + var iot = inOutVar as TransformVariable; + var iogo = inOutVar as GameObjectVariable; + var iov2 = inOutVar as Vector2Variable; + var iob = inOutVar as BooleanVariable; +#if UNITY_2019_2_OR_NEWER + var ioi = inOutVar as IntegerVariable; +#endif + + + var target = collision2DVar.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Collider: + ioc2d.Value = target.collider; + break; + case Property.OtherCollider: + ioc2d.Value = target.otherCollider; + break; + case Property.Rigidbody: + iorb2d.Value = target.rigidbody; + break; + case Property.OtherRigidbody: + iorb2d.Value = target.otherRigidbody; + break; + case Property.Transform: + iot.Value = target.transform; + break; + case Property.GameObject: + iogo.Value = target.gameObject; + break; + case Property.RelativeVelocity: + iov2.Value = target.relativeVelocity; + break; + case Property.Enabled: + iob.Value = target.enabled; + break; +#if UNITY_2019_2_OR_NEWER + case Property.ContactCount: + ioi.Value = target.contactCount; + break; +#endif + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (collision2DVar == null) + { + return "Error: no collision2DVar set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (collision2DVar == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/Collision2DProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/Collision2DProperty.cs.meta new file mode 100644 index 00000000..e13e15dd --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Collision2DProperty.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 8556e15e3a9145740815675ae531a7cd +timeCreated: 1517559039 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/CollisionProperty.cs b/Assets/Fungus/Scripts/Commands/Property/CollisionProperty.cs new file mode 100644 index 00000000..6343654e --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/CollisionProperty.cs @@ -0,0 +1,127 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Collision component + /// + [CommandInfo("Property", + "Collision", + "Get or Set a property of a Collision component")] + [AddComponentMenu("")] + public class CollisionProperty : BaseVariableProperty + { + //generated property + public enum Property + { + RelativeVelocity, + Rigidbody, + Collider, + Transform, + GameObject, + Impulse, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(CollisionVariable))] + protected CollisionVariable collisionVar; + + [SerializeField] + [VariableProperty(typeof(Vector3Variable), + typeof(RigidbodyVariable), + typeof(ColliderVariable), + typeof(TransformVariable), + typeof(GameObjectVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iov = inOutVar as Vector3Variable; + var iorb = inOutVar as RigidbodyVariable; + var ioc = inOutVar as ColliderVariable; + var iot = inOutVar as TransformVariable; + var iogo = inOutVar as GameObjectVariable; + + + var target = collisionVar.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.RelativeVelocity: + iov.Value = target.relativeVelocity; + break; + case Property.Rigidbody: + iorb.Value = target.rigidbody; + break; + case Property.Collider: + ioc.Value = target.collider; + break; + case Property.Transform: + iot.Value = target.transform; + break; + case Property.GameObject: + iogo.Value = target.gameObject; + break; + case Property.Impulse: + iov.Value = target.impulse; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (collisionVar == null) + { + return "Error: no collisionVar set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (collisionVar == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/CollisionProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/CollisionProperty.cs.meta new file mode 100644 index 00000000..9f3fc58f --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/CollisionProperty.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 5d7861de0e23aac439a4959cd06b3d09 +timeCreated: 1517559033 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/ColorProperty.cs b/Assets/Fungus/Scripts/Commands/Property/ColorProperty.cs new file mode 100644 index 00000000..0046f028 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/ColorProperty.cs @@ -0,0 +1,137 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Color component + /// + [CommandInfo("Property", + "Color", + "Get or Set a property of a Color component")] + [AddComponentMenu("")] + public class ColorProperty : BaseVariableProperty + { + //generated property + public enum Property + { + R, + G, + B, + A, + Grayscale, + Linear, + Gamma, + MaxColorComponent, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(ColorVariable))] + protected ColorVariable colorVar; + + [SerializeField] + [VariableProperty(typeof(FloatVariable), + typeof(ColorVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iof = inOutVar as FloatVariable; + var iocol = inOutVar as ColorVariable; + + + var target = colorVar.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.R: + iof.Value = target.r; + break; + case Property.G: + iof.Value = target.g; + break; + case Property.B: + iof.Value = target.b; + break; + case Property.A: + iof.Value = target.a; + break; + case Property.Grayscale: + iof.Value = target.grayscale; + break; + case Property.Linear: + iocol.Value = target.linear; + break; + case Property.Gamma: + iocol.Value = target.gamma; + break; + case Property.MaxColorComponent: + iof.Value = target.maxColorComponent; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.R: + target.r = iof.Value; + break; + case Property.G: + target.g = iof.Value; + break; + case Property.B: + target.b = iof.Value; + break; + case Property.A: + target.a = iof.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (colorVar == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/ColorProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/ColorProperty.cs.meta new file mode 100644 index 00000000..e74334c9 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/ColorProperty.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8c9c405ac7b91be439696c5607bddb01 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/ControllerColliderHitProperty.cs b/Assets/Fungus/Scripts/Commands/Property/ControllerColliderHitProperty.cs new file mode 100644 index 00000000..7be49bbe --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/ControllerColliderHitProperty.cs @@ -0,0 +1,137 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a ControllerColliderHit component + /// + [CommandInfo("Property", + "ControllerColliderHit", + "Get or Set a property of a ControllerColliderHit component")] + [AddComponentMenu("")] + public class ControllerColliderHitProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Collider, + Rigidbody, + GameObject, + Transform, + Point, + Normal, + MoveDirection, + MoveLength, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(ControllerColliderHitVariable))] + protected ControllerColliderHitVariable controllerColliderHitVar; + + [SerializeField] + [VariableProperty(typeof(ColliderVariable), + typeof(RigidbodyVariable), + typeof(GameObjectVariable), + typeof(TransformVariable), + typeof(Vector3Variable), + typeof(FloatVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var ioc = inOutVar as ColliderVariable; + var iorb = inOutVar as RigidbodyVariable; + var iogo = inOutVar as GameObjectVariable; + var iot = inOutVar as TransformVariable; + var iov = inOutVar as Vector3Variable; + var iof = inOutVar as FloatVariable; + + + var target = controllerColliderHitVar.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Collider: + ioc.Value = target.collider; + break; + case Property.Rigidbody: + iorb.Value = target.rigidbody; + break; + case Property.GameObject: + iogo.Value = target.gameObject; + break; + case Property.Transform: + iot.Value = target.transform; + break; + case Property.Point: + iov.Value = target.point; + break; + case Property.Normal: + iov.Value = target.normal; + break; + case Property.MoveDirection: + iov.Value = target.moveDirection; + break; + case Property.MoveLength: + iof.Value = target.moveLength; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (controllerColliderHitVar == null) + { + return "Error: no controllerColliderHitVar set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (controllerColliderHitVar == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/ControllerColliderHitProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/ControllerColliderHitProperty.cs.meta new file mode 100644 index 00000000..49532f48 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/ControllerColliderHitProperty.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 706c416dcce1daf4188e35d5981ac45f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/GameObjectProperty.cs b/Assets/Fungus/Scripts/Commands/Property/GameObjectProperty.cs new file mode 100644 index 00000000..6d669fc0 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/GameObjectProperty.cs @@ -0,0 +1,140 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a GameObject component + /// + [CommandInfo("Property", + "GameObject", + "Get or Set a property of a GameObject component")] + [AddComponentMenu("")] + public class GameObjectProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Transform, + Layer, + ActiveSelf, + ActiveInHierarchy, + IsStatic, + Tag, + GameObject, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(GameObjectVariable))] + protected GameObjectVariable gameObjectVar; + + [SerializeField] + [VariableProperty(typeof(TransformVariable), + typeof(IntegerVariable), + typeof(BooleanVariable), + typeof(StringVariable), + typeof(GameObjectVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iot = inOutVar as TransformVariable; + var ioi = inOutVar as IntegerVariable; + var iob = inOutVar as BooleanVariable; + var ios = inOutVar as StringVariable; + var iogo = inOutVar as GameObjectVariable; + + + var target = gameObjectVar.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Transform: + iot.Value = target.transform; + break; + case Property.Layer: + ioi.Value = target.layer; + break; + case Property.ActiveSelf: + iob.Value = target.activeSelf; + break; + case Property.ActiveInHierarchy: + iob.Value = target.activeInHierarchy; + break; + case Property.IsStatic: + iob.Value = target.isStatic; + break; + case Property.Tag: + ios.Value = target.tag; + break; + case Property.GameObject: + iogo.Value = target.gameObject; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.Layer: + target.layer = ioi.Value; + break; + case Property.IsStatic: + target.isStatic = iob.Value; + break; + case Property.Tag: + target.tag = ios.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (gameObjectVar == null) + { + return "Error: no gameObjectVar set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (gameObjectVar == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/GameObjectProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/GameObjectProperty.cs.meta new file mode 100644 index 00000000..94d39dae --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/GameObjectProperty.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 121c2a4d38c149443adb81911f0fdd61 +timeCreated: 1517613000 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/MaterialProperty.cs b/Assets/Fungus/Scripts/Commands/Property/MaterialProperty.cs new file mode 100644 index 00000000..be1a846c --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/MaterialProperty.cs @@ -0,0 +1,156 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Material component + /// + [CommandInfo("Property", + "Material", + "Get or Set a property of a Material component")] + [AddComponentMenu("")] + public class MaterialProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Color, + MainTexture, + MainTextureOffset, + MainTextureScale, + RenderQueue, + DoubleSidedGI, + EnableInstancing, + PassCount, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(MaterialVariable))] + protected MaterialVariable materialVar; + + [SerializeField] + [VariableProperty(typeof(ColorVariable), + typeof(TextureVariable), + typeof(Vector2Variable), + typeof(IntegerVariable), + typeof(BooleanVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iocol = inOutVar as ColorVariable; + var iotex = inOutVar as TextureVariable; + var iov2 = inOutVar as Vector2Variable; + var ioi = inOutVar as IntegerVariable; + var iob = inOutVar as BooleanVariable; + + + var target = materialVar.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Color: + iocol.Value = target.color; + break; + case Property.MainTexture: + iotex.Value = target.mainTexture; + break; + case Property.MainTextureOffset: + iov2.Value = target.mainTextureOffset; + break; + case Property.MainTextureScale: + iov2.Value = target.mainTextureScale; + break; + case Property.RenderQueue: + ioi.Value = target.renderQueue; + break; + case Property.DoubleSidedGI: + iob.Value = target.doubleSidedGI; + break; + case Property.EnableInstancing: + iob.Value = target.enableInstancing; + break; + case Property.PassCount: + ioi.Value = target.passCount; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.Color: + target.color = iocol.Value; + break; + case Property.MainTexture: + target.mainTexture = iotex.Value; + break; + case Property.MainTextureOffset: + target.mainTextureOffset = iov2.Value; + break; + case Property.MainTextureScale: + target.mainTextureScale = iov2.Value; + break; + case Property.RenderQueue: + target.renderQueue = ioi.Value; + break; + case Property.DoubleSidedGI: + target.doubleSidedGI = iob.Value; + break; + case Property.EnableInstancing: + target.enableInstancing = iob.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (materialVar == null) + { + return "Error: no materialVar set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (materialVar == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/MaterialProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/MaterialProperty.cs.meta new file mode 100644 index 00000000..65888d7f --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/MaterialProperty.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 363b2ba6b0053774884b097fb9312a46 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/Matrix4x4Property.cs b/Assets/Fungus/Scripts/Commands/Property/Matrix4x4Property.cs new file mode 100644 index 00000000..78b7db07 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Matrix4x4Property.cs @@ -0,0 +1,234 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Matrix4x4 component + /// + [CommandInfo("Property", + "Matrix4x4", + "Get or Set a property of a Matrix4x4 component")] + [AddComponentMenu("")] + public class Matrix4x4Property : BaseVariableProperty + { + //generated property + public enum Property + { + M00, + M10, + M20, + M30, + M01, + M11, + M21, + M31, + M02, + M12, + M22, + M32, + M03, + M13, + M23, + M33, + Inverse, + Transpose, + Rotation, + LossyScale, + IsIdentity, + Determinant, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + protected Matrix4x4Data matrix4x4Data; + + [SerializeField] + [VariableProperty(typeof(FloatVariable), + typeof(QuaternionVariable), + typeof(Vector3Variable), + typeof(BooleanVariable), + typeof(Matrix4x4Variable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iof = inOutVar as FloatVariable; + var ioq = inOutVar as QuaternionVariable; + var iov = inOutVar as Vector3Variable; + var iob = inOutVar as BooleanVariable; + var iom4 = inOutVar as Matrix4x4Variable; + + + var target = matrix4x4Data.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.M00: + iof.Value = target.m00; + break; + case Property.M10: + iof.Value = target.m10; + break; + case Property.M20: + iof.Value = target.m20; + break; + case Property.M30: + iof.Value = target.m30; + break; + case Property.M01: + iof.Value = target.m01; + break; + case Property.M11: + iof.Value = target.m11; + break; + case Property.M21: + iof.Value = target.m21; + break; + case Property.M31: + iof.Value = target.m31; + break; + case Property.M02: + iof.Value = target.m02; + break; + case Property.M12: + iof.Value = target.m12; + break; + case Property.M22: + iof.Value = target.m22; + break; + case Property.M32: + iof.Value = target.m32; + break; + case Property.M03: + iof.Value = target.m03; + break; + case Property.M13: + iof.Value = target.m13; + break; + case Property.M23: + iof.Value = target.m23; + break; + case Property.M33: + iof.Value = target.m33; + break; + case Property.Rotation: + ioq.Value = target.rotation; + break; + case Property.LossyScale: + iov.Value = target.lossyScale; + break; + case Property.IsIdentity: + iob.Value = target.isIdentity; + break; + case Property.Determinant: + iof.Value = target.determinant; + break; + case Property.Inverse: + iom4.Value = target.inverse; + break; + case Property.Transpose: + iom4.Value = target.transpose; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.M00: + target.m00 = iof.Value; + break; + case Property.M10: + target.m10 = iof.Value; + break; + case Property.M20: + target.m20 = iof.Value; + break; + case Property.M30: + target.m30 = iof.Value; + break; + case Property.M01: + target.m01 = iof.Value; + break; + case Property.M11: + target.m11 = iof.Value; + break; + case Property.M21: + target.m21 = iof.Value; + break; + case Property.M31: + target.m31 = iof.Value; + break; + case Property.M02: + target.m02 = iof.Value; + break; + case Property.M12: + target.m12 = iof.Value; + break; + case Property.M22: + target.m22 = iof.Value; + break; + case Property.M32: + target.m32 = iof.Value; + break; + case Property.M03: + target.m03 = iof.Value; + break; + case Property.M13: + target.m13 = iof.Value; + break; + case Property.M23: + target.m23 = iof.Value; + break; + case Property.M33: + target.m33 = iof.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (matrix4x4Data.matrix4x4Ref == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/Matrix4x4Property.cs.meta b/Assets/Fungus/Scripts/Commands/Property/Matrix4x4Property.cs.meta new file mode 100644 index 00000000..cd528c70 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Matrix4x4Property.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 37ada407c7c9fab46abba0d40c27fa96 +timeCreated: 1513287480 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/QuaternionProperty.cs b/Assets/Fungus/Scripts/Commands/Property/QuaternionProperty.cs new file mode 100644 index 00000000..fabf624c --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/QuaternionProperty.cs @@ -0,0 +1,137 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Quaternion component + /// + [CommandInfo("Property", + "Quaternion", + "Get or Set a property of a Quaternion component")] + [AddComponentMenu("")] + public class QuaternionProperty : BaseVariableProperty + { + //generated property + public enum Property + { + X, + Y, + Z, + W, + EulerAngles, + Normalized, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + protected QuaternionData quaternionData; + + [SerializeField] + [VariableProperty(typeof(FloatVariable), + typeof(Vector3Variable), + typeof(QuaternionVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iof = inOutVar as FloatVariable; + var iov = inOutVar as Vector3Variable; +#if UNITY_2019_2_OR_NEWER + var ioq = inOutVar as QuaternionVariable; +#endif + + + var target = quaternionData.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.X: + iof.Value = target.x; + break; + case Property.Y: + iof.Value = target.y; + break; + case Property.Z: + iof.Value = target.z; + break; + case Property.W: + iof.Value = target.w; + break; + case Property.EulerAngles: + iov.Value = target.eulerAngles; + break; +#if UNITY_2019_2_OR_NEWER + case Property.Normalized: + ioq.Value = target.normalized; + break; +#endif + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.X: + target.x = iof.Value; + break; + case Property.Y: + target.y = iof.Value; + break; + case Property.Z: + target.z = iof.Value; + break; + case Property.W: + target.w = iof.Value; + break; + case Property.EulerAngles: + target.eulerAngles = iov.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (quaternionData.quaternionRef == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/QuaternionProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/QuaternionProperty.cs.meta new file mode 100644 index 00000000..7fc4480f --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/QuaternionProperty.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 1082e9a99a168824583a459d59a448a0 +timeCreated: 1513287464 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/Rigidbody2DProperty.cs b/Assets/Fungus/Scripts/Commands/Property/Rigidbody2DProperty.cs new file mode 100644 index 00000000..fd52a104 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Rigidbody2DProperty.cs @@ -0,0 +1,213 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Rigidbody2D component + /// + [CommandInfo("Property", + "Rigidbody2D", + "Get or Set a property of a Rigidbody2D component")] + [AddComponentMenu("")] + public class Rigidbody2DProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Position, + Rotation, + Velocity, + AngularVelocity, + UseAutoMass, + Mass, + CenterOfMass, + WorldCenterOfMass, + Inertia, + Drag, + AngularDrag, + GravityScale, + UseFullKinematicContacts, + IsKinematic, + FreezeRotation, + Simulated, + AttachedColliderCount, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + protected Rigidbody2DData rigidbody2DData; + + [SerializeField] + [VariableProperty(typeof(Vector2Variable), + typeof(FloatVariable), + typeof(BooleanVariable), + typeof(IntegerVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iov2 = inOutVar as Vector2Variable; + var iof = inOutVar as FloatVariable; + var iob = inOutVar as BooleanVariable; + var ioi = inOutVar as IntegerVariable; + + + var target = rigidbody2DData.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Position: + iov2.Value = target.position; + break; + case Property.Rotation: + iof.Value = target.rotation; + break; + case Property.Velocity: + iov2.Value = target.velocity; + break; + case Property.AngularVelocity: + iof.Value = target.angularVelocity; + break; + case Property.UseAutoMass: + iob.Value = target.useAutoMass; + break; + case Property.Mass: + iof.Value = target.mass; + break; + case Property.CenterOfMass: + iov2.Value = target.centerOfMass; + break; + case Property.WorldCenterOfMass: + iov2.Value = target.worldCenterOfMass; + break; + case Property.Inertia: + iof.Value = target.inertia; + break; + case Property.Drag: + iof.Value = target.drag; + break; + case Property.AngularDrag: + iof.Value = target.angularDrag; + break; + case Property.GravityScale: + iof.Value = target.gravityScale; + break; + case Property.UseFullKinematicContacts: + iob.Value = target.useFullKinematicContacts; + break; + case Property.IsKinematic: + iob.Value = target.isKinematic; + break; + case Property.FreezeRotation: + iob.Value = target.freezeRotation; + break; + case Property.Simulated: + iob.Value = target.simulated; + break; + case Property.AttachedColliderCount: + ioi.Value = target.attachedColliderCount; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.Position: + target.position = iov2.Value; + break; + case Property.Rotation: + target.rotation = iof.Value; + break; + case Property.Velocity: + target.velocity = iov2.Value; + break; + case Property.AngularVelocity: + target.angularVelocity = iof.Value; + break; + case Property.UseAutoMass: + target.useAutoMass = iob.Value; + break; + case Property.Mass: + target.mass = iof.Value; + break; + case Property.CenterOfMass: + target.centerOfMass = iov2.Value; + break; + case Property.Inertia: + target.inertia = iof.Value; + break; + case Property.Drag: + target.drag = iof.Value; + break; + case Property.AngularDrag: + target.angularDrag = iof.Value; + break; + case Property.GravityScale: + target.gravityScale = iof.Value; + break; + case Property.UseFullKinematicContacts: + target.useFullKinematicContacts = iob.Value; + break; + case Property.IsKinematic: + target.isKinematic = iob.Value; + break; + case Property.FreezeRotation: + target.freezeRotation = iob.Value; + break; + case Property.Simulated: + target.simulated = iob.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (rigidbody2DData.Value == null) + { + return "Error: no rigidbody2D set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (rigidbody2DData.rigidbody2DRef == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/Rigidbody2DProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/Rigidbody2DProperty.cs.meta new file mode 100644 index 00000000..2cda84a5 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Rigidbody2DProperty.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 3e16d7fb8c3b00d4c969c48110fc69c2 +timeCreated: 1517559027 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/RigidbodyProperty.cs b/Assets/Fungus/Scripts/Commands/Property/RigidbodyProperty.cs new file mode 100644 index 00000000..1506cb40 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/RigidbodyProperty.cs @@ -0,0 +1,239 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Rigidbody component + /// + [CommandInfo("Property", + "Rigidbody", + "Get or Set a property of a Rigidbody component")] + [AddComponentMenu("")] + public class RigidbodyProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Velocity, + AngularVelocity, + Drag, + AngularDrag, + Mass, + UseGravity, + MaxDepenetrationVelocity, + IsKinematic, + FreezeRotation, + CenterOfMass, + WorldCenterOfMass, + InertiaTensorRotation, + InertiaTensor, + DetectCollisions, + Position, + Rotation, + SolverIterations, + SolverVelocityIterations, + SleepThreshold, + MaxAngularVelocity, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + protected RigidbodyData rigidbodyData; + + [SerializeField] + [VariableProperty(typeof(Vector3Variable), + typeof(FloatVariable), + typeof(BooleanVariable), + typeof(QuaternionVariable), + typeof(IntegerVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iov = inOutVar as Vector3Variable; + var iof = inOutVar as FloatVariable; + var iob = inOutVar as BooleanVariable; + var ioq = inOutVar as QuaternionVariable; + var ioi = inOutVar as IntegerVariable; + + + var target = rigidbodyData.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Velocity: + iov.Value = target.velocity; + break; + case Property.AngularVelocity: + iov.Value = target.angularVelocity; + break; + case Property.Drag: + iof.Value = target.drag; + break; + case Property.AngularDrag: + iof.Value = target.angularDrag; + break; + case Property.Mass: + iof.Value = target.mass; + break; + case Property.UseGravity: + iob.Value = target.useGravity; + break; + case Property.MaxDepenetrationVelocity: + iof.Value = target.maxDepenetrationVelocity; + break; + case Property.IsKinematic: + iob.Value = target.isKinematic; + break; + case Property.FreezeRotation: + iob.Value = target.freezeRotation; + break; + case Property.CenterOfMass: + iov.Value = target.centerOfMass; + break; + case Property.WorldCenterOfMass: + iov.Value = target.worldCenterOfMass; + break; + case Property.InertiaTensorRotation: + ioq.Value = target.inertiaTensorRotation; + break; + case Property.InertiaTensor: + iov.Value = target.inertiaTensor; + break; + case Property.DetectCollisions: + iob.Value = target.detectCollisions; + break; + case Property.Position: + iov.Value = target.position; + break; + case Property.Rotation: + ioq.Value = target.rotation; + break; + case Property.SolverIterations: + ioi.Value = target.solverIterations; + break; + case Property.SleepThreshold: + iof.Value = target.sleepThreshold; + break; + case Property.MaxAngularVelocity: + iof.Value = target.maxAngularVelocity; + break; + case Property.SolverVelocityIterations: + ioi.Value = target.solverVelocityIterations; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.Velocity: + target.velocity = iov.Value; + break; + case Property.AngularVelocity: + target.angularVelocity = iov.Value; + break; + case Property.Drag: + target.drag = iof.Value; + break; + case Property.AngularDrag: + target.angularDrag = iof.Value; + break; + case Property.Mass: + target.mass = iof.Value; + break; + case Property.UseGravity: + target.useGravity = iob.Value; + break; + case Property.MaxDepenetrationVelocity: + target.maxDepenetrationVelocity = iof.Value; + break; + case Property.IsKinematic: + target.isKinematic = iob.Value; + break; + case Property.FreezeRotation: + target.freezeRotation = iob.Value; + break; + case Property.CenterOfMass: + target.centerOfMass = iov.Value; + break; + case Property.InertiaTensorRotation: + target.inertiaTensorRotation = ioq.Value; + break; + case Property.InertiaTensor: + target.inertiaTensor = iov.Value; + break; + case Property.DetectCollisions: + target.detectCollisions = iob.Value; + break; + case Property.Position: + target.position = iov.Value; + break; + case Property.Rotation: + target.rotation = ioq.Value; + break; + case Property.SolverIterations: + target.solverIterations = ioi.Value; + break; + case Property.SleepThreshold: + target.sleepThreshold = iof.Value; + break; + case Property.MaxAngularVelocity: + target.maxAngularVelocity = iof.Value; + break; + case Property.SolverVelocityIterations: + target.solverVelocityIterations = ioi.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (rigidbodyData.Value == null) + { + return "Error: no rigidbody set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (rigidbodyData.rigidbodyRef == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/RigidbodyProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/RigidbodyProperty.cs.meta new file mode 100644 index 00000000..c554411e --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/RigidbodyProperty.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: cdf9b24957fec22439bac2223dd88461 +timeCreated: 1517558732 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/SpriteProperty.cs b/Assets/Fungus/Scripts/Commands/Property/SpriteProperty.cs new file mode 100644 index 00000000..f9f62689 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/SpriteProperty.cs @@ -0,0 +1,121 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Sprite component + /// + [CommandInfo("Property", + "Sprite", + "Get or Set a property of a Sprite component")] + [AddComponentMenu("")] + public class SpriteProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Border, + PixelsPerUnit, + Pivot, + Packed, + TextureRectOffset, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(SpriteVariable))] + protected SpriteVariable spriteVar; + + [SerializeField] + [VariableProperty(typeof(Vector4Variable), + typeof(FloatVariable), + typeof(Vector2Variable), + typeof(BooleanVariable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iov4 = inOutVar as Vector4Variable; + var iof = inOutVar as FloatVariable; + var iov2 = inOutVar as Vector2Variable; + var iob = inOutVar as BooleanVariable; + + + var target = spriteVar.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Border: + iov4.Value = target.border; + break; + case Property.PixelsPerUnit: + iof.Value = target.pixelsPerUnit; + break; + case Property.Pivot: + iov2.Value = target.pivot; + break; + case Property.Packed: + iob.Value = target.packed; + break; + case Property.TextureRectOffset: + iov2.Value = target.textureRectOffset; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (spriteVar == null) + { + return "Error: no spriteVar set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (spriteVar == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/SpriteProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/SpriteProperty.cs.meta new file mode 100644 index 00000000..6702eb7f --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/SpriteProperty.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c95150ec5d3a0374ba617655d4603934 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/TextureProperty.cs b/Assets/Fungus/Scripts/Commands/Property/TextureProperty.cs new file mode 100644 index 00000000..9a293cdf --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/TextureProperty.cs @@ -0,0 +1,141 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Texture component + /// + [CommandInfo("Property", + "Texture", + "Get or Set a property of a Texture component")] + [AddComponentMenu("")] + public class TextureProperty : BaseVariableProperty + { + //generated property + public enum Property + { + Width, + Height, + IsReadable, + AnisoLevel, + MipMapBias, + TexelSize, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(TextureVariable))] + protected TextureVariable textureVar; + + [SerializeField] + [VariableProperty(typeof(IntegerVariable), + typeof(BooleanVariable), + typeof(FloatVariable), + typeof(Vector2Variable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var ioi = inOutVar as IntegerVariable; +#if UNITY_2019_2_OR_NEWER + var iob = inOutVar as BooleanVariable; +#endif + var iof = inOutVar as FloatVariable; + var iov2 = inOutVar as Vector2Variable; + + + var target = textureVar.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.Width: + ioi.Value = target.width; + break; + case Property.Height: + ioi.Value = target.height; + break; +#if UNITY_2019_2_OR_NEWER + case Property.IsReadable: + iob.Value = target.isReadable; + break; +#endif + case Property.AnisoLevel: + ioi.Value = target.anisoLevel; + break; + case Property.MipMapBias: + iof.Value = target.mipMapBias; + break; + case Property.TexelSize: + iov2.Value = target.texelSize; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.Width: + target.width = ioi.Value; + break; + case Property.Height: + target.height = ioi.Value; + break; + case Property.AnisoLevel: + target.anisoLevel = ioi.Value; + break; + case Property.MipMapBias: + target.mipMapBias = iof.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (textureVar == null) + { + return "Error: no textureVar set"; + } + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (textureVar == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/TextureProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/TextureProperty.cs.meta new file mode 100644 index 00000000..3da4179b --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/TextureProperty.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 31b49af150726234597bd728285c18f9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Transform/TransformProperty.cs b/Assets/Fungus/Scripts/Commands/Property/TransformProperty.cs similarity index 52% rename from Assets/Fungus/Scripts/Commands/Transform/TransformProperty.cs rename to Assets/Fungus/Scripts/Commands/Property/TransformProperty.cs index 32c2850c..af51c0c2 100644 --- a/Assets/Fungus/Scripts/Commands/Transform/TransformProperty.cs +++ b/Assets/Fungus/Scripts/Commands/Property/TransformProperty.cs @@ -1,48 +1,48 @@ -using System.Collections; +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Fungus { // - /// Get or Set a property of a transform component + /// Get or Set a property of a Transform component /// - [CommandInfo("Transform", - "Property", - "Get or Set a property of a transform component")] + [CommandInfo("Property", + "Transform", + "Get or Set a property of a Transform component")] [AddComponentMenu("")] - public class TransformProperty : Command + public class TransformProperty : BaseVariableProperty { - public enum GetSet - { - Get, - Set, + //generated property + public enum Property + { + ChildCount, + EulerAngles, + Forward, + HasChanged, + HierarchyCapacity, + HierarchyCount, + LocalEulerAngles, + LocalPosition, + LocalScale, + LossyScale, + Parent, + Position, + Right, + Root, + Up, + Rotation, + LocalRotation, + WorldToLocalMatrix, + LocalToWorldMatrix, } - public GetSet getOrSet = GetSet.Get; - public enum Property - { - ChildCount, - EulerAngles, - Forward, - HasChanged, - HierarchyCapacity, - HierarchyCount, - LocalEulerAngles, - LocalPosition, - LocalScale, - LossyScale, - Parent, - Position, - Right, - Root, - Up, - //no quat or mat4 yet - //LocalRotation, - //Rotation, - //LocalToWorldMatrix, - //WorldToLocalMatrix - } + [SerializeField] protected Property property = Property.Position; @@ -50,124 +50,136 @@ namespace Fungus protected TransformData transformData; [SerializeField] - [VariableProperty(typeof(BooleanVariable), + [VariableProperty(typeof(Vector3Variable), + typeof(QuaternionVariable), + typeof(TransformVariable), + typeof(Matrix4x4Variable), typeof(IntegerVariable), - typeof(Vector3Variable), - typeof(TransformVariable))] + typeof(BooleanVariable))] protected Variable inOutVar; public override void OnEnter() { - var iob = inOutVar as BooleanVariable; - var ioi = inOutVar as IntegerVariable; var iov = inOutVar as Vector3Variable; + var ioq = inOutVar as QuaternionVariable; var iot = inOutVar as TransformVariable; + var iom4 = inOutVar as Matrix4x4Variable; + var ioi = inOutVar as IntegerVariable; + var iob = inOutVar as BooleanVariable; - var t = transformData.Value; + var target = transformData.Value; switch (getOrSet) { case GetSet.Get: switch (property) { - case Property.ChildCount: - ioi.Value = t.childCount; + case Property.Position: + iov.Value = target.position; + break; + case Property.LocalPosition: + iov.Value = target.localPosition; break; case Property.EulerAngles: - iov.Value = t.eulerAngles; + iov.Value = target.eulerAngles; break; - case Property.Forward: - iov.Value = t.forward; + case Property.LocalEulerAngles: + iov.Value = target.localEulerAngles; break; - case Property.HasChanged: - iob.Value = t.hasChanged; + case Property.Right: + iov.Value = target.right; break; - case Property.HierarchyCapacity: - ioi.Value = t.hierarchyCapacity; + case Property.Up: + iov.Value = target.up; break; - case Property.HierarchyCount: - ioi.Value = t.hierarchyCount; + case Property.Forward: + iov.Value = target.forward; break; - case Property.LocalEulerAngles: - iov.Value = t.localEulerAngles; + case Property.Rotation: + ioq.Value = target.rotation; break; - case Property.LocalPosition: - iov.Value = t.localPosition; + case Property.LocalRotation: + ioq.Value = target.localRotation; break; case Property.LocalScale: - iov.Value = t.localScale; - break; - case Property.LossyScale: - iov.Value = t.lossyScale; + iov.Value = target.localScale; break; case Property.Parent: - iot.Value = t.parent; + iot.Value = target.parent; break; - case Property.Position: - iov.Value = t.position; + case Property.WorldToLocalMatrix: + iom4.Value = target.worldToLocalMatrix; break; - case Property.Right: - iov.Value = t.right; + case Property.LocalToWorldMatrix: + iom4.Value = target.localToWorldMatrix; break; case Property.Root: - iot.Value = t.parent; + iot.Value = target.root; break; - case Property.Up: - iov.Value = t.up; + case Property.ChildCount: + ioi.Value = target.childCount; + break; + case Property.LossyScale: + iov.Value = target.lossyScale; + break; + case Property.HasChanged: + iob.Value = target.hasChanged; + break; + case Property.HierarchyCapacity: + ioi.Value = target.hierarchyCapacity; + break; + case Property.HierarchyCount: + ioi.Value = target.hierarchyCount; break; default: + Debug.Log("Unsupported get or set attempted"); break; } break; case GetSet.Set: switch (property) { - case Property.ChildCount: - Debug.LogWarning("Cannot Set childCount, it is read only"); + case Property.Position: + target.position = iov.Value; + break; + case Property.LocalPosition: + target.localPosition = iov.Value; break; case Property.EulerAngles: - t.eulerAngles = iov.Value; + target.eulerAngles = iov.Value; break; - case Property.Forward: - t.forward = iov.Value; + case Property.LocalEulerAngles: + target.localEulerAngles = iov.Value; break; - case Property.HasChanged: - t.hasChanged = iob.Value; + case Property.Right: + target.right = iov.Value; break; - case Property.HierarchyCapacity: - t.hierarchyCapacity = ioi.Value; + case Property.Up: + target.up = iov.Value; break; - case Property.HierarchyCount: - Debug.LogWarning("Cannot Set HierarchyCount, it is read only"); + case Property.Forward: + target.forward = iov.Value; break; - case Property.LocalEulerAngles: - t.localEulerAngles = iov.Value; + case Property.Rotation: + target.rotation = ioq.Value; break; - case Property.LocalPosition: - t.localPosition = iov.Value; + case Property.LocalRotation: + target.localRotation = ioq.Value; break; case Property.LocalScale: - t.localScale = iov.Value; - break; - case Property.LossyScale: - Debug.LogWarning("Cannot Set LossyScale, it is read only"); + target.localScale = iov.Value; break; case Property.Parent: - t.parent = iot.Value; - break; - case Property.Position: - t.position = iov.Value; + target.parent = iot.Value; break; - case Property.Right: - t.right = iov.Value; - break; - case Property.Root: - Debug.LogWarning("Cannot Set Root, it is read only"); + case Property.HasChanged: + target.hasChanged = iob.Value; break; - case Property.Up: - t.up = iov.Value; + case Property.HierarchyCapacity: + target.hierarchyCapacity = ioi.Value; break; default: + Debug.Log("Unsupported get or set attempted"); break; } break; @@ -184,13 +196,7 @@ namespace Fungus { return "Error: no transform set"; } - - var iob = inOutVar as BooleanVariable; - var ioi = inOutVar as IntegerVariable; - var iov = inOutVar as Vector3Variable; - var iot = inOutVar as TransformVariable; - - if (iob == null && ioi == null && iov == null && iot == null) + if (inOutVar == null) { return "Error: no variable set to push or pull data to or from"; } diff --git a/Assets/Fungus/Scripts/Commands/Transform/TransformProperty.cs.meta b/Assets/Fungus/Scripts/Commands/Property/TransformProperty.cs.meta similarity index 100% rename from Assets/Fungus/Scripts/Commands/Transform/TransformProperty.cs.meta rename to Assets/Fungus/Scripts/Commands/Property/TransformProperty.cs.meta diff --git a/Assets/Fungus/Scripts/Commands/Property/Vector2Property.cs b/Assets/Fungus/Scripts/Commands/Property/Vector2Property.cs new file mode 100644 index 00000000..2d2c4573 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Vector2Property.cs @@ -0,0 +1,119 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Vector2 component + /// + [CommandInfo("Property", + "Vector2", + "Get or Set a property of a Vector2 component")] + [AddComponentMenu("")] + public class Vector2Property : BaseVariableProperty + { + //generated property + public enum Property + { + X, + Y, + Normalized, + Magnitude, + SqrMagnitude, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(Vector2Variable))] + protected Vector2Variable vector2Var; + + [SerializeField] + [VariableProperty(typeof(FloatVariable), + typeof(Vector2Variable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iof = inOutVar as FloatVariable; + var iov2 = inOutVar as Vector2Variable; + + + var target = vector2Var.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.X: + iof.Value = target.x; + break; + case Property.Y: + iof.Value = target.y; + break; + case Property.Normalized: + iov2.Value = target.normalized; + break; + case Property.Magnitude: + iof.Value = target.magnitude; + break; + case Property.SqrMagnitude: + iof.Value = target.sqrMagnitude; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.X: + target.x = iof.Value; + break; + case Property.Y: + target.y = iof.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (vector2Var == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/Vector2Property.cs.meta b/Assets/Fungus/Scripts/Commands/Property/Vector2Property.cs.meta new file mode 100644 index 00000000..3f9cb9c6 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Vector2Property.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a7015dec6a71cdd4ba95bb85217200b5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/Vector3Property.cs b/Assets/Fungus/Scripts/Commands/Property/Vector3Property.cs new file mode 100644 index 00000000..bfd3bd0b --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Vector3Property.cs @@ -0,0 +1,126 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Vector3 component + /// + [CommandInfo("Property", + "Vector3", + "Get or Set a property of a Vector3 component")] + [AddComponentMenu("")] + public class Vector3Property : BaseVariableProperty + { + //generated property + public enum Property + { + X, + Y, + Z, + Normalized, + Magnitude, + SqrMagnitude, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof(Vector3Variable))] + protected Vector3Variable vector3Var; + + [SerializeField] + [VariableProperty(typeof(FloatVariable), + typeof(Vector3Variable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iof = inOutVar as FloatVariable; + var iov = inOutVar as Vector3Variable; + + + var target = vector3Var.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.X: + iof.Value = target.x; + break; + case Property.Y: + iof.Value = target.y; + break; + case Property.Z: + iof.Value = target.z; + break; + case Property.Normalized: + iov.Value = target.normalized; + break; + case Property.Magnitude: + iof.Value = target.magnitude; + break; + case Property.SqrMagnitude: + iof.Value = target.sqrMagnitude; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.X: + target.x = iof.Value; + break; + case Property.Y: + target.y = iof.Value; + break; + case Property.Z: + target.z = iof.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (vector3Var == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/Vector3Property.cs.meta b/Assets/Fungus/Scripts/Commands/Property/Vector3Property.cs.meta new file mode 100644 index 00000000..79e8c09a --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Vector3Property.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c9d421d283ce7de459ab56214f315618 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/Property/Vector4Property.cs b/Assets/Fungus/Scripts/Commands/Property/Vector4Property.cs new file mode 100644 index 00000000..edfa07aa --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Vector4Property.cs @@ -0,0 +1,132 @@ +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + + +namespace Fungus +{ + // + /// Get or Set a property of a Vector4 component + /// + [CommandInfo("Property", + "Vector4", + "Get or Set a property of a Vector4 component")] + [AddComponentMenu("")] + public class Vector4Property : BaseVariableProperty + { + //generated property + public enum Property + { + X, + Y, + Z, + W, + Magnitude, + SqrMagnitude, + Normalized, + } + + + [SerializeField] + protected Property property; + + [SerializeField] + protected Vector4Data vector4Data; + + [SerializeField] + [VariableProperty(typeof(FloatVariable), + typeof(Vector4Variable))] + protected Variable inOutVar; + + public override void OnEnter() + { + var iof = inOutVar as FloatVariable; + var iov4 = inOutVar as Vector4Variable; + + + var target = vector4Data.Value; + + switch (getOrSet) + { + case GetSet.Get: + switch (property) + { + case Property.X: + iof.Value = target.x; + break; + case Property.Y: + iof.Value = target.y; + break; + case Property.Z: + iof.Value = target.z; + break; + case Property.W: + iof.Value = target.w; + break; + case Property.Normalized: + iov4.Value = target.normalized; + break; + case Property.Magnitude: + iof.Value = target.magnitude; + break; + case Property.SqrMagnitude: + iof.Value = target.sqrMagnitude; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + case GetSet.Set: + switch (property) + { + case Property.X: + target.x = iof.Value; + break; + case Property.Y: + target.y = iof.Value; + break; + case Property.Z: + target.z = iof.Value; + break; + case Property.W: + target.w = iof.Value; + break; + default: + Debug.Log("Unsupported get or set attempted"); + break; + } + + break; + default: + break; + } + + Continue(); + } + + public override string GetSummary() + { + if (inOutVar == null) + { + return "Error: no variable set to push or pull data to or from"; + } + + return getOrSet.ToString() + " " + property.ToString(); + } + + public override Color GetButtonColor() + { + return new Color32(235, 191, 217, 255); + } + + public override bool HasReference(Variable variable) + { + if (vector4Data.vector4Ref == variable || inOutVar == variable) + return true; + + return false; + } + + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Property/Vector4Property.cs.meta b/Assets/Fungus/Scripts/Commands/Property/Vector4Property.cs.meta new file mode 100644 index 00000000..a60ca09f --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/Property/Vector4Property.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 218837ae2b5d9ad4cb51c47575ce1ffc +timeCreated: 1517559329 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/PunchPosition.cs b/Assets/Fungus/Scripts/Commands/PunchPosition.cs index ff7b0b0a..f2250c24 100644 --- a/Assets/Fungus/Scripts/Commands/PunchPosition.cs +++ b/Assets/Fungus/Scripts/Commands/PunchPosition.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/PunchRotation.cs b/Assets/Fungus/Scripts/Commands/PunchRotation.cs index 71fec5b9..1a04d3de 100644 --- a/Assets/Fungus/Scripts/Commands/PunchRotation.cs +++ b/Assets/Fungus/Scripts/Commands/PunchRotation.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/PunchScale.cs b/Assets/Fungus/Scripts/Commands/PunchScale.cs index 7523520e..2d642988 100644 --- a/Assets/Fungus/Scripts/Commands/PunchScale.cs +++ b/Assets/Fungus/Scripts/Commands/PunchScale.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Quit.cs b/Assets/Fungus/Scripts/Commands/Quit.cs index 7720b105..c017275b 100644 --- a/Assets/Fungus/Scripts/Commands/Quit.cs +++ b/Assets/Fungus/Scripts/Commands/Quit.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/RandomFloat.cs b/Assets/Fungus/Scripts/Commands/RandomFloat.cs index 1cfd5527..6eec2237 100644 --- a/Assets/Fungus/Scripts/Commands/RandomFloat.cs +++ b/Assets/Fungus/Scripts/Commands/RandomFloat.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/RandomInteger.cs b/Assets/Fungus/Scripts/Commands/RandomInteger.cs index aa201df5..f90b307c 100644 --- a/Assets/Fungus/Scripts/Commands/RandomInteger.cs +++ b/Assets/Fungus/Scripts/Commands/RandomInteger.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ReadTextFile.cs b/Assets/Fungus/Scripts/Commands/ReadTextFile.cs index 8c503ba6..10f58bb7 100644 --- a/Assets/Fungus/Scripts/Commands/ReadTextFile.cs +++ b/Assets/Fungus/Scripts/Commands/ReadTextFile.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Reset.cs b/Assets/Fungus/Scripts/Commands/Reset.cs index 6cda41f0..2dce3a3b 100644 --- a/Assets/Fungus/Scripts/Commands/Reset.cs +++ b/Assets/Fungus/Scripts/Commands/Reset.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ResetAnimTrigger.cs b/Assets/Fungus/Scripts/Commands/ResetAnimTrigger.cs index baf3b277..56ef1806 100644 --- a/Assets/Fungus/Scripts/Commands/ResetAnimTrigger.cs +++ b/Assets/Fungus/Scripts/Commands/ResetAnimTrigger.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddForce2D.cs b/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddForce2D.cs index bedb42a4..626124b6 100644 --- a/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddForce2D.cs +++ b/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddForce2D.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddTorque2D.cs b/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddTorque2D.cs index 59c2b3a3..bfc2304d 100644 --- a/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddTorque2D.cs +++ b/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddTorque2D.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Rigidbody2D/StopMotionRigidBody2D.cs b/Assets/Fungus/Scripts/Commands/Rigidbody2D/StopMotionRigidBody2D.cs index ef4c0e31..6f5f92b9 100644 --- a/Assets/Fungus/Scripts/Commands/Rigidbody2D/StopMotionRigidBody2D.cs +++ b/Assets/Fungus/Scripts/Commands/Rigidbody2D/StopMotionRigidBody2D.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/RotateAdd.cs b/Assets/Fungus/Scripts/Commands/RotateAdd.cs index cf35b0dd..7bf7ae32 100644 --- a/Assets/Fungus/Scripts/Commands/RotateAdd.cs +++ b/Assets/Fungus/Scripts/Commands/RotateAdd.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/RotateFrom.cs b/Assets/Fungus/Scripts/Commands/RotateFrom.cs index 46224268..c5fc5564 100644 --- a/Assets/Fungus/Scripts/Commands/RotateFrom.cs +++ b/Assets/Fungus/Scripts/Commands/RotateFrom.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/RotateTo.cs b/Assets/Fungus/Scripts/Commands/RotateTo.cs index 7f5bcf74..4420af13 100644 --- a/Assets/Fungus/Scripts/Commands/RotateTo.cs +++ b/Assets/Fungus/Scripts/Commands/RotateTo.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SavePoint.cs b/Assets/Fungus/Scripts/Commands/SavePoint.cs index 8f259749..2060f661 100644 --- a/Assets/Fungus/Scripts/Commands/SavePoint.cs +++ b/Assets/Fungus/Scripts/Commands/SavePoint.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) #if UNITY_5_3_OR_NEWER diff --git a/Assets/Fungus/Scripts/Commands/SaveVariable.cs b/Assets/Fungus/Scripts/Commands/SaveVariable.cs index 4a5522d9..08b3e949 100644 --- a/Assets/Fungus/Scripts/Commands/SaveVariable.cs +++ b/Assets/Fungus/Scripts/Commands/SaveVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Say.cs b/Assets/Fungus/Scripts/Commands/Say.cs index b86af519..451a002f 100644 --- a/Assets/Fungus/Scripts/Commands/Say.cs +++ b/Assets/Fungus/Scripts/Commands/Say.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ScaleAdd.cs b/Assets/Fungus/Scripts/Commands/ScaleAdd.cs index be4e56f2..29dbd950 100644 --- a/Assets/Fungus/Scripts/Commands/ScaleAdd.cs +++ b/Assets/Fungus/Scripts/Commands/ScaleAdd.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ScaleFrom.cs b/Assets/Fungus/Scripts/Commands/ScaleFrom.cs index 7c317f2a..335196fb 100644 --- a/Assets/Fungus/Scripts/Commands/ScaleFrom.cs +++ b/Assets/Fungus/Scripts/Commands/ScaleFrom.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ScaleTo.cs b/Assets/Fungus/Scripts/Commands/ScaleTo.cs index 3a80d57a..939176ad 100644 --- a/Assets/Fungus/Scripts/Commands/ScaleTo.cs +++ b/Assets/Fungus/Scripts/Commands/ScaleTo.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Scene/ReloadScene.cs b/Assets/Fungus/Scripts/Commands/Scene/ReloadScene.cs index 76161593..86f62a11 100644 --- a/Assets/Fungus/Scripts/Commands/Scene/ReloadScene.cs +++ b/Assets/Fungus/Scripts/Commands/Scene/ReloadScene.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { diff --git a/Assets/Fungus/Scripts/Commands/SendMessage.cs b/Assets/Fungus/Scripts/Commands/SendMessage.cs index 995fc09c..75024e85 100644 --- a/Assets/Fungus/Scripts/Commands/SendMessage.cs +++ b/Assets/Fungus/Scripts/Commands/SendMessage.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetActive.cs b/Assets/Fungus/Scripts/Commands/SetActive.cs index bafc947e..9013baee 100644 --- a/Assets/Fungus/Scripts/Commands/SetActive.cs +++ b/Assets/Fungus/Scripts/Commands/SetActive.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetAnimBool.cs b/Assets/Fungus/Scripts/Commands/SetAnimBool.cs index 26a7a778..88aae8ec 100644 --- a/Assets/Fungus/Scripts/Commands/SetAnimBool.cs +++ b/Assets/Fungus/Scripts/Commands/SetAnimBool.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetAnimFloat.cs b/Assets/Fungus/Scripts/Commands/SetAnimFloat.cs index 5aa66f55..244d64f5 100644 --- a/Assets/Fungus/Scripts/Commands/SetAnimFloat.cs +++ b/Assets/Fungus/Scripts/Commands/SetAnimFloat.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetAnimInteger.cs b/Assets/Fungus/Scripts/Commands/SetAnimInteger.cs index cb4e8076..3429b326 100644 --- a/Assets/Fungus/Scripts/Commands/SetAnimInteger.cs +++ b/Assets/Fungus/Scripts/Commands/SetAnimInteger.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetAnimTrigger.cs b/Assets/Fungus/Scripts/Commands/SetAnimTrigger.cs index a3d190cc..c8c1e049 100644 --- a/Assets/Fungus/Scripts/Commands/SetAnimTrigger.cs +++ b/Assets/Fungus/Scripts/Commands/SetAnimTrigger.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetAudioPitch.cs b/Assets/Fungus/Scripts/Commands/SetAudioPitch.cs index 6053d27a..e13af16a 100644 --- a/Assets/Fungus/Scripts/Commands/SetAudioPitch.cs +++ b/Assets/Fungus/Scripts/Commands/SetAudioPitch.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetAudioVolume.cs b/Assets/Fungus/Scripts/Commands/SetAudioVolume.cs index be9c9d75..80a7362a 100644 --- a/Assets/Fungus/Scripts/Commands/SetAudioVolume.cs +++ b/Assets/Fungus/Scripts/Commands/SetAudioVolume.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetClickable2D.cs b/Assets/Fungus/Scripts/Commands/SetClickable2D.cs index 29a59de9..c63e4ec1 100644 --- a/Assets/Fungus/Scripts/Commands/SetClickable2D.cs +++ b/Assets/Fungus/Scripts/Commands/SetClickable2D.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetCollider.cs b/Assets/Fungus/Scripts/Commands/SetCollider.cs index 2cca14f8..d5a947db 100644 --- a/Assets/Fungus/Scripts/Commands/SetCollider.cs +++ b/Assets/Fungus/Scripts/Commands/SetCollider.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetDraggable2D.cs b/Assets/Fungus/Scripts/Commands/SetDraggable2D.cs index 3b8ac1ef..0f24ecde 100644 --- a/Assets/Fungus/Scripts/Commands/SetDraggable2D.cs +++ b/Assets/Fungus/Scripts/Commands/SetDraggable2D.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetInteractable.cs b/Assets/Fungus/Scripts/Commands/SetInteractable.cs index ea2d0912..d6680a41 100644 --- a/Assets/Fungus/Scripts/Commands/SetInteractable.cs +++ b/Assets/Fungus/Scripts/Commands/SetInteractable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetLanguage.cs b/Assets/Fungus/Scripts/Commands/SetLanguage.cs index 9efc8867..f1c069a0 100644 --- a/Assets/Fungus/Scripts/Commands/SetLanguage.cs +++ b/Assets/Fungus/Scripts/Commands/SetLanguage.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetLayerOrder.cs b/Assets/Fungus/Scripts/Commands/SetLayerOrder.cs index 4eb82244..9e4e312f 100644 --- a/Assets/Fungus/Scripts/Commands/SetLayerOrder.cs +++ b/Assets/Fungus/Scripts/Commands/SetLayerOrder.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetMenuDialog.cs b/Assets/Fungus/Scripts/Commands/SetMenuDialog.cs index 04ac2fc8..df5c1357 100644 --- a/Assets/Fungus/Scripts/Commands/SetMenuDialog.cs +++ b/Assets/Fungus/Scripts/Commands/SetMenuDialog.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetMouseCursor.cs b/Assets/Fungus/Scripts/Commands/SetMouseCursor.cs index cc75ff6f..bb67c57f 100644 --- a/Assets/Fungus/Scripts/Commands/SetMouseCursor.cs +++ b/Assets/Fungus/Scripts/Commands/SetMouseCursor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetSaveProfile.cs b/Assets/Fungus/Scripts/Commands/SetSaveProfile.cs index 2fa8f357..22552f84 100644 --- a/Assets/Fungus/Scripts/Commands/SetSaveProfile.cs +++ b/Assets/Fungus/Scripts/Commands/SetSaveProfile.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetSayDialog.cs b/Assets/Fungus/Scripts/Commands/SetSayDialog.cs index 57e6bf64..8297b2dd 100644 --- a/Assets/Fungus/Scripts/Commands/SetSayDialog.cs +++ b/Assets/Fungus/Scripts/Commands/SetSayDialog.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetSliderValue.cs b/Assets/Fungus/Scripts/Commands/SetSliderValue.cs index f80b06c9..a3e3d930 100644 --- a/Assets/Fungus/Scripts/Commands/SetSliderValue.cs +++ b/Assets/Fungus/Scripts/Commands/SetSliderValue.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetSprite.cs b/Assets/Fungus/Scripts/Commands/SetSprite.cs index 8a2d7cdd..1968fc9d 100644 --- a/Assets/Fungus/Scripts/Commands/SetSprite.cs +++ b/Assets/Fungus/Scripts/Commands/SetSprite.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // Snippet added by ducksonthewater, 2019-01-03 - www.ducks-on-the-water.com diff --git a/Assets/Fungus/Scripts/Commands/SetSpriteOrder.cs b/Assets/Fungus/Scripts/Commands/SetSpriteOrder.cs index fb811b6b..a233f4d0 100644 --- a/Assets/Fungus/Scripts/Commands/SetSpriteOrder.cs +++ b/Assets/Fungus/Scripts/Commands/SetSpriteOrder.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetText.cs b/Assets/Fungus/Scripts/Commands/SetText.cs index 500dd011..25918059 100644 --- a/Assets/Fungus/Scripts/Commands/SetText.cs +++ b/Assets/Fungus/Scripts/Commands/SetText.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetToggleState.cs b/Assets/Fungus/Scripts/Commands/SetToggleState.cs index d93a0262..361f9d40 100644 --- a/Assets/Fungus/Scripts/Commands/SetToggleState.cs +++ b/Assets/Fungus/Scripts/Commands/SetToggleState.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetUIImage.cs b/Assets/Fungus/Scripts/Commands/SetUIImage.cs index b30939e1..5a811bd2 100644 --- a/Assets/Fungus/Scripts/Commands/SetUIImage.cs +++ b/Assets/Fungus/Scripts/Commands/SetUIImage.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SetVariable.cs b/Assets/Fungus/Scripts/Commands/SetVariable.cs index 50ca8588..f9e7cfe5 100644 --- a/Assets/Fungus/Scripts/Commands/SetVariable.cs +++ b/Assets/Fungus/Scripts/Commands/SetVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -13,399 +13,219 @@ namespace Fungus "Set Variable", "Sets a Boolean, Integer, Float or String variable to a new value using a simple arithmetic operation. The value can be a constant or reference another variable of the same type.")] [AddComponentMenu("")] - public class SetVariable : Command + public class SetVariable : Command, ISerializationCallbackReceiver { - [Tooltip("The variable whos value will be set")] - [VariableProperty(typeof(BooleanVariable), - typeof(IntegerVariable), - typeof(FloatVariable), - typeof(StringVariable), - typeof(AnimatorVariable), - typeof(AudioSourceVariable), - typeof(ColorVariable), - typeof(GameObjectVariable), - typeof(MaterialVariable), - typeof(ObjectVariable), - typeof(Rigidbody2DVariable), - typeof(SpriteVariable), - typeof(TextureVariable), - typeof(TransformVariable), - typeof(Vector2Variable), - typeof(Vector3Variable))] - [SerializeField] protected Variable variable; - + [SerializeField] protected AnyVariableAndDataPair anyVar = new AnyVariableAndDataPair(); + [Tooltip("The type of math operation to be performed")] [SerializeField] protected SetOperator setOperator; + + protected virtual void DoSetOperation() + { + if (anyVar.variable == null) + { + return; + } + + anyVar.SetOp(setOperator); + } + + #region Public members - [Tooltip("Boolean value to set with")] + /// + /// The type of math operation to be performed. + /// + public virtual SetOperator _SetOperator { get { return setOperator; } } + + public override void OnEnter() + { + DoSetOperation(); + + Continue(); + } + + public override string GetSummary() + { + if (anyVar.variable == null) + { + return "Error: Variable not selected"; + } + + string description = anyVar.variable.Key; + description += " " + VariableUtil.GetSetOperatorDescription(setOperator) + " "; + description += anyVar.GetDataDescription(); + + + return description; + } + + public override bool HasReference(Variable variable) + { + return anyVar.HasReference(variable); + } + + public override Color GetButtonColor() + { + return new Color32(253, 253, 150, 255); + } + + #endregion + + #region backwards compat + + + [Tooltip("Variable to use in expression")] + [VariableProperty(AllVariableTypes.VariableAny.Any)] + [SerializeField] protected Variable variable; + + [Tooltip("Boolean value to compare against")] [SerializeField] protected BooleanData booleanData; - [Tooltip("Integer value to set with")] + [Tooltip("Integer value to compare against")] [SerializeField] protected IntegerData integerData; - [Tooltip("Float value to set with")] + [Tooltip("Float value to compare against")] [SerializeField] protected FloatData floatData; - [Tooltip("String value to set with")] + [Tooltip("String value to compare against")] [SerializeField] protected StringDataMulti stringData; - [Tooltip("Animator value to set with")] + [Tooltip("Animator value to compare against")] [SerializeField] protected AnimatorData animatorData; - [Tooltip("AudioSource value to set with")] + [Tooltip("AudioSource value to compare against")] [SerializeField] protected AudioSourceData audioSourceData; - [Tooltip("Color value to set with")] + [Tooltip("Color value to compare against")] [SerializeField] protected ColorData colorData; - [Tooltip("GameObject value to set with")] + [Tooltip("GameObject value to compare against")] [SerializeField] protected GameObjectData gameObjectData; - [Tooltip("Material value to set with")] + [Tooltip("Material value to compare against")] [SerializeField] protected MaterialData materialData; - [Tooltip("Object value to set with")] + [Tooltip("Object value to compare against")] [SerializeField] protected ObjectData objectData; - [Tooltip("Rigidbody2D value to set with")] + [Tooltip("Rigidbody2D value to compare against")] [SerializeField] protected Rigidbody2DData rigidbody2DData; - [Tooltip("Sprite value to set with")] + [Tooltip("Sprite value to compare against")] [SerializeField] protected SpriteData spriteData; - [Tooltip("Texture value to set with")] + [Tooltip("Texture value to compare against")] [SerializeField] protected TextureData textureData; - [Tooltip("Transform value to set with")] + [Tooltip("Transform value to compare against")] [SerializeField] protected TransformData transformData; - [Tooltip("Vector2 value to set with")] + [Tooltip("Vector2 value to compare against")] [SerializeField] protected Vector2Data vector2Data; - [Tooltip("Vector3 value to set with")] + [Tooltip("Vector3 value to compare against")] [SerializeField] protected Vector3Data vector3Data; - protected virtual void DoSetOperation() + public void OnBeforeSerialize() { - if (variable == null) - { - return; - } - - - var t = variable.GetType(); - - if (t == typeof(BooleanVariable)) - { - BooleanVariable booleanVariable = (variable as BooleanVariable); - booleanVariable.Apply(setOperator, booleanData.Value); - } - else if (t == typeof(IntegerVariable)) - { - IntegerVariable integerVariable = (variable as IntegerVariable); - integerVariable.Apply(setOperator, integerData.Value); - } - else if (t == typeof(FloatVariable)) - { - FloatVariable floatVariable = (variable as FloatVariable); - floatVariable.Apply(setOperator, floatData.Value); - } - else if (t == typeof(StringVariable)) - { - StringVariable stringVariable = (variable as StringVariable); - var flowchart = GetFlowchart(); - stringVariable.Apply(setOperator, flowchart.SubstituteVariables(stringData.Value)); - } - else if (t == typeof(AnimatorVariable)) - { - AnimatorVariable animatorVariable = (variable as AnimatorVariable); - animatorVariable.Apply(setOperator, animatorData.Value); - } - else if (t == typeof(AudioSourceVariable)) - { - AudioSourceVariable audioSourceVariable = (variable as AudioSourceVariable); - audioSourceVariable.Apply(setOperator, audioSourceData.Value); - } - else if (t == typeof(ColorVariable)) - { - ColorVariable colorVariable = (variable as ColorVariable); - colorVariable.Apply(setOperator, colorData.Value); - } - else if (t == typeof(GameObjectVariable)) - { - GameObjectVariable gameObjectVariable = (variable as GameObjectVariable); - gameObjectVariable.Apply(setOperator, gameObjectData.Value); - } - else if (t == typeof(MaterialVariable)) - { - MaterialVariable materialVariable = (variable as MaterialVariable); - materialVariable.Apply(setOperator, materialData.Value); - } - else if (t == typeof(ObjectVariable)) - { - ObjectVariable objectVariable = (variable as ObjectVariable); - objectVariable.Apply(setOperator, objectData.Value); - } - else if (t == typeof(Rigidbody2DVariable)) - { - Rigidbody2DVariable rigidbody2DVariable = (variable as Rigidbody2DVariable); - rigidbody2DVariable.Apply(setOperator, rigidbody2DData.Value); - } - else if (t == typeof(SpriteVariable)) - { - SpriteVariable spriteVariable = (variable as SpriteVariable); - spriteVariable.Apply(setOperator, spriteData.Value); - } - else if (t == typeof(TextureVariable)) - { - TextureVariable textureVariable = (variable as TextureVariable); - textureVariable.Apply(setOperator, textureData.Value); - } - else if (t == typeof(TransformVariable)) - { - TransformVariable transformVariable = (variable as TransformVariable); - transformVariable.Apply(setOperator, transformData.Value); - } - else if (t == typeof(Vector2Variable)) - { - Vector2Variable vector2Variable = (variable as Vector2Variable); - vector2Variable.Apply(setOperator, vector2Data.Value); - } - else if (t == typeof(Vector3Variable)) - { - Vector3Variable vector3Variable = (variable as Vector3Variable); - vector3Variable.Apply(setOperator, vector3Data.Value); - } - } - - #region Public members - - public static readonly Dictionary operatorsByVariableType = new Dictionary() { - { typeof(BooleanVariable), BooleanVariable.setOperators }, - { typeof(IntegerVariable), IntegerVariable.setOperators }, - { typeof(FloatVariable), FloatVariable.setOperators }, - { typeof(StringVariable), StringVariable.setOperators }, - { typeof(AnimatorVariable), AnimatorVariable.setOperators }, - { typeof(AudioSourceVariable), AudioSourceVariable.setOperators }, - { typeof(ColorVariable), ColorVariable.setOperators }, - { typeof(GameObjectVariable), GameObjectVariable.setOperators }, - { typeof(MaterialVariable), MaterialVariable.setOperators }, - { typeof(ObjectVariable), ObjectVariable.setOperators }, - { typeof(Rigidbody2DVariable), Rigidbody2DVariable.setOperators }, - { typeof(SpriteVariable), SpriteVariable.setOperators }, - { typeof(TextureVariable), TextureVariable.setOperators }, - { typeof(TransformVariable), TransformVariable.setOperators }, - { typeof(Vector2Variable), Vector2Variable.setOperators }, - { typeof(Vector3Variable), Vector3Variable.setOperators } - }; - - /// - /// The type of math operation to be performed. - /// - public virtual SetOperator _SetOperator { get { return setOperator; } } - - public override void OnEnter() - { - DoSetOperation(); - - Continue(); } - public override string GetSummary() + void ISerializationCallbackReceiver.OnAfterDeserialize() { if (variable == null) { - return "Error: Variable not selected"; - } - - string description = variable.Key; - - switch (setOperator) - { - default: - case SetOperator.Assign: - description += " = "; - break; - case SetOperator.Negate: - description += " =! "; - break; - case SetOperator.Add: - description += " += "; - break; - case SetOperator.Subtract: - description += " -= "; - break; - case SetOperator.Multiply: - description += " *= "; - break; - case SetOperator.Divide: - description += " /= "; - break; - } - - var t = variable.GetType(); - - if (t == typeof(BooleanVariable)) - { - description += booleanData.GetDescription(); - } - else if (t == typeof(IntegerVariable)) - { - description += integerData.GetDescription(); - } - else if (t == typeof(FloatVariable)) - { - description += floatData.GetDescription(); - } - else if (t == typeof(StringVariable)) - { - description += stringData.GetDescription(); - } - else if (t == typeof(AnimatorVariable)) - { - description += animatorData.GetDescription(); - } - else if (t == typeof(AudioSourceVariable)) - { - description += audioSourceData.GetDescription(); - } - else if (t == typeof(ColorVariable)) - { - description += colorData.GetDescription(); - } - else if (t == typeof(GameObjectVariable)) - { - description += gameObjectData.GetDescription(); - } - else if (t == typeof(MaterialVariable)) - { - description += materialData.GetDescription(); - } - else if (t == typeof(ObjectVariable)) - { - description += objectData.GetDescription(); - } - else if (t == typeof(Rigidbody2DVariable)) - { - description += rigidbody2DData.GetDescription(); - } - else if (t == typeof(SpriteVariable)) - { - description += spriteData.GetDescription(); - } - else if (t == typeof(TextureVariable)) - { - description += textureData.GetDescription(); - } - else if (t == typeof(TransformVariable)) - { - description += transformData.GetDescription(); - } - else if (t == typeof(Vector2Variable)) - { - description += vector2Data.GetDescription(); + return; } - else if (t == typeof(Vector3Variable)) + else { - description += vector3Data.GetDescription(); + anyVar.variable = variable; } - return description; - } - - public override bool HasReference(Variable variable) - { - bool retval = (variable == this.variable) || base.HasReference(variable); - - var t = variable.GetType(); - - //this is a nightmare - if (t == typeof(BooleanVariable)) + if (variable.GetType() == typeof(BooleanVariable) && !booleanData.Equals(new BooleanData())) { - retval |= booleanData.booleanRef == variable; + anyVar.data.booleanData = booleanData; + booleanData = new BooleanData(); } - else if (t == typeof(IntegerVariable)) + else if (variable.GetType() == typeof(IntegerVariable) && !integerData.Equals(new IntegerData())) { - retval |= integerData.integerRef == variable; + anyVar.data.integerData = integerData; + integerData = new IntegerData(); } - else if (t == typeof(FloatVariable)) + else if (variable.GetType() == typeof(FloatVariable) && !floatData.Equals(new FloatData())) { - retval |= floatData.floatRef == variable; + anyVar.data.floatData = floatData; + floatData = new FloatData(); } - else if (t == typeof(StringVariable)) + else if (variable.GetType() == typeof(StringVariable) && !stringData.Equals(new StringDataMulti())) { - retval |= stringData.stringRef == variable; + anyVar.data.stringData.stringRef = stringData.stringRef; + anyVar.data.stringData.stringVal = stringData.stringVal; + stringData = new StringDataMulti(); } - else if (t == typeof(AnimatorVariable)) + else if (variable.GetType() == typeof(AnimatorVariable) && !animatorData.Equals(new AnimatorData())) { - retval |= animatorData.animatorRef == variable; + anyVar.data.animatorData = animatorData; + animatorData = new AnimatorData(); } - else if (t == typeof(AudioSourceVariable)) + else if (variable.GetType() == typeof(AudioSourceVariable) && !audioSourceData.Equals(new AudioSourceData())) { - retval |= audioSourceData.audioSourceRef == variable; + anyVar.data.audioSourceData = audioSourceData; + audioSourceData = new AudioSourceData(); } - else if (t == typeof(ColorVariable)) + else if (variable.GetType() == typeof(ColorVariable) && !colorData.Equals(new ColorData())) { - retval |= colorData.colorRef == variable; + anyVar.data.colorData = colorData; + colorData = new ColorData(); } - else if (t == typeof(GameObjectVariable)) + else if (variable.GetType() == typeof(GameObjectVariable) && !gameObjectData.Equals(new GameObjectData())) { - retval |= gameObjectData.gameObjectRef == variable; + anyVar.data.gameObjectData = gameObjectData; + gameObjectData = new GameObjectData(); } - else if (t == typeof(MaterialVariable)) + else if (variable.GetType() == typeof(MaterialVariable) && !materialData.Equals(new MaterialData())) { - retval |= materialData.materialRef == variable; + anyVar.data.materialData = materialData; + materialData = new MaterialData(); } - else if (t == typeof(ObjectVariable)) + else if (variable.GetType() == typeof(ObjectVariable) && !objectData.Equals(new ObjectData())) { - retval |= objectData.objectRef == variable; + anyVar.data.objectData = objectData; + objectData = new ObjectData(); } - else if (t == typeof(Rigidbody2DVariable)) + else if (variable.GetType() == typeof(Rigidbody2DVariable) && !rigidbody2DData.Equals(new Rigidbody2DData())) { - retval |= rigidbody2DData.rigidbody2DRef == variable; + anyVar.data.rigidbody2DData = rigidbody2DData; + rigidbody2DData = new Rigidbody2DData(); } - else if (t == typeof(SpriteVariable)) + else if (variable.GetType() == typeof(SpriteVariable) && !spriteData.Equals(new SpriteData())) { - retval |= spriteData.spriteRef == variable; + anyVar.data.spriteData = spriteData; + spriteData = new SpriteData(); } - else if (t == typeof(TextureVariable)) + else if (variable.GetType() == typeof(TextureVariable) && !textureData.Equals(new TextureData())) { - retval |= textureData.textureRef == variable; + anyVar.data.textureData = textureData; + textureData = new TextureData(); } - else if (t == typeof(TransformVariable)) + else if (variable.GetType() == typeof(TransformVariable) && !transformData.Equals(new TransformData())) { - retval |= transformData.transformRef == variable; + anyVar.data.transformData = transformData; + transformData = new TransformData(); } - else if (t == typeof(Vector2Variable)) + else if (variable.GetType() == typeof(Vector2Variable) && !vector2Data.Equals(new Vector2Data())) { - retval |= vector2Data.vector2Ref == variable; + anyVar.data.vector2Data = vector2Data; + vector2Data = new Vector2Data(); } - else if (t == typeof(Vector3Variable)) + else if (variable.GetType() == typeof(Vector3Variable) && !vector3Data.Equals(new Vector3Data())) { - retval |= vector3Data.vector3Ref == variable; + anyVar.data.vector3Data = vector3Data; + vector3Data = new Vector3Data(); } - return retval; - } - - public override Color GetButtonColor() - { - return new Color32(253, 253, 150, 255); + //now converted to new AnyVar storage, remove the legacy. + variable = null; } - #endregion - - #region Editor caches -#if UNITY_EDITOR - protected override void RefreshVariableCache() - { - base.RefreshVariableCache(); - - var f = GetFlowchart(); - - f.DetermineSubstituteVariables(stringData.Value, referencedVariables); - } -#endif - #endregion Editor caches } } diff --git a/Assets/Fungus/Scripts/Commands/ShakeCamera.cs b/Assets/Fungus/Scripts/Commands/ShakeCamera.cs index e64249a9..aca845b2 100644 --- a/Assets/Fungus/Scripts/Commands/ShakeCamera.cs +++ b/Assets/Fungus/Scripts/Commands/ShakeCamera.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ShakePosition.cs b/Assets/Fungus/Scripts/Commands/ShakePosition.cs index 2388a0b2..86a1c480 100644 --- a/Assets/Fungus/Scripts/Commands/ShakePosition.cs +++ b/Assets/Fungus/Scripts/Commands/ShakePosition.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ShakeRotation.cs b/Assets/Fungus/Scripts/Commands/ShakeRotation.cs index ab30c1d8..a5982cd3 100644 --- a/Assets/Fungus/Scripts/Commands/ShakeRotation.cs +++ b/Assets/Fungus/Scripts/Commands/ShakeRotation.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ShakeScale.cs b/Assets/Fungus/Scripts/Commands/ShakeScale.cs index c2c0ffca..5bb96b8a 100644 --- a/Assets/Fungus/Scripts/Commands/ShakeScale.cs +++ b/Assets/Fungus/Scripts/Commands/ShakeScale.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ShowSprite.cs b/Assets/Fungus/Scripts/Commands/ShowSprite.cs index ea454a50..ce4b032c 100644 --- a/Assets/Fungus/Scripts/Commands/ShowSprite.cs +++ b/Assets/Fungus/Scripts/Commands/ShowSprite.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/SpawnObject.cs b/Assets/Fungus/Scripts/Commands/SpawnObject.cs index 34954d52..7bff6e20 100644 --- a/Assets/Fungus/Scripts/Commands/SpawnObject.cs +++ b/Assets/Fungus/Scripts/Commands/SpawnObject.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/StartSwipe.cs b/Assets/Fungus/Scripts/Commands/StartSwipe.cs index d20b52f3..23281cf0 100644 --- a/Assets/Fungus/Scripts/Commands/StartSwipe.cs +++ b/Assets/Fungus/Scripts/Commands/StartSwipe.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Stop.cs b/Assets/Fungus/Scripts/Commands/Stop.cs index 3dc485b9..02b6cb1f 100644 --- a/Assets/Fungus/Scripts/Commands/Stop.cs +++ b/Assets/Fungus/Scripts/Commands/Stop.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/StopAmbiance.cs b/Assets/Fungus/Scripts/Commands/StopAmbiance.cs index b3130c06..8aaa4a27 100644 --- a/Assets/Fungus/Scripts/Commands/StopAmbiance.cs +++ b/Assets/Fungus/Scripts/Commands/StopAmbiance.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/StopBlock.cs b/Assets/Fungus/Scripts/Commands/StopBlock.cs index e226fc8f..7cb31a4c 100644 --- a/Assets/Fungus/Scripts/Commands/StopBlock.cs +++ b/Assets/Fungus/Scripts/Commands/StopBlock.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/StopFlowchart.cs b/Assets/Fungus/Scripts/Commands/StopFlowchart.cs index d439796f..d28b71ca 100644 --- a/Assets/Fungus/Scripts/Commands/StopFlowchart.cs +++ b/Assets/Fungus/Scripts/Commands/StopFlowchart.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/StopMusic.cs b/Assets/Fungus/Scripts/Commands/StopMusic.cs index 548fd091..fea8a836 100644 --- a/Assets/Fungus/Scripts/Commands/StopMusic.cs +++ b/Assets/Fungus/Scripts/Commands/StopMusic.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/StopSwipe.cs b/Assets/Fungus/Scripts/Commands/StopSwipe.cs index 534dcf5b..02012445 100644 --- a/Assets/Fungus/Scripts/Commands/StopSwipe.cs +++ b/Assets/Fungus/Scripts/Commands/StopSwipe.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/StopTween.cs b/Assets/Fungus/Scripts/Commands/StopTween.cs index f1cd8d11..431c2fd7 100644 --- a/Assets/Fungus/Scripts/Commands/StopTween.cs +++ b/Assets/Fungus/Scripts/Commands/StopTween.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/StopTweens.cs b/Assets/Fungus/Scripts/Commands/StopTweens.cs index 3e2bfb17..4615ddcd 100644 --- a/Assets/Fungus/Scripts/Commands/StopTweens.cs +++ b/Assets/Fungus/Scripts/Commands/StopTweens.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/ThrowException.cs b/Assets/Fungus/Scripts/Commands/ThrowException.cs new file mode 100644 index 00000000..6d78b8e1 --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/ThrowException.cs @@ -0,0 +1,59 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + [System.Serializable] + public class FungusException : System.Exception + { + public FungusException() + { + } + + public FungusException(string message) : base(message) + { + } + + public FungusException(string message, System.Exception inner) : base(message, inner) + { + } + + protected FungusException( + System.Runtime.Serialization.SerializationInfo info, + System.Runtime.Serialization.StreamingContext context) : base(info, context) { } + } + + /// + /// Throw a Fungus.Exception + /// + [CommandInfo("Scripting", + "Throw Exception", + "Throw a fungus exception")] + [AddComponentMenu("")] + public class ThrowException : Command + { + [SerializeField] + protected StringData message; + + public override void OnEnter() + { + throw new FungusException(GetLocationIdentifier() + " " + message.Value); + +#pragma warning disable CS0162 // Unreachable code detected + Continue(); +#pragma warning restore CS0162 // Unreachable code detected + } + + public override string GetSummary() + { + return message.Value; + } + + public override bool HasReference(Variable variable) + { + return variable == message.stringRef || base.HasReference(variable); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/ThrowException.cs.meta b/Assets/Fungus/Scripts/Commands/ThrowException.cs.meta new file mode 100644 index 00000000..4fc1e5af --- /dev/null +++ b/Assets/Fungus/Scripts/Commands/ThrowException.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8d1a861c2b31cf8488fd9d576d533474 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Commands/ToString.cs b/Assets/Fungus/Scripts/Commands/ToString.cs index 653a4e7a..60e6dfa8 100644 --- a/Assets/Fungus/Scripts/Commands/ToString.cs +++ b/Assets/Fungus/Scripts/Commands/ToString.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/TweenUI.cs b/Assets/Fungus/Scripts/Commands/TweenUI.cs index 1a7e62f0..401f5235 100644 --- a/Assets/Fungus/Scripts/Commands/TweenUI.cs +++ b/Assets/Fungus/Scripts/Commands/TweenUI.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/VariableCondition.cs b/Assets/Fungus/Scripts/Commands/VariableCondition.cs index a1ab567a..bf0f64f2 100644 --- a/Assets/Fungus/Scripts/Commands/VariableCondition.cs +++ b/Assets/Fungus/Scripts/Commands/VariableCondition.cs @@ -1,33 +1,159 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) -using UnityEngine; using System.Collections.Generic; +using System.Text; +using UnityEngine; namespace Fungus { - public abstract class VariableCondition : Condition + /// + /// class for a single condition. A list of this is used for multiple conditions. + /// + [System.Serializable] + public class ConditionExpression { - [Tooltip("The type of comparison to be performed")] [SerializeField] protected CompareOperator compareOperator; + [SerializeField] protected AnyVariableAndDataPair anyVar; + + public virtual AnyVariableAndDataPair AnyVar { get { return anyVar; } } + public virtual CompareOperator CompareOperator { get { return compareOperator; } } + + public ConditionExpression() + { + } + + public ConditionExpression(CompareOperator op, AnyVariableAndDataPair variablePair) + { + compareOperator = op; + anyVar = variablePair; + } + } + + public abstract class VariableCondition : Condition, ISerializationCallbackReceiver + { + public enum AnyOrAll + { + AnyOf_OR,//Use as a chain of ORs + AllOf_AND,//Use as a chain of ANDs + } + + [Tooltip("Selecting AnyOf will result in true if at least one of the conditions is true. Selecting AllOF will result in true only when all the conditions are true.")] + [SerializeField] protected AnyOrAll anyOrAllConditions; + + [SerializeField] protected List conditions = new List(); + + /// + /// Called when the script is loaded or a value is changed in the + /// inspector (Called in the editor only). + /// + public override void OnValidate() + { + base.OnValidate(); + + if (conditions == null) + { + conditions = new List(); + } + + if (conditions.Count == 0) + { + conditions.Add(new ConditionExpression()); + } + } + + protected override bool EvaluateCondition() + { + if (conditions == null || conditions.Count == 0) + { + return false; + } + + bool resultAny = false, resultAll = true; + foreach (ConditionExpression condition in conditions) + { + bool curResult = false; + if (condition.AnyVar == null) + { + resultAll &= curResult; + resultAny |= curResult; + continue; + } + condition.AnyVar.Compare(condition.CompareOperator, ref curResult); + resultAll &= curResult; + resultAny |= curResult; + } + + if (anyOrAllConditions == AnyOrAll.AnyOf_OR) return resultAny; + + return resultAll; + } + + protected override bool HasNeededProperties() + { + if (conditions == null || conditions.Count == 0) + { + return false; + } + + foreach (ConditionExpression condition in conditions) + { + if (condition.AnyVar == null || condition.AnyVar.variable == null) + { + return false; + } + } + return true; + } + + public override string GetSummary() + { + if (!this.HasNeededProperties()) + { + return "Error: No variable selected"; + } + + string connector = ""; + if (anyOrAllConditions == AnyOrAll.AnyOf_OR) + { + connector = " OR "; + } + else + { + connector = " AND "; + } + + StringBuilder summary = new StringBuilder(""); + for (int i = 0; i < conditions.Count; i++) + { + summary.Append(conditions[i].AnyVar.variable.Key + " " + + VariableUtil.GetCompareOperatorDescription(conditions[i].CompareOperator) + " " + + conditions[i].AnyVar.GetDataDescription()); + + if (i < conditions.Count - 1) + { + summary.Append(connector); + } + } + return summary.ToString(); + } + + public override bool HasReference(Variable variable) + { + return anyVar.HasReference(variable); + } + + + #region backwards compat + + [HideInInspector] + [SerializeField] protected CompareOperator compareOperator; + + [HideInInspector] + [SerializeField] protected AnyVariableAndDataPair anyVar; [Tooltip("Variable to use in expression")] - [VariableProperty(typeof(BooleanVariable), - typeof(IntegerVariable), - typeof(FloatVariable), - typeof(StringVariable), - typeof(AnimatorVariable), - typeof(AudioSourceVariable), - typeof(ColorVariable), - typeof(GameObjectVariable), - typeof(MaterialVariable), - typeof(ObjectVariable), - typeof(Rigidbody2DVariable), - typeof(SpriteVariable), - typeof(TextureVariable), - typeof(TransformVariable), - typeof(Vector2Variable), - typeof(Vector3Variable))] + [VariableProperty(AllVariableTypes.VariableAny.Any)] [SerializeField] protected Variable variable; [Tooltip("Boolean value to compare against")] @@ -78,292 +204,117 @@ namespace Fungus [Tooltip("Vector3 value to compare against")] [SerializeField] protected Vector3Data vector3Data; - protected override bool EvaluateCondition() - { - if (variable == null) - { - return false; - } - - bool condition = false; - - var t = variable.GetType(); - - if (t == typeof(BooleanVariable)) - { - BooleanVariable booleanVariable = (variable as BooleanVariable); - condition = booleanVariable.Evaluate(compareOperator, booleanData.Value); - } - else if (t == typeof(IntegerVariable)) - { - IntegerVariable integerVariable = (variable as IntegerVariable); - condition = integerVariable.Evaluate(compareOperator, integerData.Value); - } - else if (t == typeof(FloatVariable)) - { - FloatVariable floatVariable = (variable as FloatVariable); - condition = floatVariable.Evaluate(compareOperator, floatData.Value); - } - else if (t == typeof(StringVariable)) - { - StringVariable stringVariable = (variable as StringVariable); - condition = stringVariable.Evaluate(compareOperator, stringData.Value); - } - else if (t == typeof(AnimatorVariable)) - { - AnimatorVariable animatorVariable = (variable as AnimatorVariable); - condition = animatorVariable.Evaluate(compareOperator, animatorData.Value); - } - else if (t == typeof(AudioSourceVariable)) - { - AudioSourceVariable audioSourceVariable = (variable as AudioSourceVariable); - condition = audioSourceVariable.Evaluate(compareOperator, audioSourceData.Value); - } - else if (t == typeof(ColorVariable)) - { - ColorVariable colorVariable = (variable as ColorVariable); - condition = colorVariable.Evaluate(compareOperator, colorData.Value); - } - else if (t == typeof(GameObjectVariable)) - { - GameObjectVariable gameObjectVariable = (variable as GameObjectVariable); - condition = gameObjectVariable.Evaluate(compareOperator, gameObjectData.Value); - } - else if (t == typeof(MaterialVariable)) - { - MaterialVariable materialVariable = (variable as MaterialVariable); - condition = materialVariable.Evaluate(compareOperator, materialData.Value); - } - else if (t == typeof(ObjectVariable)) - { - ObjectVariable objectVariable = (variable as ObjectVariable); - condition = objectVariable.Evaluate(compareOperator, objectData.Value); - } - else if (t == typeof(Rigidbody2DVariable)) - { - Rigidbody2DVariable rigidbody2DVariable = (variable as Rigidbody2DVariable); - condition = rigidbody2DVariable.Evaluate(compareOperator, rigidbody2DData.Value); - } - else if (t == typeof(SpriteVariable)) - { - SpriteVariable spriteVariable = (variable as SpriteVariable); - condition = spriteVariable.Evaluate(compareOperator, spriteData.Value); - } - else if (t == typeof(TextureVariable)) - { - TextureVariable textureVariable = (variable as TextureVariable); - condition = textureVariable.Evaluate(compareOperator, textureData.Value); - } - else if (t == typeof(TransformVariable)) - { - TransformVariable transformVariable = (variable as TransformVariable); - condition = transformVariable.Evaluate(compareOperator, transformData.Value); - } - else if (t == typeof(Vector2Variable)) - { - Vector2Variable vector2Variable = (variable as Vector2Variable); - condition = vector2Variable.Evaluate(compareOperator, vector2Data.Value); - } - else if (t == typeof(Vector3Variable)) - { - Vector3Variable vector3Variable = (variable as Vector3Variable); - condition = vector3Variable.Evaluate(compareOperator, vector3Data.Value); - } - - return condition; - } - - protected override bool HasNeededProperties() + void ISerializationCallbackReceiver.OnBeforeSerialize() { - return (variable != null); } - #region Public members - - public static readonly Dictionary operatorsByVariableType = new Dictionary() { - { typeof(BooleanVariable), BooleanVariable.compareOperators }, - { typeof(IntegerVariable), IntegerVariable.compareOperators }, - { typeof(FloatVariable), FloatVariable.compareOperators }, - { typeof(StringVariable), StringVariable.compareOperators }, - { typeof(AnimatorVariable), AnimatorVariable.compareOperators }, - { typeof(AudioSourceVariable), AudioSourceVariable.compareOperators }, - { typeof(ColorVariable), ColorVariable.compareOperators }, - { typeof(GameObjectVariable), GameObjectVariable.compareOperators }, - { typeof(MaterialVariable), MaterialVariable.compareOperators }, - { typeof(ObjectVariable), ObjectVariable.compareOperators }, - { typeof(Rigidbody2DVariable), Rigidbody2DVariable.compareOperators }, - { typeof(SpriteVariable), SpriteVariable.compareOperators }, - { typeof(TextureVariable), TextureVariable.compareOperators }, - { typeof(TransformVariable), TransformVariable.compareOperators }, - { typeof(Vector2Variable), Vector2Variable.compareOperators }, - { typeof(Vector3Variable), Vector3Variable.compareOperators } - }; - - /// - /// The type of comparison operation to be performed. - /// - public virtual CompareOperator _CompareOperator { get { return compareOperator; } } - - public override string GetSummary() + void ISerializationCallbackReceiver.OnAfterDeserialize() { - if (variable == null) - { - return "Error: No variable selected"; + if (variable != null) + { + anyVar.variable = variable; + + if (variable.GetType() == typeof(BooleanVariable) && !booleanData.Equals(new BooleanData())) + { + anyVar.data.booleanData = booleanData; + booleanData = new BooleanData(); + } + else if (variable.GetType() == typeof(IntegerVariable) && !integerData.Equals(new IntegerData())) + { + anyVar.data.integerData = integerData; + integerData = new IntegerData(); + } + else if (variable.GetType() == typeof(FloatVariable) && !floatData.Equals(new FloatData())) + { + anyVar.data.floatData = floatData; + floatData = new FloatData(); + } + else if (variable.GetType() == typeof(StringVariable) && !stringData.Equals(new StringDataMulti())) + { + anyVar.data.stringData.stringRef = stringData.stringRef; + anyVar.data.stringData.stringVal = stringData.stringVal; + stringData = new StringDataMulti(); + } + else if (variable.GetType() == typeof(AnimatorVariable) && !animatorData.Equals(new AnimatorData())) + { + anyVar.data.animatorData = animatorData; + animatorData = new AnimatorData(); + } + else if (variable.GetType() == typeof(AudioSourceVariable) && !audioSourceData.Equals(new AudioSourceData())) + { + anyVar.data.audioSourceData = audioSourceData; + audioSourceData = new AudioSourceData(); + } + else if (variable.GetType() == typeof(ColorVariable) && !colorData.Equals(new ColorData())) + { + anyVar.data.colorData = colorData; + colorData = new ColorData(); + } + else if (variable.GetType() == typeof(GameObjectVariable) && !gameObjectData.Equals(new GameObjectData())) + { + anyVar.data.gameObjectData = gameObjectData; + gameObjectData = new GameObjectData(); + } + else if (variable.GetType() == typeof(MaterialVariable) && !materialData.Equals(new MaterialData())) + { + anyVar.data.materialData = materialData; + materialData = new MaterialData(); + } + else if (variable.GetType() == typeof(ObjectVariable) && !objectData.Equals(new ObjectData())) + { + anyVar.data.objectData = objectData; + objectData = new ObjectData(); + } + else if (variable.GetType() == typeof(Rigidbody2DVariable) && !rigidbody2DData.Equals(new Rigidbody2DData())) + { + anyVar.data.rigidbody2DData = rigidbody2DData; + rigidbody2DData = new Rigidbody2DData(); + } + else if (variable.GetType() == typeof(SpriteVariable) && !spriteData.Equals(new SpriteData())) + { + anyVar.data.spriteData = spriteData; + spriteData = new SpriteData(); + } + else if (variable.GetType() == typeof(TextureVariable) && !textureData.Equals(new TextureData())) + { + anyVar.data.textureData = textureData; + textureData = new TextureData(); + } + else if (variable.GetType() == typeof(TransformVariable) && !transformData.Equals(new TransformData())) + { + anyVar.data.transformData = transformData; + transformData = new TransformData(); + } + else if (variable.GetType() == typeof(Vector2Variable) && !vector2Data.Equals(new Vector2Data())) + { + anyVar.data.vector2Data = vector2Data; + vector2Data = new Vector2Data(); + } + else if (variable.GetType() == typeof(Vector3Variable) && !vector3Data.Equals(new Vector3Data())) + { + anyVar.data.vector3Data = vector3Data; + vector3Data = new Vector3Data(); + } + + //moved to new anyvar storage, clear legacy. + variable = null; + } + + // just checking for anyVar != null fails here. is any var being reintilaized somewhere? + + if (anyVar != null && anyVar.variable != null) + { + ConditionExpression c = new ConditionExpression(compareOperator, anyVar); + if (!conditions.Contains(c)) + { + conditions.Add(c); + } + + anyVar = null; + variable = null; } - - var t = variable.GetType(); - - string summary = variable.Key + " "; - summary += Condition.GetOperatorDescription(compareOperator) + " "; - - if (t == typeof(BooleanVariable)) - { - summary += booleanData.GetDescription(); - } - else if (t == typeof(IntegerVariable)) - { - summary += integerData.GetDescription(); - } - else if (t == typeof(FloatVariable)) - { - summary += floatData.GetDescription(); - } - else if (t == typeof(StringVariable)) - { - summary += stringData.GetDescription(); - } - else if (t == typeof(AnimatorVariable)) - { - summary += animatorData.GetDescription(); - } - else if (t == typeof(AudioSourceVariable)) - { - summary += audioSourceData.GetDescription(); - } - else if (t == typeof(ColorVariable)) - { - summary += colorData.GetDescription(); - } - else if (t == typeof(GameObjectVariable)) - { - summary += gameObjectData.GetDescription(); - } - else if (t == typeof(MaterialVariable)) - { - summary += materialData.GetDescription(); - } - else if (t == typeof(ObjectVariable)) - { - summary += objectData.GetDescription(); - } - else if (t == typeof(Rigidbody2DVariable)) - { - summary += rigidbody2DData.GetDescription(); - } - else if (t == typeof(SpriteVariable)) - { - summary += spriteData.GetDescription(); - } - else if (t == typeof(TextureVariable)) - { - summary += textureData.GetDescription(); - } - else if (t == typeof(TransformVariable)) - { - summary += transformData.GetDescription(); - } - else if (t == typeof(Vector2Variable)) - { - summary += vector2Data.GetDescription(); - } - else if (t == typeof(Vector3Variable)) - { - summary += vector3Data.GetDescription(); - } - - return summary; - } - - public override bool HasReference(Variable variable) - { - bool retval = (variable == this.variable) || base.HasReference(variable); - - var t = variable.GetType(); - - //this is a nightmare - if (t == typeof(BooleanVariable)) - { - retval |= booleanData.booleanRef == variable; - } - else if (t == typeof(IntegerVariable)) - { - retval |= integerData.integerRef == variable; - } - else if (t == typeof(FloatVariable)) - { - retval |= floatData.floatRef == variable; - } - else if (t == typeof(StringVariable)) - { - retval |= stringData.stringRef == variable; - } - else if (t == typeof(AnimatorVariable)) - { - retval |= animatorData.animatorRef == variable; - } - else if (t == typeof(AudioSourceVariable)) - { - retval |= audioSourceData.audioSourceRef == variable; - } - else if (t == typeof(ColorVariable)) - { - retval |= colorData.colorRef == variable; - } - else if (t == typeof(GameObjectVariable)) - { - retval |= gameObjectData.gameObjectRef == variable; - } - else if (t == typeof(MaterialVariable)) - { - retval |= materialData.materialRef == variable; - } - else if (t == typeof(ObjectVariable)) - { - retval |= objectData.objectRef == variable; - } - else if (t == typeof(Rigidbody2DVariable)) - { - retval |= rigidbody2DData.rigidbody2DRef == variable; - } - else if (t == typeof(SpriteVariable)) - { - retval |= spriteData.spriteRef == variable; - } - else if (t == typeof(TextureVariable)) - { - retval |= textureData.textureRef == variable; - } - else if (t == typeof(TransformVariable)) - { - retval |= transformData.transformRef == variable; - } - else if (t == typeof(Vector2Variable)) - { - retval |= vector2Data.vector2Ref == variable; - } - else if (t == typeof(Vector3Variable)) - { - retval |= vector3Data.vector3Ref == variable; - } - - return retval; - } - - public override Color GetButtonColor() - { - return new Color32(253, 253, 150, 255); } - #endregion + #endregion backwards compat } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Arithmetic.cs b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Arithmetic.cs index fe53a530..748002b4 100644 --- a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Arithmetic.cs +++ b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Arithmetic.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Fields.cs b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Fields.cs index baafe67f..31db3c9d 100644 --- a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Fields.cs +++ b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Fields.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Normalise.cs b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Normalise.cs index f4323e49..344c3ccd 100644 --- a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Normalise.cs +++ b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Normalise.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Vector3/Vector3ToVector2.cs b/Assets/Fungus/Scripts/Commands/Vector3/Vector3ToVector2.cs index 9f08b761..e29a7698 100644 --- a/Assets/Fungus/Scripts/Commands/Vector3/Vector3ToVector2.cs +++ b/Assets/Fungus/Scripts/Commands/Vector3/Vector3ToVector2.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/Wait.cs b/Assets/Fungus/Scripts/Commands/Wait.cs index 5c506688..a1d15539 100644 --- a/Assets/Fungus/Scripts/Commands/Wait.cs +++ b/Assets/Fungus/Scripts/Commands/Wait.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/WaitFrames.cs b/Assets/Fungus/Scripts/Commands/WaitFrames.cs index 5d041945..2a01089b 100644 --- a/Assets/Fungus/Scripts/Commands/WaitFrames.cs +++ b/Assets/Fungus/Scripts/Commands/WaitFrames.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/While.cs b/Assets/Fungus/Scripts/Commands/While.cs index 9e4f696c..6f9c6130 100644 --- a/Assets/Fungus/Scripts/Commands/While.cs +++ b/Assets/Fungus/Scripts/Commands/While.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -16,50 +16,7 @@ namespace Fungus { #region Public members - public override void OnEnter() - { - bool execute = true; - if (variable != null) - { - execute = EvaluateCondition(); - } - - // Find next End statement at same indent level - End endCommand = null; - for (int i = CommandIndex + 1; i < ParentBlock.CommandList.Count; ++i) - { - End command = ParentBlock.CommandList[i] as End; - - if (command != null && - command.IndentLevel == indentLevel) - { - endCommand = command; - break; - } - } - - if (execute) - { - // Tell the following end command to loop back - endCommand.Loop = true; - Continue(); - } - else - { - // Continue at next command after End - Continue (endCommand.CommandIndex + 1); - } - } - - public override bool OpenBlock() - { - return true; - } - - public override Color GetButtonColor() - { - return new Color32(253, 253, 150, 255); - } + public override bool IsLooping { get { return true; } } #endregion } diff --git a/Assets/Fungus/Scripts/Commands/Write.cs b/Assets/Fungus/Scripts/Commands/Write.cs index 34ff445e..afd483fe 100644 --- a/Assets/Fungus/Scripts/Commands/Write.cs +++ b/Assets/Fungus/Scripts/Commands/Write.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Commands/iTweenCommand.cs b/Assets/Fungus/Scripts/Commands/iTweenCommand.cs index b118b303..00b34afe 100644 --- a/Assets/Fungus/Scripts/Commands/iTweenCommand.cs +++ b/Assets/Fungus/Scripts/Commands/iTweenCommand.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/Block.cs b/Assets/Fungus/Scripts/Components/Block.cs index 2156f2fc..f727cf09 100644 --- a/Assets/Fungus/Scripts/Components/Block.cs +++ b/Assets/Fungus/Scripts/Components/Block.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -55,6 +55,8 @@ namespace Fungus /// protected int previousActiveCommandIndex = -1; + public int PreviousActiveCommandIndex { get { return previousActiveCommandIndex; } } + protected int jumpToCommandIndex = -1; protected int executionCount; @@ -124,7 +126,8 @@ namespace Fungus #endif //editor only state for speeding up flowchart window drawing public bool IsSelected { get; set; } //local cache of selectedness - public bool IsFiltered { get; set; } //local cache of filteredness + public enum FilteredState { Full, Partial, None} + public FilteredState FilterState { get; set; } //local cache of filteredness public bool IsControlSelected { get; set; } //local cache of being part of the control exclusion group #region Public members @@ -373,6 +376,12 @@ namespace Fungus public virtual List GetConnectedBlocks() { var connectedBlocks = new List(); + GetConnectedBlocks(ref connectedBlocks); + return connectedBlocks; + } + + public virtual void GetConnectedBlocks(ref List connectedBlocks) + { for (int i = 0; i < commandList.Count; i++) { var command = commandList[i]; @@ -381,7 +390,6 @@ namespace Fungus command.GetConnectedBlocks(ref connectedBlocks); } } - return connectedBlocks; } /// @@ -410,6 +418,17 @@ namespace Fungus return -1; } + public virtual Command GetPreviousActiveCommand() + { + if (previousActiveCommandIndex >= 0 && + previousActiveCommandIndex < commandList.Count) + { + return commandList[previousActiveCommandIndex]; + } + + return null; + } + /// /// Recalculate the indent levels for all commands in the list. /// diff --git a/Assets/Fungus/Scripts/Components/CameraManager.cs b/Assets/Fungus/Scripts/Components/CameraManager.cs index 0d51528e..30467e64 100644 --- a/Assets/Fungus/Scripts/Components/CameraManager.cs +++ b/Assets/Fungus/Scripts/Components/CameraManager.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -43,8 +43,7 @@ namespace Fungus protected Vector3 previousMousePos; //Coroutine handles for panning and fading commands - protected IEnumerator panCoroutine; - protected IEnumerator fadeCoroutine; + protected LTDescr fadeTween, sizeTween, camPosTween, camRotTween; protected class CameraView { @@ -89,122 +88,6 @@ namespace Fungus } } - protected virtual IEnumerator FadeInternal(float targetAlpha, float fadeDuration, Action fadeAction) - { - float startAlpha = fadeAlpha; - float timer = 0; - - // If already at the target alpha then complete immediately - if (Mathf.Approximately(startAlpha, targetAlpha)) - { - yield return null; - } - else - { - while (timer < fadeDuration) - { - float t = timer / fadeDuration; - timer += Time.deltaTime; - - t = Mathf.Clamp01(t); - - fadeAlpha = Mathf.Lerp(startAlpha, targetAlpha, t); - yield return null; - } - } - - fadeAlpha = targetAlpha; - - if (fadeAction != null) - { - fadeAction(); - } - } - - protected virtual IEnumerator PanInternal(Camera camera, Vector3 targetPos, Quaternion targetRot, float targetSize, float duration, Action arriveAction) - { - if (camera == null) - { - Debug.LogWarning("Camera is null"); - yield break; - } - - float timer = 0; - float startSize = camera.orthographicSize; - float endSize = targetSize; - Vector3 startPos = camera.transform.position; - Vector3 endPos = targetPos; - Quaternion startRot = camera.transform.rotation; - Quaternion endRot = targetRot; - - bool arrived = false; - while (!arrived) - { - timer += Time.deltaTime; - if (timer > duration) - { - arrived = true; - timer = duration; - } - - // Apply smoothed lerp to camera position and orthographic size - float t = 1f; - if (duration > 0f) - { - t = timer / duration; - } - - if (camera != null) - { - camera.orthographicSize = Mathf.Lerp(startSize, endSize, Mathf.SmoothStep(0f, 1f, t)); - camera.transform.position = Vector3.Lerp(startPos, endPos, Mathf.SmoothStep(0f, 1f, t)); - camera.transform.rotation = Quaternion.Lerp(startRot, endRot, Mathf.SmoothStep(0f, 1f, t)); - - SetCameraZ(camera); - } - - if (arrived && - arriveAction != null) - { - arriveAction(); - } - - yield return null; - } - } - - protected virtual IEnumerator PanToPathInternal(Camera camera, float duration, Action arriveAction, Vector3[] path) - { - if (camera == null) - { - Debug.LogWarning("Camera is null"); - yield break; - } - - float timer = 0; - - while (timer < duration) - { - timer += Time.deltaTime; - timer = Mathf.Min(timer, duration); - float percent = timer / duration; - - Vector3 point = iTween.PointOnPath(path, percent); - - camera.transform.position = new Vector3(point.x, point.y, 0); - camera.orthographicSize = point.z; - - SetCameraZ(camera); - - yield return null; - } - - if (arriveAction != null) - { - arriveAction(); - } - } - protected virtual void SetCameraZ(Camera camera) { if (!setCameraZ) @@ -303,41 +186,7 @@ namespace Fungus } #region Public members - - /// - /// Moves camera smoothly through a sequence of Views over a period of time. - /// - public virtual void PanToPath(Camera camera, View[] viewList, float duration, Action arriveAction) - { - if (camera == null) - { - Debug.LogWarning("Camera is null"); - return; - } - - swipePanActive = false; - - List pathList = new List(); - - // Add current camera position as first point in path - // Note: We use the z coord to tween the camera orthographic size - Vector3 startPos = new Vector3(camera.transform.position.x, - camera.transform.position.y, - camera.orthographicSize); - pathList.Add(startPos); - - for (int i = 0; i < viewList.Length; ++i) - { - View view = viewList[i]; - - Vector3 viewPos = new Vector3(view.transform.position.x, - view.transform.position.y, - view.ViewSize); - pathList.Add(viewPos); - } - StartCoroutine(panCoroutine = PanToPathInternal (camera, duration, arriveAction, pathList.ToArray ())); - } - + /// /// Creates a flat colored texture. /// @@ -364,15 +213,35 @@ namespace Fungus /// /// Perform a fullscreen fade over a duration. /// - public virtual void Fade(float targetAlpha, float fadeDuration, Action fadeAction) + public virtual void Fade(float targetAlpha, float fadeDuration, Action fadeAction, LeanTweenType leanTweenType = LeanTweenType.easeInOutQuad) { - StartCoroutine(fadeCoroutine = FadeInternal (targetAlpha, fadeDuration, fadeAction)); + StopFadeTween(); + + if (Mathf.Approximately(fadeDuration, 0)) + { + fadeAlpha = targetAlpha; + if (fadeAction != null) fadeAction(); + } + else + { + fadeTween = LeanTween.value(fadeAlpha, targetAlpha, fadeDuration) + .setEase(leanTweenType) + .setOnUpdate((x) => fadeAlpha = x) + .setOnComplete(() => + { + fadeAlpha = targetAlpha; + if (fadeAction != null) fadeAction(); + fadeTween = null; + }); + } } /// /// Fade out, move camera to view and then fade back in. /// - public virtual void FadeToView(Camera camera, View view, float fadeDuration, bool fadeOut, Action fadeAction) + public virtual void FadeToView(Camera camera, View view, float fadeDuration, bool fadeOut, Action fadeAction, + LeanTweenType fadeType = LeanTweenType.easeInOutQuad, LeanTweenType sizeTweenType = LeanTweenType.easeInOutQuad, + LeanTweenType posTweenType = LeanTweenType.easeInOutQuad, LeanTweenType rotTweenType = LeanTweenType.easeInOutQuad) { swipePanActive = false; fadeAlpha = 0f; @@ -395,7 +264,7 @@ namespace Fungus Fade(1f, outDuration, delegate { // Snap to new view - PanToPosition(camera, view.transform.position, view.transform.rotation, view.ViewSize, 0f, null); + PanToPosition(camera, view.transform.position, view.transform.rotation, view.ViewSize, 0f, null, sizeTweenType, posTweenType, rotTweenType); // Fade in Fade(0f, inDuration, delegate { @@ -403,8 +272,8 @@ namespace Fungus { fadeAction(); } - }); - }); + }, fadeType); + }, fadeType); } /// @@ -412,15 +281,43 @@ namespace Fungus /// public virtual void Stop() { - StopAllCoroutines(); - panCoroutine = null; - fadeCoroutine = null; + StopFadeTween(); + StopPosTweens(); + } + + protected void StopFadeTween() + { + if (fadeTween != null) + { + LeanTween.cancel(fadeTween.id, true); + fadeTween = null; + } + } + + protected void StopPosTweens() + { + if (sizeTween != null) + { + LeanTween.cancel(sizeTween.id, true); + sizeTween = null; + } + if (camPosTween != null) + { + LeanTween.cancel(camPosTween.id, true); + camPosTween = null; + } + if (camRotTween != null) + { + LeanTween.cancel(camRotTween.id, true); + camRotTween = null; + } } /// /// Moves camera from current position to a target position over a period of time. /// - public virtual void PanToPosition(Camera camera, Vector3 targetPosition, Quaternion targetRotation, float targetSize, float duration, Action arriveAction) + public virtual void PanToPosition(Camera camera, Vector3 targetPosition, Quaternion targetRotation, float targetSize, float duration, Action arriveAction, + LeanTweenType sizeTweenType = LeanTweenType.easeInOutQuad, LeanTweenType posTweenType = LeanTweenType.easeInOutQuad, LeanTweenType rotTweenType = LeanTweenType.easeInOutQuad) { if (camera == null) { @@ -428,11 +325,13 @@ namespace Fungus return; } + if(setCameraZ) + { + targetPosition.z = camera.transform.position.z; + } + // Stop any pan that is currently active - if (panCoroutine != null) { - StopCoroutine(panCoroutine); - panCoroutine = null; - } + StopPosTweens(); swipePanActive = false; if (Mathf.Approximately(duration, 0f)) @@ -451,7 +350,31 @@ namespace Fungus } else { - StartCoroutine(panCoroutine = PanInternal(camera, targetPosition, targetRotation, targetSize, duration, arriveAction)); + sizeTween = LeanTween.value(camera.orthographicSize, targetSize, duration) + .setEase(sizeTweenType) + .setOnUpdate(x => camera.orthographicSize = x) + .setOnComplete(() => + { + camera.orthographicSize = targetSize; + if (arriveAction != null) arriveAction(); + sizeTween = null; + }); + + camPosTween = LeanTween.move(camera.gameObject, targetPosition, duration) + .setEase(posTweenType) + .setOnComplete(() => + { + camera.transform.position = targetPosition; + camPosTween = null; + }); + + camRotTween = LeanTween.rotate(camera.gameObject, targetRotation.eulerAngles, duration) + .setEase(rotTweenType) + .setOnComplete(() => + { + camera.transform.rotation = targetRotation; + camRotTween = null; + }); } } diff --git a/Assets/Fungus/Scripts/Components/Character.cs b/Assets/Fungus/Scripts/Components/Character.cs index f0743fae..e2c73280 100644 --- a/Assets/Fungus/Scripts/Components/Character.cs +++ b/Assets/Fungus/Scripts/Components/Character.cs @@ -1,10 +1,9 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; using UnityEngine.Serialization; using System.Collections.Generic; -using System; namespace Fungus { @@ -12,7 +11,7 @@ namespace Fungus /// A Character that can be used in dialogue via the Say, Conversation and Portrait commands. /// [ExecuteInEditMode] - public class Character : MonoBehaviour, ILocalizable + public class Character : MonoBehaviour, ILocalizable, IComparer { [Tooltip("Character name as displayed in Say Dialog.")] [SerializeField] protected string nameText; // We need a separate name as the object name is used for character variations (e.g. "Smurf Happy", "Smurf Sad") @@ -45,6 +44,7 @@ namespace Fungus if (!activeCharacters.Contains(this)) { activeCharacters.Add(this); + activeCharacters.Sort(this); } } @@ -121,6 +121,18 @@ namespace Fungus || nameText.StartsWith(matchString, true, System.Globalization.CultureInfo.CurrentCulture); #endif } + + public int Compare(Character x, Character y) + { + if (x == y) + return 0; + if (y == null) + return 1; + if (x == null) + return -1; + + return x.name.CompareTo(y.name); + } /// /// Looks for a portrait by name on a character @@ -128,14 +140,14 @@ namespace Fungus /// public virtual Sprite GetPortrait(string portraitString) { - if (String.IsNullOrEmpty(portraitString)) + if (string.IsNullOrEmpty(portraitString)) { return null; } for (int i = 0; i < portraits.Count; i++) { - if (portraits[i] != null && String.Compare(portraits[i].name, portraitString, true) == 0) + if (portraits[i] != null && string.Compare(portraits[i].name, portraitString, true) == 0) { return portraits[i]; } @@ -169,5 +181,13 @@ namespace Fungus } #endregion + + protected virtual void OnValidate() + { + if (portraits != null && portraits.Count > 1) + { + portraits.Sort(PortraitUtil.PortraitCompareTo); + } + } } } diff --git a/Assets/Fungus/Scripts/Components/Clickable2D.cs b/Assets/Fungus/Scripts/Components/Clickable2D.cs index a4493525..7f745836 100644 --- a/Assets/Fungus/Scripts/Components/Clickable2D.cs +++ b/Assets/Fungus/Scripts/Components/Clickable2D.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/Command.cs b/Assets/Fungus/Scripts/Components/Command.cs index 4b3099d8..fca8395e 100644 --- a/Assets/Fungus/Scripts/Components/Command.cs +++ b/Assets/Fungus/Scripts/Components/Command.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/CommandCopyBuffer.cs b/Assets/Fungus/Scripts/Components/CommandCopyBuffer.cs index 720c446d..157ac429 100644 --- a/Assets/Fungus/Scripts/Components/CommandCopyBuffer.cs +++ b/Assets/Fungus/Scripts/Components/CommandCopyBuffer.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/CustomTag.cs b/Assets/Fungus/Scripts/Components/CustomTag.cs index 537f27f4..f56bbdce 100644 --- a/Assets/Fungus/Scripts/Components/CustomTag.cs +++ b/Assets/Fungus/Scripts/Components/CustomTag.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/DialogInput.cs b/Assets/Fungus/Scripts/Components/DialogInput.cs index 24987ab8..514c7e4a 100644 --- a/Assets/Fungus/Scripts/Components/DialogInput.cs +++ b/Assets/Fungus/Scripts/Components/DialogInput.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/Draggable2D.cs b/Assets/Fungus/Scripts/Components/Draggable2D.cs index 41fee724..73f8b0a7 100644 --- a/Assets/Fungus/Scripts/Components/Draggable2D.cs +++ b/Assets/Fungus/Scripts/Components/Draggable2D.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -137,7 +137,7 @@ namespace Fungus for (int i = 0; i < dragCompletedHandlers.Count; i++) { var handler = dragCompletedHandlers[i]; - if (handler != null && handler.DraggableObject == this) + if (handler != null && handler.DraggableObjects.Contains(this)) { if (handler.IsOverTarget()) { diff --git a/Assets/Fungus/Scripts/Components/EventHandler.cs b/Assets/Fungus/Scripts/Components/EventHandler.cs index ddf64bb6..06653ecd 100644 --- a/Assets/Fungus/Scripts/Components/EventHandler.cs +++ b/Assets/Fungus/Scripts/Components/EventHandler.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/Flowchart.cs b/Assets/Fungus/Scripts/Components/Flowchart.cs index b4071dad..3743293e 100644 --- a/Assets/Fungus/Scripts/Components/Flowchart.cs +++ b/Assets/Fungus/Scripts/Components/Flowchart.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -800,6 +800,23 @@ namespace Fungus return null; } + /// + /// Returns a list of variables matching the specified type. + /// + public virtual List GetVariables() where T: Variable + { + var varsFound = new List(); + + for (int i = 0; i < Variables.Count; i++) + { + var currentVar = Variables[i]; + if (currentVar is T) + varsFound.Add(currentVar as T); + } + + return varsFound; + } + /// /// Register a new variable with the Flowchart at runtime. /// The variable should be added as a component on the Flowchart game object. diff --git a/Assets/Fungus/Scripts/Components/FungusManager.cs b/Assets/Fungus/Scripts/Components/FungusManager.cs index 7076d4eb..477ef9be 100644 --- a/Assets/Fungus/Scripts/Components/FungusManager.cs +++ b/Assets/Fungus/Scripts/Components/FungusManager.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/FungusState.cs b/Assets/Fungus/Scripts/Components/FungusState.cs index bab5c0dd..4d2a351e 100644 --- a/Assets/Fungus/Scripts/Components/FungusState.cs +++ b/Assets/Fungus/Scripts/Components/FungusState.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/Localization.cs b/Assets/Fungus/Scripts/Components/Localization.cs index d492b7a8..f8c296b9 100644 --- a/Assets/Fungus/Scripts/Components/Localization.cs +++ b/Assets/Fungus/Scripts/Components/Localization.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/MenuDialog.cs b/Assets/Fungus/Scripts/Components/MenuDialog.cs index 3c544b6e..f2f2be51 100644 --- a/Assets/Fungus/Scripts/Components/MenuDialog.cs +++ b/Assets/Fungus/Scripts/Components/MenuDialog.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/MusicManager.cs b/Assets/Fungus/Scripts/Components/MusicManager.cs index cd929285..781caa24 100644 --- a/Assets/Fungus/Scripts/Components/MusicManager.cs +++ b/Assets/Fungus/Scripts/Components/MusicManager.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/NarrativeLog.cs b/Assets/Fungus/Scripts/Components/NarrativeLog.cs index 49435178..393a55f2 100644 --- a/Assets/Fungus/Scripts/Components/NarrativeLog.cs +++ b/Assets/Fungus/Scripts/Components/NarrativeLog.cs @@ -1,7 +1,6 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) -using System; using System.Collections.Generic; using UnityEngine; @@ -10,26 +9,20 @@ namespace Fungus /// /// A single line of dialog /// - [Serializable] - public class Line + [System.Serializable] + public class NarrativeLogEntry { [SerializeField] public string name; [SerializeField] public string text; - } /// /// Serializable object to store Narrative Lines /// - [Serializable] + [System.Serializable] public class NarrativeData { - [SerializeField] public List lines; - - public NarrativeData() { - lines = new List(); - } - + public List entries = new List(); } /// @@ -37,19 +30,38 @@ namespace Fungus /// public class NarrativeLog : MonoBehaviour { - /// /// NarrativeAdded signal. Sent when a line is added. /// public static event NarrativeAddedHandler OnNarrativeAdded; - public delegate void NarrativeAddedHandler(); - public static void DoNarrativeAdded() { if (OnNarrativeAdded != null) OnNarrativeAdded(); } + public delegate void NarrativeAddedHandler(NarrativeLogEntry data); + public static void DoNarrativeAdded(NarrativeLogEntry data) + { + if (OnNarrativeAdded != null) + { + OnNarrativeAdded(data); + } + } + + /// + /// Signal sent when log history is cleared or loaded + /// + public static System.Action OnNarrativeLogClear; + public static void DoNarrativeCleared() + { + if (OnNarrativeLogClear != null) + { + OnNarrativeLogClear(); + } + } + NarrativeData history; protected virtual void Awake() { history = new NarrativeData(); + DoNarrativeCleared(); } protected virtual void OnEnable() @@ -67,27 +79,28 @@ namespace Fungus if (writerState == WriterState.End) { var sd = SayDialog.GetSayDialog(); - var from = sd.NameText; - var line = sd.StoryText; - AddLine(from, line); + if (sd != null) + { + NarrativeLogEntry entry = new NarrativeLogEntry() + { + name = sd.NameText, + text = sd.StoryText + }; + AddLine(entry); + } } } #region Public Methods - + /// /// Add a line of dialog to the Narrative Log /// - /// Character Name - /// Narrative Text - public void AddLine(string name, string text) + public void AddLine(NarrativeLogEntry entry) { - Line line = new Line(); - line.name = name; - line.text = text; - history.lines.Add(line); - DoNarrativeAdded(); + history.entries.Add(entry); + DoNarrativeAdded(entry); } /// @@ -96,7 +109,9 @@ namespace Fungus /// public void Clear() { - history.lines.Clear(); + history.entries.Clear(); + + DoNarrativeCleared(); } /// @@ -118,12 +133,12 @@ namespace Fungus string output = "\n "; int count; - count = previousOnly ? history.lines.Count - 1: history.lines.Count; + count = previousOnly ? history.entries.Count - 1 : history.entries.Count; for (int i = 0; i < count; i++) { - output += "" + history.lines[i].name + "\n"; - output += history.lines[i].text + "\n\n"; + output += "" + history.entries[i].name + "\n"; + output += history.entries[i].text + "\n\n"; } return output; } @@ -140,6 +155,8 @@ namespace Fungus return; } history = JsonUtility.FromJson(narrativeData); + + DoNarrativeCleared(); } #endregion } diff --git a/Assets/Fungus/Scripts/Components/NarrativeLogEntryDisplay.cs b/Assets/Fungus/Scripts/Components/NarrativeLogEntryDisplay.cs new file mode 100644 index 00000000..6ac3b3ac --- /dev/null +++ b/Assets/Fungus/Scripts/Components/NarrativeLogEntryDisplay.cs @@ -0,0 +1,50 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; +using UnityEngine.UI; + +namespace Fungus +{ + /// + /// Displays Narrative Log Entries in the UI. + /// + public class NarrativeLogEntryDisplay : MonoBehaviour + { + [SerializeField] protected Text nameTextField; + [SerializeField] protected Text storyTextField; + private NarrativeLogEntry toDisplay; + + /// + /// The entry that this represents in the UI. The setter here alters this display's UI fields + /// to fit the new value. + /// + public virtual NarrativeLogEntry ToDisplay + { + get { return toDisplay; } + set + { + toDisplay = value; + UpdateDisplays(); + } + } + + /// + /// Ensures that the UI components of this display fit the NarrativeLog Entry + /// it has... if any. + /// + protected virtual void UpdateDisplays() + { + if (ToDisplay == null) + { + nameTextField.text = ""; + storyTextField.text = ""; + } + else + { + nameTextField.text = toDisplay.name; + storyTextField.text = toDisplay.text; + } + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Components/NarrativeLogEntryDisplay.cs.meta b/Assets/Fungus/Scripts/Components/NarrativeLogEntryDisplay.cs.meta new file mode 100644 index 00000000..b1b3eef2 --- /dev/null +++ b/Assets/Fungus/Scripts/Components/NarrativeLogEntryDisplay.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 824b58b7741a0dd4e9b43693c47b24f7 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Components/NarrativeLogEntryUI.cs b/Assets/Fungus/Scripts/Components/NarrativeLogEntryUI.cs new file mode 100644 index 00000000..04a72f6d --- /dev/null +++ b/Assets/Fungus/Scripts/Components/NarrativeLogEntryUI.cs @@ -0,0 +1,94 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections.Generic; +using UnityEngine; + +namespace Fungus +{ + /// + /// Manages the UI aspects of the Narrative Log via EntryDisplay objects + /// + /// Originally contributed by https://github.com/CG-Tespy + /// + public class NarrativeLogEntryUI : MonoBehaviour + { + [Tooltip("Contains the overall aesthetic of each entry.")] + [SerializeField] protected NarrativeLogEntryDisplay entryDisplayPrefab; + + [SerializeField] protected RectTransform entryHolder; + protected CanvasGroup canvasGroup; + protected List entryDisplays = new List(); + protected UnityEngine.UI.ScrollRect scrollRect; + + protected virtual void Awake() + { + canvasGroup = GetComponent(); + var tmp = FungusManager.Instance.NarrativeLog; + // Make sure to update the UI when new entries are added to or + // cleared from the log. + //using the fungusmanager to ensure that the narrativeLog is inited + NarrativeLog.OnNarrativeAdded += OnNarrativeAdded; + NarrativeLog.OnNarrativeLogClear += Clear; + + scrollRect = GetComponentInChildren(); + } + + public virtual void Clear() + { + for (int i = 0; i < entryDisplays.Count; i++) + { + var entryDisplay = entryDisplays[i]; + Destroy(entryDisplay.gameObject); + } + + entryDisplays.Clear(); + } + + public virtual void Open() + { + canvasGroup.alpha = 1; + canvasGroup.interactable = true; + canvasGroup.blocksRaycasts = true; + } + + public virtual void Close() + { + canvasGroup.alpha = 0; + canvasGroup.interactable = false; + canvasGroup.blocksRaycasts = false; + } + + protected virtual void OnNarrativeAdded(NarrativeLogEntry entryAdded) + { + // Create a display for the new entry, and have it show in the UI. + var newEntryDisplay = Instantiate(entryDisplayPrefab); + newEntryDisplay.transform.SetParent(entryHolder, false); + newEntryDisplay.ToDisplay = entryAdded; + entryDisplays.Add(newEntryDisplay); + StartCoroutine(ForceToBottom()); + } + + private System.Collections.IEnumerator ForceToBottom() + { + yield return null; + scrollRect.verticalNormalizedPosition = 0; + } + + protected virtual void OnLogCleared() + { + Clear(); + } + + protected virtual void OnDestroy() + { + var fManInst = FungusManager.Instance; + // Avoid this responding to signals when being destroyed. + if (fManInst != null) + { + NarrativeLog.OnNarrativeAdded -= OnNarrativeAdded; + NarrativeLog.OnNarrativeLogClear -= Clear; + } + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Components/NarrativeLogEntryUI.cs.meta b/Assets/Fungus/Scripts/Components/NarrativeLogEntryUI.cs.meta new file mode 100644 index 00000000..544e403d --- /dev/null +++ b/Assets/Fungus/Scripts/Components/NarrativeLogEntryUI.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fde579c9edfbe7e469349e39e2a87a48 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Components/NarrativeLogMenu.cs b/Assets/Fungus/Scripts/Components/NarrativeLogMenu.cs index cec4d64e..36c42669 100644 --- a/Assets/Fungus/Scripts/Components/NarrativeLogMenu.cs +++ b/Assets/Fungus/Scripts/Components/NarrativeLogMenu.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) #if UNITY_5_3_OR_NEWER @@ -14,6 +14,9 @@ namespace Fungus /// public class NarrativeLogMenu : MonoBehaviour { + [Tooltip("Contains the overall aesthetic of each entry.")] + [SerializeField] protected NarrativeLogEntryDisplay entryDisplayPrefab; + [Tooltip("Show the Narrative Log Menu")] [SerializeField] protected bool showLog = true; @@ -72,7 +75,6 @@ namespace Fungus //Clear up the lorem ipsum UpdateNarrativeLogText(); - } protected virtual void OnEnable() @@ -93,7 +95,7 @@ namespace Fungus NarrativeLog.OnNarrativeAdded -= OnNarrativeAdded; } - protected virtual void OnNarrativeAdded() + protected virtual void OnNarrativeAdded(NarrativeLogEntry data) { UpdateNarrativeLogText(); } diff --git a/Assets/Fungus/Scripts/Components/Node.cs b/Assets/Fungus/Scripts/Components/Node.cs index 16a5294e..fbbdbc1d 100644 --- a/Assets/Fungus/Scripts/Components/Node.cs +++ b/Assets/Fungus/Scripts/Components/Node.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/Parallax.cs b/Assets/Fungus/Scripts/Components/Parallax.cs index 57f1bf2e..48b5c3c6 100644 --- a/Assets/Fungus/Scripts/Components/Parallax.cs +++ b/Assets/Fungus/Scripts/Components/Parallax.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/PortraitController.cs b/Assets/Fungus/Scripts/Components/PortraitController.cs index 20b7324d..1e832733 100644 --- a/Assets/Fungus/Scripts/Components/PortraitController.cs +++ b/Assets/Fungus/Scripts/Components/PortraitController.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -52,8 +52,13 @@ namespace Fungus OffsetRight } + + [AddComponentMenu("")] /// - /// Controls the Portrait sprites on stage + /// Controls the Portrait sprites on stage. + /// + /// Is only really used via Stage, it's child class. This class continues to exist to support existing API + /// dependant code. All functionality is stage dependant. /// public class PortraitController : MonoBehaviour { @@ -104,7 +109,7 @@ namespace Fungus // if no previous portrait, use default portrait if (options.character.State.portrait == null) { - options.character.State.portrait = options.character.ProfileSprite; + options.character.State.SetPortraitImageBySprite(options.character.ProfileSprite); } // Selected "use previous portrait" @@ -184,29 +189,60 @@ namespace Fungus /// protected virtual void CreatePortraitObject(Character character, float fadeDuration) { - // Create a new portrait object - GameObject portraitObj = new GameObject(character.name, - typeof(RectTransform), - typeof(CanvasRenderer), - typeof(Image)); - - // Set it to be a child of the stage - portraitObj.transform.SetParent(stage.PortraitCanvas.transform, true); - - // Configure the portrait image - Image portraitImage = portraitObj.GetComponent(); - portraitImage.preserveAspect = true; - portraitImage.overrideSprite = character.ProfileSprite; - portraitImage.color = new Color(1f, 1f, 1f, 0f); + if (character.State.holder == null) + { + character.State.holder = new GameObject(character.name + " holder", + typeof(RectTransform) + //typeof(CanvasRenderer), + //typeof(Image) + ).GetComponent(); - // LeanTween doesn't handle 0 duration properly - float duration = (fadeDuration > 0f) ? fadeDuration : float.Epsilon; + // Set it to be a child of the stage + character.State.holder.transform.SetParent(stage.PortraitCanvas.transform, false); - // Fade in character image (first time) - LeanTween.alpha(portraitImage.transform as RectTransform, 1f, duration).setEase(stage.FadeEaseType).setRecursive(false); + SetRectTransform(character.State.holder, stage.DefaultPosition.GetComponent()); + } - // Tell character about portrait image - character.State.portraitImage = portraitImage; + if (character.State.allPortraits.Count == 0) + { + foreach (var item in character.Portraits) + { + if(item == null) + { + Debug.LogError("null in portrait list on character " + character.name); + continue; + } + // Create a new portrait object + GameObject po = new GameObject(item.name, + typeof(RectTransform), + typeof(CanvasRenderer), + typeof(Image)); + + // Set it to be a child of the stage + po.transform.SetParent(character.State.holder, false); + + // Configure the portrait image + Image pi = po.GetComponent(); + pi.preserveAspect = true; + pi.sprite = item; + pi.color = new Color(1f, 1f, 1f, 0f); + + if (item == character.ProfileSprite) + { + character.State.portraitImage = pi; + } + + //expand to fit parent + RectTransform rt = po.GetComponent(); + rt.sizeDelta = Vector2.zero; + rt.anchorMin = Vector2.zero; + rt.anchorMax = Vector2.one; + rt.pivot = Vector2.one * 0.5f; + rt.ForceUpdateRectTransforms(); + + character.State.allPortraits.Add(pi); + } + } } protected virtual IEnumerator WaitUntilFinished(float duration, Action onComplete = null) @@ -232,48 +268,42 @@ namespace Fungus protected virtual void SetupPortrait(PortraitOptions options) { - SetRectTransform(options.character.State.portraitImage.rectTransform, options.fromPosition); + if (options.character.State.holder == null) + return; + + SetRectTransform(options.character.State.holder, options.fromPosition); if (options.character.State.facing != options.character.PortraitsFace) { - options.character.State.portraitImage.rectTransform.localScale = new Vector3(-1f, 1f, 1f); + options.character.State.holder.localScale = new Vector3(-1f, 1f, 1f); } else { - options.character.State.portraitImage.rectTransform.localScale = new Vector3(1f, 1f, 1f); + options.character.State.holder.localScale = new Vector3(1f, 1f, 1f); } if (options.facing != options.character.PortraitsFace) { - options.character.State.portraitImage.rectTransform.localScale = new Vector3(-1f, 1f, 1f); + options.character.State.holder.localScale = new Vector3(-1f, 1f, 1f); } else { - options.character.State.portraitImage.rectTransform.localScale = new Vector3(1f, 1f, 1f); + options.character.State.holder.localScale = new Vector3(1f, 1f, 1f); } } - protected virtual void DoMoveTween(Character character, RectTransform fromPosition, RectTransform toPosition, float moveDuration, Boolean waitUntilFinished) - { - PortraitOptions options = new PortraitOptions(true); - options.character = character; - options.fromPosition = fromPosition; - options.toPosition = toPosition; - options.moveDuration = moveDuration; - options.waitUntilFinished = waitUntilFinished; - - DoMoveTween(options); - } - protected virtual void DoMoveTween(PortraitOptions options) { CleanPortraitOptions(options); + LeanTween.cancel(options.character.State.holder.gameObject); + // LeanTween doesn't handle 0 duration properly float duration = (options.moveDuration > 0f) ? options.moveDuration : float.Epsilon; // LeanTween.move uses the anchoredPosition, so all position images must have the same anchor position - LeanTween.move(options.character.State.portraitImage.gameObject, options.toPosition.position, duration).setEase(stage.FadeEaseType); + LeanTween.move(options.character.State.holder.gameObject, options.toPosition.position, duration) + .setEase(stage.FadeEaseType); if (options.waitUntilFinished) { @@ -281,22 +311,20 @@ namespace Fungus } } - #region Public members - /// /// Performs a deep copy of all values from one RectTransform to another. /// - public static void SetRectTransform(RectTransform oldRectTransform, RectTransform newRectTransform) + public static void SetRectTransform(RectTransform target, RectTransform from) { - oldRectTransform.eulerAngles = newRectTransform.eulerAngles; - oldRectTransform.position = newRectTransform.position; - oldRectTransform.rotation = newRectTransform.rotation; - oldRectTransform.anchoredPosition = newRectTransform.anchoredPosition; - oldRectTransform.sizeDelta = newRectTransform.sizeDelta; - oldRectTransform.anchorMax = newRectTransform.anchorMax; - oldRectTransform.anchorMin = newRectTransform.anchorMin; - oldRectTransform.pivot = newRectTransform.pivot; - oldRectTransform.localScale = newRectTransform.localScale; + target.eulerAngles = from.eulerAngles; + target.position = from.position; + target.rotation = from.rotation; + target.anchoredPosition = from.anchoredPosition; + target.sizeDelta = from.sizeDelta; + target.anchorMax = from.anchorMax; + target.anchorMin = from.anchorMin; + target.pivot = from.pivot; + target.localScale = from.localScale; } /// @@ -354,17 +382,7 @@ namespace Fungus } } - /// - /// Moves Character in front of other characters on stage - /// - public virtual void MoveToFront(Character character) - { - PortraitOptions options = new PortraitOptions(true); - options.character = character; - - MoveToFront(CleanPortraitOptions(options)); - } - + /// /// Moves Character in front of other characters on stage /// @@ -375,51 +393,6 @@ namespace Fungus FinishCommand(options); } - /// - /// Shows character at a named position in the stage - /// - /// - /// Named position on stage - public virtual void Show(Character character, string position) - { - PortraitOptions options = new PortraitOptions(true); - options.character = character; - options.fromPosition = options.toPosition = stage.GetPosition(position); - - Show(options); - } - - /// - /// Shows character moving from a position to a position - /// - /// - /// - /// Where the character will appear - /// Where the character will move to - public virtual void Show(Character character, string portrait, string fromPosition, string toPosition) - { - PortraitOptions options = new PortraitOptions(true); - options.character = character; - options.portrait = character.GetPortrait(portrait); - options.fromPosition = stage.GetPosition(fromPosition); - options.toPosition = stage.GetPosition(toPosition); - options.move = true; - - Show(options); - } - - /// - /// From lua, you can pass an options table with named arguments - /// example: - /// stage.show{character=jill, portrait="happy", fromPosition="right", toPosition="left"} - /// Any option available in the PortraitOptions is available from Lua - /// - /// Moonsharp Table - public virtual void Show(Table optionsTable) - { - Show(PortraitUtil.ConvertTableToPortraitOptions(optionsTable, stage)); - } - /// /// Show portrait with the supplied portrait options /// @@ -454,33 +427,18 @@ namespace Fungus // LeanTween doesn't handle 0 duration properly float duration = (options.fadeDuration > 0f) ? options.fadeDuration : float.Epsilon; - // Fade out a duplicate of the existing portrait image - if (options.character.State.portraitImage != null && options.character.State.portraitImage.overrideSprite != null) - { - GameObject tempGO = GameObject.Instantiate(options.character.State.portraitImage.gameObject); - tempGO.transform.SetParent(options.character.State.portraitImage.transform, false); - tempGO.transform.localPosition = Vector3.zero; - tempGO.transform.localScale = options.character.State.position.localScale; - - Image tempImage = tempGO.GetComponent(); - tempImage.overrideSprite = options.character.State.portraitImage.overrideSprite; - tempImage.preserveAspect = true; - tempImage.color = options.character.State.portraitImage.color; + var prevPortrait = options.character.State.portrait; - LeanTween.alpha(tempImage.rectTransform, 0f, duration).setEase(stage.FadeEaseType).setOnComplete(() => { - Destroy(tempGO); - }).setRecursive(false); - } - - // Fade in the new sprite image - if (options.character.State.portraitImage.overrideSprite != options.portrait || - options.character.State.portraitImage.color.a < 1f) + if (options.character.State.portrait != null && options.character.State.portrait != options.portrait) { - options.character.State.portraitImage.overrideSprite = options.portrait; - options.character.State.portraitImage.color = new Color(1f, 1f, 1f, 0f); - LeanTween.alpha(options.character.State.portraitImage.rectTransform, 1f, duration).setEase(stage.FadeEaseType).setRecursive(false); + LeanTween.alpha(options.character.State.portraitImage.rectTransform, 0f, duration) + .setEase(stage.FadeEaseType) + .setRecursive(false); } + options.character.State.SetPortraitImageBySprite(options.portrait); + LeanTween.alpha(options.character.State.portraitImage.rectTransform, 1f, duration).setEase(stage.FadeEaseType).setRecursive(false); + DoMoveTween(options); FinishCommand(options); @@ -490,14 +448,117 @@ namespace Fungus stage.CharactersOnStage.Add(options.character); } + MoveToFront(options); + // Update character state after showing options.character.State.onScreen = true; options.character.State.display = DisplayType.Show; - options.character.State.portrait = options.portrait; options.character.State.facing = options.facing; options.character.State.position = options.toPosition; } + /// + /// Hide portrait with provided options + /// + public virtual void Hide(PortraitOptions options) + { + CleanPortraitOptions(options); + + if (options.character.State.display == DisplayType.None) + { + return; + } + + SetupPortrait(options); + + // LeanTween doesn't handle 0 duration properly + float duration = (options.fadeDuration > 0f) ? options.fadeDuration : float.Epsilon; + + LeanTween.alpha(options.character.State.portraitImage.rectTransform, 0f, duration).setEase(stage.FadeEaseType).setRecursive(false); + + DoMoveTween(options); + + //update character state after hiding + options.character.State.onScreen = false; + options.character.State.facing = options.facing; + options.character.State.position = options.toPosition; + options.character.State.display = DisplayType.Hide; + + if (stage.CharactersOnStage.Remove(options.character)) + { + } + + FinishCommand(options); + } + + /// + /// Sets the dimmed state of a character on the stage. + /// + public virtual void SetDimmed(Character character, bool dimmedState) + { + if (character.State.dimmed == dimmedState) + { + return; + } + + character.State.dimmed = dimmedState; + + Color targetColor = dimmedState ? stage.DimColor : Color.white; + + // LeanTween doesn't handle 0 duration properly + float duration = (stage.FadeDuration > 0f) ? stage.FadeDuration : float.Epsilon; + + LeanTween.color(character.State.portraitImage.rectTransform, targetColor, duration).setEase(stage.FadeEaseType).setRecursive(false); + } + + #region Overloads and Helpers + + /// + /// Shows character at a named position in the stage + /// + /// + /// Named position on stage + public virtual void Show(Character character, string position) + { + PortraitOptions options = new PortraitOptions(true); + options.character = character; + options.fromPosition = options.toPosition = stage.GetPosition(position); + + Show(options); + } + + /// + /// Shows character moving from a position to a position + /// + /// + /// + /// Where the character will appear + /// Where the character will move to + public virtual void Show(Character character, string portrait, string fromPosition, string toPosition) + { + PortraitOptions options = new PortraitOptions(true); + options.character = character; + options.portrait = character.GetPortrait(portrait); + options.fromPosition = stage.GetPosition(fromPosition); + options.toPosition = stage.GetPosition(toPosition); + options.move = true; + + Show(options); + } + + /// + /// From lua, you can pass an options table with named arguments + /// example: + /// stage.show{character=jill, portrait="happy", fromPosition="right", toPosition="left"} + /// Any option available in the PortraitOptions is available from Lua + /// + /// Moonsharp Table + public virtual void Show(Table optionsTable) + { + Show(PortraitUtil.ConvertTableToPortraitOptions(optionsTable, stage)); + } + + /// /// Simple show command that shows the character with an available named portrait /// @@ -559,60 +620,31 @@ namespace Fungus { Hide(PortraitUtil.ConvertTableToPortraitOptions(optionsTable, stage)); } - + /// - /// Hide portrait with provided options + /// Moves Character in front of other characters on stage /// - public virtual void Hide(PortraitOptions options) + public virtual void MoveToFront(Character character) { - CleanPortraitOptions(options); - - if (options.character.State.display == DisplayType.None) - { - return; - } - - SetupPortrait(options); - - // LeanTween doesn't handle 0 duration properly - float duration = (options.fadeDuration > 0f) ? options.fadeDuration : float.Epsilon; - - LeanTween.alpha(options.character.State.portraitImage.rectTransform, 0f, duration).setEase(stage.FadeEaseType).setRecursive(false); - - DoMoveTween(options); - - stage.CharactersOnStage.Remove(options.character); - - //update character state after hiding - options.character.State.onScreen = false; - options.character.State.portrait = options.portrait; - options.character.State.facing = options.facing; - options.character.State.position = options.toPosition; - options.character.State.display = DisplayType.Hide; + PortraitOptions options = new PortraitOptions(true); + options.character = character; - FinishCommand(options); + MoveToFront(CleanPortraitOptions(options)); } - /// - /// Sets the dimmed state of a character on the stage. - /// - public virtual void SetDimmed(Character character, bool dimmedState) - { - if (character.State.dimmed == dimmedState) - { - return; - } - - character.State.dimmed = dimmedState; - - Color targetColor = dimmedState ? stage.DimColor : Color.white; - // LeanTween doesn't handle 0 duration properly - float duration = (stage.FadeDuration > 0f) ? stage.FadeDuration : float.Epsilon; + protected virtual void DoMoveTween(Character character, RectTransform fromPosition, RectTransform toPosition, float moveDuration, Boolean waitUntilFinished) + { + PortraitOptions options = new PortraitOptions(true); + options.character = character; + options.fromPosition = fromPosition; + options.toPosition = toPosition; + options.moveDuration = moveDuration; + options.waitUntilFinished = waitUntilFinished; - LeanTween.color(character.State.portraitImage.rectTransform, targetColor, duration).setEase(stage.FadeEaseType).setRecursive(false); + DoMoveTween(options); } - #endregion + #endregion } } diff --git a/Assets/Fungus/Scripts/Components/SaveData.cs b/Assets/Fungus/Scripts/Components/SaveData.cs index 3a6fdc05..2769988f 100644 --- a/Assets/Fungus/Scripts/Components/SaveData.cs +++ b/Assets/Fungus/Scripts/Components/SaveData.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) #if UNITY_5_3_OR_NEWER diff --git a/Assets/Fungus/Scripts/Components/SaveManager.cs b/Assets/Fungus/Scripts/Components/SaveManager.cs index 6451a6f9..a8d97aff 100644 --- a/Assets/Fungus/Scripts/Components/SaveManager.cs +++ b/Assets/Fungus/Scripts/Components/SaveManager.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) #if UNITY_5_3_OR_NEWER @@ -235,7 +235,7 @@ namespace Fungus /// /// Deletes a previously stored Save History from persistent storage. /// - public void Delete(string saveDataKey) + public static void Delete(string saveDataKey) { #if UNITY_WEBPLAYER || UNITY_WEBGL PlayerPrefs.DeleteKey(saveDataKey); diff --git a/Assets/Fungus/Scripts/Components/SaveMenu.cs b/Assets/Fungus/Scripts/Components/SaveMenu.cs index e7b1ec6d..5ca69564 100644 --- a/Assets/Fungus/Scripts/Components/SaveMenu.cs +++ b/Assets/Fungus/Scripts/Components/SaveMenu.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) #if UNITY_5_3_OR_NEWER @@ -311,7 +311,7 @@ namespace Fungus if (restartDeletesSave) { - saveManager.Delete(saveDataKey); + SaveManager.Delete(saveDataKey); } SaveManagerSignals.DoSaveReset(); SceneManager.LoadScene(saveManager.StartScene); diff --git a/Assets/Fungus/Scripts/Components/SayDialog.cs b/Assets/Fungus/Scripts/Components/SayDialog.cs index 1ccb7832..c0a8fc11 100644 --- a/Assets/Fungus/Scripts/Components/SayDialog.cs +++ b/Assets/Fungus/Scripts/Components/SayDialog.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/SceneLoader.cs b/Assets/Fungus/Scripts/Components/SceneLoader.cs index 933acb2d..cc3818f5 100644 --- a/Assets/Fungus/Scripts/Components/SceneLoader.cs +++ b/Assets/Fungus/Scripts/Components/SceneLoader.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/SelectOnEnable.cs b/Assets/Fungus/Scripts/Components/SelectOnEnable.cs index c7a0095b..0bd7930f 100644 --- a/Assets/Fungus/Scripts/Components/SelectOnEnable.cs +++ b/Assets/Fungus/Scripts/Components/SelectOnEnable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/SpriteFader.cs b/Assets/Fungus/Scripts/Components/SpriteFader.cs index 47fa48e9..2b0bcbdb 100644 --- a/Assets/Fungus/Scripts/Components/SpriteFader.cs +++ b/Assets/Fungus/Scripts/Components/SpriteFader.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/Stage.cs b/Assets/Fungus/Scripts/Components/Stage.cs index 2a0d9869..2eaf2591 100644 --- a/Assets/Fungus/Scripts/Components/Stage.cs +++ b/Assets/Fungus/Scripts/Components/Stage.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -9,7 +9,7 @@ using System.Collections.Generic; namespace Fungus { /// - /// Define a set of screen positions where character sprites can be displayed. + /// Define a set of screen positions where character sprites can be displayed and controls portraits. /// [ExecuteInEditMode] public class Stage : PortraitController diff --git a/Assets/Fungus/Scripts/Components/Variable.cs b/Assets/Fungus/Scripts/Components/Variable.cs index 4a3e317a..66841e1f 100644 --- a/Assets/Fungus/Scripts/Components/Variable.cs +++ b/Assets/Fungus/Scripts/Components/Variable.cs @@ -1,8 +1,7 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; -using System; namespace Fungus { @@ -60,45 +59,55 @@ namespace Fungus /// /// Attribute class for variables. /// - public class VariableInfoAttribute : Attribute + public sealed class VariableInfoAttribute : System.Attribute { - public VariableInfoAttribute(string category, string variableType, int order = 0) + //Note do not use "isPreviewedOnly:true", it causes the script to fail to load without errors shown + public VariableInfoAttribute(string category, string variableType, int order = 0, bool isPreviewedOnly = false) { this.Category = category; this.VariableType = variableType; this.Order = order; + this.IsPreviewedOnly = isPreviewedOnly; } public string Category { get; set; } public string VariableType { get; set; } public int Order { get; set; } + public bool IsPreviewedOnly { get; set; } } /// /// Attribute class for variable properties. /// - public class VariablePropertyAttribute : PropertyAttribute + public sealed class VariablePropertyAttribute : PropertyAttribute { public VariablePropertyAttribute (params System.Type[] variableTypes) { this.VariableTypes = variableTypes; } + public VariablePropertyAttribute(AllVariableTypes.VariableAny any) + { + VariableTypes = AllVariableTypes.AllFungusVarTypes; + } + public VariablePropertyAttribute (string defaultText, params System.Type[] variableTypes) { this.defaultText = defaultText; this.VariableTypes = variableTypes; } - public String defaultText = ""; + public string defaultText = ""; + public string compatibleVariableName = string.Empty; - public Type[] VariableTypes { get; set; } + public System.Type[] VariableTypes { get; set; } } /// /// Abstract base class for variables. /// [RequireComponent(typeof(Flowchart))] + [System.Serializable] public abstract class Variable : MonoBehaviour { [SerializeField] protected VariableScope scope; @@ -122,12 +131,36 @@ namespace Fungus /// public abstract void OnReset(); + /// + /// Used by SetVariable, child classes required to declare and implement operators. + /// + /// + /// + public abstract void Apply(SetOperator setOperator, object value); + + /// + /// Used by Ifs, While, and the like. Child classes required to declare and implement comparisons. + /// + /// + /// + /// + public abstract bool Evaluate(CompareOperator compareOperator, object value); + + /// + /// Does the underlying type provide support for +-*/ + /// + public virtual bool IsArithmeticSupported(SetOperator setOperator) { return false; } + + /// + /// Does the underlying type provide support for < <= > >= + /// + public virtual bool IsComparisonSupported() { return false; } + /// /// Boxed or referenced value of type defined within inherited types. /// Not recommended for direct use, primarily intended for use in editor code. /// public abstract object GetValue(); - #endregion } @@ -198,7 +231,10 @@ namespace Fungus public override string ToString() { - return Value.ToString(); + if (Value != null) + return Value.ToString(); + else + return "Null"; } protected virtual void Start() @@ -207,8 +243,80 @@ namespace Fungus startValue = Value; } - public virtual void Apply(SetOperator setOperator, T value) { - Debug.LogError("Variable doesn't have any operators."); + //Apply to get from base system.object to T + public override void Apply(SetOperator op, object value) + { + if(value is T || value == null) + { + Apply(op, (T)value); + } + else if(value is VariableBase) + { + var vbg = value as VariableBase; + Apply(op, vbg.Value); + } + else + { + Debug.LogError("Cannot do Apply on variable, as object type: " + value.GetType().Name + " is incompatible with " + typeof(T).Name); + } + } + + public virtual void Apply(SetOperator setOperator, T value) + { + switch (setOperator) + { + case SetOperator.Assign: + Value = value; + break; + default: + Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); + break; + } + } + + //Apply to get from base system.object to T + public override bool Evaluate(CompareOperator op, object value) + { + if (value is T || value == null) + { + return Evaluate(op, (T)value); + } + else if (value is VariableBase) + { + var vbg = value as VariableBase; + return Evaluate(op, vbg.Value); + } + else + { + Debug.LogError("Cannot do Evaluate on variable, as object type: " + value.GetType().Name + " is incompatible with " + typeof(T).Name); + } + + return false; + } + + public virtual bool Evaluate(CompareOperator compareOperator, T value) + { + bool condition = false; + + switch (compareOperator) + { + case CompareOperator.Equals: + condition = Equals(Value, value);// Value.Equals(value); + break; + case CompareOperator.NotEquals: + condition = !Equals(Value, value); + break; + default: + Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); + break; + } + + return condition; + } + + public override bool IsArithmeticSupported(SetOperator setOperator) + { + return setOperator == SetOperator.Assign || base.IsArithmeticSupported(setOperator); } } } diff --git a/Assets/Fungus/Scripts/Components/View.cs b/Assets/Fungus/Scripts/Components/View.cs index c8464100..dbba1073 100644 --- a/Assets/Fungus/Scripts/Components/View.cs +++ b/Assets/Fungus/Scripts/Components/View.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Components/Writer.cs b/Assets/Fungus/Scripts/Components/Writer.cs index a5f413d4..3b1bd11c 100644 --- a/Assets/Fungus/Scripts/Components/Writer.cs +++ b/Assets/Fungus/Scripts/Components/Writer.cs @@ -1,11 +1,11 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; -using System; +using System.Linq; using System.Reflection; using System.Text; @@ -25,7 +25,7 @@ namespace Fungus /// Writing has resumed after a pause. Resume, /// Writing has ended. - End + End, } /// @@ -57,6 +57,8 @@ namespace Fungus [Tooltip("Click while text is writing to finish writing immediately")] [SerializeField] protected bool instantComplete = true; + [SerializeField] protected bool doReadAheadText = true; + // This property is true when the writer is waiting for user input to continue protected bool isWaitingForInput; @@ -71,11 +73,39 @@ namespace Fungus protected bool italicActive = false; protected bool colorActive = false; protected string colorText = ""; + protected bool linkActive = false; + protected string linkText = string.Empty; protected bool sizeActive = false; protected float sizeValue = 16f; protected bool inputFlag; protected bool exitFlag; + //holds number of Word tokens in the currently running Write + public int WordTokensFound { get; protected set; } + + /// + /// Updated during writing of Word tokens, when processed tips over found, fires NotifyAllWordsWritten + /// + public virtual int WordTokensProcessed + { + get { return wordTokensProcessed; } + protected set + { + if(wordTokensProcessed < WordTokensFound && value >= WordTokensFound) + { + NotifyAllWordsWritten(); + } + wordTokensProcessed = value; + } + } + //holds count of number of Word tokens completed + protected int wordTokensProcessed; + + /// + /// Does the currently processing list of Tokens have Word Tokens that are not yet processed + /// + public bool HasWordsRemaining { get { return WordTokensProcessed < WordTokensFound; } } + protected List writerListeners = new List(); protected StringBuilder openString = new StringBuilder(256); @@ -89,6 +119,7 @@ namespace Fungus protected string hiddenColorClose = ""; protected int visibleCharacterCount = 0; + protected int readAheadStartIndex = 0; public WriterAudio AttachedWriterAudio { get; set; } protected virtual void Awake() @@ -120,7 +151,7 @@ namespace Fungus { // Cache the hidden color string Color32 c = hiddenTextColor; - hiddenColorOpen = String.Format("", c.r, c.g, c.b, c.a); + hiddenColorOpen = string.Format("", c.r, c.g, c.b, c.a); hiddenColorClose = ""; } @@ -148,7 +179,13 @@ namespace Fungus { openString.Append(""); + openString.Append(">"); + } + if (linkActive) + { + openString.Append(""); } if (boldActive) { @@ -177,7 +214,11 @@ namespace Fungus } if (colorActive) { - closeString.Append(""); + closeString.Append(""); + } + if (linkActive) + { + closeString.Append(""); } if (sizeActive) { @@ -206,19 +247,21 @@ namespace Fungus value = defaultValue; if (paramList.Count > index) { - Single.TryParse(paramList[index], out value); + float.TryParse(paramList[index], out value); return true; } return false; } - protected virtual IEnumerator ProcessTokens(List tokens, bool stopAudio, Action onComplete) + protected virtual IEnumerator ProcessTokens(List tokens, bool stopAudio, System.Action onComplete) { // Reset control members boldActive = false; italicActive = false; colorActive = false; sizeActive = false; + WordTokensFound = tokens.Count(x => x.type == TokenType.Words); + WordTokensProcessed = 0; colorText = ""; sizeValue = 16f; currentPunctuationPause = punctuationPause; @@ -241,22 +284,25 @@ namespace Fungus // Notify listeners about new token WriterSignals.DoTextTagToken(this, token, i, tokens.Count); - + // Update the read ahead string buffer. This contains the text for any // Word tags which are further ahead in the list. - readAheadString.Length = 0; - for (int j = i + 1; j < tokens.Count; ++j) + if (doReadAheadText) { - var readAheadToken = tokens[j]; - - if (readAheadToken.type == TokenType.Words && - readAheadToken.paramList.Count == 1) + readAheadString.Length = 0; + for (int j = i + 1; j < tokens.Count; ++j) { - readAheadString.Append(readAheadToken.paramList[0]); - } - else if (readAheadToken.type == TokenType.WaitForInputAndClear) - { - break; + var readAheadToken = tokens[j]; + + if (readAheadToken.type == TokenType.Words && + readAheadToken.paramList.Count == 1) + { + readAheadString.Append(readAheadToken.paramList[0]); + } + else if (readAheadToken.type == TokenType.WaitForInputAndClear) + { + break; + } } } @@ -264,6 +310,7 @@ namespace Fungus { case TokenType.Words: yield return StartCoroutine(DoWords(token.paramList, previousTokenType)); + WordTokensProcessed++; break; case TokenType.BoldStart: @@ -294,6 +341,18 @@ namespace Fungus colorActive = false; break; + case TokenType.LinkStart: + if (CheckParamCount(token.paramList, 1)) + { + linkActive = true; + linkText = token.paramList[0]; + } + break; + + case TokenType.LinkEnd: + linkActive = false; + break; + case TokenType.SizeStart: if (TryGetSingleParam(token.paramList, 0, 16f, out sizeValue)) { @@ -495,59 +554,92 @@ namespace Fungus UpdateCloseMarkup(); float timeAccumulator = Time.deltaTime; + float invWritingSpeed = 1f / currentWritingSpeed; - for (int i = 0; i < param.Length + 1; ++i) - { - // Exit immediately if the exit flag has been set - if (exitFlag) - { - break; - } - - // Pause mid sentence if Paused is set - while (Paused) - { - yield return null; - } + //refactor this, its mostly the same 30 lines of code + if (textAdapter.SupportsHiddenCharacters()) + { + //pausing for 1 frame means we can get better first data, but is conflicting with animation ? + // or is it something else inserting the color alpha invis + yield return null; + //this works for first thing being shown but then no subsequent, as the char counts have not been update + // by tmpro after the set to "" + var startingReveal = Mathf.Min(readAheadStartIndex, textAdapter.CharactersToReveal); + PartitionString(writeWholeWords, param, param.Length + 1); - //actually grab the next chars - PartitionString(writeWholeWords, param, i); ConcatenateString(startText); textAdapter.Text = outputString.ToString(); NotifyGlyph(); + textAdapter.RevealedCharacters = startingReveal; + yield return null; - // No delay if user has clicked and Instant Complete is enabled - if (instantComplete && inputFlag) + while (textAdapter.RevealedCharacters < Mathf.Min(readAheadStartIndex, textAdapter.CharactersToReveal)) { - continue; - } + // No delay if user has clicked and Instant Complete is enabled + if (instantComplete && inputFlag) + { + textAdapter.RevealedCharacters = textAdapter.CharactersToReveal; + } - // Punctuation pause - if (leftString.Length > 0 && - rightString.Length > 0 && - IsPunctuation(leftString.ToString(leftString.Length - 1, 1)[0])) - { - yield return StartCoroutine(DoWait(currentPunctuationPause)); + if (currentWritingSpeed > 0f) + { + textAdapter.RevealedCharacters++; + timeAccumulator -= invWritingSpeed; + if (timeAccumulator <= 0f) + { + var waitTime = Mathf.Max(invWritingSpeed, Time.deltaTime); + yield return new WaitForSeconds(waitTime); + timeAccumulator += waitTime; + } + } } + } + else + { + for (int i = 0; i < param.Length + 1; ++i) + { + if (exitFlag) + { + break; + } - // Delay between characters - if (currentWritingSpeed > 0f) - { - float invWritingSpeed = 1f / currentWritingSpeed; + // Pause mid sentence if Paused is set + while (Paused) + { + yield return null; + } + + PartitionString(writeWholeWords, param, i); + ConcatenateString(startText); + textAdapter.Text = outputString.ToString(); - timeAccumulator -= invWritingSpeed; - if (timeAccumulator <= 0f) + NotifyGlyph(); + + // No delay if user has clicked and Instant Complete is enabled + if (instantComplete && inputFlag) { - if (invWritingSpeed > Time.deltaTime) - { - yield return new WaitForSeconds(invWritingSpeed); - timeAccumulator += invWritingSpeed; - } - else + continue; + } + + // Punctuation pause + if (leftString.Length > 0 && + rightString.Length > 0 && + IsPunctuation(leftString.ToString(leftString.Length - 1, 1)[0])) + { + //timeAccumulator -= currentPunctuationPause; ??? + yield return StartCoroutine(DoWait(currentPunctuationPause)); + } + + // Delay between characters + if (currentWritingSpeed > 0f) + { + timeAccumulator -= invWritingSpeed; + if (timeAccumulator <= 0f) { - yield return null; - timeAccumulator += Time.deltaTime; + var waitTime = Mathf.Max(invWritingSpeed, Time.deltaTime); + yield return new WaitForSeconds(waitTime); + timeAccumulator += waitTime; } } } @@ -573,7 +665,7 @@ namespace Fungus // Look ahead to find next whitespace or end of string for (int j = i; j < inputString.Length + 1; ++j) { - if (j == inputString.Length || Char.IsWhiteSpace(inputString[j])) + if (j == inputString.Length || char.IsWhiteSpace(inputString[j])) { leftString.Length = j; rightString.Remove(0, j); @@ -591,6 +683,7 @@ namespace Fungus protected virtual void ConcatenateString(string startText) { outputString.Length = 0; + readAheadStartIndex = int.MaxValue; // string tempText = startText + openText + leftText + closeText; outputString.Append(startText); @@ -612,6 +705,8 @@ namespace Fungus CacheHiddenColorStrings(); } + readAheadStartIndex = outputString.Length; + outputString.Append(hiddenColorOpen); outputString.Append(rightString); outputString.Append(readAheadString); @@ -628,7 +723,7 @@ namespace Fungus } float duration = 1f; - if (!Single.TryParse(param, out duration)) + if (!float.TryParse(param, out duration)) { duration = 1f; } @@ -781,6 +876,15 @@ namespace Fungus } } + protected virtual void NotifyAllWordsWritten() + { + for (int i = 0; i < writerListeners.Count; i++) + { + var writerListener = writerListeners[i]; + writerListener.OnAllWordsWritten(); + } + } + protected virtual void NotifyEnd(bool stopAudio) { WriterSignals.DoWriterState(this, WriterState.End); @@ -841,7 +945,7 @@ namespace Fungus /// Wait for the Voice over to complete before proceeding /// Audio clip to play when text starts writing. /// Callback to call when writing is finished. - public virtual IEnumerator Write(string content, bool clear, bool waitForInput, bool stopAudio, bool waitForVO, AudioClip audioClip, Action onComplete) + public virtual IEnumerator Write(string content, bool clear, bool waitForInput, bool stopAudio, bool waitForVO, AudioClip audioClip, System.Action onComplete) { if (clear) { diff --git a/Assets/Fungus/Scripts/Components/WriterAudio.cs b/Assets/Fungus/Scripts/Components/WriterAudio.cs index 95c8710d..b5162ca6 100644 --- a/Assets/Fungus/Scripts/Components/WriterAudio.cs +++ b/Assets/Fungus/Scripts/Components/WriterAudio.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -259,7 +259,11 @@ namespace Fungus targetAudioSource.clip = voiceOverClip; targetAudioSource.Play(); } - + + public void OnAllWordsWritten() + { + } + #endregion } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/AnyVariableAndDataPairDrawer.cs b/Assets/Fungus/Scripts/Editor/AnyVariableAndDataPairDrawer.cs new file mode 100644 index 00000000..d1cc7591 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/AnyVariableAndDataPairDrawer.cs @@ -0,0 +1,67 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEditor; +using UnityEngine; + +namespace Fungus.EditorUtils +{ + /// + /// Custom drawer for the AnyVaraibleAndDataPair, shows only the matching data for the targeted variable + /// scripts. + /// + [CustomPropertyDrawer(typeof(Fungus.AnyVariableAndDataPair))] + public class AnyVariableAndDataPairDrawer : PropertyDrawer + { + public Fungus.Flowchart lastFlowchart; + + public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) + { + position.height = EditorGUIUtility.singleLineHeight; + + var varProp = property.FindPropertyRelative("variable"); + + EditorGUI.PropertyField(position, varProp, label); + + position.y += EditorGUIUtility.singleLineHeight; + + if (varProp.objectReferenceValue != null) + { + var varPropType = varProp.objectReferenceValue.GetType(); + + var typeActionsRes = AnyVariableAndDataPair.typeActionLookup[varPropType]; + + if (typeActionsRes != null) + { + var targetName = "data." + typeActionsRes.DataPropName; + var dataProp = property.FindPropertyRelative(targetName); + if (dataProp != null) + { + EditorGUI.PropertyField(position, dataProp, new GUIContent("Data", "Data to use in pair with the above variable.")); + } + else + { + EditorGUI.LabelField(position, "Cound not find property in AnyVariableData of name " + targetName); + } + } + else + { + //no matching data type, oops + EditorGUI.LabelField(position, "Cound not find property in AnyVariableData of type " + varPropType.Name); + } + } + else + { + //no var selected + EditorGUI.LabelField(position, "Must select a variable before setting data."); + } + + property.serializedObject.ApplyModifiedProperties(); + } + + public override float GetPropertyHeight(SerializedProperty property, GUIContent label) + { + return EditorGUIUtility.singleLineHeight * 2; + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/AnyVariableAndDataPairDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/AnyVariableAndDataPairDrawer.cs.meta new file mode 100644 index 00000000..9cd14666 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/AnyVariableAndDataPairDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5a3b2252ee10d3b45ad82e7e7dde5ccd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/AssetModProcessor.cs b/Assets/Fungus/Scripts/Editor/AssetModProcessor.cs index 1d2e7d41..905b0f36 100644 --- a/Assets/Fungus/Scripts/Editor/AssetModProcessor.cs +++ b/Assets/Fungus/Scripts/Editor/AssetModProcessor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using System.IO; diff --git a/Assets/Fungus/Scripts/Editor/BasePopupWindowContent.cs b/Assets/Fungus/Scripts/Editor/BasePopupWindowContent.cs index 5bf7406e..54ca4116 100644 --- a/Assets/Fungus/Scripts/Editor/BasePopupWindowContent.cs +++ b/Assets/Fungus/Scripts/Editor/BasePopupWindowContent.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEditor; using UnityEngine; using System; diff --git a/Assets/Fungus/Scripts/Editor/BlockEditor.cs b/Assets/Fungus/Scripts/Editor/BlockEditor.cs index 04e178b0..38119cdb 100644 --- a/Assets/Fungus/Scripts/Editor/BlockEditor.cs +++ b/Assets/Fungus/Scripts/Editor/BlockEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; @@ -8,8 +8,6 @@ using System; using System.Collections; using System.Collections.Generic; using System.Linq; -using System.Text.RegularExpressions; -using System.IO; using System.Reflection; namespace Fungus.EditorUtils @@ -456,6 +454,8 @@ namespace Fungus.EditorUtils int selectedIndex = 0; blockNames.Add(nullLabel); var blocks = flowchart.GetComponents(); + blocks = blocks.OrderBy(x => x.BlockName).ToArray(); + for (int i = 0; i < blocks.Length; ++i) { blockNames.Add(new GUIContent(blocks[i].BlockName)); @@ -494,6 +494,8 @@ namespace Fungus.EditorUtils int selectedIndex = 0; blockNames.Add(nullLabel); Block[] blocks = flowchart.GetComponents(); + blocks = blocks.OrderBy(x => x.BlockName).ToArray(); + for (int i = 0; i < blocks.Length; ++i) { blockNames.Add(new GUIContent(blocks[i].BlockName)); @@ -517,187 +519,6 @@ namespace Fungus.EditorUtils return result; } - [MenuItem("Tools/Fungus/Utilities/Export Reference Docs")] - protected static void ExportReferenceDocs() - { - const string path = "./Docs"; - - ExportCommandInfo(path); - ExportEventHandlerInfo(path); - - FlowchartWindow.ShowNotification("Exported Reference Documentation"); - } - - public static List> GetFilteredCommandInfoAttribute(List menuTypes) - { - Dictionary> filteredAttributes = new Dictionary>(); - - foreach (System.Type type in menuTypes) - { - object[] attributes = type.GetCustomAttributes(false); - foreach (object obj in attributes) - { - CommandInfoAttribute infoAttr = obj as CommandInfoAttribute; - if (infoAttr != null) - { - string dictionaryName = string.Format("{0}/{1}", infoAttr.Category, infoAttr.CommandName); - - int existingItemPriority = -1; - if (filteredAttributes.ContainsKey(dictionaryName)) - { - existingItemPriority = filteredAttributes[dictionaryName].Value.Priority; - } - - if (infoAttr.Priority > existingItemPriority) - { - KeyValuePair keyValuePair = new KeyValuePair(type, infoAttr); - filteredAttributes[dictionaryName] = keyValuePair; - } - } - } - } - return filteredAttributes.Values.ToList>(); - } - - - // Compare delegate for sorting the list of command attributes - public static int CompareCommandAttributes(KeyValuePair x, KeyValuePair y) - { - int compare = (x.Value.Category.CompareTo(y.Value.Category)); - if (compare == 0) - { - compare = (x.Value.CommandName.CompareTo(y.Value.CommandName)); - } - return compare; - } - - protected static void ExportCommandInfo(string path) - { - // Dump command info - List menuTypes = EditorExtensions.FindDerivedTypes(typeof(Command)).ToList(); - List> filteredAttributes = GetFilteredCommandInfoAttribute(menuTypes); - filteredAttributes.Sort(CompareCommandAttributes); - - // Build list of command categories - List commandCategories = new List(); - foreach (var keyPair in filteredAttributes) - { - CommandInfoAttribute info = keyPair.Value; - if (info.Category != "" && - !commandCategories.Contains(info.Category)) - { - commandCategories.Add(info.Category); - } - } - commandCategories.Sort(); - - // Output the commands in each category - foreach (string category in commandCategories) - { - string markdown = "# " + category + " commands # {#" + category.ToLower() + "_commands}\n\n"; - markdown += "[TOC]\n"; - - foreach (var keyPair in filteredAttributes) - { - CommandInfoAttribute info = keyPair.Value; - - if (info.Category == category || - info.Category == "" && category == "Scripting") - { - markdown += "# " + info.CommandName + " # {#" + info.CommandName.Replace(" ", "") + "}\n"; - markdown += info.HelpText + "\n\n"; - markdown += "Defined in " + keyPair.Key.FullName + "\n"; - markdown += GetPropertyInfo(keyPair.Key); - } - } - - string filePath = path + "/command_ref/" + category.ToLower() + "_commands.md"; - - Directory.CreateDirectory(Path.GetDirectoryName(filePath)); - File.WriteAllText(filePath, markdown); - } - } - - protected static void ExportEventHandlerInfo(string path) - { - List eventHandlerTypes = EditorExtensions.FindDerivedTypes(typeof(EventHandler)).ToList(); - List eventHandlerCategories = new List(); - eventHandlerCategories.Add("Core"); - foreach (System.Type type in eventHandlerTypes) - { - EventHandlerInfoAttribute info = EventHandlerEditor.GetEventHandlerInfo(type); - if (info != null && - info.Category != "" && - !eventHandlerCategories.Contains(info.Category)) - { - eventHandlerCategories.Add(info.Category); - } - } - eventHandlerCategories.Sort(); - - // Output the commands in each category - foreach (string category in eventHandlerCategories) - { - string markdown = "# " + category + " event handlers # {#" + category.ToLower() + "_events}\n\n"; - markdown += "[TOC]\n"; - - foreach (System.Type type in eventHandlerTypes) - { - EventHandlerInfoAttribute info = EventHandlerEditor.GetEventHandlerInfo(type); - - if (info != null && - (info.Category == category || - (info.Category == "" && category == "Core"))) - { - markdown += "# " + info.EventHandlerName + " # {#" + info.EventHandlerName.Replace(" ", "") + "}\n"; - markdown += info.HelpText + "\n\n"; - markdown += "Defined in " + type.FullName + "\n"; - markdown += GetPropertyInfo(type); - } - } - - string filePath = path + "/command_ref/" + category.ToLower() + "_events.md"; - - Directory.CreateDirectory(Path.GetDirectoryName(filePath)); - File.WriteAllText(filePath, markdown); - } - } - - protected static string GetPropertyInfo(System.Type type) - { - string markdown = ""; - foreach (FieldInfo field in type.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)) - { - TooltipAttribute attribute = (TooltipAttribute)Attribute.GetCustomAttribute(field, typeof(TooltipAttribute)); - if (attribute == null) - { - continue; - } - - // Change field name to how it's displayed in the inspector - string propertyName = Regex.Replace(field.Name, "(\\B[A-Z])", " $1"); - if (propertyName.Length > 1) - { - propertyName = propertyName.Substring(0, 1).ToUpper() + propertyName.Substring(1); - } - else - { - propertyName = propertyName.ToUpper(); - } - - markdown += propertyName + " | " + field.FieldType + " | " + attribute.tooltip + "\n"; - } - - if (markdown.Length > 0) - { - markdown = "\nProperty | Type | Description\n --- | --- | ---\n" + markdown + "\n"; - } - - return markdown; - } - - - public virtual void ShowContextMenu() { var block = target as Block; @@ -1083,5 +904,49 @@ namespace Fungus.EditorUtils Repaint(); } + + + + public static List> GetFilteredCommandInfoAttribute(List menuTypes) + { + Dictionary> filteredAttributes = new Dictionary>(); + + foreach (System.Type type in menuTypes) + { + object[] attributes = type.GetCustomAttributes(false); + foreach (object obj in attributes) + { + CommandInfoAttribute infoAttr = obj as CommandInfoAttribute; + if (infoAttr != null) + { + string dictionaryName = string.Format("{0}/{1}", infoAttr.Category, infoAttr.CommandName); + + int existingItemPriority = -1; + if (filteredAttributes.ContainsKey(dictionaryName)) + { + existingItemPriority = filteredAttributes[dictionaryName].Value.Priority; + } + + if (infoAttr.Priority > existingItemPriority) + { + KeyValuePair keyValuePair = new KeyValuePair(type, infoAttr); + filteredAttributes[dictionaryName] = keyValuePair; + } + } + } + } + return filteredAttributes.Values.ToList>(); + } + + // Compare delegate for sorting the list of command attributes + public static int CompareCommandAttributes(KeyValuePair x, KeyValuePair y) + { + int compare = (x.Value.Category.CompareTo(y.Value.Category)); + if (compare == 0) + { + compare = (x.Value.CommandName.CompareTo(y.Value.CommandName)); + } + return compare; + } } } diff --git a/Assets/Fungus/Scripts/Editor/BlockInspector.cs b/Assets/Fungus/Scripts/Editor/BlockInspector.cs index cacc1d0f..cab86d00 100644 --- a/Assets/Fungus/Scripts/Editor/BlockInspector.cs +++ b/Assets/Fungus/Scripts/Editor/BlockInspector.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Editor/BlockReferenceDrawer.cs b/Assets/Fungus/Scripts/Editor/BlockReferenceDrawer.cs index 71e020d4..0f1caf2c 100644 --- a/Assets/Fungus/Scripts/Editor/BlockReferenceDrawer.cs +++ b/Assets/Fungus/Scripts/Editor/BlockReferenceDrawer.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/CallEditor.cs b/Assets/Fungus/Scripts/Editor/CallEditor.cs index c4e0ca8f..96836549 100644 --- a/Assets/Fungus/Scripts/Editor/CallEditor.cs +++ b/Assets/Fungus/Scripts/Editor/CallEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/CameraMenuItems.cs b/Assets/Fungus/Scripts/Editor/CameraMenuItems.cs index 84671063..71527688 100644 --- a/Assets/Fungus/Scripts/Editor/CameraMenuItems.cs +++ b/Assets/Fungus/Scripts/Editor/CameraMenuItems.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Editor/CharacterEditor.cs b/Assets/Fungus/Scripts/Editor/CharacterEditor.cs index 057692be..b2b82f9f 100644 --- a/Assets/Fungus/Scripts/Editor/CharacterEditor.cs +++ b/Assets/Fungus/Scripts/Editor/CharacterEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/CommandEditor.cs b/Assets/Fungus/Scripts/Editor/CommandEditor.cs index 24a07648..15ea72b9 100644 --- a/Assets/Fungus/Scripts/Editor/CommandEditor.cs +++ b/Assets/Fungus/Scripts/Editor/CommandEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/CommandListAdaptor.cs b/Assets/Fungus/Scripts/Editor/CommandListAdaptor.cs index 7ad1eb71..5c0a7f5d 100644 --- a/Assets/Fungus/Scripts/Editor/CommandListAdaptor.cs +++ b/Assets/Fungus/Scripts/Editor/CommandListAdaptor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -24,8 +24,9 @@ namespace Fungus.EditorUtils if (commandLabelStyle == null) { - commandLabelStyle = new GUIStyle(GUI.skin.box); + commandLabelStyle = new GUIStyle(GUI.skin.label); commandLabelStyle.normal.background = FungusEditorResources.CommandBackground; + commandLabelStyle.normal.textColor = Color.black; int borderSize = 5; commandLabelStyle.border.top = borderSize; commandLabelStyle.border.bottom = borderSize; diff --git a/Assets/Fungus/Scripts/Editor/ControlAudioEditor.cs b/Assets/Fungus/Scripts/Editor/ControlAudioEditor.cs index 489bc86b..dac3b79a 100644 --- a/Assets/Fungus/Scripts/Editor/ControlAudioEditor.cs +++ b/Assets/Fungus/Scripts/Editor/ControlAudioEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/CustomGUI.cs b/Assets/Fungus/Scripts/Editor/CustomGUI.cs index 89a489bd..10ffa73d 100644 --- a/Assets/Fungus/Scripts/Editor/CustomGUI.cs +++ b/Assets/Fungus/Scripts/Editor/CustomGUI.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Editor/CustomVariableDrawerLookup.cs b/Assets/Fungus/Scripts/Editor/CustomVariableDrawerLookup.cs new file mode 100644 index 00000000..1cbb0682 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/CustomVariableDrawerLookup.cs @@ -0,0 +1,59 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections.Generic; +using UnityEditor; +using UnityEngine; + +namespace Fungus.EditorUtils +{ + /// + /// Fungus Variables are drawn via EditorGUI.Property by default, however, some types may require a custom replacement. + /// The most common example is a Quaternion, Unity does not show you a quaternion as 4 floats, it shows you + /// the euler angles, we also want to do that here + /// + /// This class is delegated to by editors to draw the actual variable property line. + /// + public static class CustomVariableDrawerLookup + { + //If you create new types that require custom singleline drawers, add them here + public static Dictionary> typeToDrawer = + new Dictionary>() + { + { + typeof(QuaternionVariable), + (rect, valueProp) => {valueProp.quaternionValue = UnityEngine.Quaternion.Euler(UnityEditor.EditorGUI.Vector3Field(rect, new UnityEngine.GUIContent(""), valueProp.quaternionValue.eulerAngles)); } + }, + { + typeof(Vector4Variable), + (rect, valueProp) => {valueProp.vector4Value = UnityEditor.EditorGUI.Vector4Field(rect, new UnityEngine.GUIContent(""), valueProp.vector4Value); } + }, + }; + + public static bool GetDrawer(System.Type type, out System.Action drawer) + { + return typeToDrawer.TryGetValue(type, out drawer); + } + + /// + /// Called by editors that want a single line variable property drawn + /// + /// + /// + /// + public static void DrawCustomOrPropertyField(System.Type type, Rect rect, SerializedProperty prop) + { + System.Action drawer = null; + //delegate actual drawing to the variableInfo + var foundDrawer = typeToDrawer.TryGetValue(type, out drawer); + if (foundDrawer) + { + drawer(rect, prop); + } + else + { + EditorGUI.PropertyField(rect, prop, new GUIContent("")); + } + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/CustomVariableDrawerLookup.cs.meta b/Assets/Fungus/Scripts/Editor/CustomVariableDrawerLookup.cs.meta new file mode 100644 index 00000000..ad272a5d --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/CustomVariableDrawerLookup.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ce09adfbce8ccde4db2fa5371897b2b0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/DialogInputEditor.cs b/Assets/Fungus/Scripts/Editor/DialogInputEditor.cs index 78abf0ce..56dabbe8 100644 --- a/Assets/Fungus/Scripts/Editor/DialogInputEditor.cs +++ b/Assets/Fungus/Scripts/Editor/DialogInputEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) namespace Fungus.EditorUtils diff --git a/Assets/Fungus/Scripts/Editor/EditorExtensions.cs b/Assets/Fungus/Scripts/Editor/EditorExtensions.cs index a1968ee5..4a3c9279 100644 --- a/Assets/Fungus/Scripts/Editor/EditorExtensions.cs +++ b/Assets/Fungus/Scripts/Editor/EditorExtensions.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Editor/EditorZoomArea.cs b/Assets/Fungus/Scripts/Editor/EditorZoomArea.cs index 7acbceb4..1a9155ce 100644 --- a/Assets/Fungus/Scripts/Editor/EditorZoomArea.cs +++ b/Assets/Fungus/Scripts/Editor/EditorZoomArea.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // Original code by Martin Ecker (http://martinecker.com) @@ -52,6 +52,22 @@ namespace Fungus.EditorUtils result.y += pivotPoint.y; return result; } + + public static Rect SnapPosition(this Rect rect, float snapInterval) + { + var tmp = rect; + var x = tmp.position.x; + var y = tmp.position.y; + tmp.position = new Vector2(Mathf.RoundToInt(x / snapInterval) * snapInterval, Mathf.RoundToInt(y / snapInterval) * snapInterval); + return tmp; + } + + public static Rect SnapWidth(this Rect rect, float snapInterval) + { + var tmp = rect; + tmp.width = Mathf.RoundToInt(tmp.width / snapInterval) * snapInterval; + return tmp; + } } public class EditorZoomArea diff --git a/Assets/Fungus/Scripts/Editor/EnumFlagDrawer.cs b/Assets/Fungus/Scripts/Editor/EnumFlagDrawer.cs index 28e1fb7f..d3d80847 100644 --- a/Assets/Fungus/Scripts/Editor/EnumFlagDrawer.cs +++ b/Assets/Fungus/Scripts/Editor/EnumFlagDrawer.cs @@ -1,5 +1,7 @@ -//from http://wiki.unity3d.com/index.php/EnumFlagPropertyDrawer +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) +// Adapated from http://wiki.unity3d.com/index.php/EnumFlagPropertyDrawer //placed in fungus namespace to avoid collisions with your own using System; diff --git a/Assets/Fungus/Scripts/Editor/EventHandlerEditor.cs b/Assets/Fungus/Scripts/Editor/EventHandlerEditor.cs index 7bd49673..ef475059 100644 --- a/Assets/Fungus/Scripts/Editor/EventHandlerEditor.cs +++ b/Assets/Fungus/Scripts/Editor/EventHandlerEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/EventWindow.cs b/Assets/Fungus/Scripts/Editor/EventWindow.cs index 774670d7..bd14c239 100644 --- a/Assets/Fungus/Scripts/Editor/EventWindow.cs +++ b/Assets/Fungus/Scripts/Editor/EventWindow.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // Adapted from: https://github.com/thecodejunkie/unity.resources/blob/master/scripts/editor/ExtendedEditorWindow.cs diff --git a/Assets/Fungus/Scripts/Editor/ExportReferenceDocs.cs b/Assets/Fungus/Scripts/Editor/ExportReferenceDocs.cs new file mode 100644 index 00000000..a7349be8 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/ExportReferenceDocs.cs @@ -0,0 +1,226 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Reflection; +using System.Text.RegularExpressions; +using UnityEditor; +using UnityEngine; + +namespace Fungus.EditorUtils +{ + /// + /// Helper functions for generating the markdown files for Fungus Commands and Events. + /// + public static class ExportReferenceDocs + { + private const string CommandRefDocPath = BaseDocPath + "command_ref/"; + private const string BaseDocPath = "./Docs/"; + + [MenuItem("Tools/Fungus/Utilities/Export Reference Docs")] + public static void Export() + { + ExportCommandInfo(); + ExportEventHandlerInfo(); + + FlowchartWindow.ShowNotification("Exported Reference Documentation"); + } + + private static void ExportCommandInfo() + { + // Dump command info + List menuTypes = EditorExtensions.FindDerivedTypes(typeof(Command)).ToList(); + List> filteredAttributes = BlockEditor.GetFilteredCommandInfoAttribute(menuTypes); + filteredAttributes.Sort(BlockEditor.CompareCommandAttributes); + + // Build list of command categories + List commandCategories = new List(); + foreach (var keyPair in filteredAttributes) + { + CommandInfoAttribute info = keyPair.Value; + if (info.Category != "" && + !commandCategories.Contains(info.Category)) + { + commandCategories.Add(info.Category); + } + } + commandCategories.Sort(); + + var sb = new System.Text.StringBuilder(@"# Command Reference + +This is the reference documentation for all Fungus commands. + +"); + // Output the commands in each category + foreach (string category in commandCategories) + { + string markdown = "# " + category + " commands # {#" + category.ToLower() + "_commands}\n\n"; + markdown += "[TOC]\n"; + + foreach (var keyPair in filteredAttributes) + { + CommandInfoAttribute info = keyPair.Value; + + if (info.Category == category || + info.Category == "" && category == "Scripting") + { + markdown += "# " + info.CommandName + " # {#" + info.CommandName.Replace(" ", "") + "}\n"; + markdown += info.HelpText + "\n\n"; + markdown += "Defined in " + keyPair.Key.FullName + "\n"; + markdown += GetPropertyInfo(keyPair.Key); + } + } + + WriteFile(markdown, CommandRefDocPath, category.ToLower(), "_commands.md"); + sb.Append("* [").Append(category).Append("](").Append(category.ToLower()).AppendLine("_commands)"); + } + + sb.AppendLine(); + WriteFile(sb.ToString(), BaseDocPath, "", "command_reference.md"); + } + + private static void ExportEventHandlerInfo() + { + List eventHandlerTypes = EditorExtensions.FindDerivedTypes(typeof(EventHandler)).ToList(); + List eventHandlerCategories = new List(); + eventHandlerCategories.Add("Core"); + foreach (System.Type type in eventHandlerTypes) + { + EventHandlerInfoAttribute info = EventHandlerEditor.GetEventHandlerInfo(type); + if (info != null && + info.Category != "" && + !eventHandlerCategories.Contains(info.Category)) + { + eventHandlerCategories.Add(info.Category); + } + } + eventHandlerCategories.Sort(); + + var sb = new System.Text.StringBuilder(@"# Event Handler Reference {#eventhandler_reference} + +This is the reference documentation for all Fungus event handlers. + +"); + + // Output the commands in each category + foreach (string category in eventHandlerCategories) + { + string markdown = "# " + category + " event handlers # {#" + category.ToLower() + "_events}\n\n"; + markdown += "[TOC]\n"; + + foreach (System.Type type in eventHandlerTypes) + { + EventHandlerInfoAttribute info = EventHandlerEditor.GetEventHandlerInfo(type); + + if (info != null && + (info.Category == category || + (info.Category == "" && category == "Core"))) + { + markdown += "# " + info.EventHandlerName + " # {#" + info.EventHandlerName.Replace(" ", "") + "}\n"; + markdown += info.HelpText + "\n\n"; + markdown += "Defined in " + type.FullName + "\n"; + markdown += GetPropertyInfo(type); + } + } + + WriteFile(markdown, CommandRefDocPath, category.ToLower(), "_events.md"); + sb.Append("* [").Append(category).Append("](").Append(category.ToLower()).AppendLine("_events)"); + } + + sb.AppendLine(); + WriteFile(sb.ToString(), BaseDocPath, "", "eventhandler_reference.md"); + } + + private static void WriteFile(string markdown, string path, string category, string suffix) + { + markdown += "Auto-Generated by Fungus.ExportReferenceDocs"; + + string filePath = path + category.ToLower() + suffix; + + Directory.CreateDirectory(Path.GetDirectoryName(filePath)); + File.WriteAllText(filePath, markdown); + } + + private static string GetPropertyInfo(System.Type type) + { + string markdown = ""; + foreach (FieldInfo field in type.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)) + { + TooltipAttribute attribute = (TooltipAttribute)Attribute.GetCustomAttribute(field, typeof(TooltipAttribute)); + if (attribute == null) + { + continue; + } + + // Change field name to how it's displayed in the inspector + string propertyName = Regex.Replace(field.Name, "(\\B[A-Z])", " $1"); + if (propertyName.Length > 1) + { + propertyName = propertyName.Substring(0, 1).ToUpper() + propertyName.Substring(1); + } + else + { + propertyName = propertyName.ToUpper(); + } + + markdown += propertyName + " | " + field.FieldType + " | " + attribute.tooltip + "\n"; + } + + if (markdown.Length > 0) + { + markdown = "\nProperty | Type | Description\n --- | --- | ---\n" + markdown + "\n"; + } + + return markdown; + } + + [MenuItem("Tools/Fungus/Utilities/Convert Docs to GitHub MD")] + public static void ConvertAllToGHMD() + { + var files = Directory.GetFiles(BaseDocPath, "*.md", SearchOption.AllDirectories); + foreach (var file in files) + { + ConvertFileToGHMD(file); + } + + FlowchartWindow.ShowNotification("Converted " + files.Length.ToString() + " to Github MD"); + } + + //strips anchor links and TOC, which are not supported on Github wiki mds + private static void ConvertFileToGHMD(string fileLoc) + { + var sb = new System.Text.StringBuilder(); + var lines = File.ReadAllLines(fileLoc); + + foreach (var line in lines) + { + if (line.Length > 0 && line[0] == '#') + { + var secondToken = line.IndexOf(" # "); + if (secondToken != -1) + { + var heading = line.Substring(0, secondToken); + sb.AppendLine(heading); + } + else + { + sb.AppendLine(line); + } + } + else if (line == "[TOC]") + { + //skip + } + else + { + sb.AppendLine(line); + } + } + + File.WriteAllText(fileLoc, sb.ToString()); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/ExportReferenceDocs.cs.meta b/Assets/Fungus/Scripts/Editor/ExportReferenceDocs.cs.meta new file mode 100644 index 00000000..74e709f7 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/ExportReferenceDocs.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ae5ffaf325414b049a5c31ab9b9bb22d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/FlowchartEditor.cs b/Assets/Fungus/Scripts/Editor/FlowchartEditor.cs index f9566f21..d286f611 100644 --- a/Assets/Fungus/Scripts/Editor/FlowchartEditor.cs +++ b/Assets/Fungus/Scripts/Editor/FlowchartEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/FlowchartMenuItems.cs b/Assets/Fungus/Scripts/Editor/FlowchartMenuItems.cs index acd4cc73..c05beec5 100644 --- a/Assets/Fungus/Scripts/Editor/FlowchartMenuItems.cs +++ b/Assets/Fungus/Scripts/Editor/FlowchartMenuItems.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs index 985fd3ff..c746557f 100644 --- a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs +++ b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -172,12 +172,29 @@ namespace Fungus.EditorUtils } } + + + public const float GridLineSpacingSize = 120; + public const float GridObjectSnap = 20; + public const float DefaultBlockHeight = 40; + public const float BlockMinWidth = 60; + public const float BlockMaxWidth = 240; + public const float MinZoomValue = 0.25f; + public const float MaxZoomValue = 1f; + public const int HorizontalPad = 20; + public const int VerticalPad = 5; + //defines the distance between a down and up for a right click to be a click rather than a drag + public const float RightClickTolerance = 5f; + public const string SearchFieldName = "search"; + + + protected readonly Color connectionColor = new Color(0.65f, 0.65f, 0.65f, 1.0f); + + protected List copyList = new List(); public static List deleteList = new List(); protected Vector2 startDragPosition; - public const float minZoomValue = 0.25f; - public const float maxZoomValue = 1f; - protected GUIStyle nodeStyle = new GUIStyle(); + protected GUIStyle nodeStyle, descriptionStyle, handlerStyle, blockSearchPopupNormalStyle, blockSearchPopupSelectedStyle; protected static BlockInspector blockInspector; protected int forceRepaintCount; protected Texture2D addTexture; @@ -187,16 +204,13 @@ namespace Fungus.EditorUtils protected Vector2 startSelectionBoxPosition = -Vector2.one; protected List mouseDownSelectionState = new List(); protected Color gridLineColor = Color.black; - protected readonly Color connectionColor = new Color(0.65f, 0.65f, 0.65f, 1.0f); // Context Click occurs on MouseDown which interferes with panning // Track right click positions manually to show menus on MouseUp protected Vector2 rightClickDown = -Vector2.one; - protected const float rightClickTolerance = 5f; - protected const string searchFieldName = "search"; private string searchString = string.Empty; protected Rect searchRect; protected Rect popupRect; - protected Block[] filteredBlocks = new Block[0]; + protected List filteredBlocks = new List(); protected int blockPopupSelection = -1; protected Vector2 popupScroll; protected Flowchart flowchart, prevFlowchart; @@ -224,6 +238,8 @@ namespace Fungus.EditorUtils } } private GUIStyle toolbarSeachCancelButtonStyle; + private bool didDoubleClick; + protected GUIStyle ToolbarSeachCancelButtonStyle { get @@ -243,13 +259,6 @@ namespace Fungus.EditorUtils protected virtual void OnEnable() { - // All block nodes use the same GUIStyle, but with a different background - nodeStyle.border = new RectOffset(20, 20, 5, 5); - nodeStyle.padding = nodeStyle.border; - nodeStyle.contentOffset = Vector2.zero; - nodeStyle.alignment = TextAnchor.MiddleCenter; - nodeStyle.wordWrap = true; - addTexture = FungusEditorResources.AddSmall; addButtonContent = new GUIContent(addTexture, "Add a new block"); connectionPointTexture = FungusEditorResources.ConnectionPoint; @@ -270,6 +279,47 @@ namespace Fungus.EditorUtils #endif } + //cache styles here, rather than duping them for every block we may ever draw, + // does mean any modifications made to the style when drawing must be undone as you go + protected void InitStyles() + { + if (nodeStyle == null) + { + nodeStyle = new GUIStyle(); + // All block nodes use the same GUIStyle, but with a different background + nodeStyle.border = new RectOffset(HorizontalPad, HorizontalPad, VerticalPad, VerticalPad); + nodeStyle.padding = nodeStyle.border; + nodeStyle.contentOffset = Vector2.zero; + nodeStyle.alignment = TextAnchor.MiddleCenter; + nodeStyle.wordWrap = true; + } + + if (EditorStyles.helpBox != null && descriptionStyle == null) + { + descriptionStyle = new GUIStyle(EditorStyles.helpBox); + descriptionStyle.wordWrap = true; + } + + if (EditorStyles.whiteLabel != null && handlerStyle == null) + { + handlerStyle = new GUIStyle(EditorStyles.whiteLabel); + handlerStyle.wordWrap = true; + handlerStyle.margin.top = 0; + handlerStyle.margin.bottom = 0; + handlerStyle.alignment = TextAnchor.MiddleCenter; + } + + if(blockSearchPopupNormalStyle == null || blockSearchPopupSelectedStyle == null) + { + blockSearchPopupNormalStyle = new GUIStyle(GUI.skin.FindStyle("MenuItem")); + blockSearchPopupNormalStyle.padding = new RectOffset(8, 0, 0, 0); + blockSearchPopupNormalStyle.imagePosition = ImagePosition.ImageLeft; + blockSearchPopupSelectedStyle = new GUIStyle(blockSearchPopupNormalStyle); + blockSearchPopupSelectedStyle.normal = blockSearchPopupSelectedStyle.hover; + blockSearchPopupNormalStyle.hover = blockSearchPopupNormalStyle.normal; + } + } + protected virtual void OnDisable() { EditorApplication.update -= OnEditorUpdate; @@ -353,7 +403,7 @@ namespace Fungus.EditorUtils if (flowchart == null) { blocks = new Block[0]; - filteredBlocks = new Block[0]; + filteredBlocks = new List(); } else { @@ -470,30 +520,41 @@ namespace Fungus.EditorUtils { filterStale = false; //reset all - for (int i = 0; filteredBlocks != null && i < filteredBlocks.Length; i++) + for (int i = 0; filteredBlocks != null && i < filteredBlocks.Count; i++) { if (filteredBlocks[i] != null) { - filteredBlocks[i].IsFiltered = false; + filteredBlocks[i].FilterState = Block.FilteredState.None; } } var nullCount = filteredBlocks.Count(x => x == null); - if (nullCount > 0 && nullCount != filteredBlocks.Length) + if (nullCount > 0 && nullCount != filteredBlocks.Count) { Debug.LogWarning("Null block found in filteredBlocks. May be a symptom of an underlying issue"); } - //gather new - filteredBlocks = blocks.Where(block => IsBlockNameMatch(block) || IsCommandContentMatch(block)).ToArray(); - - //update filteredness - foreach (var item in filteredBlocks) + filteredBlocks.Clear(); + + for (int i = 0; i < blocks.Length; i++) { - item.IsFiltered = true; + var item = blocks[i]; + if (item != null) + { + if(IsBlockNameMatch(item)) + { + filteredBlocks.Add(item); + item.FilterState = Block.FilteredState.Full; + } + else if (IsCommandContentMatch(item)) + { + filteredBlocks.Add(item); + item.FilterState = Block.FilteredState.Partial; + } + } } - blockPopupSelection = Mathf.Clamp(blockPopupSelection, 0, filteredBlocks.Length - 1); + blockPopupSelection = Mathf.Clamp(blockPopupSelection, 0, filteredBlocks.Count - 1); } } @@ -528,7 +589,7 @@ namespace Fungus.EditorUtils break; case EventType.KeyDown: - if (GUI.GetNameOfFocusedControl() == searchFieldName) + if (GUI.GetNameOfFocusedControl() == SearchFieldName) { var centerBlock = false; var selectBlock = false; @@ -562,9 +623,9 @@ namespace Fungus.EditorUtils break; } - blockPopupSelection = Mathf.Clamp(blockPopupSelection, 0, filteredBlocks.Length - 1); + blockPopupSelection = Mathf.Clamp(blockPopupSelection, 0, filteredBlocks.Count - 1); - if (centerBlock && filteredBlocks.Length > 0) + if (centerBlock && filteredBlocks.Count > 0) { var block = filteredBlocks[blockPopupSelection]; CenterBlock(block); @@ -682,11 +743,11 @@ namespace Fungus.EditorUtils //attempt to defilter previous, if due to scene change these will be null // the regular filter updates will still occur within UpdateBlockCollection - for (int i = 0; i < filteredBlocks.Length; i++) + for (int i = 0; i < filteredBlocks.Count; i++) { if (filteredBlocks[i] != null) { - filteredBlocks[i].IsFiltered = false; + filteredBlocks[i].FilterState = Block.FilteredState.None; } } @@ -713,6 +774,8 @@ namespace Fungus.EditorUtils return; } + InitStyles(); + DeleteBlocks(); UpdateFilteredBlocks(); @@ -785,7 +848,7 @@ namespace Fungus.EditorUtils // Draw scale bar and labels GUILayout.Label("Scale", EditorStyles.miniLabel); var newZoom = GUILayout.HorizontalSlider( - flowchart.Zoom, minZoomValue, maxZoomValue, GUILayout.MinWidth(40), GUILayout.MaxWidth(100) + flowchart.Zoom, MinZoomValue, MaxZoomValue, GUILayout.MinWidth(40), GUILayout.MaxWidth(100) ); GUILayout.Label(flowchart.Zoom.ToString("0.0#x"), EditorStyles.miniLabel, GUILayout.Width(30)); @@ -803,13 +866,14 @@ namespace Fungus.EditorUtils GUILayout.FlexibleSpace(); // Draw search bar - GUI.SetNextControlName(searchFieldName); + GUI.SetNextControlName(SearchFieldName); var newString = EditorGUILayout.TextField(searchString, ToolbarSeachTextFieldStyle, GUILayout.Width(150)); if (newString != searchString) { searchString = newString; filterStale = true; } + GUI.SetNextControlName(string.Empty); if (e.type == EventType.Repaint) { @@ -817,7 +881,7 @@ namespace Fungus.EditorUtils popupRect = searchRect; popupRect.width += 12; popupRect.y += popupRect.height; - popupRect.height = Mathf.Min(filteredBlocks.Length * 16, position.height - 22); + popupRect.height = Mathf.Min(Mathf.Max(1,filteredBlocks.Count) * 16, position.height - 22); } if (GUILayout.Button("", ToolbarSeachCancelButtonStyle)) @@ -855,14 +919,15 @@ namespace Fungus.EditorUtils GUILayout.EndVertical(); } GUILayout.EndHorizontal(); - DrawVariablesBlock(e); // Draw block search popup on top of other controls - if (GUI.GetNameOfFocusedControl() == searchFieldName && filteredBlocks.Length > 0) + if (!string.IsNullOrEmpty(searchString)) { DrawBlockPopup(e); } + + DrawVariablesBlock(e); } protected virtual void DrawVariablesBlock(Event e) @@ -926,7 +991,7 @@ namespace Fungus.EditorUtils protected virtual void DrawBlockPopup(Event e) { - blockPopupSelection = Mathf.Clamp(blockPopupSelection, 0, filteredBlocks.Length - 1); + blockPopupSelection = Mathf.Clamp(blockPopupSelection, 0, Mathf.Max(filteredBlocks.Count - 1,0)); GUI.Box(popupRect, "", GUI.skin.FindStyle("sv_iconselector_back")); @@ -945,48 +1010,50 @@ namespace Fungus.EditorUtils { popupScroll = EditorGUILayout.BeginScrollView(popupScroll, GUIStyle.none, GUI.skin.verticalScrollbar); { - var normalStyle = new GUIStyle(GUI.skin.FindStyle("MenuItem")); - normalStyle.padding = new RectOffset(8, 0, 0, 0); - normalStyle.imagePosition = ImagePosition.ImageLeft; - var selectedStyle = new GUIStyle(normalStyle); - selectedStyle.normal = selectedStyle.hover; - normalStyle.hover = normalStyle.normal; + for (int i = 0; i < filteredBlocks.Count; ++i) + { + DrawBlockSearchPopUpItem(filteredBlocks[i], i == blockPopupSelection); + } - for (int i = 0; i < filteredBlocks.Length; ++i) + if(filteredBlocks.Count == 0) { - EditorGUILayout.BeginHorizontal(GUILayout.Height(16)); + DrawBlockSearchPopUpItem(null, false); + } + } + EditorGUILayout.EndScrollView(); + } + GUILayout.EndArea(); + } - var block = filteredBlocks[i]; - var style = i == blockPopupSelection ? selectedStyle : normalStyle; + protected void DrawBlockSearchPopUpItem(Block block, bool selected) + { + EditorGUILayout.BeginHorizontal(GUILayout.Height(16)); - GUI.contentColor = GetBlockGraphics(block).tint; + var style = selected ? blockSearchPopupSelectedStyle : blockSearchPopupNormalStyle; - var buttonPressed = false; - if (GUILayout.Button(FungusEditorResources.BulletPoint, style, GUILayout.Width(16))) - { - buttonPressed = true; - } + GUI.contentColor = block != null ? GetBlockGraphics(block).tint : Color.white; - GUI.contentColor = Color.white; + var buttonPressed = false; + if (GUILayout.Button(FungusEditorResources.BulletPoint, style, GUILayout.Width(16))) + { + buttonPressed = true; + } - if (GUILayout.Button(block.BlockName, style)) - { - buttonPressed = true; - } + GUI.contentColor = Color.white; - if (buttonPressed) - { - CenterBlock(block); - SelectBlock(block); - CloseBlockPopup(); - } + if (GUILayout.Button(block != null ? block.BlockName : "No Matches", style)) + { + buttonPressed = true; + } - EditorGUILayout.EndHorizontal(); - } - } - EditorGUILayout.EndScrollView(); + if (buttonPressed) + { + CenterBlock(block); + SelectBlock(block); + CloseBlockPopup(); } - GUILayout.EndArea(); + + EditorGUILayout.EndHorizontal(); } protected Block GetBlockAtPoint(Vector2 point) @@ -1027,6 +1094,15 @@ namespace Fungus.EditorUtils { if (hitBlock != null) { + if(e.clickCount == 2) + { + CenterBlock(hitBlock); + + e.Use(); + didDoubleClick = true; + return; + } + startDragPosition = e.mousePosition / flowchart.Zoom - flowchart.ScrollPos; Undo.RecordObject(flowchart, "Select"); @@ -1141,7 +1217,7 @@ namespace Fungus.EditorUtils break; case MouseButton.Right: - if (Vector2.Distance(rightClickDown, e.mousePosition) > rightClickTolerance) + if (Vector2.Distance(rightClickDown, e.mousePosition) > RightClickTolerance) { rightClickDown = -Vector2.one; } @@ -1177,7 +1253,13 @@ namespace Fungus.EditorUtils switch (e.button) { case MouseButton.Left: - + if(didDoubleClick) + { + didDoubleClick = false; + return; + } + + if (dragBlock != null) { for (int i = 0; i < flowchart.SelectedBlocks.Count; ++i) @@ -1190,6 +1272,11 @@ namespace Fungus.EditorUtils Undo.RecordObject(block, "Block Position"); tempRect.position += distance; block._NodeRect = tempRect; + if (FungusEditorPreferences.useGridSnap) + { + block._NodeRect = block._NodeRect.SnapPosition(GridObjectSnap); + } + Repaint(); } dragBlock = null; @@ -1328,12 +1415,6 @@ namespace Fungus.EditorUtils { DrawGrid(); - // Draw connections - foreach (var block in blocks) - { - DrawConnections(block); - } - //draw all non selected for (int i = 0; i < blocks.Length; ++i) { @@ -1350,7 +1431,7 @@ namespace Fungus.EditorUtils DrawBlock(block, scriptViewRect); } - //draw all selected + //draw all selected for (int i = 0; i < blocks.Length; ++i) { var block = blocks[i]; @@ -1452,13 +1533,14 @@ namespace Fungus.EditorUtils { var prevZoom = flowchart.Zoom; flowchart.Zoom += delta; - flowchart.Zoom = Mathf.Clamp(flowchart.Zoom, minZoomValue, maxZoomValue); + flowchart.Zoom = Mathf.Clamp(flowchart.Zoom, MinZoomValue, MaxZoomValue); var deltaSize = position.size / prevZoom - position.size / flowchart.Zoom; var offset = -Vector2.Scale(deltaSize, center); flowchart.ScrollPos += offset; forceRepaintCount = 1; } + //Potentially could be faster using https://forum.unity.com/threads/how-do-i-access-the-background-image-used-for-the-animator.501876/ protected virtual void DrawGrid() { float width = this.position.width / flowchart.Zoom; @@ -1466,23 +1548,22 @@ namespace Fungus.EditorUtils Handles.color = gridLineColor; - float gridSize = 128f; - float x = flowchart.ScrollPos.x % gridSize; + float x = flowchart.ScrollPos.x % GridLineSpacingSize; while (x < width) { Handles.DrawLine(new Vector2(x, 0), new Vector2(x, height)); - x += gridSize; + x += GridLineSpacingSize; } - float y = (flowchart.ScrollPos.y % gridSize); + float y = (flowchart.ScrollPos.y % GridLineSpacingSize); while (y < height) { if (y >= 0) { Handles.DrawLine(new Vector2(0, y), new Vector2(width, y)); } - y += gridSize; + y += GridLineSpacingSize; } Handles.color = Color.white; @@ -1517,6 +1598,18 @@ namespace Fungus.EditorUtils return newBlock; } + public Block CreateBlockSuppressSelect(Flowchart flowchart, Vector2 position) + { + Block newBlock = flowchart.CreateBlock(position); + UpdateBlockCollection(); + Undo.RegisterCreatedObjectUndo(newBlock, "New Block"); + + return newBlock; + } + + //prevent every DrawConnections from allocating a new list for all of its connections + protected List connectedBlocksWorkSpace = new List(); + protected virtual void DrawConnections(Block block) { if (block == null) @@ -1524,7 +1617,6 @@ namespace Fungus.EditorUtils return; } - var connectedBlocks = new List(); bool blockIsSelected = flowchart.SelectedBlock == block; @@ -1552,10 +1644,10 @@ namespace Fungus.EditorUtils bool highlight = command.IsExecuting || (blockIsSelected && commandIsSelected); - connectedBlocks.Clear(); - command.GetConnectedBlocks(ref connectedBlocks); + connectedBlocksWorkSpace.Clear(); + command.GetConnectedBlocks(ref connectedBlocksWorkSpace); - foreach (var blockB in connectedBlocks) + foreach (var blockB in connectedBlocksWorkSpace) { if (blockB == null || block == blockB || @@ -1919,7 +2011,7 @@ namespace Fungus.EditorUtils case "Find": blockPopupSelection = 0; popupScroll = Vector2.zero; - EditorGUI.FocusTextInControl(searchFieldName); + EditorGUI.FocusTextInControl(SearchFieldName); e.Use(); break; } @@ -1939,12 +2031,17 @@ namespace Fungus.EditorUtils { GUIUtility.keyboardControl = 0; searchString = string.Empty; + filterStale = true; } + static protected List blockGraphicsUniqueListWorkSpace = new List(); + static protected List blockGraphicsConnectedWorkSpace = new List(); protected virtual BlockGraphics GetBlockGraphics(Block block) { var graphics = new BlockGraphics(); + blockGraphicsUniqueListWorkSpace.Clear(); + blockGraphicsConnectedWorkSpace.Clear(); Color defaultTint; if (block._EventHandler != null) { @@ -1955,19 +2052,18 @@ namespace Fungus.EditorUtils else { // Count the number of unique connections (excluding self references) - var uniqueList = new List(); - var connectedBlocks = block.GetConnectedBlocks(); - foreach (var connectedBlock in connectedBlocks) + block.GetConnectedBlocks(ref blockGraphicsConnectedWorkSpace); + foreach (var connectedBlock in blockGraphicsConnectedWorkSpace) { if (connectedBlock == block || - uniqueList.Contains(connectedBlock)) + blockGraphicsUniqueListWorkSpace.Contains(connectedBlock)) { continue; } - uniqueList.Add(connectedBlock); + blockGraphicsUniqueListWorkSpace.Add(connectedBlock); } - if (uniqueList.Count > 1) + if (blockGraphicsUniqueListWorkSpace.Count > 1) { graphics.offTexture = FungusEditorResources.ChoiceNodeOff; graphics.onTexture = FungusEditorResources.ChoiceNodeOn; @@ -1989,79 +2085,90 @@ namespace Fungus.EditorUtils private void DrawBlock(Block block, Rect scriptViewRect) { float nodeWidthA = nodeStyle.CalcSize(new GUIContent(block.BlockName)).x + 10; - float nodeWidthB = 0f; - if (block._EventHandler != null) + + Rect tempRect = block._NodeRect; + tempRect.width = Mathf.Clamp(nodeWidthA, BlockMinWidth, BlockMaxWidth); + tempRect.height = DefaultBlockHeight; + if (FungusEditorPreferences.useGridSnap) { - nodeWidthB = nodeStyle.CalcSize(new GUIContent(block._EventHandler.GetSummary())).x + 10; + tempRect = tempRect.SnapWidth(GridObjectSnap); } - - Rect tempRect = block._NodeRect; - tempRect.width = Mathf.Max(Mathf.Max(nodeWidthA, nodeWidthB), 120); - tempRect.height = 40; block._NodeRect = tempRect; - Rect windowRect = new Rect(block._NodeRect); - windowRect.position += flowchart.ScrollPos; + // Draw blocks + var graphics = GetBlockGraphics(block); + + Rect windowRelativeRect = new Rect(block._NodeRect); + if (FungusEditorPreferences.useGridSnap) + { + windowRelativeRect = windowRelativeRect.SnapPosition(GridObjectSnap); + } + windowRelativeRect.position += flowchart.ScrollPos; //skip if outside of view - if (!scriptViewRect.Overlaps(windowRect)) + if (!scriptViewRect.Overlaps(windowRelativeRect)) return; - // Draw blocks - GUIStyle nodeStyleCopy = new GUIStyle(nodeStyle); - var graphics = GetBlockGraphics(block); - - // Make sure node is wide enough to fit the node name text - float width = nodeStyleCopy.CalcSize(new GUIContent(block.BlockName)).x; - tempRect = block._NodeRect; - tempRect.width = Mathf.Max(block._NodeRect.width, width); - block._NodeRect = tempRect; + var tmpNormBg = nodeStyle.normal.background; // Draw untinted highlight if (block.IsSelected && !block.IsControlSelected) { GUI.backgroundColor = Color.white; - nodeStyleCopy.normal.background = graphics.onTexture; - GUI.Box(windowRect, "", nodeStyleCopy); + nodeStyle.normal.background = graphics.onTexture; + GUI.Box(windowRelativeRect, "", nodeStyle); + nodeStyle.normal.background = tmpNormBg; } if (block.IsControlSelected && !block.IsSelected) { GUI.backgroundColor = Color.white; - nodeStyleCopy.normal.background = graphics.onTexture; + nodeStyle.normal.background = graphics.onTexture; var c = GUI.backgroundColor; c.a = 0.5f; GUI.backgroundColor = c; - GUI.Box(windowRect, "", nodeStyleCopy); + GUI.Box(windowRelativeRect, "", nodeStyle); + nodeStyle.normal.background = tmpNormBg; } // Draw tinted block; ensure text is readable var brightness = graphics.tint.r * 0.3 + graphics.tint.g * 0.59 + graphics.tint.b * 0.11; - nodeStyleCopy.normal.textColor = brightness >= 0.5 ? Color.black : Color.white; + var tmpNormTxtCol = nodeStyle.normal.textColor; + nodeStyle.normal.textColor = brightness >= 0.5 ? Color.black : Color.white; - if (GUI.GetNameOfFocusedControl() == searchFieldName && !block.IsFiltered) + switch (block.FilterState) { + case Block.FilteredState.Full: + break; + case Block.FilteredState.Partial: + graphics.tint.a *= 0.65f; + break; + case Block.FilteredState.None: graphics.tint.a *= 0.2f; + break; + default: + break; } - nodeStyleCopy.normal.background = graphics.offTexture; + nodeStyle.normal.background = graphics.offTexture; GUI.backgroundColor = graphics.tint; - GUI.Box(windowRect, block.BlockName, nodeStyleCopy); + GUI.Box(windowRelativeRect, block.BlockName, nodeStyle); GUI.backgroundColor = Color.white; if (block.Description.Length > 0) { - GUIStyle descriptionStyle = new GUIStyle(EditorStyles.helpBox); - descriptionStyle.wordWrap = true; var content = new GUIContent(block.Description); - windowRect.y += windowRect.height; - windowRect.height = descriptionStyle.CalcHeight(content, windowRect.width); - GUI.Label(windowRect, content, descriptionStyle); + windowRelativeRect.y += windowRelativeRect.height; + windowRelativeRect.height = descriptionStyle.CalcHeight(content, windowRelativeRect.width); + GUI.Label(windowRelativeRect, content, descriptionStyle); } GUI.backgroundColor = Color.white; + nodeStyle.normal.textColor = tmpNormTxtCol; + nodeStyle.normal.background = tmpNormBg; + // Draw Event Handler labels if (block._EventHandler != null) { @@ -2071,13 +2178,7 @@ namespace Fungus.EditorUtils { handlerLabel = "<" + info.EventHandlerName + "> "; } - - GUIStyle handlerStyle = new GUIStyle(EditorStyles.whiteLabel); - handlerStyle.wordWrap = true; - handlerStyle.margin.top = 0; - handlerStyle.margin.bottom = 0; - handlerStyle.alignment = TextAnchor.MiddleCenter; - + Rect rect = new Rect(block._NodeRect); rect.height = handlerStyle.CalcHeight(new GUIContent(handlerLabel), block._NodeRect.width); rect.x += flowchart.ScrollPos.x; @@ -2085,6 +2186,9 @@ namespace Fungus.EditorUtils GUI.Label(rect, handlerLabel, handlerStyle); } + + + DrawConnections(block); } } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/FungusEditorPreferences.cs b/Assets/Fungus/Scripts/Editor/FungusEditorPreferences.cs index fa8021fc..48c910b1 100644 --- a/Assets/Fungus/Scripts/Editor/FungusEditorPreferences.cs +++ b/Assets/Fungus/Scripts/Editor/FungusEditorPreferences.cs @@ -1,4 +1,7 @@ -using System.Linq; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Linq; using UnityEditor; using UnityEngine; @@ -18,9 +21,11 @@ namespace Fungus private static bool prefsLoaded = false; private const string HIDE_MUSH_KEY = "hideMushroomInHierarchy"; private const string USE_LEGACY_MENUS = "useLegacyMenus"; + private const string USE_GRID_SNAP = "useGridSnap"; public static bool hideMushroomInHierarchy; public static bool useLegacyMenus; + public static bool useGridSnap; static FungusEditorPreferences() { @@ -60,6 +65,7 @@ namespace Fungus // Preferences GUI hideMushroomInHierarchy = EditorGUILayout.Toggle("Hide Mushroom Flowchart Icon", hideMushroomInHierarchy); useLegacyMenus = EditorGUILayout.Toggle(new GUIContent("Legacy Menus", "Force Legacy menus for Event, Add Variable and Add Command menus"), useLegacyMenus); + useGridSnap = EditorGUILayout.Toggle(new GUIContent("Grid Snap", "Align and Snap block positions and widths in the flowchart window to the grid"), useGridSnap); EditorGUILayout.Space(); //ideally if any are null, but typically it is all or nothing that have broken links due to version changes or moving files external to Unity @@ -110,6 +116,7 @@ namespace Fungus { EditorPrefs.SetBool(HIDE_MUSH_KEY, hideMushroomInHierarchy); EditorPrefs.SetBool(USE_LEGACY_MENUS, useLegacyMenus); + EditorPrefs.SetBool(USE_GRID_SNAP, useGridSnap); } } @@ -117,6 +124,7 @@ namespace Fungus { hideMushroomInHierarchy = EditorPrefs.GetBool(HIDE_MUSH_KEY, false); useLegacyMenus = EditorPrefs.GetBool(USE_LEGACY_MENUS, false); + useGridSnap = EditorPrefs.GetBool(USE_GRID_SNAP, false); prefsLoaded = true; } } diff --git a/Assets/Fungus/Scripts/Editor/FungusEditorResources.cs b/Assets/Fungus/Scripts/Editor/FungusEditorResources.cs index 886db035..123c3853 100644 --- a/Assets/Fungus/Scripts/Editor/FungusEditorResources.cs +++ b/Assets/Fungus/Scripts/Editor/FungusEditorResources.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -15,7 +15,7 @@ using System.Reflection; namespace Fungus.EditorUtils { [CustomEditor(typeof(FungusEditorResources))] - internal class FungusEditorResourcesInspector : Editor + public class FungusEditorResourcesInspector : Editor { public override void OnInspectorGUI() { @@ -36,7 +36,7 @@ namespace Fungus.EditorUtils } // Handle reimporting all assets - internal class EditorResourcesPostProcessor : AssetPostprocessor + public class EditorResourcesPostProcessor : AssetPostprocessor { private static void OnPostprocessAllAssets(string[] importedAssets, string[] _, string[] __, string[] ___) { @@ -56,10 +56,10 @@ namespace Fungus.EditorUtils } } - internal partial class FungusEditorResources : ScriptableObject + public partial class FungusEditorResources : ScriptableObject { [Serializable] - internal class EditorTexture + public class EditorTexture { [SerializeField] private Texture2D free; [SerializeField] private Texture2D pro; @@ -81,7 +81,7 @@ namespace Fungus.EditorUtils private static readonly string PartialEditorResourcesPath = System.IO.Path.Combine("Fungus", "EditorResources"); [SerializeField] [HideInInspector] private bool updateOnReloadScripts = false; - internal static FungusEditorResources Instance + public static FungusEditorResources Instance { get { @@ -125,7 +125,7 @@ namespace Fungus.EditorUtils return string.Empty; } - internal static void GenerateResourcesScript() + public static void GenerateResourcesScript() { // Get all unique filenames var textureNames = new HashSet(); @@ -143,7 +143,7 @@ namespace Fungus.EditorUtils using (var writer = new StreamWriter(absolutePath)) { - writer.WriteLine("// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus)."); + writer.WriteLine("// This code is part of the Fungus library (https://github.com/snozbot/fungus)"); writer.WriteLine("// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)"); writer.WriteLine(""); writer.WriteLine("#pragma warning disable 0649"); @@ -152,7 +152,7 @@ namespace Fungus.EditorUtils writer.WriteLine(""); writer.WriteLine("namespace Fungus.EditorUtils"); writer.WriteLine("{"); - writer.WriteLine(" internal partial class FungusEditorResources : ScriptableObject"); + writer.WriteLine(" public partial class FungusEditorResources : ScriptableObject"); writer.WriteLine(" {"); foreach (var name in textureNames) @@ -187,7 +187,7 @@ namespace Fungus.EditorUtils } } - internal static void UpdateTextureReferences(FungusEditorResources instance) + public static void UpdateTextureReferences(FungusEditorResources instance) { // Iterate through all fields in instance and set texture references var serializedObject = new SerializedObject(instance); diff --git a/Assets/Fungus/Scripts/Editor/FungusEditorResourcesGenerated.cs b/Assets/Fungus/Scripts/Editor/FungusEditorResourcesGenerated.cs index bc077d06..6a45b22a 100644 --- a/Assets/Fungus/Scripts/Editor/FungusEditorResourcesGenerated.cs +++ b/Assets/Fungus/Scripts/Editor/FungusEditorResourcesGenerated.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) #pragma warning disable 0649 @@ -7,7 +7,7 @@ using UnityEngine; namespace Fungus.EditorUtils { - internal partial class FungusEditorResources : ScriptableObject + public partial class FungusEditorResources : ScriptableObject { [SerializeField] private EditorTexture add; [SerializeField] private EditorTexture add_small; diff --git a/Assets/Fungus/Scripts/Editor/GenerateVariableHelper.cs b/Assets/Fungus/Scripts/Editor/GenerateVariableHelper.cs new file mode 100644 index 00000000..28e4f521 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/GenerateVariableHelper.cs @@ -0,0 +1,778 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using UnityEditor; +using UnityEngine; + +namespace Fungus.EditorUtils +{ + /// + /// Helper script that auto generates the required script for FungusVariables that wrap existing classes. + /// + /// Intended to speed up the creation of fungus wrappers of unity builtin types and custom user types. + /// + public class VariableScriptGenerator + { + public string NamespaceUsingDeclare { get; set; } + + public bool PreviewOnly { get; set; } + private string _category = "Other"; + public string Category { get { return _category; } set { _category = value; } } + + public List types { get; private set; } + + public bool generateVariableClass = true, + generatePropertyCommand = true, + generateVariableDataClass = true, + generateOnlyDeclaredMembers = true; + + public string ClassName { get { return TargetType.Name; } } + public string CamelCaseClassName { get { return Char.ToLowerInvariant(ClassName[0]) + ClassName.Substring(1); } } + + public string GenClassName { get { return ClassName + "Variable"; } } + + public string VariableFileName { get { return VaraibleScriptLocation + ClassName + "Variable.cs"; } } + public string VariableEditorFileName { get { return EditorScriptLocation + ClassName + "VariableDrawer.cs"; } } + public string PropertyFileName { get { return PropertyScriptLocation + ClassName + "Property.cs"; } } + + private Type _targetType; + + public Type TargetType + { + get + { + return _targetType; + } + set + { + _targetType = value; + ExistingGeneratedClass = null; + ExistingGeneratedDrawerClass = null; + ExistingGeneratedPropCommandClass = null; + + if (_targetType != null) + { + ExistingGeneratedClass = types.Find(x => x.Name == GenClassName); + ExistingGeneratedDrawerClass = types.Find(x => x.Name == (ClassName + "VariableDrawer")); + ExistingGeneratedPropCommandClass = types.Find(x => x.Name == (ClassName + "Property")); + if (ExistingGeneratedPropCommandClass != null) + { + var nested = ExistingGeneratedPropCommandClass.GetNestedTypes().ToList(); + ExistingGeneratedPropEnumClass = nested.Find(x => x.Name == "Property"); + } + } + } + } + + public Type ExistingGeneratedClass { get; private set; } + public Type ExistingGeneratedDrawerClass { get; private set; } + public Type ExistingGeneratedPropCommandClass { get; private set; } + public Type ExistingGeneratedPropEnumClass { get; private set; } + + private StringBuilder getBuilder, setBuilder;// = new StringBuilder("switch (property)\n{"); + private List enumBuilder = new List(); + + //data and helper for a single native to single fungus type + public class FungusVariableTypeHelper + { + private HashSet usedTypes = new HashSet(); + private List handlers = new List(); + + public class TypeHandler + { + public TypeHandler(Type native, Type fungusType, string localName, string nativeAsString = null, string fungusTypeAsString = null) + { + NativeType = native; + NativeTypeString = string.IsNullOrEmpty(nativeAsString) ? native.Name : nativeAsString; + FungusType = fungusType; + FungusTypeString = string.IsNullOrEmpty(fungusTypeAsString) ? fungusType.Name : fungusTypeAsString; + LocalVariableName = localName; + } + + public Type NativeType { get; set; } + public Type FungusType { get; set; } + public string NativeTypeString { get; set; } + public string FungusTypeString { get; set; } + public string LocalVariableName { get; set; } + + public string GetLocalVariableNameWithDeclaration() + { + return "var " + LocalVariableName + " = inOutVar as " + FungusTypeString + ';'; + } + + public string GetVarPropText() + { + return "typeof(" + FungusTypeString + ")"; + } + } + + public void AddHandler(TypeHandler t) + { + if (handlers.Find(x => x.NativeType == t.NativeType || x.LocalVariableName == t.LocalVariableName) != null) + { + Debug.LogError("AddHandler rejected due to duplicate native field or local variable name"); + return; + } + + handlers.Add(t); + } + + public bool IsTypeHandled(Type t) + { + return handlers.Find(x => x.NativeType == t) != null; + } + + public string GetSpecificVariableVarientFromType(Type t) + { + usedTypes.Add(t); + + var loc = handlers.Find(x => x.NativeType == t); + if (loc != null) + { + return loc.LocalVariableName; + } + else + { + return "ERROR - Unsupprted type requested"; + } + } + + public string GetUsedTypeVars() + { + StringBuilder sb = new StringBuilder(); + + foreach (Type t in usedTypes) + { + var loc = handlers.Find(x => x.NativeType == t); + if (loc != null) + { + sb.Append(" "); + sb.AppendLine(loc.GetLocalVariableNameWithDeclaration()); + } + } + + return sb.ToString(); + } + + public string GetVariablePropertyTypeOfs() + { + StringBuilder sb = new StringBuilder(); + + foreach (Type t in usedTypes) + { + var loc = handlers.Find(x => x.NativeType == t); + if (loc != null) + { + if (sb.Length > 0) + { + sb.AppendLine(","); + sb.Append(" "); + } + sb.Append(loc.GetVarPropText()); + } + } + + return sb.ToString(); + } + } + + private FungusVariableTypeHelper helper = new FungusVariableTypeHelper(); + + #region consts + + // need to also track if they are preview only + static public readonly string[] AllGeneratedVariableTypeClassNames = + { + "Animator", + "AudioSource", + //"Boolean", + "Color", + "Collection", + "Collider", + "Collider2D", + "Collision", + "Collision2D", + "ControllerColliderHit", + //"Float", + "GameObject", + //"Integer", + "Material", + "Matrix4x4", + //"Object", + "Quaternion", + "Rigidbody", + "Rigidbody2D", + "Sprite", + //"String", + "Texture", + "Transform", + "Vector2", + "Vector3", + "Vector4"}; + + private const string ScriptLocation = "./Assets/Fungus/Scripts/"; + private const string PropertyScriptLocation = ScriptLocation + "Commands/Property/"; + private const string VaraibleScriptLocation = ScriptLocation + "VariableTypes/"; + private const string EditorScriptLocation = ScriptLocation + "Editor/VariableTypes/"; + + private const string EditorDataDrawerScriptTemplate = @"// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEditor; +using UnityEngine; + +namespace Fungus.EditorUtils +{{ + [CustomPropertyDrawer(typeof({0}Data))] + public class {0}DataDrawer : VariableDataDrawer<{0}Variable> + {{ }} +}}"; + + //0 ClassName + //1 NamespaceOfClass + //2 lowerClassName + //3 Category + //4 previewOnly + //5 full name + + private const string VariableAndDataScriptTemplate = @"// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; +{1} + +namespace Fungus +{{ + /// + /// {0} variable type. + /// + [VariableInfo(""{3}"", ""{0}""{4})] + [AddComponentMenu("""")] + [System.Serializable] + public class {0}Variable : VariableBase<{5}> + {{ }} + + /// + /// Container for a {0} variable reference or constant value. + /// + [System.Serializable] + public struct {0}Data + {{ + [SerializeField] + [VariableProperty("""", typeof({0}Variable))] + public {0}Variable {2}Ref; + + [SerializeField] + public {5} {2}Val; + + public static implicit operator {5}({0}Data {0}Data) + {{ + return {0}Data.Value; + }} + + public {0}Data({5} v) + {{ + {2}Val = v; + {2}Ref = null; + }} + + public {5} Value + {{ + get {{ return ({2}Ref == null) ? {2}Val : {2}Ref.Value; }} + set {{ if ({2}Ref == null) {{ {2}Val = value; }} else {{ {2}Ref.Value = value; }} }} + }} + + public string GetDescription() + {{ + if ({2}Ref == null) + {{ + return {2}Val.ToString(); + }} + else + {{ + return {2}Ref.Key; + }} + }} + }} +}}"; + + //0 ClassName + //1 NamespaceOfClass + //2 lowerClassName + //3 Category + //4 previewOnly + //5 full name + + private const string VariableOnlyScriptTemplate = @"// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; +{1} + +namespace Fungus +{{ + /// + /// {0} variable type. + /// + [VariableInfo(""{3}"", ""{0}""{4})] + [AddComponentMenu("""")] + [System.Serializable] + public class {0}Variable : VariableBase<{5}> + {{ }} +}}"; + + //0 typeo + //1 prop enum + //2 lower class name + //3 get generated + //4 set generated + //5 used vars + //6 variableProperty Type of + //7 null check summary + private const string DataBasedPropertyScriptTemplate = @"// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + +namespace Fungus +{{ + // + /// Get or Set a property of a {0} component + /// + [CommandInfo(""Property"", + ""{0}"", + ""Get or Set a property of a {0} component"")] + [AddComponentMenu("""")] + public class {0}Property : BaseVariableProperty + {{ + //generated property + {1} + + [SerializeField] + protected Property property; + + [SerializeField] + protected {0}Data {2}Data; + + [SerializeField] + [VariableProperty({6})] + protected Variable inOutVar; + + public override void OnEnter() + {{ +{5} + + var target = {2}Data.Value; + + switch (getOrSet) + {{ + case GetSet.Get: + {3} + break; + + case GetSet.Set: + {4} + break; + + default: + break; + }} + + Continue(); + }} + + public override string GetSummary() + {{{7} + if (inOutVar == null) + {{ + return ""Error: no variable set to push or pull data to or from""; + }} + + return getOrSet.ToString() + "" "" + property.ToString(); + }} + + public override Color GetButtonColor() + {{ + return new Color32(235, 191, 217, 255); + }} + + public override bool HasReference(Variable variable) + {{ + if ({2}Data.{2}Ref == variable || inOutVar == variable) + return true; + + return false; + }} + }} +}}"; + + //0 typeo + //1 prop enum + //2 lower class name + //3 get generated + //4 set generated + //5 used vars + //6 variableProperty Type of + //7 null check summary + private const string VariableOnlyPropertyScriptTemplate = @"// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ +using UnityEngine; + +namespace Fungus +{{ + // + /// Get or Set a property of a {0} component + /// + [CommandInfo(""Property"", + ""{0}"", + ""Get or Set a property of a {0} component"")] + [AddComponentMenu("""")] + public class {0}Property : BaseVariableProperty + {{ + //generated property + {1} + + [SerializeField] + protected Property property; + + [SerializeField] + [VariableProperty(typeof({0}Variable))] + protected {0}Variable {2}Var; + + [SerializeField] + [VariableProperty({6})] + protected Variable inOutVar; + + public override void OnEnter() + {{ +{5} + + var target = {2}Var.Value; + + switch (getOrSet) + {{ + case GetSet.Get: + {3} + break; + + case GetSet.Set: + {4} + break; + + default: + break; + }} + + Continue(); + }} + + public override string GetSummary() + {{{7} + if (inOutVar == null) + {{ + return ""Error: no variable set to push or pull data to or from""; + }} + + return getOrSet.ToString() + "" "" + property.ToString(); + }} + + public override Color GetButtonColor() + {{ + return new Color32(235, 191, 217, 255); + }} + + public override bool HasReference(Variable variable) + {{ + if ({2}Var == variable || inOutVar == variable) + return true; + + return false; + }} + }} +}}"; + + private const string DefaultCaseFailure = @" default: + Debug.Log(""Unsupported get or set attempted""); + break; + }"; + + private const string DataNullCheckSummary = @" + if ({0}Data.Value == null) + {{ + return ""Error: no {0} set""; + }}"; + + private const string VariableOnlyNullCheckSummary = @" + if ({0}Var == null) + {{ + return ""Error: no {0}Var set""; + }}"; + + #endregion consts + + public VariableScriptGenerator() + { + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Animator), typeof(AnimatorVariable), "ioani")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(AudioSource), typeof(AudioSourceVariable), "ioaud")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(bool), typeof(BooleanVariable), "iob")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Collider2D), typeof(Collider2DVariable), "ioc2d")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Collider), typeof(ColliderVariable), "ioc")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Collection), typeof(CollectionVariable), "iocollect")); + //we don't need to do collision varaibles + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Color), typeof(ColorVariable), "iocol")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(float), typeof(FloatVariable), "iof")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(GameObject), typeof(GameObjectVariable), "iogo")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(int), typeof(IntegerVariable), "ioi")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Material), typeof(MaterialVariable), "iomat")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Matrix4x4), typeof(Matrix4x4Variable), "iom4")); + //we skip object + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Quaternion), typeof(QuaternionVariable), "ioq")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Rigidbody2D), typeof(Rigidbody2DVariable), "iorb2d")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Rigidbody), typeof(RigidbodyVariable), "iorb")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Sprite), typeof(SpriteVariable), "iospr")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(string), typeof(StringVariable), "ios")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Texture), typeof(TextureVariable), "iotex")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Transform), typeof(TransformVariable), "iot")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Vector2), typeof(Vector2Variable), "iov2")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Vector3), typeof(Vector3Variable), "iov")); + helper.AddHandler(new FungusVariableTypeHelper.TypeHandler(typeof(Vector4), typeof(Vector4Variable), "iov4")); + + types = AppDomain.CurrentDomain.GetAssemblies().SelectMany(x => x.GetTypes()).ToList(); + } + + public void Generate() + { + if (TargetType == null) + throw new Exception("No type given"); + + EditorUtility.DisplayProgressBar("Generating " + ClassName, "Starting", 0); + try + { + if (generateVariableClass) + { + Func lam = () => + { + var usingDec = !string.IsNullOrEmpty(NamespaceUsingDeclare) ? ("using " + NamespaceUsingDeclare + ";") : string.Empty; + return string.Format(generateVariableDataClass ? VariableAndDataScriptTemplate : VariableOnlyScriptTemplate, + ClassName, usingDec, CamelCaseClassName, Category, PreviewOnly ? ", IsPreviewedOnly = true" : "", TargetType.FullName); + }; + FileSaveHelper("Variable", VaraibleScriptLocation, VariableFileName, lam); + } + + if (generateVariableClass && generateVariableDataClass) + { + Func lam = () => { return string.Format(EditorDataDrawerScriptTemplate, ClassName); }; + FileSaveHelper("VariableDrawer", EditorScriptLocation, VariableEditorFileName, lam); + } + + if (generatePropertyCommand) + { + GeneratePropertyCommand(); + } + } + catch (Exception e) + { + Debug.LogError(e.Message); + } + + EditorUtility.ClearProgressBar(); + } + + private void GeneratePropertyCommand() + { + enumBuilder.Add("public enum Property \n { \n"); + getBuilder = new StringBuilder("switch (property)\n {\n".Replace("\n", System.Environment.NewLine)); + setBuilder = new StringBuilder("switch (property)\n {\n".Replace("\n", System.Environment.NewLine)); + + AddAllExistingEnumNames(); + + EditorUtility.DisplayProgressBar("Generating " + ClassName, "Property", 0); + int numAdded = PropertyFieldLogic(); + numAdded += PropertyPropLogic(); + + EditorUtility.DisplayProgressBar("Generating " + ClassName, "Property Building", 0); + + //finalise buidlers + setBuilder.AppendLine(DefaultCaseFailure); + var setcontents = setBuilder.ToString(); + + getBuilder.AppendLine(DefaultCaseFailure); + var getcontents = getBuilder.ToString(); + + enumBuilder.Add(" }\n"); + var enumgen = String.Join(null, enumBuilder.ToArray()); + enumgen = enumgen.Replace("\n", System.Environment.NewLine); + + var typeVars = helper.GetUsedTypeVars(); + var variablePropertyTypes = helper.GetVariablePropertyTypeOfs(); + + string nullCheck = ""; + + if (TargetType.IsClass) + { + nullCheck = string.Format(generateVariableDataClass ? DataNullCheckSummary : VariableOnlyNullCheckSummary, CamelCaseClassName); + } + + //write to file + Func propContentOp = () => + { + return string.Format(generateVariableDataClass ? DataBasedPropertyScriptTemplate : VariableOnlyPropertyScriptTemplate, +ClassName, enumgen, CamelCaseClassName, getcontents, setcontents, typeVars, variablePropertyTypes, nullCheck); + }; + + //only generate the file if we actually found variables to get and or set + if (numAdded > 0) + { + FileSaveHelper("Property", PropertyScriptLocation, PropertyFileName, propContentOp); + } + else + { + Debug.LogWarning("Attempted to generate property class for " + ClassName + " but found no variables to get or set"); + } + } + + private void AddAllExistingEnumNames() + { + if (ExistingGeneratedPropEnumClass != null) + { + if (ExistingGeneratedPropEnumClass.IsEnum) + { + var res = Enum.GetNames(ExistingGeneratedPropEnumClass); + for (int i = 0; i < res.Length; i++) + { + AddToEnum(res[i]); + } + } + } + } + + private System.Reflection.BindingFlags GetBindingFlags() + { + if (generateOnlyDeclaredMembers) + return System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.DeclaredOnly; + return System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance; + } + + private int PropertyFieldLogic() + { + int retval = 0; + + EditorUtility.DisplayProgressBar("Generating " + ClassName, "Property Scanning Fields", 0); + var fields = TargetType.GetFields(GetBindingFlags()); + for (int i = 0; i < fields.Length; i++) + { + if (helper.IsTypeHandled(fields[i].FieldType)) + { + var actualName = fields[i].Name; + var upperCaseName = Char.ToUpperInvariant(actualName[0]) + actualName.Substring(1); + //add it to the enum + AddToEnum(upperCaseName); + + //add it to the get + AddToGet(fields[i].FieldType, upperCaseName, actualName); + + //add it to the set + AddToSet(fields[i].FieldType, upperCaseName, actualName); + retval++; + } + } + + return retval; + } + + private int PropertyPropLogic() + { + int retval = 0; + + EditorUtility.DisplayProgressBar("Generating " + ClassName, "Property Scanning Props", 0); + var props = TargetType.GetProperties(GetBindingFlags()); + for (int i = 0; i < props.Length; i++) + { + if (helper.IsTypeHandled(props[i].PropertyType) && props[i].GetIndexParameters().Length == 0 && !IsObsolete(props[i].GetCustomAttributes(false))) + { + var actualName = props[i].Name; + var upperCaseName = Char.ToUpperInvariant(actualName[0]) + actualName.Substring(1); + //add it to the enum + AddToEnum(upperCaseName); + + if (props[i].CanRead) + { + //add it to the get + AddToGet(props[i].PropertyType, upperCaseName, actualName); + } + if (props[i].CanWrite) + { + //add it to the set + AddToSet(props[i].PropertyType, upperCaseName, actualName); + } + + if (props[i].CanRead || props[i].CanWrite) + retval++; + } + } + + return retval; + } + + private void AddToSet(Type fieldType, string nameEnum, string nameVariable) + { + setBuilder.Append(" case Property."); + setBuilder.Append(nameEnum); + setBuilder.AppendLine(":"); + setBuilder.Append(" target."); + setBuilder.Append(nameVariable); + setBuilder.Append(" = "); + setBuilder.Append(helper.GetSpecificVariableVarientFromType(fieldType)); + setBuilder.AppendLine(".Value;"); + setBuilder.AppendLine(" break;"); + } + + private void AddToGet(Type fieldType, string nameEnum, string nameVariable) + { + getBuilder.Append(" case Property."); + getBuilder.Append(nameEnum); + getBuilder.AppendLine(":"); + getBuilder.Append(" " + helper.GetSpecificVariableVarientFromType(fieldType)); + getBuilder.Append(".Value = target."); + getBuilder.Append(nameVariable); + getBuilder.AppendLine(";"); + getBuilder.AppendLine(" break;"); + } + + private void AddToEnum(string name) + { + if (enumBuilder.IndexOf(name) == -1) + { + enumBuilder.Add(" "); + enumBuilder.Add(name); + enumBuilder.Add(", \n"); + } + } + + private bool IsObsolete(object[] attrs) + { + if (attrs.Length > 0) + return attrs.FirstOrDefault(x => x.GetType() == typeof(ObsoleteAttribute)) != null; + return false; + } + + private void FileSaveHelper(string op, string loc, string filename, Func opLambda) + { + EditorUtility.DisplayProgressBar("Generating " + ClassName, op, 0); + var scriptContents = opLambda(); + System.IO.Directory.CreateDirectory(System.IO.Path.GetDirectoryName(loc)); + System.IO.File.WriteAllText(filename, scriptContents); + Debug.Log("Created " + filename); + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/GenerateVariableHelper.cs.meta b/Assets/Fungus/Scripts/Editor/GenerateVariableHelper.cs.meta new file mode 100644 index 00000000..26c2653d --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/GenerateVariableHelper.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d1e036e4e5a3dbd4fa3533a2c7ea0d0f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/GenerateVariableWindow.cs b/Assets/Fungus/Scripts/Editor/GenerateVariableWindow.cs new file mode 100644 index 00000000..90c1fcf9 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/GenerateVariableWindow.cs @@ -0,0 +1,153 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using UnityEditor; +using UnityEngine; + + +namespace Fungus.EditorUtils +{ + /// + /// Adds window that generates the require scripts to create a new FungusVariable that wraps an existing type. + /// + /// These can then be used in the fungus flowcharts. It also generates a *Property command to allow Gets and Sets + /// on all the elements of that variable that Fungus Understands. The Quaternion and Matrix4x4 have been auto + /// generated and then auto formatted in visual studio and set to preview only as examples of it's use. + /// + /// It can be used to help building variable wrappers for builtin Unity types or your own components or classes. + /// + /// To add new types see the VariableScriptGenerator constructor. + /// + public class GenerateVariableWindow : EditorWindow + { + private VariableScriptGenerator generator = new VariableScriptGenerator(); + private string userInputClassName = ""; + private List typeList = new List(); + + public void OnGUI() + { + DrawMenuPanel(); + } + + private void DrawMenuPanel() + { + EditorGUI.BeginChangeCheck(); + + if(GUILayout.Button("Generate All from List")) + { + foreach (var item in VariableScriptGenerator.AllGeneratedVariableTypeClassNames) + { + generator.TargetType = generator.types.Where(x => string.Compare(x.Name, item, StringComparison.InvariantCultureIgnoreCase) == 0).First(); + generator.Generate(); + + generator = new VariableScriptGenerator(); + } + } + + userInputClassName = EditorGUILayout.TextField("ClassName", userInputClassName); + + if (EditorGUI.EndChangeCheck()) + { + generator.TargetType = null; + + try + { + typeList = generator.types.Where(x => string.Compare(x.Name,userInputClassName,StringComparison.InvariantCultureIgnoreCase) == 0).ToList(); + } + catch (Exception) + { + } + } + + try + { + int index = typeList.IndexOf(generator.TargetType); + EditorGUI.BeginChangeCheck(); + index = GUILayout.SelectionGrid(index, typeList.Select(x => x.FullName).ToArray(), 1); + + if (index < 0 || index > typeList.Count) + index = 0; + + if (EditorGUI.EndChangeCheck() || generator.TargetType == null) + generator.TargetType = typeList[index]; + } + catch (Exception) + { + generator.TargetType = null; + } + + + EditorGUILayout.Space(); + + if (generator.TargetType == null) + { + EditorGUILayout.HelpBox("Must select a type first", MessageType.Info); + } + else + { + generator.generateVariableClass = EditorGUILayout.Toggle("Generate Variable", generator.generateVariableClass); + generator.generateVariableDataClass = EditorGUILayout.Toggle("Generate Variable Data", generator.generateVariableDataClass); + generator.PreviewOnly = EditorGUILayout.Toggle("Variable List preview only", generator.PreviewOnly); + + if (generator.TargetType.IsAbstract) + { + EditorGUILayout.HelpBox(generator.TargetType.FullName + " is abstract. No Variable will be generated", MessageType.Error); + generator.generateVariableClass = false; + } + + if (generator.generateVariableClass) + { + if (generator.ExistingGeneratedClass != null) + { + EditorGUILayout.HelpBox("Variable Appears to already exist. Overwriting or errors may occur.", MessageType.Warning); + } + if (generator.ExistingGeneratedDrawerClass != null) + { + EditorGUILayout.HelpBox("Variable Drawer Appears to already exist. Overwriting or errors may occur.", MessageType.Warning); + } + + generator.Category = EditorGUILayout.TextField("Category", generator.Category); + generator.NamespaceUsingDeclare = EditorGUILayout.TextField("NamespaceUsingDeclare", generator.NamespaceUsingDeclare); + } + + EditorGUILayout.Space(); + generator.generatePropertyCommand = EditorGUILayout.Toggle("Generate Property Command", generator.generatePropertyCommand); + if (generator.generatePropertyCommand) + { + generator.generateOnlyDeclaredMembers = EditorGUILayout.Toggle("Only declared members", generator.generateOnlyDeclaredMembers); + if (generator.ExistingGeneratedPropCommandClass != null) + { + EditorGUILayout.HelpBox("Property Appears to already exist. Overwriting or errors may occur.", MessageType.Warning); + } + } + + EditorGUILayout.Space(); + if (GUILayout.Button("Generate Now")) + { + try + { + generator.Generate(); + EditorUtility.DisplayProgressBar("Generating " + userInputClassName, "Importing Scripts", 0); + AssetDatabase.Refresh(); + } + catch (Exception e) + { + Debug.LogWarning(e.Message); + //throw e; + } + generator = new VariableScriptGenerator(); + EditorUtility.ClearProgressBar(); + userInputClassName = ""; + } + } + } + + [MenuItem("Tools/Fungus/Utilities/Generate Fungus Varaible")] + public static GenerateVariableWindow ShowWindow() + { + var w = GetWindow(typeof(GenerateVariableWindow), true, "Generate Fungus Varaible", true); + w.Show(); + return w as GenerateVariableWindow; + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/GenerateVariableWindow.cs.meta b/Assets/Fungus/Scripts/Editor/GenerateVariableWindow.cs.meta new file mode 100644 index 00000000..0bcc3095 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/GenerateVariableWindow.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 84f560447a3d4ce40ae5cd87d061d043 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/HierarchyIcons.cs b/Assets/Fungus/Scripts/Editor/HierarchyIcons.cs index 11093842..69e7fda6 100644 --- a/Assets/Fungus/Scripts/Editor/HierarchyIcons.cs +++ b/Assets/Fungus/Scripts/Editor/HierarchyIcons.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; @@ -67,7 +70,7 @@ namespace Fungus // place the icon to the left of the element Rect r = new Rect(selectionRect); #if UNITY_2019_1_OR_NEWER - r.x -= r.height; + r.x -= 28; //this would make sense as singleLineHeight *2 but it isn't as that includes padding #else r.x = 0; #endif @@ -81,4 +84,4 @@ namespace Fungus GUI.Label(r, TextureIcon); } } -} \ No newline at end of file +} diff --git a/Assets/Fungus/Scripts/Editor/InvokeEventEditor.cs b/Assets/Fungus/Scripts/Editor/InvokeEventEditor.cs index 978d1ec3..e8e5bf26 100644 --- a/Assets/Fungus/Scripts/Editor/InvokeEventEditor.cs +++ b/Assets/Fungus/Scripts/Editor/InvokeEventEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/InvokeMethodEditor.cs b/Assets/Fungus/Scripts/Editor/InvokeMethodEditor.cs index 6058383a..86420cef 100644 --- a/Assets/Fungus/Scripts/Editor/InvokeMethodEditor.cs +++ b/Assets/Fungus/Scripts/Editor/InvokeMethodEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Editor/LabelEditor.cs b/Assets/Fungus/Scripts/Editor/LabelEditor.cs index 68ca46c8..fa94b932 100644 --- a/Assets/Fungus/Scripts/Editor/LabelEditor.cs +++ b/Assets/Fungus/Scripts/Editor/LabelEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/LocalizationEditor.cs b/Assets/Fungus/Scripts/Editor/LocalizationEditor.cs index 72e2efcb..550435a1 100644 --- a/Assets/Fungus/Scripts/Editor/LocalizationEditor.cs +++ b/Assets/Fungus/Scripts/Editor/LocalizationEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/LuaScriptedImporter.cs b/Assets/Fungus/Scripts/Editor/LuaScriptedImporter.cs index ba2ba3e4..0556ae79 100644 --- a/Assets/Fungus/Scripts/Editor/LuaScriptedImporter.cs +++ b/Assets/Fungus/Scripts/Editor/LuaScriptedImporter.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; using UnityEditor.Experimental.AssetImporters; using System.IO; diff --git a/Assets/Fungus/Scripts/Editor/MenuEditor.cs b/Assets/Fungus/Scripts/Editor/MenuEditor.cs index 25f3cb87..16a6eddc 100644 --- a/Assets/Fungus/Scripts/Editor/MenuEditor.cs +++ b/Assets/Fungus/Scripts/Editor/MenuEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; @@ -43,12 +43,26 @@ namespace Fungus.EditorUtils EditorGUILayout.PropertyField(textProp); EditorGUILayout.PropertyField(descriptionProp); - + + EditorGUILayout.BeginHorizontal(); BlockEditor.BlockField(targetBlockProp, new GUIContent("Target Block", "Block to call when option is selected"), new GUIContent(""), flowchart); - + const int popupWidth = 17; + if(targetBlockProp.objectReferenceValue == null && GUILayout.Button("+",GUILayout.MaxWidth(popupWidth))) + { + var fw = EditorWindow.GetWindow(); + var t = (Menu)target; + var activeFlowchart = t.GetFlowchart(); + var newBlock = fw.CreateBlockSuppressSelect(activeFlowchart, t.ParentBlock._NodeRect.position - Vector2.down * 60); + targetBlockProp.objectReferenceValue = newBlock; + activeFlowchart.SelectedBlock = t.ParentBlock; + } + EditorGUILayout.EndHorizontal(); + + + EditorGUILayout.PropertyField(hideIfVisitedProp); EditorGUILayout.PropertyField(interactableProp); EditorGUILayout.PropertyField(setMenuDialogProp); diff --git a/Assets/Fungus/Scripts/Editor/MenuTimerEditor.cs b/Assets/Fungus/Scripts/Editor/MenuTimerEditor.cs index 4607af78..a26eeb96 100644 --- a/Assets/Fungus/Scripts/Editor/MenuTimerEditor.cs +++ b/Assets/Fungus/Scripts/Editor/MenuTimerEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/NarrativeMenuItems.cs b/Assets/Fungus/Scripts/Editor/NarrativeMenuItems.cs index 539015f1..62dc94bf 100644 --- a/Assets/Fungus/Scripts/Editor/NarrativeMenuItems.cs +++ b/Assets/Fungus/Scripts/Editor/NarrativeMenuItems.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Editor/PopupContent/CommandSelectorPopupWindowContent.cs b/Assets/Fungus/Scripts/Editor/PopupContent/CommandSelectorPopupWindowContent.cs index e0a714a7..8442f64c 100644 --- a/Assets/Fungus/Scripts/Editor/PopupContent/CommandSelectorPopupWindowContent.cs +++ b/Assets/Fungus/Scripts/Editor/PopupContent/CommandSelectorPopupWindowContent.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEditor; using UnityEngine; using System; diff --git a/Assets/Fungus/Scripts/Editor/PopupContent/EventSelectorPopupWindowContent.cs b/Assets/Fungus/Scripts/Editor/PopupContent/EventSelectorPopupWindowContent.cs index 9e490423..b96e4d0c 100644 --- a/Assets/Fungus/Scripts/Editor/PopupContent/EventSelectorPopupWindowContent.cs +++ b/Assets/Fungus/Scripts/Editor/PopupContent/EventSelectorPopupWindowContent.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEditor; using UnityEngine; using System; diff --git a/Assets/Fungus/Scripts/Editor/PopupContent/VariableSelectPopupWindowContent.cs b/Assets/Fungus/Scripts/Editor/PopupContent/VariableSelectPopupWindowContent.cs index 697d8db0..bf7cc9ad 100644 --- a/Assets/Fungus/Scripts/Editor/PopupContent/VariableSelectPopupWindowContent.cs +++ b/Assets/Fungus/Scripts/Editor/PopupContent/VariableSelectPopupWindowContent.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/PortraitEditor.cs b/Assets/Fungus/Scripts/Editor/PortraitEditor.cs index eec0d740..bb7fbd1b 100644 --- a/Assets/Fungus/Scripts/Editor/PortraitEditor.cs +++ b/Assets/Fungus/Scripts/Editor/PortraitEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/SaveMenuEditor.cs b/Assets/Fungus/Scripts/Editor/SaveMenuEditor.cs index 6286eab1..cc82444b 100644 --- a/Assets/Fungus/Scripts/Editor/SaveMenuEditor.cs +++ b/Assets/Fungus/Scripts/Editor/SaveMenuEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) #if UNITY_5_3_OR_NEWER @@ -19,7 +19,7 @@ namespace Fungus.EditorUtils if (saveMenu != null) { - PlayerPrefs.DeleteKey(saveMenu.SaveDataKey); + SaveManager.Delete(saveMenu.SaveDataKey); FlowchartWindow.ShowNotification("Deleted Save Data"); } } diff --git a/Assets/Fungus/Scripts/Editor/SaveMenuItems.cs b/Assets/Fungus/Scripts/Editor/SaveMenuItems.cs index d14132bc..1f277bba 100644 --- a/Assets/Fungus/Scripts/Editor/SaveMenuItems.cs +++ b/Assets/Fungus/Scripts/Editor/SaveMenuItems.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/SayEditor.cs b/Assets/Fungus/Scripts/Editor/SayEditor.cs index a6ace53f..2f9ca7f1 100644 --- a/Assets/Fungus/Scripts/Editor/SayEditor.cs +++ b/Assets/Fungus/Scripts/Editor/SayEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/SerializedPropertyExtensions.cs b/Assets/Fungus/Scripts/Editor/SerializedPropertyExtensions.cs index cc7ce852..71543b2c 100644 --- a/Assets/Fungus/Scripts/Editor/SerializedPropertyExtensions.cs +++ b/Assets/Fungus/Scripts/Editor/SerializedPropertyExtensions.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/SetVariableEditor.cs b/Assets/Fungus/Scripts/Editor/SetVariableEditor.cs index 847560f8..9c895ee5 100644 --- a/Assets/Fungus/Scripts/Editor/SetVariableEditor.cs +++ b/Assets/Fungus/Scripts/Editor/SetVariableEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; @@ -11,51 +11,15 @@ namespace Fungus.EditorUtils [CustomEditor (typeof(SetVariable))] public class SetVariableEditor : CommandEditor { - protected struct VariablePropertyInfo - { - public string name; - public SerializedProperty dataProp; - - public VariablePropertyInfo(string name, SerializedProperty dataProp) { - this.name = name; - this.dataProp = dataProp; - } - } - - protected SerializedProperty variableProp; + protected SerializedProperty anyVarProp; protected SerializedProperty setOperatorProp; - - // Variable data props - protected Dictionary propertyInfoByVariableType; - - protected List variableDataProps; - + public override void OnEnable() { base.OnEnable(); - variableProp = serializedObject.FindProperty("variable"); + anyVarProp = serializedObject.FindProperty("anyVar"); setOperatorProp = serializedObject.FindProperty("setOperator"); - - // Get variable data props by name - propertyInfoByVariableType = new Dictionary() { - { typeof(BooleanVariable), new VariablePropertyInfo("Boolean", serializedObject.FindProperty("booleanData")) }, - { typeof(IntegerVariable), new VariablePropertyInfo("Integer", serializedObject.FindProperty("integerData")) }, - { typeof(FloatVariable), new VariablePropertyInfo("Float", serializedObject.FindProperty("floatData")) }, - { typeof(StringVariable), new VariablePropertyInfo("String", serializedObject.FindProperty("stringData")) }, - { typeof(AnimatorVariable), new VariablePropertyInfo("Animator", serializedObject.FindProperty("animatorData")) }, - { typeof(AudioSourceVariable), new VariablePropertyInfo("AudioSource", serializedObject.FindProperty("audioSourceData")) }, - { typeof(ColorVariable), new VariablePropertyInfo("Color", serializedObject.FindProperty("colorData")) }, - { typeof(GameObjectVariable), new VariablePropertyInfo("GameObject", serializedObject.FindProperty("gameObjectData")) }, - { typeof(MaterialVariable), new VariablePropertyInfo("Material", serializedObject.FindProperty("materialData")) }, - { typeof(ObjectVariable), new VariablePropertyInfo("Object", serializedObject.FindProperty("objectData")) }, - { typeof(Rigidbody2DVariable), new VariablePropertyInfo("Rigidbody2D", serializedObject.FindProperty("rigidbody2DData")) }, - { typeof(SpriteVariable), new VariablePropertyInfo("Sprite", serializedObject.FindProperty("spriteData")) }, - { typeof(TextureVariable), new VariablePropertyInfo("Texture", serializedObject.FindProperty("textureData")) }, - { typeof(TransformVariable), new VariablePropertyInfo("Transform", serializedObject.FindProperty("transformData")) }, - { typeof(Vector2Variable), new VariablePropertyInfo("Vector2", serializedObject.FindProperty("vector2Data")) }, - { typeof(Vector3Variable), new VariablePropertyInfo("Vector3", serializedObject.FindProperty("vector3Data")) } - }; } public override void DrawCommandGUI() @@ -71,53 +35,36 @@ namespace Fungus.EditorUtils } // Select Variable - EditorGUILayout.PropertyField(variableProp); + EditorGUILayout.PropertyField(anyVarProp, true); - if (variableProp.objectReferenceValue == null) - { - serializedObject.ApplyModifiedProperties(); - return; - } + //fetching every draw to ensure we don't have stale data based on types that have changed by user selection, + // without us noticing. // Get selected variable - Variable selectedVariable = variableProp.objectReferenceValue as Variable; - System.Type variableType = selectedVariable.GetType(); - - // Get operators for the variable - SetOperator[] setOperators = SetVariable.operatorsByVariableType[variableType]; - - // Create operator list + Variable selectedVariable = anyVarProp.FindPropertyRelative("variable").objectReferenceValue as Variable; List operatorsList = new List(); - foreach (var setOperator in setOperators) + if (selectedVariable != null) { - switch (setOperator) - { - case SetOperator.Assign: - operatorsList.Add(new GUIContent("=")); - break; - case SetOperator.Negate: - operatorsList.Add(new GUIContent("=!")); - break; - case SetOperator.Add: - operatorsList.Add(new GUIContent("+=")); - break; - case SetOperator.Subtract: - operatorsList.Add(new GUIContent("-=")); - break; - case SetOperator.Multiply: - operatorsList.Add(new GUIContent("*=")); - break; - case SetOperator.Divide: - operatorsList.Add(new GUIContent("\\=")); - break; - default: - Debug.LogError("The " + setOperator.ToString() + " operator has no matching GUIContent."); - break; - } + if(selectedVariable.IsArithmeticSupported(SetOperator.Assign)) + operatorsList.Add(new GUIContent(VariableUtil.GetSetOperatorDescription(SetOperator.Assign))); + if (selectedVariable.IsArithmeticSupported(SetOperator.Negate)) + operatorsList.Add(new GUIContent(VariableUtil.GetSetOperatorDescription(SetOperator.Negate))); + if (selectedVariable.IsArithmeticSupported(SetOperator.Add)) + operatorsList.Add(new GUIContent(VariableUtil.GetSetOperatorDescription(SetOperator.Add))); + if (selectedVariable.IsArithmeticSupported(SetOperator.Subtract)) + operatorsList.Add(new GUIContent(VariableUtil.GetSetOperatorDescription(SetOperator.Subtract))); + if (selectedVariable.IsArithmeticSupported(SetOperator.Multiply)) + operatorsList.Add(new GUIContent(VariableUtil.GetSetOperatorDescription(SetOperator.Multiply))); + if (selectedVariable.IsArithmeticSupported(SetOperator.Divide)) + operatorsList.Add(new GUIContent(VariableUtil.GetSetOperatorDescription(SetOperator.Divide))); + } + else + { + operatorsList.Add(VariableConditionEditor.None); } // Get previously selected operator - int selectedIndex = System.Array.IndexOf(setOperators, t._SetOperator); + int selectedIndex = (int) t._SetOperator; if (selectedIndex < 0) { // Default to first index if the operator is not found in the available operators list @@ -128,13 +75,10 @@ namespace Fungus.EditorUtils // Get next selected operator selectedIndex = EditorGUILayout.Popup(new GUIContent("Operation", "Arithmetic operator to use"), selectedIndex, operatorsList.ToArray()); - - setOperatorProp.enumValueIndex = (int)setOperators[selectedIndex]; - - - VariablePropertyInfo propertyInfo = propertyInfoByVariableType[variableType]; - EditorGUILayout.PropertyField(propertyInfo.dataProp, new GUIContent(propertyInfo.name)); - + if (selectedVariable != null) + { + setOperatorProp.enumValueIndex = selectedIndex; + } serializedObject.ApplyModifiedProperties(); } diff --git a/Assets/Fungus/Scripts/Editor/SolutionFileFixer.cs b/Assets/Fungus/Scripts/Editor/SolutionFileFixer.cs new file mode 100644 index 00000000..9eb32251 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/SolutionFileFixer.cs @@ -0,0 +1,17 @@ +using UnityEditor; + +#if UNITY_2019_3_12 +namespace Fungus.EditorUtils +{ + //fix for a bug introduced in unity 2019.3.12 that prevents cross asmdef references from showing + // doco and code hinting correctly in vs2019 + // https://forum.unity.com/threads/2019-3-12f1-build-errors.880312/ + public class SolutionFileFixer : AssetPostprocessor + { + private static string OnGeneratedCSProject(string path, string content) + { + return content.Replace("false", "true"); + } + } +} +#endif \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/SolutionFileFixer.cs.meta b/Assets/Fungus/Scripts/Editor/SolutionFileFixer.cs.meta new file mode 100644 index 00000000..b23ff66f --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/SolutionFileFixer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 016e0ddcf2101ba4a8d50bf1f440f5c5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/SpriteMenuItems.cs b/Assets/Fungus/Scripts/Editor/SpriteMenuItems.cs index ea016fa1..7d7a553a 100644 --- a/Assets/Fungus/Scripts/Editor/SpriteMenuItems.cs +++ b/Assets/Fungus/Scripts/Editor/SpriteMenuItems.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/StageEditor.cs b/Assets/Fungus/Scripts/Editor/StageEditor.cs index 71cc27f1..c8529f7f 100644 --- a/Assets/Fungus/Scripts/Editor/StageEditor.cs +++ b/Assets/Fungus/Scripts/Editor/StageEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/VariableConditionEditor.cs b/Assets/Fungus/Scripts/Editor/VariableConditionEditor.cs index cc5c1515..47e328b8 100644 --- a/Assets/Fungus/Scripts/Editor/VariableConditionEditor.cs +++ b/Assets/Fungus/Scripts/Editor/VariableConditionEditor.cs @@ -1,52 +1,60 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; using UnityEngine; -using System.Collections.Generic; namespace Fungus.EditorUtils { - [CustomEditor (typeof(VariableCondition), true)] + /// + /// Handles custom drawing for ConditionExperssions within the VariableCondition and inherited commands. + /// + /// TODO; refactor to allow a propertydrawer on ConditionExperssion and potentially list as reorderable + /// + [CustomEditor(typeof(VariableCondition), true)] public class VariableConditionEditor : CommandEditor { - protected SerializedProperty variableProp; - protected SerializedProperty compareOperatorProp; + public static readonly GUIContent None = new GUIContent(""); - protected Dictionary propByVariableType; + public static readonly GUIContent[] emptyList = new GUIContent[] + { + None, + }; + + private static readonly GUIContent[] compareListAll = new GUIContent[] + { + new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.Equals)), + new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.NotEquals)), + new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.LessThan)), + new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.GreaterThan)), + new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.LessThanOrEquals)), + new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.GreaterThanOrEquals)), + }; + + private static readonly GUIContent[] compareListEqualOnly = new GUIContent[] + { + new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.Equals)), + new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.NotEquals)), + }; + + protected SerializedProperty conditions; public override void OnEnable() { base.OnEnable(); - variableProp = serializedObject.FindProperty("variable"); - compareOperatorProp = serializedObject.FindProperty("compareOperator"); - - // Get variable data props by name - propByVariableType = new Dictionary() { - { typeof(BooleanVariable), serializedObject.FindProperty("booleanData") }, - { typeof(IntegerVariable), serializedObject.FindProperty("integerData") }, - { typeof(FloatVariable), serializedObject.FindProperty("floatData") }, - { typeof(StringVariable), serializedObject.FindProperty("stringData") }, - { typeof(AnimatorVariable), serializedObject.FindProperty("animatorData") }, - { typeof(AudioSourceVariable), serializedObject.FindProperty("audioSourceData") }, - { typeof(ColorVariable), serializedObject.FindProperty("colorData") }, - { typeof(GameObjectVariable), serializedObject.FindProperty("gameObjectData") }, - { typeof(MaterialVariable), serializedObject.FindProperty("materialData") }, - { typeof(ObjectVariable), serializedObject.FindProperty("objectData") }, - { typeof(Rigidbody2DVariable), serializedObject.FindProperty("rigidbody2DData") }, - { typeof(SpriteVariable), serializedObject.FindProperty("spriteData") }, - { typeof(TextureVariable), serializedObject.FindProperty("textureData") }, - { typeof(TransformVariable), serializedObject.FindProperty("transformData") }, - { typeof(Vector2Variable), serializedObject.FindProperty("vector2Data") }, - { typeof(Vector3Variable), serializedObject.FindProperty("vector3Data") } - }; + conditions = serializedObject.FindProperty("conditions"); } public override void DrawCommandGUI() { serializedObject.Update(); + EditorGUILayout.PropertyField(serializedObject.FindProperty("anyOrAllConditions")); + + conditions.arraySize = EditorGUILayout.IntField("Size", conditions.arraySize); + GUILayout.Label("Conditions", EditorStyles.boldLabel); + VariableCondition t = target as VariableCondition; var flowchart = (Flowchart)t.GetFlowchart(); @@ -55,71 +63,43 @@ namespace Fungus.EditorUtils return; } - // Select Variable - EditorGUILayout.PropertyField(variableProp); - - if (variableProp.objectReferenceValue == null) + EditorGUI.indentLevel++; + for (int i = 0; i < conditions.arraySize; i++) { - serializedObject.ApplyModifiedProperties(); - return; - } + var conditionAnyVar = conditions.GetArrayElementAtIndex(i).FindPropertyRelative("anyVar"); + var conditionCompare = conditions.GetArrayElementAtIndex(i).FindPropertyRelative("compareOperator"); - // Get selected variable - Variable selectedVariable = variableProp.objectReferenceValue as Variable; - System.Type variableType = selectedVariable.GetType(); + EditorGUILayout.PropertyField(conditionAnyVar, new GUIContent("Variable"), true); - // Get operators for the variable - CompareOperator[] compareOperators = VariableCondition.operatorsByVariableType[variableType]; + // Get selected variable + Variable selectedVariable = conditionAnyVar.FindPropertyRelative("variable").objectReferenceValue as Variable; - // Create operator list - List operatorsList = new List(); - foreach (var compareOperator in compareOperators) - { - switch (compareOperator) - { - case CompareOperator.Equals: - operatorsList.Add(new GUIContent("==")); - break; - case CompareOperator.NotEquals: - operatorsList.Add(new GUIContent("!=")); - break; - case CompareOperator.LessThan: - operatorsList.Add(new GUIContent("<")); - break; - case CompareOperator.GreaterThan: - operatorsList.Add(new GUIContent(">")); - break; - case CompareOperator.LessThanOrEquals: - operatorsList.Add(new GUIContent("<=")); - break; - case CompareOperator.GreaterThanOrEquals: - operatorsList.Add(new GUIContent(">=")); - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " operator has no matching GUIContent."); - break; - } - } + if (selectedVariable == null) + continue; - // Get previously selected operator - int selectedIndex = System.Array.IndexOf(compareOperators, t._CompareOperator); - if (selectedIndex < 0) - { - // Default to first index if the operator is not found in the available operators list - // This can occur when changing between variable types - selectedIndex = 0; - } + GUIContent[] operatorsList = emptyList; + operatorsList = selectedVariable.IsComparisonSupported() ? compareListAll : compareListEqualOnly; - selectedIndex = EditorGUILayout.Popup( - new GUIContent("Compare", "The comparison operator to use when comparing values"), - selectedIndex, - operatorsList.ToArray()); + // Get previously selected operator + int selectedIndex = conditionCompare.enumValueIndex; + if (selectedIndex < 0 || selectedIndex >= operatorsList.Length) + { + // Default to first index if the operator is not found in the available operators list + // This can occur when changing between variable types + selectedIndex = 0; + } - compareOperatorProp.enumValueIndex = (int)compareOperators[selectedIndex]; + selectedIndex = EditorGUILayout.Popup( + new GUIContent("Compare", "The comparison operator to use when comparing values"), + selectedIndex, + operatorsList); - EditorGUILayout.PropertyField(propByVariableType[variableType]); + conditionCompare.enumValueIndex = selectedIndex; + EditorGUILayout.Separator(); + } + EditorGUI.indentLevel--; serializedObject.ApplyModifiedProperties(); } } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableEditor.cs b/Assets/Fungus/Scripts/Editor/VariableEditor.cs index 26918064..83c2a785 100644 --- a/Assets/Fungus/Scripts/Editor/VariableEditor.cs +++ b/Assets/Fungus/Scripts/Editor/VariableEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; @@ -156,7 +156,15 @@ namespace Fungus.EditorUtils if (variableProperty.VariableTypes.Length == 0) { - return true; + var compatChecker = property.serializedObject.targetObject as ICollectionCompatible; + if (compatChecker != null) + { + return compatChecker.IsVarCompatibleWithCollection(v, variableProperty.compatibleVariableName); + } + else + { + return true; + } } return variableProperty.VariableTypes.Contains(v.GetType()); @@ -213,38 +221,47 @@ namespace Fungus.EditorUtils var origLabel = new GUIContent(label); - if (EditorGUI.GetPropertyHeight(valueProp, label) > EditorGUIUtility.singleLineHeight) + if (EditorGUI.GetPropertyHeight(valueProp, label) <= EditorGUIUtility.singleLineHeight) { - DrawMultiLineProperty(position, origLabel, referenceProp, valueProp, flowchart); + DrawSingleLineProperty(position, origLabel, referenceProp, valueProp, flowchart, typeInfo); } else { - DrawSingleLineProperty(position, origLabel, referenceProp, valueProp, flowchart); + DrawMultiLineProperty(position, origLabel, referenceProp, valueProp, flowchart, typeInfo); } EditorGUI.EndProperty(); } - protected virtual void DrawSingleLineProperty(Rect rect, GUIContent label, SerializedProperty referenceProp, SerializedProperty valueProp, Flowchart flowchart) + protected virtual void DrawSingleLineProperty(Rect rect, GUIContent label, SerializedProperty referenceProp, SerializedProperty valueProp, Flowchart flowchart, + VariableInfoAttribute typeInfo) { - const int popupWidth = 17; - + int popupWidth = Mathf.RoundToInt(EditorGUIUtility.singleLineHeight); + const int popupGap = 5; + + //get out starting rect with intent honoured Rect controlRect = EditorGUI.PrefixLabel(rect, label); Rect valueRect = controlRect; - valueRect.width = controlRect.width - popupWidth - 5; + valueRect.width = controlRect.width - popupWidth - popupGap; Rect popupRect = controlRect; + //we are overriding much of the auto layout to cram this all on 1 line so zero the intend and restore it later + var prevIndent = EditorGUI.indentLevel; + EditorGUI.indentLevel = 0; + if (referenceProp.objectReferenceValue == null) { - EditorGUI.PropertyField(valueRect, valueProp, new GUIContent("")); - popupRect.x += valueRect.width + 5; + DrawValueProperty(valueRect, valueProp, typeInfo); + popupRect.x += valueRect.width + popupGap; popupRect.width = popupWidth; } EditorGUI.PropertyField(popupRect, referenceProp, new GUIContent("")); + EditorGUI.indentLevel = prevIndent; } - protected virtual void DrawMultiLineProperty(Rect rect, GUIContent label, SerializedProperty referenceProp, SerializedProperty valueProp, Flowchart flowchart) + protected virtual void DrawMultiLineProperty(Rect rect, GUIContent label, SerializedProperty referenceProp, SerializedProperty valueProp, Flowchart flowchart, + VariableInfoAttribute typeInfo) { const int popupWidth = 100; @@ -255,7 +272,7 @@ namespace Fungus.EditorUtils if (referenceProp.objectReferenceValue == null) { - EditorGUI.PropertyField(valueRect, valueProp, label); + DrawValueProperty(valueRect, valueProp, typeInfo); popupRect.x = rect.width - popupWidth + 5; popupRect.width = popupWidth; } @@ -267,6 +284,11 @@ namespace Fungus.EditorUtils EditorGUI.PropertyField(popupRect, referenceProp, new GUIContent("")); } + protected virtual void DrawValueProperty(Rect valueRect, SerializedProperty valueProp, VariableInfoAttribute typeInfo) + { + CustomVariableDrawerLookup.DrawCustomOrPropertyField(typeof(T), valueRect, valueProp); + } + public override float GetPropertyHeight(SerializedProperty property, GUIContent label) { VariableInfoAttribute typeInfo = VariableEditor.GetVariableInfo(typeof(T)); @@ -309,52 +331,4 @@ namespace Fungus.EditorUtils [CustomPropertyDrawer (typeof(StringDataMulti))] public class StringDataMultiDrawer : VariableDataDrawer {} - - [CustomPropertyDrawer (typeof(ColorData))] - public class ColorDataDrawer : VariableDataDrawer - {} - - [CustomPropertyDrawer (typeof(Vector2Data))] - public class Vector2DataDrawer : VariableDataDrawer - {} - - [CustomPropertyDrawer (typeof(Vector3Data))] - public class Vector3DataDrawer : VariableDataDrawer - {} - - [CustomPropertyDrawer (typeof(MaterialData))] - public class MaterialDataDrawer : VariableDataDrawer - {} - - [CustomPropertyDrawer (typeof(TextureData))] - public class TextureDataDrawer : VariableDataDrawer - {} - - [CustomPropertyDrawer (typeof(SpriteData))] - public class SpriteDataDrawer : VariableDataDrawer - {} - - [CustomPropertyDrawer (typeof(GameObjectData))] - public class GameObjectDataDrawer : VariableDataDrawer - {} - - [CustomPropertyDrawer (typeof(ObjectData))] - public class ObjectDataDrawer : VariableDataDrawer - {} - - [CustomPropertyDrawer (typeof(AnimatorData))] - public class AnimatorDataDrawer : VariableDataDrawer - {} - - [CustomPropertyDrawer (typeof(TransformData))] - public class TransformDataDrawer : VariableDataDrawer - {} - - [CustomPropertyDrawer (typeof(AudioSourceData))] - public class AudioSourceDrawer : VariableDataDrawer - { } - - [CustomPropertyDrawer(typeof(Rigidbody2DData))] - public class Rigidbody2DDataDrawer : VariableDataDrawer - { } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableListAdaptor.cs b/Assets/Fungus/Scripts/Editor/VariableListAdaptor.cs index fc594466..87cd9e04 100644 --- a/Assets/Fungus/Scripts/Editor/VariableListAdaptor.cs +++ b/Assets/Fungus/Scripts/Editor/VariableListAdaptor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -32,7 +32,6 @@ namespace Fungus.EditorUtils private float[] itemWidths = new float[4]; private Rect[] itemRects = new Rect[4]; - private GUIContent emptyGUIContent = new GUIContent(""); public SerializedProperty this[int index] { @@ -130,7 +129,7 @@ namespace Fungus.EditorUtils _arrayProperty.serializedObject.Update(); this.widthOfList = (w == 0 ? VariableListAdaptor.DefaultWidth : w) - ScrollSpacer; - + int width = widthOfList; int totalRatio = DefaultWidth; @@ -249,7 +248,7 @@ namespace Fungus.EditorUtils bool isGlobal = scopeProp.enumValueIndex == (int)VariableScope.Global; - + var prevEnabled = GUI.enabled; if (isGlobal && Application.isPlaying) { var res = FungusManager.Instance.GlobalVariables.GetVariable(keyProp.stringValue); @@ -258,18 +257,17 @@ namespace Fungus.EditorUtils SerializedObject globalValue = new SerializedObject(res); var globalValProp = globalValue.FindProperty("value"); - var prevEnabled = GUI.enabled; - GUI.enabled = false; - EditorGUI.PropertyField(itemRects[2], globalValProp, emptyGUIContent); - - GUI.enabled = prevEnabled; + GUI.enabled = false; + defaultProp = globalValProp; } } - else - { - EditorGUI.PropertyField(itemRects[2], defaultProp, emptyGUIContent); - } + + + //variable.DrawProperty(rects[2], defaultProp, variableInfo); + VariableDrawProperty(variable, itemRects[2], defaultProp, variableInfo); + + GUI.enabled = prevEnabled; scope = (VariableScope)EditorGUI.EnumPopup(itemRects[3], variable.Scope); @@ -279,6 +277,22 @@ namespace Fungus.EditorUtils GUI.backgroundColor = Color.white; } + + public static void VariableDrawProperty(Variable variable, Rect rect, SerializedProperty valueProp, VariableInfoAttribute info) + { + if (valueProp == null) + { + EditorGUI.LabelField(rect, "N/A"); + } + else if (info.IsPreviewedOnly) + { + EditorGUI.LabelField(rect, variable.ToString()); + } + else + { + CustomVariableDrawerLookup.DrawCustomOrPropertyField(variable.GetType(), rect, valueProp); + } + } private void DoRightClickMenu(int index) { diff --git a/Assets/Fungus/Scripts/Editor/VariableReferenceDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableReferenceDrawer.cs index 4de4917a..609ff273 100644 --- a/Assets/Fungus/Scripts/Editor/VariableReferenceDrawer.cs +++ b/Assets/Fungus/Scripts/Editor/VariableReferenceDrawer.cs @@ -1,4 +1,7 @@ -using UnityEditor; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEditor; using UnityEngine; namespace Fungus.EditorUtils diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes.meta b/Assets/Fungus/Scripts/Editor/VariableTypes.meta new file mode 100644 index 00000000..36ee9931 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2a6d0205484d6934198d80e5c17c6534 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/AnimatorVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/AnimatorVariableDrawer.cs new file mode 100644 index 00000000..35534d16 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/AnimatorVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(AnimatorData))] + public class AnimatorDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/AnimatorVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/AnimatorVariableDrawer.cs.meta new file mode 100644 index 00000000..d36c9d66 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/AnimatorVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 84539dbf98b813e4686cedce50f7b357 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/AudioSourceVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/AudioSourceVariableDrawer.cs new file mode 100644 index 00000000..e6baced8 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/AudioSourceVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(AudioSourceData))] + public class AudioSourceDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/AudioSourceVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/AudioSourceVariableDrawer.cs.meta new file mode 100644 index 00000000..708d0d43 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/AudioSourceVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9a4d200af6e624043a82349d0ddb1d00 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/CollectionVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/CollectionVariableDrawer.cs new file mode 100644 index 00000000..a79bf887 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/CollectionVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(CollectionData))] + public class CollectionDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/CollectionVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/CollectionVariableDrawer.cs.meta new file mode 100644 index 00000000..ba5f2c54 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/CollectionVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0ca2523715ad793419e9bf458e118426 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Collider2DVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/Collider2DVariableDrawer.cs new file mode 100644 index 00000000..9b71d203 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Collider2DVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(Collider2DData))] + public class Collider2DDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Collider2DVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/Collider2DVariableDrawer.cs.meta new file mode 100644 index 00000000..b24337de --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Collider2DVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1002f1c3b8f44a7478aa6a62584e2130 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/ColliderVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/ColliderVariableDrawer.cs new file mode 100644 index 00000000..1fa2cc43 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/ColliderVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(ColliderData))] + public class ColliderDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/ColliderVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/ColliderVariableDrawer.cs.meta new file mode 100644 index 00000000..743a406e --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/ColliderVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6f5d815af71388044ac855fe4baf2941 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/ColorVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/ColorVariableDrawer.cs new file mode 100644 index 00000000..b6f56471 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/ColorVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(ColorData))] + public class ColorDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/ColorVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/ColorVariableDrawer.cs.meta new file mode 100644 index 00000000..e106118c --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/ColorVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9a1e3fe915382ed4eafe8b3066786a0d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/GameObjectVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/GameObjectVariableDrawer.cs new file mode 100644 index 00000000..3513d554 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/GameObjectVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(GameObjectData))] + public class GameObjectDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/GameObjectVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/GameObjectVariableDrawer.cs.meta new file mode 100644 index 00000000..cab4b15e --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/GameObjectVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a88e8b6529542d94b985398246c6982c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/MaterialVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/MaterialVariableDrawer.cs new file mode 100644 index 00000000..020dbaf7 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/MaterialVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(MaterialData))] + public class MaterialDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/MaterialVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/MaterialVariableDrawer.cs.meta new file mode 100644 index 00000000..ba7e5fb3 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/MaterialVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 705f2cf9d782c0b45a19981550262842 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Matrix4x4VariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/Matrix4x4VariableDrawer.cs new file mode 100644 index 00000000..79d4f6c8 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Matrix4x4VariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(Matrix4x4Data))] + public class Matrix4x4DataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Matrix4x4VariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/Matrix4x4VariableDrawer.cs.meta new file mode 100644 index 00000000..553347a9 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Matrix4x4VariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 15e98b43732d6564e87e13ccc2490b05 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/QuaternionVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/QuaternionVariableDrawer.cs new file mode 100644 index 00000000..935cff4e --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/QuaternionVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(QuaternionData))] + public class QuaternionDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/QuaternionVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/QuaternionVariableDrawer.cs.meta new file mode 100644 index 00000000..1261d92e --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/QuaternionVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4082ac7fed21c8f459d58bb3efda67fc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Rigidbody2DVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/Rigidbody2DVariableDrawer.cs new file mode 100644 index 00000000..80391c42 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Rigidbody2DVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(Rigidbody2DData))] + public class Rigidbody2DDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Rigidbody2DVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/Rigidbody2DVariableDrawer.cs.meta new file mode 100644 index 00000000..72d7514f --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Rigidbody2DVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 20e657e82b90c1142bfdd22b835e62e5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/RigidbodyVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/RigidbodyVariableDrawer.cs new file mode 100644 index 00000000..ed65143e --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/RigidbodyVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(RigidbodyData))] + public class RigidbodyDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/RigidbodyVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/RigidbodyVariableDrawer.cs.meta new file mode 100644 index 00000000..488aed1d --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/RigidbodyVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0f2345a171733574898d4670f1f7bd79 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/SpriteVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/SpriteVariableDrawer.cs new file mode 100644 index 00000000..0956e1a0 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/SpriteVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(SpriteData))] + public class SpriteDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/SpriteVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/SpriteVariableDrawer.cs.meta new file mode 100644 index 00000000..2094444b --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/SpriteVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2f47d83bef7102e4b90dfc16aab634c3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/TextureVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/TextureVariableDrawer.cs new file mode 100644 index 00000000..537c1be3 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/TextureVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(TextureData))] + public class TextureDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/TextureVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/TextureVariableDrawer.cs.meta new file mode 100644 index 00000000..94d3ee15 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/TextureVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7e870d88e412ce9429a456459523b9ee +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/TransformVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/TransformVariableDrawer.cs new file mode 100644 index 00000000..d115a689 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/TransformVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(TransformData))] + public class TransformDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/TransformVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/TransformVariableDrawer.cs.meta new file mode 100644 index 00000000..d99cdb79 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/TransformVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dedf63e544976ef4b9cd0571ca926061 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Vector2VariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector2VariableDrawer.cs new file mode 100644 index 00000000..b9eaf6c0 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector2VariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(Vector2Data))] + public class Vector2DataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Vector2VariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector2VariableDrawer.cs.meta new file mode 100644 index 00000000..b12ebd66 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector2VariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0f6273c292432b54084aefab14c9db23 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Vector3VariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector3VariableDrawer.cs new file mode 100644 index 00000000..19242769 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector3VariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(Vector3Data))] + public class Vector3DataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Vector3VariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector3VariableDrawer.cs.meta new file mode 100644 index 00000000..689e9ab0 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector3VariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b1a5da98543a7354d872bd85ea6467e9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Vector4VariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector4VariableDrawer.cs new file mode 100644 index 00000000..5ac33463 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector4VariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(Vector4Data))] + public class Vector4DataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/Vector4VariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector4VariableDrawer.cs.meta new file mode 100644 index 00000000..b9081d88 --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/Vector4VariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 05fb86e0e99c98945b8ce4bb5224e8e5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Editor/ViewEditor.cs b/Assets/Fungus/Scripts/Editor/ViewEditor.cs index cb022172..898c3d7e 100644 --- a/Assets/Fungus/Scripts/Editor/ViewEditor.cs +++ b/Assets/Fungus/Scripts/Editor/ViewEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/WriteEditor.cs b/Assets/Fungus/Scripts/Editor/WriteEditor.cs index eaf4870a..c19e1424 100644 --- a/Assets/Fungus/Scripts/Editor/WriteEditor.cs +++ b/Assets/Fungus/Scripts/Editor/WriteEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/Editor/WriterAudioEditor.cs b/Assets/Fungus/Scripts/Editor/WriterAudioEditor.cs index 9a812922..3399032c 100644 --- a/Assets/Fungus/Scripts/Editor/WriterAudioEditor.cs +++ b/Assets/Fungus/Scripts/Editor/WriterAudioEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Scripts/EnumFlagAttribute.cs b/Assets/Fungus/Scripts/EnumFlagAttribute.cs index d923db5b..2ab6081d 100644 --- a/Assets/Fungus/Scripts/EnumFlagAttribute.cs +++ b/Assets/Fungus/Scripts/EnumFlagAttribute.cs @@ -1,5 +1,7 @@ -//from http://wiki.unity3d.com/index.php/EnumFlagPropertyDrawer +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) +//Adapted from http://wiki.unity3d.com/index.php/EnumFlagPropertyDrawer //placed in fungus namespace to avoid collisions with your own using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/ButtonClicked.cs b/Assets/Fungus/Scripts/EventHandlers/ButtonClicked.cs index 38425380..91220923 100644 --- a/Assets/Fungus/Scripts/EventHandlers/ButtonClicked.cs +++ b/Assets/Fungus/Scripts/EventHandlers/ButtonClicked.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/DragCancelled.cs b/Assets/Fungus/Scripts/EventHandlers/DragCancelled.cs index afc517de..efe19336 100644 --- a/Assets/Fungus/Scripts/EventHandlers/DragCancelled.cs +++ b/Assets/Fungus/Scripts/EventHandlers/DragCancelled.cs @@ -1,7 +1,8 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) -using UnityEngine; +using System.Collections.Generic; +using UnityEngine; namespace Fungus { @@ -12,18 +13,25 @@ namespace Fungus "Drag Cancelled", "The block will execute when the player drags an object and releases it without dropping it on a target object.")] [AddComponentMenu("")] - public class DragCancelled : EventHandler - { + public class DragCancelled : EventHandler, ISerializationCallbackReceiver + { public class DragCancelledEvent { public Draggable2D DraggableObject; + public DragCancelledEvent(Draggable2D draggableObject) { DraggableObject = draggableObject; } } + [VariableProperty(typeof(GameObjectVariable))] + [SerializeField] protected GameObjectVariable draggableRef; + [Tooltip("Draggable object to listen for drag events on")] + [SerializeField] protected List draggableObjects; + + [HideInInspector] [SerializeField] protected Draggable2D draggableObject; protected EventDispatcher eventDispatcher; @@ -47,26 +55,61 @@ namespace Fungus OnDragCancelled(evt.DraggableObject); } + #region Compatibility + + void ISerializationCallbackReceiver.OnAfterDeserialize() + { + //add any dragableobject already present to list for backwards compatability + if (draggableObject != null) + { + if (!draggableObjects.Contains(draggableObject)) + { + draggableObjects.Add(draggableObject); + } + draggableObject = null; + } + } + + void ISerializationCallbackReceiver.OnBeforeSerialize() + { + } + + #endregion Compatibility + #region Public members public virtual void OnDragCancelled(Draggable2D draggableObject) { - if (draggableObject == this.draggableObject) + if (draggableObjects.Contains(draggableObject)) { + if (draggableRef != null) + { + draggableRef.Value = draggableObject.gameObject; + } ExecuteBlock(); } } public override string GetSummary() { - if (draggableObject != null) + string summary = "Draggable: "; + if (this.draggableObjects != null && this.draggableObjects.Count != 0) + { + for (int i = 0; i < this.draggableObjects.Count; i++) + { + if (draggableObjects[i] != null) + { + summary += draggableObjects[i].name + ","; + } + } + return summary; + } + else { - return draggableObject.name; + return "None"; } - - return "None"; } - #endregion + #endregion Public members } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/DragCompleted.cs b/Assets/Fungus/Scripts/EventHandlers/DragCompleted.cs index e0c42514..510cc266 100644 --- a/Assets/Fungus/Scripts/EventHandlers/DragCompleted.cs +++ b/Assets/Fungus/Scripts/EventHandlers/DragCompleted.cs @@ -1,88 +1,150 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) -using UnityEngine; +using System.Collections.Generic; +using UnityEngine; namespace Fungus { /// /// The block will execute when the player drags an object and successfully drops it on a target object. + /// + /// ExecuteAlways used to get the Compatibility that we need, use of ISerializationCallbackReceiver is error prone + /// when used on Unity controlled objects as it runs on threads other than main thread. /// [EventHandlerInfo("Sprite", "Drag Completed", "The block will execute when the player drags an object and successfully drops it on a target object.")] [AddComponentMenu("")] - public class DragCompleted : EventHandler - { + [ExecuteInEditMode] + public class DragCompleted : EventHandler, ISerializationCallbackReceiver + { public class DragCompletedEvent { public Draggable2D DraggableObject; + public DragCompletedEvent(Draggable2D draggableObject) { DraggableObject = draggableObject; } } + + [VariableProperty(typeof(GameObjectVariable))] + [SerializeField] protected GameObjectVariable draggableRef; + + [VariableProperty(typeof(GameObjectVariable))] + [SerializeField] protected GameObjectVariable targetRef; + [Tooltip("Draggable object to listen for drag events on")] + [HideInInspector] [SerializeField] protected Draggable2D draggableObject; + [SerializeField] protected List draggableObjects; + [Tooltip("Drag target object to listen for drag events on")] + [HideInInspector] [SerializeField] protected Collider2D targetObject; - + + [SerializeField] protected List targetObjects; + // There's no way to poll if an object is touching another object, so // we have to listen to the callbacks and track the touching state ourselves. protected bool overTarget = false; + protected Collider2D targetCollider = null; + protected EventDispatcher eventDispatcher; protected virtual void OnEnable() { - eventDispatcher = FungusManager.Instance.EventDispatcher; + if (Application.isPlaying) + { + eventDispatcher = FungusManager.Instance.EventDispatcher; - eventDispatcher.AddListener(OnDragCompletedEvent); - eventDispatcher.AddListener(OnDragEnteredEvent); - eventDispatcher.AddListener(OnDragExitedEvent); + eventDispatcher.AddListener(OnDragCompletedEvent); + eventDispatcher.AddListener(OnDragEnteredEvent); + eventDispatcher.AddListener(OnDragExitedEvent); - if(draggableObject != null) - { - draggableObject.RegisterHandler(this); + foreach (Draggable2D dragObj in draggableObjects) + { + dragObj.RegisterHandler(this); + } } } protected virtual void OnDisable() { - eventDispatcher.RemoveListener(OnDragCompletedEvent); - eventDispatcher.RemoveListener(OnDragEnteredEvent); - eventDispatcher.RemoveListener(OnDragExitedEvent); - - if(draggableObject != null) + if (Application.isPlaying) { - draggableObject.UnregisterHandler(this); - } + eventDispatcher.RemoveListener(OnDragCompletedEvent); + eventDispatcher.RemoveListener(OnDragEnteredEvent); + eventDispatcher.RemoveListener(OnDragExitedEvent); + + foreach (Draggable2D dragObj in draggableObjects) + { + dragObj.UnregisterHandler(this); + } - eventDispatcher = null; + eventDispatcher = null; + } } - void OnDragCompletedEvent(DragCompletedEvent evt) + private void OnDragCompletedEvent(DragCompletedEvent evt) { OnDragCompleted(evt.DraggableObject); } - void OnDragEnteredEvent(DragEntered.DragEnteredEvent evt) + private void OnDragEnteredEvent(DragEntered.DragEnteredEvent evt) { OnDragEntered(evt.DraggableObject, evt.TargetCollider); } - void OnDragExitedEvent(DragExited.DragExitedEvent evt) + private void OnDragExitedEvent(DragExited.DragExitedEvent evt) { OnDragExited(evt.DraggableObject, evt.TargetCollider); } + #region Compatibility + + void ISerializationCallbackReceiver.OnAfterDeserialize() + { + //presentl using awake due to errors on non main thread access of targetCollider + } + + void ISerializationCallbackReceiver.OnBeforeSerialize() + { + } + + private void Awake() + { + //add any dragableobject already present to list for backwards compatability + if (draggableObject != null) + { + if (!draggableObjects.Contains(draggableObject)) + { + draggableObjects.Add(draggableObject); + } + } + + if (targetObject != null) + { + if (!targetObjects.Contains(targetObject)) + { + targetObjects.Add(targetObject); + } + } + draggableObject = null; + targetObject = null; + } + + #endregion Compatibility + #region Public members /// /// Gets the draggable object. /// - public virtual Draggable2D DraggableObject { get { return draggableObject; } } + public virtual List DraggableObjects { get { return draggableObjects; } } /// /// Returns true if the draggable object is over the drag target object. @@ -97,54 +159,80 @@ namespace Fungus /// public virtual void OnDragEntered(Draggable2D draggableObject, Collider2D targetObject) { - if (this.targetObject != null && - draggableObject == this.draggableObject && - targetObject == this.targetObject) + if (this.targetObjects != null && this.draggableObjects != null && + this.draggableObjects.Contains(draggableObject) && + this.targetObjects.Contains(targetObject)) { overTarget = true; + targetCollider = targetObject; } } - + /// /// Called by the Draggable2D object when the it exits the drag target. /// public virtual void OnDragExited(Draggable2D draggableObject, Collider2D targetObject) { - if (this.targetObject != null && - draggableObject == this.draggableObject && - targetObject == this.targetObject) + if (this.targetObjects != null && this.draggableObjects != null && + this.draggableObjects.Contains(draggableObject) && + this.targetObjects.Contains(targetObject)) { overTarget = false; + targetCollider = null; } } - + /// /// Called by the Draggable2D object when the the drag ends over the drag target. /// public virtual void OnDragCompleted(Draggable2D draggableObject) { - if (draggableObject == this.draggableObject && + if (this.draggableObjects.Contains(draggableObject) && overTarget) { // Assume that the player will have to do perform another drag and drop operation // to complete the drag again. This is necessary because we don't get an OnDragExited if the // draggable object is set to be inactive. + if (draggableRef != null) + { + draggableRef.Value = draggableObject.gameObject; + } + if (targetRef != null) + { + targetRef.Value = targetCollider.gameObject; + } + overTarget = false; - + targetCollider = null; + ExecuteBlock(); } } public override string GetSummary() { - string summary = ""; - if (draggableObject != null) + string summary = "Draggable: "; + if (this.draggableObjects != null && this.draggableObjects.Count != 0) { - summary += "\nDraggable: " + draggableObject.name; + for (int i = 0; i < this.draggableObjects.Count; i++) + { + if (draggableObjects[i] != null) + { + summary += draggableObjects[i].name + ","; + } + } } - if (targetObject != null) + + summary += "\nTarget: "; + if (this.targetObjects != null && this.targetObjects.Count != 0) { - summary += "\nTarget: " + targetObject.name; + for (int i = 0; i < this.targetObjects.Count; i++) + { + if (targetObjects[i] != null) + { + summary += targetObjects[i].name + ","; + } + } } if (summary.Length == 0) @@ -155,6 +243,6 @@ namespace Fungus return summary; } - #endregion + #endregion Public members } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/DragEntered.cs b/Assets/Fungus/Scripts/EventHandlers/DragEntered.cs index 9c486b75..4d6ccb54 100644 --- a/Assets/Fungus/Scripts/EventHandlers/DragEntered.cs +++ b/Assets/Fungus/Scripts/EventHandlers/DragEntered.cs @@ -1,58 +1,115 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) -using UnityEngine; -using System; -using System.Collections; using System.Collections.Generic; +using UnityEngine; namespace Fungus { /// /// The block will execute when the player is dragging an object which starts touching the target object. + /// + /// ExecuteAlways used to get the Compatibility that we need, use of ISerializationCallbackReceiver is error prone + /// when used on Unity controlled objects as it runs on threads other than main thread. /// [EventHandlerInfo("Sprite", "Drag Entered", "The block will execute when the player is dragging an object which starts touching the target object.")] [AddComponentMenu("")] - public class DragEntered : EventHandler - { + [ExecuteInEditMode] + public class DragEntered : EventHandler, ISerializationCallbackReceiver + { public class DragEnteredEvent { public Draggable2D DraggableObject; public Collider2D TargetCollider; + public DragEnteredEvent(Draggable2D draggableObject, Collider2D targetCollider) { DraggableObject = draggableObject; TargetCollider = targetCollider; } } + + [VariableProperty(typeof(GameObjectVariable))] + [SerializeField] protected GameObjectVariable draggableRef; + + [VariableProperty(typeof(GameObjectVariable))] + [SerializeField] protected GameObjectVariable targetRef; + [Tooltip("Draggable object to listen for drag events on")] + [HideInInspector] [SerializeField] protected Draggable2D draggableObject; + [SerializeField] protected List draggableObjects; + [Tooltip("Drag target object to listen for drag events on")] + [HideInInspector] [SerializeField] protected Collider2D targetObject; + [SerializeField] protected List targetObjects; + protected EventDispatcher eventDispatcher; protected virtual void OnEnable() { - eventDispatcher = FungusManager.Instance.EventDispatcher; + if (Application.isPlaying) + { + eventDispatcher = FungusManager.Instance.EventDispatcher; - eventDispatcher.AddListener(OnDragEnteredEvent); + eventDispatcher.AddListener(OnDragEnteredEvent); + } } protected virtual void OnDisable() { - eventDispatcher.RemoveListener(OnDragEnteredEvent); + if (Application.isPlaying) + { + eventDispatcher.RemoveListener(OnDragEnteredEvent); - eventDispatcher = null; + eventDispatcher = null; + } } - void OnDragEnteredEvent(DragEnteredEvent evt) + private void OnDragEnteredEvent(DragEnteredEvent evt) { OnDragEntered(evt.DraggableObject, evt.TargetCollider); } + + #region Compatibility + + void ISerializationCallbackReceiver.OnAfterDeserialize() + { + } + + void ISerializationCallbackReceiver.OnBeforeSerialize() + { + } + + private void Awake() + { + //add any dragableobject already present to list for backwards compatability + if (draggableObject != null) + { + if (!draggableObjects.Contains(draggableObject)) + { + draggableObjects.Add(draggableObject); + } + } + + if (targetObject != null) + { + if (!targetObjects.Contains(targetObject)) + { + targetObjects.Add(targetObject); + } + } + draggableObject = null; + targetObject = null; + } + + #endregion Compatibility + #region Public members /// @@ -60,33 +117,56 @@ namespace Fungus /// public virtual void OnDragEntered(Draggable2D draggableObject, Collider2D targetObject) { - if (draggableObject == this.draggableObject && - targetObject == this.targetObject) + if (this.targetObjects != null && this.draggableObjects != null && + this.draggableObjects.Contains(draggableObject) && + this.targetObjects.Contains(targetObject)) { + if (draggableRef != null) + { + draggableRef.Value = draggableObject.gameObject; + } + if (targetRef != null) + { + targetRef.Value = targetObject.gameObject; + } ExecuteBlock(); } } public override string GetSummary() { - string summary = ""; - if (draggableObject != null) + string summary = "Draggable: "; + if (this.draggableObjects != null && this.draggableObjects.Count != 0) { - summary += "\nDraggable: " + draggableObject.name; + for (int i = 0; i < this.draggableObjects.Count; i++) + { + if (draggableObjects[i] != null) + { + summary += draggableObjects[i].name + ","; + } + } } - if (targetObject != null) + + summary += "\nTarget: "; + if (this.targetObjects != null && this.targetObjects.Count != 0) { - summary += "\nTarget: " + targetObject.name; + for (int i = 0; i < this.targetObjects.Count; i++) + { + if (targetObjects[i] != null) + { + summary += targetObjects[i].name + ","; + } + } } - + if (summary.Length == 0) { return "None"; } - + return summary; } - #endregion + #endregion Public members } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/DragExited.cs b/Assets/Fungus/Scripts/EventHandlers/DragExited.cs index 446a0c9d..d99ff271 100644 --- a/Assets/Fungus/Scripts/EventHandlers/DragExited.cs +++ b/Assets/Fungus/Scripts/EventHandlers/DragExited.cs @@ -1,23 +1,29 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) -using UnityEngine; +using System.Collections.Generic; +using UnityEngine; namespace Fungus { /// /// The block will execute when the player is dragging an object which stops touching the target object. + /// + /// ExecuteAlways used to get the Compatibility that we need, use of ISerializationCallbackReceiver is error prone + /// when used on Unity controlled objects as it runs on threads other than main thread. /// [EventHandlerInfo("Sprite", "Drag Exited", "The block will execute when the player is dragging an object which stops touching the target object.")] [AddComponentMenu("")] - public class DragExited : EventHandler - { + [ExecuteInEditMode] + public class DragExited : EventHandler, ISerializationCallbackReceiver + { public class DragExitedEvent { public Draggable2D DraggableObject; public Collider2D TargetCollider; + public DragExitedEvent(Draggable2D draggableObject, Collider2D targetCollider) { DraggableObject = draggableObject; @@ -25,33 +31,85 @@ namespace Fungus } } + [VariableProperty(typeof(GameObjectVariable))] + [SerializeField] protected GameObjectVariable draggableRef; + + [VariableProperty(typeof(GameObjectVariable))] + [SerializeField] protected GameObjectVariable targetRef; + [Tooltip("Draggable object to listen for drag events on")] + [HideInInspector] [SerializeField] protected Draggable2D draggableObject; + [SerializeField] protected List draggableObjects; + [Tooltip("Drag target object to listen for drag events on")] + [HideInInspector] [SerializeField] protected Collider2D targetObject; + [SerializeField] protected List targetObjects; + protected EventDispatcher eventDispatcher; protected virtual void OnEnable() { - eventDispatcher = FungusManager.Instance.EventDispatcher; + if (Application.isPlaying) + { + eventDispatcher = FungusManager.Instance.EventDispatcher; - eventDispatcher.AddListener(OnDragEnteredEvent); + eventDispatcher.AddListener(OnDragEnteredEvent); + } } protected virtual void OnDisable() { - eventDispatcher.RemoveListener(OnDragEnteredEvent); + if (Application.isPlaying) + { + eventDispatcher.RemoveListener(OnDragEnteredEvent); - eventDispatcher = null; + eventDispatcher = null; + } } - void OnDragEnteredEvent(DragExitedEvent evt) + private void OnDragEnteredEvent(DragExitedEvent evt) { OnDragExited(evt.DraggableObject, evt.TargetCollider); } + #region Compatibility + + void ISerializationCallbackReceiver.OnAfterDeserialize() + { + } + + void ISerializationCallbackReceiver.OnBeforeSerialize() + { + } + + private void Awake() + { + //add any dragableobject already present to list for backwards compatability + if (draggableObject != null) + { + if (!draggableObjects.Contains(draggableObject)) + { + draggableObjects.Add(draggableObject); + } + } + + if (targetObject != null) + { + if (!targetObjects.Contains(targetObject)) + { + targetObjects.Add(targetObject); + } + } + draggableObject = null; + targetObject = null; + } + + #endregion Compatibility + #region Public members /// @@ -59,33 +117,56 @@ namespace Fungus /// public virtual void OnDragExited(Draggable2D draggableObject, Collider2D targetObject) { - if (draggableObject == this.draggableObject && - targetObject == this.targetObject) + if (this.targetObjects != null && this.draggableObjects != null && + this.draggableObjects.Contains(draggableObject) && + this.targetObjects.Contains(targetObject)) { + if (draggableRef != null) + { + draggableRef.Value = draggableObject.gameObject; + } + if (targetRef != null) + { + targetRef.Value = targetObject.gameObject; + } ExecuteBlock(); } } public override string GetSummary() { - string summary = ""; - if (draggableObject != null) + string summary = "Draggable: "; + if (this.draggableObjects != null && this.draggableObjects.Count != 0) { - summary += "\nDraggable: " + draggableObject.name; + for (int i = 0; i < this.draggableObjects.Count; i++) + { + if (draggableObjects[i] != null) + { + summary += draggableObjects[i].name + ","; + } + } } - if (targetObject != null) + + summary += "\nTarget: "; + if (this.targetObjects != null && this.targetObjects.Count != 0) { - summary += "\nTarget: " + targetObject.name; + for (int i = 0; i < this.targetObjects.Count; i++) + { + if (targetObjects[i] != null) + { + summary += targetObjects[i].name + ","; + } + } } - + if (summary.Length == 0) { return "None"; } - + return summary; } - #endregion + #endregion Public members } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/DragStarted.cs b/Assets/Fungus/Scripts/EventHandlers/DragStarted.cs index 49134dbb..077455c2 100644 --- a/Assets/Fungus/Scripts/EventHandlers/DragStarted.cs +++ b/Assets/Fungus/Scripts/EventHandlers/DragStarted.cs @@ -1,7 +1,8 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) -using UnityEngine; +using System.Collections.Generic; +using UnityEngine; namespace Fungus { @@ -12,17 +13,24 @@ namespace Fungus "Drag Started", "The block will execute when the player starts dragging an object.")] [AddComponentMenu("")] - public class DragStarted : EventHandler - { + public class DragStarted : EventHandler, ISerializationCallbackReceiver + { public class DragStartedEvent { public Draggable2D DraggableObject; + public DragStartedEvent(Draggable2D draggableObject) { DraggableObject = draggableObject; } } + [VariableProperty(typeof(GameObjectVariable))] + [SerializeField] protected GameObjectVariable draggableRef; + + [SerializeField] protected List draggableObjects; + + [HideInInspector] [SerializeField] protected Draggable2D draggableObject; protected EventDispatcher eventDispatcher; @@ -41,11 +49,32 @@ namespace Fungus eventDispatcher = null; } - void OnDragStartedEvent(DragStartedEvent evt) + private void OnDragStartedEvent(DragStartedEvent evt) { OnDragStarted(evt.DraggableObject); } + #region Compatibility + + void ISerializationCallbackReceiver.OnAfterDeserialize() + { + //add any dragableobject already present to list for backwards compatability + if (draggableObject != null) + { + if (!draggableObjects.Contains(draggableObject)) + { + draggableObjects.Add(draggableObject); + } + draggableObject = null; + } + } + + void ISerializationCallbackReceiver.OnBeforeSerialize() + { + } + + #endregion Compatibility + #region Public members /// @@ -53,22 +82,38 @@ namespace Fungus /// public virtual void OnDragStarted(Draggable2D draggableObject) { - if (draggableObject == this.draggableObject) + if (draggableObjects.Contains(draggableObject)) { + if (draggableRef != null) + { + draggableRef.Value = draggableObject.gameObject; + } ExecuteBlock(); } } public override string GetSummary() { - if (draggableObject != null) + string summary = "Draggable: "; + if (this.draggableObjects != null && this.draggableObjects.Count != 0) { - return draggableObject.name; + for (int i = 0; i < this.draggableObjects.Count; i++) + { + if (draggableObjects[i] != null) + { + summary += draggableObjects[i].name + ","; + } + } } - - return "None"; + + if (summary.Length == 0) + { + return "None"; + } + + return summary; } - #endregion + #endregion Public members } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/EndEdit.cs b/Assets/Fungus/Scripts/EventHandlers/EndEdit.cs index 2ca80601..899f6b97 100644 --- a/Assets/Fungus/Scripts/EventHandlers/EndEdit.cs +++ b/Assets/Fungus/Scripts/EventHandlers/EndEdit.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/FlowchartEnabled.cs b/Assets/Fungus/Scripts/EventHandlers/FlowchartEnabled.cs index 18c10305..707ac7d5 100644 --- a/Assets/Fungus/Scripts/EventHandlers/FlowchartEnabled.cs +++ b/Assets/Fungus/Scripts/EventHandlers/FlowchartEnabled.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/GameStarted.cs b/Assets/Fungus/Scripts/EventHandlers/GameStarted.cs index 3f4c0fa9..1f9b38f2 100644 --- a/Assets/Fungus/Scripts/EventHandlers/GameStarted.cs +++ b/Assets/Fungus/Scripts/EventHandlers/GameStarted.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/KeyPressed.cs b/Assets/Fungus/Scripts/EventHandlers/KeyPressed.cs index 4bd6147d..10a99822 100644 --- a/Assets/Fungus/Scripts/EventHandlers/KeyPressed.cs +++ b/Assets/Fungus/Scripts/EventHandlers/KeyPressed.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/MessageReceived.cs b/Assets/Fungus/Scripts/EventHandlers/MessageReceived.cs index 2ba62983..ce3937c3 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MessageReceived.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MessageReceived.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/AnimatorState.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/AnimatorState.cs index 9cff9eef..0d9f9759 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/AnimatorState.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/AnimatorState.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/ApplicationState.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/ApplicationState.cs index 6d4efee2..0a886afa 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/ApplicationState.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/ApplicationState.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/BasePhysicsEventHandler.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/BasePhysicsEventHandler.cs index ffe4b120..a4da5187 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/BasePhysicsEventHandler.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/BasePhysicsEventHandler.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; using UnityEngine.UI; namespace Fungus @@ -18,17 +21,9 @@ namespace Fungus Exit = 1 << 2, } - [Tooltip("Which of the 3d physics messages to we trigger on.")] + [Tooltip("Which of the physics messages do we trigger on.")] [SerializeField] [EnumFlag] protected PhysicsMessageType FireOn = PhysicsMessageType.Enter; - - protected void ProcessCollider(PhysicsMessageType from, string tagOnOther) - { - if ((from & FireOn) != 0) - { - ProcessTagFilter(tagOnOther); - } - } } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/CharacterControllerCollide.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/CharacterControllerCollide.cs index e247a7d1..9993fb20 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/CharacterControllerCollide.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/CharacterControllerCollide.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -13,10 +16,21 @@ namespace Fungus [AddComponentMenu("")] public class CharacterControllerCollide : TagFilteredEventHandler { + [Tooltip("Optional variable to store the ControllerColliderHit")] + [VariableProperty(typeof(ControllerColliderHitVariable))] + [SerializeField] protected ControllerColliderHitVariable colHitVar; private void OnControllerColliderHit(ControllerColliderHit hit) { - ProcessTagFilter(hit.gameObject.tag); + if (DoesPassFilter(hit.gameObject.tag)) + { + if (colHitVar != null) + { + colHitVar.Value = hit; + } + + ExecuteBlock(); + } } } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Collision.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Collision.cs index a9305c99..48f165c7 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Collision.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Collision.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; using UnityEngine.UI; namespace Fungus @@ -13,19 +16,35 @@ namespace Fungus [AddComponentMenu("")] public class Collision : BasePhysicsEventHandler { + [Tooltip("Optional variable to store the collision object that is provided by Unity.")] + [VariableProperty(typeof(CollisionVariable))] + [SerializeField] protected CollisionVariable collisionVar; + private void OnCollisionEnter(UnityEngine.Collision collision) { - ProcessCollider(PhysicsMessageType.Enter, collision.collider.tag); + ProcessCollisionEvent(PhysicsMessageType.Enter, collision); } private void OnCollisionStay(UnityEngine.Collision collision) { - ProcessCollider(PhysicsMessageType.Stay, collision.collider.tag); + ProcessCollisionEvent(PhysicsMessageType.Stay, collision); } private void OnCollisionExit(UnityEngine.Collision collision) { - ProcessCollider(PhysicsMessageType.Exit, collision.collider.tag); + ProcessCollisionEvent(PhysicsMessageType.Exit, collision); + } + + private void ProcessCollisionEvent(PhysicsMessageType from, UnityEngine.Collision collision) + { + if ((from & FireOn) != 0 && + DoesPassFilter(collision.collider.tag)) + { + if (collisionVar != null) + collisionVar.Value = collision; + + ExecuteBlock(); + } } } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Collision2D.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Collision2D.cs index 1666feee..10a31a96 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Collision2D.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Collision2D.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; using UnityEngine.UI; namespace Fungus @@ -12,19 +15,35 @@ namespace Fungus [AddComponentMenu("")] public class Collision2D : BasePhysicsEventHandler { + [Tooltip("Optional variable to store the collision object that is provided by Unity.")] + [VariableProperty(typeof(Collision2DVariable))] + [SerializeField] protected Collision2DVariable collisionVar; + private void OnCollisionEnter2D(UnityEngine.Collision2D collision) { - ProcessCollider(PhysicsMessageType.Enter, collision.collider.tag); + ProcessCollisionEvent(PhysicsMessageType.Enter, collision); } private void OnCollisionStay2D(UnityEngine.Collision2D collision) { - ProcessCollider(PhysicsMessageType.Stay, collision.collider.tag); + ProcessCollisionEvent(PhysicsMessageType.Stay, collision); } private void OnCollisionExit2D(UnityEngine.Collision2D collision) { - ProcessCollider(PhysicsMessageType.Exit, collision.collider.tag); + ProcessCollisionEvent(PhysicsMessageType.Exit, collision); + } + + private void ProcessCollisionEvent(PhysicsMessageType from, UnityEngine.Collision2D collision) + { + if ((from & FireOn) != 0 && + DoesPassFilter(collision.collider.tag)) + { + if (collisionVar != null) + collisionVar.Value = collision; + + ExecuteBlock(); + } } } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Mouse.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Mouse.cs index 49c4cb6f..e2e09d2c 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Mouse.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Mouse.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Particle.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Particle.cs index a7c66433..25192fc5 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Particle.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Particle.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -27,11 +30,23 @@ namespace Fungus [EnumFlag] protected ParticleMessageFlags FireOn = ParticleMessageFlags.OnParticleCollision; + [Tooltip("Optional variable to store the gameobject that particle collided with.")] + [VariableProperty(typeof(GameObjectVariable))] + [SerializeField] protected GameObjectVariable GOcolliderVar; + private void OnParticleCollision(GameObject other) { if ((FireOn & ParticleMessageFlags.OnParticleCollision) != 0) { - ProcessTagFilter(other.tag); + if (DoesPassFilter(other.tag)) + { + if (GOcolliderVar != null) + { + GOcolliderVar.Value = other; + } + + ExecuteBlock(); + } } } diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Render.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Render.cs index 4aa2077b..45c30dc7 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Render.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Render.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/TagFilteredEventHandler.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/TagFilteredEventHandler.cs index 8cd7782e..3abfb9db 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/TagFilteredEventHandler.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/TagFilteredEventHandler.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; using UnityEngine.UI; @@ -15,17 +18,15 @@ namespace Fungus protected void ProcessTagFilter(string tagOnOther) { - if (tagFilter.Length == 0) + if (DoesPassFilter(tagOnOther)) { ExecuteBlock(); } - else - { - if (System.Array.IndexOf(tagFilter, tagOnOther) != -1) - { - ExecuteBlock(); - } - } + } + + protected bool DoesPassFilter(string tagOnOther) + { + return tagFilter.Length == 0 || System.Array.IndexOf(tagFilter, tagOnOther) != -1; } } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/TransformChanged.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/TransformChanged.cs index 2dee96b5..9754d8e9 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/TransformChanged.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/TransformChanged.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Trigger.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Trigger.cs index 53b94f2b..ae0020b5 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Trigger.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Trigger.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; using UnityEngine.UI; namespace Fungus @@ -12,19 +15,36 @@ namespace Fungus [AddComponentMenu("")] public class Trigger : BasePhysicsEventHandler { + [Tooltip("Optional variable to store the collider that caused the trigger to occur.")] + [VariableProperty(typeof(ColliderVariable))] + [SerializeField] protected ColliderVariable colliderVar; + private void OnTriggerEnter(Collider col) { - ProcessCollider(PhysicsMessageType.Enter, col.tag); + ProcessCollider(PhysicsMessageType.Enter, col); } private void OnTriggerStay(Collider col) { - ProcessCollider(PhysicsMessageType.Stay, col.tag); + ProcessCollider(PhysicsMessageType.Stay, col); } private void OnTriggerExit(Collider col) { - ProcessCollider(PhysicsMessageType.Exit, col.tag); + ProcessCollider(PhysicsMessageType.Exit, col); + } + + protected void ProcessCollider(PhysicsMessageType from, Collider other) + { + if ((from & FireOn) != 0 && DoesPassFilter(other.tag)) + { + if (colliderVar != null) + { + colliderVar.Value = other; + } + + ExecuteBlock(); + } } } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Trigger2D.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Trigger2D.cs index 5f9b9280..5cad1e19 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Trigger2D.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Trigger2D.cs @@ -1,10 +1,12 @@ -using UnityEngine; -using UnityEngine.UI; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { /// - /// The block will execute when a 2d physics trigger matching some basic conditions is met. + /// The block will execute when a 2d physics trigger matching some basic conditions is met. /// [EventHandlerInfo("MonoBehaviour", "Trigger2D", @@ -12,20 +14,36 @@ namespace Fungus [AddComponentMenu("")] public class Trigger2D : BasePhysicsEventHandler { + [Tooltip("Optional variable to store the collider that caused the trigger to occur.")] + [VariableProperty(typeof(Collider2DVariable))] + [SerializeField] protected Collider2DVariable colliderVar; + private void OnTriggerEnter2D(Collider2D col) { - ProcessCollider(PhysicsMessageType.Enter, col.tag); + ProcessCollider(PhysicsMessageType.Enter, col); } - + private void OnTriggerStay2D(Collider2D col) { - ProcessCollider(PhysicsMessageType.Stay, col.tag); + ProcessCollider(PhysicsMessageType.Stay, col); } private void OnTriggerExit2D(Collider2D col) { - ProcessCollider(PhysicsMessageType.Exit, col.tag); + ProcessCollider(PhysicsMessageType.Exit, col); } + protected void ProcessCollider(PhysicsMessageType from, Collider2D other) + { + if ((from & FireOn) != 0 && DoesPassFilter(other.tag)) + { + if (colliderVar != null) + { + colliderVar.Value = other; + } + + ExecuteBlock(); + } + } } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/UpdateTick.cs b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/UpdateTick.cs index b958c00f..8e1864a7 100644 --- a/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/UpdateTick.cs +++ b/Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/UpdateTick.cs @@ -1,5 +1,6 @@ -using System.Collections; -using System.Collections.Generic; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus @@ -13,7 +14,6 @@ namespace Fungus [AddComponentMenu("")] public class UpdateTick : EventHandler { - [System.Flags] public enum UpdateMessageFlags { @@ -29,7 +29,7 @@ namespace Fungus private void Update() { - if((FireOn & UpdateMessageFlags.Update) != 0) + if ((FireOn & UpdateMessageFlags.Update) != 0) { ExecuteBlock(); } @@ -51,4 +51,4 @@ namespace Fungus } } } -} +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/EventHandlers/ObjectClicked.cs b/Assets/Fungus/Scripts/EventHandlers/ObjectClicked.cs index 20b72d7d..d0be0c80 100644 --- a/Assets/Fungus/Scripts/EventHandlers/ObjectClicked.cs +++ b/Assets/Fungus/Scripts/EventHandlers/ObjectClicked.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/SavePointLoaded.cs b/Assets/Fungus/Scripts/EventHandlers/SavePointLoaded.cs index f95d8682..1bf9f300 100644 --- a/Assets/Fungus/Scripts/EventHandlers/SavePointLoaded.cs +++ b/Assets/Fungus/Scripts/EventHandlers/SavePointLoaded.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/EventHandlers/ToggleChanged.cs b/Assets/Fungus/Scripts/EventHandlers/ToggleChanged.cs index 18b974af..e472d092 100644 --- a/Assets/Fungus/Scripts/EventHandlers/ToggleChanged.cs +++ b/Assets/Fungus/Scripts/EventHandlers/ToggleChanged.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Interfaces/IBlockCaller.cs b/Assets/Fungus/Scripts/Interfaces/IBlockCaller.cs index 54d85240..18bb0e2a 100644 --- a/Assets/Fungus/Scripts/Interfaces/IBlockCaller.cs +++ b/Assets/Fungus/Scripts/Interfaces/IBlockCaller.cs @@ -1,4 +1,7 @@ -namespace Fungus +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus { /// /// Interface for indicating that the class holds a reference to and may call a block diff --git a/Assets/Fungus/Scripts/Interfaces/ICollectionCompatible.cs b/Assets/Fungus/Scripts/Interfaces/ICollectionCompatible.cs new file mode 100644 index 00000000..c9c0c3c5 --- /dev/null +++ b/Assets/Fungus/Scripts/Interfaces/ICollectionCompatible.cs @@ -0,0 +1,14 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus +{ + /// + /// Interface to allow the VariableEditor to check that a given fungus variable is compatibile with the object it resides + /// within, such as in the collection base command + /// + public interface ICollectionCompatible + { + bool IsVarCompatibleWithCollection(Fungus.Variable variableInQuestion, string compatibleWith); + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Interfaces/ICollectionCompatible.cs.meta b/Assets/Fungus/Scripts/Interfaces/ICollectionCompatible.cs.meta new file mode 100644 index 00000000..54710ca7 --- /dev/null +++ b/Assets/Fungus/Scripts/Interfaces/ICollectionCompatible.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8162d81948debc44388945f059f14637 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Interfaces/IDialogInputListener.cs b/Assets/Fungus/Scripts/Interfaces/IDialogInputListener.cs index 3693b63d..83d5f18d 100644 --- a/Assets/Fungus/Scripts/Interfaces/IDialogInputListener.cs +++ b/Assets/Fungus/Scripts/Interfaces/IDialogInputListener.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) namespace Fungus diff --git a/Assets/Fungus/Scripts/Interfaces/IFungusCollection.cs b/Assets/Fungus/Scripts/Interfaces/IFungusCollection.cs new file mode 100644 index 00000000..5d0875f5 --- /dev/null +++ b/Assets/Fungus/Scripts/Interfaces/IFungusCollection.cs @@ -0,0 +1,72 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus +{ + /// + /// Extension of IList for Fungus collections and support for associated commands. + /// + /// Built upon objects being passed in and returned as the base starting point. + /// The inherited classes may wish to provided typed access to underlying container, + /// this is what the Fungus.GenericCollection does. + /// + public interface IFungusCollection : System.Collections.IList + { + int Capacity { get; set; } + string Name { get; } + + void Add(IFungusCollection rhsCol); + + void AddUnique(object o); + + void AddUnique(IFungusCollection rhsCol); + + System.Type ContainedType(); + + bool ContainsAllOf(IFungusCollection rhsCol); + + bool ContainsAllOfOrdered(IFungusCollection rhsCol); + + bool ContainsAnyOf(IFungusCollection rhsCol); + + void CopyFrom(IFungusCollection rhsCol); + + void CopyFrom(System.Array array); + + void CopyFrom(System.Collections.IList list); + + void Exclusive(IFungusCollection rhsCol); + + object Get(int index); + + void Get(int index, ref Variable variable); + + void Intersection(IFungusCollection rhsCol); + + bool IsCollectionCompatible(object o); + + bool IsElementCompatible(object o); + + int LastIndexOf(object o); + + int Occurrences(object o); + + void RemoveAll(IFungusCollection rhsCol); + + void RemoveAll(object o); + + void Reserve(int count); + + void Resize(int count); + + void Reverse(); + + void Set(int index, object o); + + void Shuffle(); + + void Sort(); + + void Unique(); + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Interfaces/IFungusCollection.cs.meta b/Assets/Fungus/Scripts/Interfaces/IFungusCollection.cs.meta new file mode 100644 index 00000000..5a5c3812 --- /dev/null +++ b/Assets/Fungus/Scripts/Interfaces/IFungusCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 25858096aa47be24c92616be98863f8e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Interfaces/ILocalizable.cs b/Assets/Fungus/Scripts/Interfaces/ILocalizable.cs index 47dd863b..3c02ae75 100644 --- a/Assets/Fungus/Scripts/Interfaces/ILocalizable.cs +++ b/Assets/Fungus/Scripts/Interfaces/ILocalizable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Interfaces/IStringLocationIdentifier.cs b/Assets/Fungus/Scripts/Interfaces/IStringLocationIdentifier.cs index 288e9f59..72fbbba6 100644 --- a/Assets/Fungus/Scripts/Interfaces/IStringLocationIdentifier.cs +++ b/Assets/Fungus/Scripts/Interfaces/IStringLocationIdentifier.cs @@ -1,4 +1,7 @@ -namespace Fungus +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus { /// /// Interface for providing a human readable path to an element, used in editor code to determine where diff --git a/Assets/Fungus/Scripts/Interfaces/IUpdateable.cs b/Assets/Fungus/Scripts/Interfaces/IUpdateable.cs index 6f9e9188..74ae946a 100644 --- a/Assets/Fungus/Scripts/Interfaces/IUpdateable.cs +++ b/Assets/Fungus/Scripts/Interfaces/IUpdateable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) namespace Fungus diff --git a/Assets/Fungus/Scripts/Interfaces/IVariableReference.cs b/Assets/Fungus/Scripts/Interfaces/IVariableReference.cs index d6848f72..c9018532 100644 --- a/Assets/Fungus/Scripts/Interfaces/IVariableReference.cs +++ b/Assets/Fungus/Scripts/Interfaces/IVariableReference.cs @@ -1,4 +1,7 @@ -namespace Fungus +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus { /// /// Interface for indicating that the class holds a reference to a fungus variable, used primarily in editor. diff --git a/Assets/Fungus/Scripts/Interfaces/IWriterListener.cs b/Assets/Fungus/Scripts/Interfaces/IWriterListener.cs index c770570d..3c83bfff 100644 --- a/Assets/Fungus/Scripts/Interfaces/IWriterListener.cs +++ b/Assets/Fungus/Scripts/Interfaces/IWriterListener.cs @@ -1,8 +1,7 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; -using System.Collections; namespace Fungus { @@ -28,10 +27,20 @@ namespace Fungus /// Called when the Writer has resumed writing text. void OnResume(); - /// Called when the Writer has finished writing text. + /// Called when the Writer has finished. /// Controls whether audio should be stopped when writing ends. void OnEnd(bool stopAudio); + /// + /// Called when the Writer has no more Words remaining, but may have waits or other tokens still pending. + /// Will not be called if there is NO Words for the writer to process in the first place. e.g. Audio only says + /// do not trigger this. + /// + /// Note that the writer does not know what may happen after it's job is done. If a following Say does + /// not clear the existing, you'll get what looks like AllWordsWritten and then more words written. + /// + void OnAllWordsWritten(); + /// Called every time the Writer writes a new character glyph. void OnGlyph(); diff --git a/Assets/Fungus/Scripts/Interfaces/IWriterTextDestination.cs b/Assets/Fungus/Scripts/Interfaces/IWriterTextDestination.cs index 867dc35b..6104235b 100644 --- a/Assets/Fungus/Scripts/Interfaces/IWriterTextDestination.cs +++ b/Assets/Fungus/Scripts/Interfaces/IWriterTextDestination.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; namespace Fungus diff --git a/Assets/Fungus/Scripts/Signals/BlockSignals.cs b/Assets/Fungus/Scripts/Signals/BlockSignals.cs index 720abb6a..f9b558f0 100644 --- a/Assets/Fungus/Scripts/Signals/BlockSignals.cs +++ b/Assets/Fungus/Scripts/Signals/BlockSignals.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) namespace Fungus diff --git a/Assets/Fungus/Scripts/Signals/FungusActiveSignals.cs b/Assets/Fungus/Scripts/Signals/FungusActiveSignals.cs index f28f75bd..b0474271 100644 --- a/Assets/Fungus/Scripts/Signals/FungusActiveSignals.cs +++ b/Assets/Fungus/Scripts/Signals/FungusActiveSignals.cs @@ -1,4 +1,7 @@ -namespace Fungus +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus { /// /// Fungus Priority event signalling system. diff --git a/Assets/Fungus/Scripts/Signals/MenuSignals.cs b/Assets/Fungus/Scripts/Signals/MenuSignals.cs index 0f5e8c1f..d2e36bdf 100644 --- a/Assets/Fungus/Scripts/Signals/MenuSignals.cs +++ b/Assets/Fungus/Scripts/Signals/MenuSignals.cs @@ -1,4 +1,7 @@ -namespace Fungus +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus { /// /// Menu change event signalling system. diff --git a/Assets/Fungus/Scripts/Signals/SaveManagerSignals.cs b/Assets/Fungus/Scripts/Signals/SaveManagerSignals.cs index 02bb060b..55d9a371 100644 --- a/Assets/Fungus/Scripts/Signals/SaveManagerSignals.cs +++ b/Assets/Fungus/Scripts/Signals/SaveManagerSignals.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) namespace Fungus diff --git a/Assets/Fungus/Scripts/Signals/WriterSignals.cs b/Assets/Fungus/Scripts/Signals/WriterSignals.cs index 86b59c76..511266ab 100644 --- a/Assets/Fungus/Scripts/Signals/WriterSignals.cs +++ b/Assets/Fungus/Scripts/Signals/WriterSignals.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) namespace Fungus diff --git a/Assets/Fungus/Scripts/Utils/AllVariableTypes.cs b/Assets/Fungus/Scripts/Utils/AllVariableTypes.cs new file mode 100644 index 00000000..79f7dbe0 --- /dev/null +++ b/Assets/Fungus/Scripts/Utils/AllVariableTypes.cs @@ -0,0 +1,311 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections.Generic; + +namespace Fungus +{ + /// + /// Static cache of all fungus variable types, used by commands that are designed to work on + /// any and all variable types supported by Fungus. + /// + /// New types created need to be added to the list below and also to AnyVariableData and + /// AnyVaraibleAndDataPair + /// + public static class AllVariableTypes + { + public enum VariableAny + { + Any + } + + public static readonly System.Type[] AllFungusVarTypes = new System.Type[] + { + typeof(AnimatorVariable), + typeof(AudioSourceVariable), + typeof(BooleanVariable), + typeof(CollectionVariable), + typeof(Collider2DVariable), + typeof(ColliderVariable), + typeof(Collision2DVariable), + typeof(CollisionVariable), + typeof(ColorVariable), + typeof(ControllerColliderHitVariable), + typeof(FloatVariable), + typeof(GameObjectVariable), + typeof(IntegerVariable), + typeof(MaterialVariable), + typeof(Matrix4x4Variable), + typeof(ObjectVariable), + typeof(QuaternionVariable), + typeof(Rigidbody2DVariable), + typeof(RigidbodyVariable), + typeof(SpriteVariable), + typeof(StringVariable), + typeof(TextureVariable), + typeof(TransformVariable), + typeof(Vector2Variable), + typeof(Vector3Variable), + typeof(Vector4Variable), + }; + } + + /// + /// Collection of every Fungus VariableData type, used in commands that are designed to + /// support any and all types. Those command just have a AnyVariableData anyVar or + /// an AnyVaraibleAndDataPair anyVarDataPair to encapsulate the more unpleasant parts. + /// + /// New types created need to be added to the list below and also to AllVariableTypes and + /// AnyVaraibleAndDataPair + /// + [System.Serializable] + public partial struct AnyVariableData + { + public AnimatorData animatorData; + public AudioSourceData audioSourceData; + public BooleanData booleanData; + public CollectionData collectionData; + public Collider2DData collider2DData; + public ColliderData colliderData; + public ColorData colorData; + public FloatData floatData; + public GameObjectData gameObjectData; + public IntegerData integerData; + public MaterialData materialData; + public Matrix4x4Data matrix4x4Data; + public ObjectData objectData; + public QuaternionData quaternionData; + public Rigidbody2DData rigidbody2DData; + public RigidbodyData rigidbodyData; + public SpriteData spriteData; + public StringData stringData; + public TextureData textureData; + public TransformData transformData; + public Vector2Data vector2Data; + public Vector3Data vector3Data; + public Vector4Data vector4Data; + + public bool HasReference(Variable var) + { + return animatorData.animatorRef == var || + audioSourceData.audioSourceRef == var || + booleanData.booleanRef == var || + collectionData.collectionRef == var || + collider2DData.collider2DRef == var || + colliderData.colliderRef == var || + colorData.colorRef == var || + floatData.floatRef == var || + gameObjectData.gameObjectRef == var || + integerData.integerRef == var || + materialData.materialRef == var || + matrix4x4Data.matrix4x4Ref == var || + objectData.objectRef == var || + quaternionData.quaternionRef == var || + rigidbody2DData.rigidbody2DRef == var || + rigidbodyData.rigidbodyRef == var || + spriteData.spriteRef == var || + stringData.stringRef == var || + textureData.textureRef == var || + transformData.transformRef == var || + vector2Data.vector2Ref == var || + vector3Data.vector3Ref == var || + vector4Data.vector4Ref == var; + } + } + + /// + /// Pairing of an AnyVariableData and an variable reference. Internal lookup for + /// making the right kind of variable with the correct data in the AnyVariableData. + /// This is the primary mechanism for hiding the ugly need to match variable to + /// correct data type so we can perform comparisons and operations. + /// + /// New types created need to be added to the list below and also to AllVariableTypes and + /// AnyVariableData + /// + [System.Serializable] + public class AnyVariableAndDataPair + { + public class TypeActions + { + public TypeActions(string dataPropName, + System.Func comparer, + System.Func desccription, + System.Action set + ) + { + DataPropName = dataPropName; + CompareFunc = comparer; + DescFunc = desccription; + SetFunc = set; + } + + // used in AnyVaraibleAndDataPair Drawer to show the correct aspect of the AnyVariableData in the editor + public string DataPropName { get; set; } + + public System.Func CompareFunc; + public System.Func DescFunc; + public System.Action SetFunc; + } + + [VariableProperty(AllVariableTypes.VariableAny.Any)] + [UnityEngine.SerializeField] public Variable variable; + + [UnityEngine.SerializeField] public AnyVariableData data; + + //needs static lookup function table for getting a function or string based on the type + // all new variable types will need to be added here also to be supported + public static readonly Dictionary typeActionLookup = new Dictionary() + { + { typeof(AnimatorVariable), + new TypeActions( "animatorData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.animatorData.Value); }, + (anyVar) => anyVar.data.animatorData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.animatorData.Value)) }, + { typeof(AudioSourceVariable), + new TypeActions( "audioSourceData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.audioSourceData.Value); }, + (anyVar) => anyVar.data.audioSourceData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.audioSourceData.Value)) }, + { typeof(BooleanVariable), + new TypeActions( "booleanData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.booleanData.Value); }, + (anyVar) => anyVar.data.booleanData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.booleanData.Value)) }, + { typeof(CollectionVariable), + new TypeActions( "collectionData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.collectionData.Value); }, + (anyVar) => anyVar.data.collectionData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.collectionData.Value)) }, + { typeof(Collider2DVariable), + new TypeActions( "collider2DData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.collider2DData.Value); }, + (anyVar) => anyVar.data.collider2DData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.collider2DData.Value)) }, + { typeof(ColliderVariable), + new TypeActions( "colliderData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.colliderData.Value); }, + (anyVar) => anyVar.data.colliderData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.colliderData.Value)) }, + { typeof(ColorVariable), + new TypeActions( "colorData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.colorData.Value); }, + (anyVar) => anyVar.data.colorData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.colorData.Value)) }, + { typeof(FloatVariable), + new TypeActions( "floatData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.floatData.Value); }, + (anyVar) => anyVar.data.floatData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.floatData.Value)) }, + { typeof(GameObjectVariable), + new TypeActions( "gameObjectData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.gameObjectData.Value); }, + (anyVar) => anyVar.data.gameObjectData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.gameObjectData.Value)) }, + { typeof(IntegerVariable), + new TypeActions( "integerData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.integerData.Value); }, + (anyVar) => anyVar.data.integerData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.integerData.Value)) }, + { typeof(MaterialVariable), + new TypeActions( "materialData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.materialData.Value); }, + (anyVar) => anyVar.data.materialData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.materialData.Value)) }, + { typeof(Matrix4x4Variable), + new TypeActions( "matrix4x4Data", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.matrix4x4Data.Value); }, + (anyVar) => anyVar.data.matrix4x4Data.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.matrix4x4Data.Value)) }, + { typeof(ObjectVariable), + new TypeActions( "objectData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.objectData.Value); }, + (anyVar) => anyVar.data.objectData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.objectData.Value)) }, + { typeof(QuaternionVariable), + new TypeActions( "quaternionData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.quaternionData.Value); }, + (anyVar) => anyVar.data.quaternionData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.quaternionData.Value)) }, + { typeof(Rigidbody2DVariable), + new TypeActions( "rigidbody2DData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.rigidbody2DData.Value); }, + (anyVar) => anyVar.data.rigidbody2DData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.rigidbody2DData.Value)) }, + { typeof(RigidbodyVariable), + new TypeActions( "rigidbodyData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.rigidbodyData.Value); }, + (anyVar) => anyVar.data.rigidbodyData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.rigidbodyData.Value)) }, + { typeof(SpriteVariable), + new TypeActions( "spriteData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.spriteData.Value); }, + (anyVar) => anyVar.data.spriteData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.spriteData.Value)) }, + { typeof(StringVariable), + new TypeActions( "stringData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.stringData.Value); }, + (anyVar) => anyVar.data.stringData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.stringData.Value)) }, + { typeof(TextureVariable), + new TypeActions( "textureData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.textureData.Value); }, + (anyVar) => anyVar.data.textureData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.textureData.Value)) }, + { typeof(TransformVariable), + new TypeActions( "transformData", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.transformData.Value); }, + (anyVar) => anyVar.data.transformData.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.transformData.Value)) }, + { typeof(Vector2Variable), + new TypeActions( "vector2Data", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.vector2Data.Value); }, + (anyVar) => anyVar.data.vector2Data.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.vector2Data.Value)) }, + { typeof(Vector3Variable), + new TypeActions( "vector3Data", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.vector3Data.Value); }, + (anyVar) => anyVar.data.vector3Data.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.vector3Data.Value)) }, + { typeof(Vector4Variable), + new TypeActions( "vector4Data", + (anyVar, compareOperator) => {return anyVar.variable.Evaluate(compareOperator, anyVar.data.vector4Data.Value); }, + (anyVar) => anyVar.data.vector4Data.GetDescription(), + (anyVar, setOperator) => anyVar.variable.Apply(setOperator, anyVar.data.vector4Data.Value)) }, + }; + + public bool HasReference(Variable variable) + { + return variable == this.variable || data.HasReference(variable); + } + + public string GetDataDescription() + { + TypeActions ta = null; + if (typeActionLookup.TryGetValue(variable.GetType(), out ta)) + { + return ta.DescFunc(this); + } + return "Null"; + } + + public bool Compare(CompareOperator compareOperator, ref bool compareResult) + { + TypeActions ta = null; + if (typeActionLookup.TryGetValue(variable.GetType(), out ta)) + { + compareResult = ta.CompareFunc(this, compareOperator); + return true; + } + return false; + } + + public void SetOp(SetOperator setOperator) + { + TypeActions ta = null; + if (typeActionLookup.TryGetValue(variable.GetType(), out ta)) + { + ta.SetFunc(this, setOperator); + } + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Utils/AllVariableTypes.cs.meta b/Assets/Fungus/Scripts/Utils/AllVariableTypes.cs.meta new file mode 100644 index 00000000..c92845d8 --- /dev/null +++ b/Assets/Fungus/Scripts/Utils/AllVariableTypes.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 18d15dbcc71f440409f4ea358af6956f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Utils/BlockReference.cs b/Assets/Fungus/Scripts/Utils/BlockReference.cs index 47dd497e..667bc1af 100644 --- a/Assets/Fungus/Scripts/Utils/BlockReference.cs +++ b/Assets/Fungus/Scripts/Utils/BlockReference.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Fungus/Scripts/Utils/ConversationManager.cs b/Assets/Fungus/Scripts/Utils/ConversationManager.cs index 1f00dbd9..0b6bb775 100644 --- a/Assets/Fungus/Scripts/Utils/ConversationManager.cs +++ b/Assets/Fungus/Scripts/Utils/ConversationManager.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using System.Collections; @@ -422,8 +422,9 @@ namespace Fungus } if (stage != null && currentCharacter != null && - (currentPortrait != currentCharacter.State.portrait || - currentPosition != currentCharacter.State.position)) + (currentPortrait != currentCharacter.State.portrait || + currentPosition != currentCharacter.State.position || + (currentCharacter.State.display == DisplayType.Hide && !item.Hide))) { var portraitOptions = new PortraitOptions(true); portraitOptions.display = item.Hide ? DisplayType.Hide : DisplayType.Show; diff --git a/Assets/Fungus/Scripts/Utils/EventDispatcher.cs b/Assets/Fungus/Scripts/Utils/EventDispatcher.cs index 36b46ee7..f52dc492 100644 --- a/Assets/Fungus/Scripts/Utils/EventDispatcher.cs +++ b/Assets/Fungus/Scripts/Utils/EventDispatcher.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Utils/FlowchartData.cs b/Assets/Fungus/Scripts/Utils/FlowchartData.cs index d1fe8485..87e2db4a 100644 --- a/Assets/Fungus/Scripts/Utils/FlowchartData.cs +++ b/Assets/Fungus/Scripts/Utils/FlowchartData.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using System.Collections.Generic; diff --git a/Assets/Fungus/Scripts/Utils/FungusConstants.cs b/Assets/Fungus/Scripts/Utils/FungusConstants.cs index 4676b4b4..5e9fe40b 100644 --- a/Assets/Fungus/Scripts/Utils/FungusConstants.cs +++ b/Assets/Fungus/Scripts/Utils/FungusConstants.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Utils/GlobalVariables.cs b/Assets/Fungus/Scripts/Utils/GlobalVariables.cs index ed50b79b..7aa50752 100644 --- a/Assets/Fungus/Scripts/Utils/GlobalVariables.cs +++ b/Assets/Fungus/Scripts/Utils/GlobalVariables.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Utils/PortraitUtils.cs b/Assets/Fungus/Scripts/Utils/PortraitUtils.cs index eed16802..66ed643d 100644 --- a/Assets/Fungus/Scripts/Utils/PortraitUtils.cs +++ b/Assets/Fungus/Scripts/Utils/PortraitUtils.cs @@ -1,9 +1,10 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; using UnityEngine.UI; using MoonSharp.Interpreter; +using System.Collections.Generic; namespace Fungus { @@ -60,10 +61,16 @@ namespace Fungus public bool onScreen; public bool dimmed; public DisplayType display; - public Sprite portrait; - public RectTransform position; + public RectTransform position, holder; public FacingDirection facing; public Image portraitImage; + public Sprite portrait { get { return portraitImage != null ? portraitImage.sprite : null; } } + public List allPortraits = new List(); + + public void SetPortraitImageBySprite(Sprite portrait) + { + portraitImage = allPortraits.Find(x => x.sprite == portrait); + } } /// @@ -176,6 +183,19 @@ namespace Fungus return options; } + + static public int PortraitCompareTo(Sprite x, Sprite y) + { + if (x == y) + return 0; + if (y == null) + return -1; + if (x == null) + return 1; + + return x.name.CompareTo(y.name); + } + #endregion } } diff --git a/Assets/Fungus/Scripts/Utils/SaveDataItem.cs b/Assets/Fungus/Scripts/Utils/SaveDataItem.cs index 16bb0368..82ec01d2 100644 --- a/Assets/Fungus/Scripts/Utils/SaveDataItem.cs +++ b/Assets/Fungus/Scripts/Utils/SaveDataItem.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Scripts/Utils/SaveHistory.cs b/Assets/Fungus/Scripts/Utils/SaveHistory.cs index 4e237686..2212fa28 100644 --- a/Assets/Fungus/Scripts/Utils/SaveHistory.cs +++ b/Assets/Fungus/Scripts/Utils/SaveHistory.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) #if UNITY_5_3_OR_NEWER diff --git a/Assets/Fungus/Scripts/Utils/SavePointData.cs b/Assets/Fungus/Scripts/Utils/SavePointData.cs index 5e63a351..1f5fa7e4 100644 --- a/Assets/Fungus/Scripts/Utils/SavePointData.cs +++ b/Assets/Fungus/Scripts/Utils/SavePointData.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) #if UNITY_5_3_OR_NEWER diff --git a/Assets/Fungus/Scripts/Utils/StringFormatter.cs b/Assets/Fungus/Scripts/Utils/StringFormatter.cs index 2945319e..80f991cc 100644 --- a/Assets/Fungus/Scripts/Utils/StringFormatter.cs +++ b/Assets/Fungus/Scripts/Utils/StringFormatter.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using System.Text; diff --git a/Assets/Fungus/Scripts/Utils/TMProLinkAnimEffects.cs b/Assets/Fungus/Scripts/Utils/TMProLinkAnimEffects.cs new file mode 100644 index 00000000..cacd7bcb --- /dev/null +++ b/Assets/Fungus/Scripts/Utils/TMProLinkAnimEffects.cs @@ -0,0 +1,436 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +#if UNITY_2018_1_OR_NEWER + +namespace Fungus +{ + /// + /// Samples and helpers for creating TMProLink animations + /// + namespace TMProLinkAnimEffects + { + /// + /// Used by BaseEffect and child classes to configure how locations and pivots are calculated + /// before being passed to internal functions. + /// + public enum TMPLinkAnimatorMode + { + PerCharacter, + PerWord, + PerSection, + PerLine, + } + + /// + /// Use of this is not required, all that the TMProLinkAnimLookup requires is a matching signature of + /// void delegate(TMProLinkAnimator context, int start, int length). The base class however is used to + /// create all the sample effects as they all operate in a similar underlying fashion, with a custom mode + /// but ultimately on a character by character basis, doing a relative translation and color modifcation. + /// + /// Much of this class and its sample child effects are static functions to more easily allow reuse by + /// custom effects you may wish to make. + /// + public abstract class BaseEffect + { + public TMPLinkAnimatorMode mode; + protected TMProLinkAnimator CurrentContext { get; set; } + protected int CurrentStart { get; set; } + protected int CurrentLength { get; set; } + + public virtual void DoEffect(TMProLinkAnimator context, int start, int length) + { + CurrentContext = context; + CurrentStart = start; + CurrentLength = length; + + MeshVertUpdateLoop(context, start, length, TransFunc, ColorFunc, mode); + } + + public virtual Matrix4x4 TransFunc(int index) + { + return Matrix4x4.identity; + } + + public virtual Color32 ColorFunc(int index, Color32 col) + { + return col; + } + + #region static helpers + + /// + /// Helper for mesh vertex updating within a found link, adapted from TMPRo examples VertexJitter. + /// + /// + /// + /// + /// + /// + /// + static public void MeshVertUpdateLoop(TMProLinkAnimator context, int start, int length, System.Func transformFunc, System.Func colorFunc, TMPLinkAnimatorMode mode) + { + var tmproComponent = context.TMProComponent; + var textInfo = tmproComponent.textInfo; + var end = start + length; + var cachedMeshInfo = context.CachedMeshInfo; + + Matrix4x4 matrix = Matrix4x4.identity; + Vector2 middle = Vector2.zero; + Color32 col = Color.white; + int wordIndex = -1; + int lineIndex = -1; + + for (int i = start; i < end; i++) + { + //required as TMPro is putting non visible invalid elements in the charinfo array assuming I will follow this rule + // if we don't character 0 ends up getting an effect applied to it even though it shouldn't + if (!textInfo.characterInfo[i].isVisible) continue; + + // Get the index of the material used by the current character. + int materialIndex = textInfo.characterInfo[i].materialReferenceIndex; + + // Get the index of the first vertex used by this text element. + int vertexIndex = textInfo.characterInfo[i].vertexIndex; + + // Get the cached vertices of the mesh used by this text element (character or sprite). + Vector3[] sourceVertices = cachedMeshInfo[materialIndex].vertices; + Color32[] vertexColors = cachedMeshInfo[materialIndex].colors32; + + if (i == start && mode == TMPLinkAnimatorMode.PerSection) + { + matrix = transformFunc(start); + middle = CalcMidFromChars(context, start, end); + col = colorFunc(start, vertexColors[vertexIndex]); + } + + // Determine the center point of each character at the baseline. + //Vector2 charMidBasline = new Vector2((sourceVertices[vertexIndex + 0].x + sourceVertices[vertexIndex + 2].x) / 2, charInfo.baseLine); + // Determine the center point of each character. + if (mode == TMPLinkAnimatorMode.PerCharacter) + { + middle = (sourceVertices[vertexIndex + 0] + sourceVertices[vertexIndex + 2]) / 2; + matrix = transformFunc(i); + col = colorFunc(i, vertexColors[vertexIndex]); + } + else if (mode == TMPLinkAnimatorMode.PerWord) + { + var newWordIndex = CalcWordFromChar(i, textInfo.wordInfo); + if (newWordIndex != -1 && wordIndex != newWordIndex) + { + wordIndex = newWordIndex; + + middle = CalcMidFromChars(context, Mathf.Max(start, textInfo.wordInfo[wordIndex].firstCharacterIndex), Mathf.Min(end, textInfo.wordInfo[wordIndex].lastCharacterIndex)); + matrix = transformFunc(i); + col = colorFunc(i, vertexColors[vertexIndex]); + } + } + else if (mode == TMPLinkAnimatorMode.PerLine) + { + var newLineIndex = textInfo.characterInfo[i].lineNumber; + if (newLineIndex != -1 && lineIndex != newLineIndex) + { + lineIndex = newLineIndex; + + middle = CalcMidFromChars(context, Mathf.Max(start, textInfo.lineInfo[lineIndex].firstCharacterIndex), Mathf.Min(end, textInfo.lineInfo[lineIndex].lastCharacterIndex)); + matrix = transformFunc(i); + col = colorFunc(i, vertexColors[vertexIndex]); + } + } + + // Need to translate all 4 vertices of each quad to aligned with middle of character / baseline. + // This is needed so the matrix TRS is applied at the origin for each character. + Vector3 offset = middle; + + Vector3[] destinationVertices = textInfo.meshInfo[materialIndex].vertices; + Color32[] destinationVertColors = textInfo.meshInfo[materialIndex].colors32; + + destinationVertices[vertexIndex + 0] = sourceVertices[vertexIndex + 0] - offset; + destinationVertices[vertexIndex + 1] = sourceVertices[vertexIndex + 1] - offset; + destinationVertices[vertexIndex + 2] = sourceVertices[vertexIndex + 2] - offset; + destinationVertices[vertexIndex + 3] = sourceVertices[vertexIndex + 3] - offset; + + destinationVertices[vertexIndex + 0] = matrix.MultiplyPoint3x4(destinationVertices[vertexIndex + 0]); + destinationVertices[vertexIndex + 1] = matrix.MultiplyPoint3x4(destinationVertices[vertexIndex + 1]); + destinationVertices[vertexIndex + 2] = matrix.MultiplyPoint3x4(destinationVertices[vertexIndex + 2]); + destinationVertices[vertexIndex + 3] = matrix.MultiplyPoint3x4(destinationVertices[vertexIndex + 3]); + + destinationVertices[vertexIndex + 0] += offset; + destinationVertices[vertexIndex + 1] += offset; + destinationVertices[vertexIndex + 2] += offset; + destinationVertices[vertexIndex + 3] += offset; + + destinationVertColors[vertexIndex + 0] = col; + destinationVertColors[vertexIndex + 1] = col; + destinationVertColors[vertexIndex + 2] = col; + destinationVertColors[vertexIndex + 3] = col; + } + } + + /// + /// Same as calcing a character mid but averaging over all characters in the given character range + /// + /// + /// + /// + /// + static public Vector2 CalcMidFromChars(TMProLinkAnimator context, int start, int end) + { + Vector3 middle = Vector3.zero; + var chInfo = context.TMProComponent.textInfo.characterInfo; + + for (int i = start; i < end; i++) + { + int materialIndex = chInfo[i].materialReferenceIndex; + int vertexIndex = chInfo[i].vertexIndex; + Vector3[] sourceVertices = context.CachedMeshInfo[materialIndex].vertices; + middle += (sourceVertices[vertexIndex + 0] + sourceVertices[vertexIndex + 2]) / 2; + } + + return middle / (end - start); + } + + /// + /// Determine which TMPro World a given character index is within + /// + /// + /// + /// + static public int CalcWordFromChar(int charIndex, TMPro.TMP_WordInfo[] wordInfo) + { + for (int i = 0; i < wordInfo.Length; i++) + { + //enforcing start letter results in punctuation attaching to the word to its left rather than its right. + // which is more desirable for english at least + if (charIndex >= wordInfo[i].firstCharacterIndex && wordInfo[i].lastCharacterIndex >= charIndex) + { + return i; + } + } + + return -1; + } + + /// + /// Determine which TMPro Line a given character index is within + /// + /// + /// + /// + static public int CalcLineFromChar(int charIndex, TMPro.TMP_WordInfo[] wordInfo) + { + for (int i = 0; i < wordInfo.Length; i++) + { + //enforcing start letter results in punctuation attaching to the word to its left rather than its right. + // which is more desirable for english at least + if (charIndex >= wordInfo[i].firstCharacterIndex && wordInfo[i].lastCharacterIndex >= charIndex) + { + return i; + } + } + + return -1; + } + + #endregion static helpers + } + + /// + /// Shake the element, by moving centre slightly and randomly rolling each update. + /// + public class ShakeEffect : BaseEffect + { + public float rotScale; + public Vector2 offsetScale = Vector2.one; + + public override Matrix4x4 TransFunc(int index) + { + return ShakeTransformFunc(index, offsetScale, rotScale); + } + + static public Matrix4x4 ShakeTransformFunc(int index, Vector2 positionOffsetScale, float rotDegScale) + { + return Matrix4x4.TRS(new Vector3(Random.Range(-.25f, .25f) * positionOffsetScale.x, Random.Range(-.25f, .25f), 0) * positionOffsetScale.y, + Quaternion.Euler(0, 0, Random.Range(-1f, 1f) * rotDegScale), + Vector3.one); + } + } + + /// + /// Wiggle the position by over time using perlin noise to offset its centre. + /// + public class WiggleEffect : BaseEffect + { + public float speed = 1; + public Vector2 offsetScale = Vector2.one; + + public override Matrix4x4 TransFunc(int index) + { + return WiggleTransformFunc(index, speed, offsetScale); + } + + static public Matrix4x4 WiggleTransformFunc(int index, float speed, Vector2 wiggleScale) + { + const int SAFE_PRIME_A = 11; + const int SAFE_PRIME_B = 59; + //add a pingpong + var jitterOffset = new Vector3(Mathf.PerlinNoise(Time.time * speed + index * SAFE_PRIME_A, index * SAFE_PRIME_B), + Mathf.PerlinNoise(Time.time * speed + index * SAFE_PRIME_B, index * SAFE_PRIME_A), + 0); + jitterOffset *= 2; + jitterOffset -= new Vector3(1, 1, 0); + + return Matrix4x4.TRS(jitterOffset * wiggleScale, + Quaternion.identity, + Vector3.one); + } + } + + /// + /// Use a sine wave by time to offset the height of the element. + /// + public class WaveEffect : BaseEffect + { + public float speed, indexStep, scale; + + public override Matrix4x4 TransFunc(int index) + { + return WaveTransformFunc(index, speed, indexStep, scale); + } + + static public Matrix4x4 WaveTransformFunc(int index, float waveSpeed, float waveIndexStep, float waveScale) + { + return Matrix4x4.TRS(new Vector3(0, Mathf.Sin(Time.time * waveSpeed + index * waveIndexStep) * waveScale, 0), + Quaternion.identity, + Vector3.one); + } + } + + /// + /// Use a sinewave to swing or pivot the element around its centre back n forth. + /// + public class PivotEffect : BaseEffect + { + public float speed, degScale; + + public override Matrix4x4 TransFunc(int index) + { + return PivotTransformFunc(index, speed, degScale); + } + + static public Matrix4x4 PivotTransformFunc(int index, float pivotSpeed, float pivotDegScale) + { + return Matrix4x4.TRS(Vector3.zero, + Quaternion.Euler(0, 0, Mathf.Sin(Time.time * pivotSpeed + index) * pivotDegScale), + Vector3.one); + } + } + + /// + /// Use a sine wave to animate the H,S,V elements individually, modifying them from their starting color. + /// Use a sine wave to scale the element + /// + public class PulseEffect : BaseEffect + { + public float speed = 1, HSVIntensityScale = 1, indexStep = 1, hueScale = 1, saturationScale = 1, valueScale = 1; + public Vector3 scale = Vector2.zero; + + public override Color32 ColorFunc(int index, Color32 col) + { + return HSVPulse(index, indexStep, speed, HSVIntensityScale, col, hueScale, saturationScale, valueScale); + } + + public override Matrix4x4 TransFunc(int index) + { + return ScalePulse(index, indexStep, speed, scale); + } + + static public Color32 HSVPulse(int index, float indexStep, float speed, float colScale, Color32 startingColor, float hueScale, float saturationScale, float valueScale) + { + float t = Mathf.Sin(Time.time * speed + index * indexStep) * colScale; + Color.RGBToHSV(startingColor, out float h, out float s, out float v); + + var col = Color.HSVToRGB(Mathf.Repeat(h + t * hueScale, 1), + Mathf.Clamp01(s + t * saturationScale), + Mathf.Clamp01(v + t * valueScale)); + return (Color32)col; + } + + static public Matrix4x4 ScalePulse(int index, float indexStep, float speed, Vector3 scale) + { + float t = Mathf.Sin(Time.time * speed + index * indexStep); + return Matrix4x4.TRS(Vector3.zero, + Quaternion.identity, + Vector3.one + scale * t); + } + } + + /// + /// Bounce up and down on an endless parabolic curve. + /// + public class BounceEffect : BaseEffect + { + public float indexStep = 1, speed = 1, scale = 1, fixedOffsetScale = 0.5f; + + public override Matrix4x4 TransFunc(int index) + { + return Bounce(index, indexStep, speed, scale, fixedOffsetScale); + } + + static public Matrix4x4 Bounce(int index, float indexStep, float speed, float scale, float fixedOffsetScale) + { + float t = (Time.time * speed + index * indexStep) % 2.0f; + + t = -t * t + 2 * t; + + return Matrix4x4.TRS(Vector3.up * t * scale + Vector3.down * fixedOffsetScale * scale, + Quaternion.identity, + Vector3.one); + } + } + + /// + /// Create a staircase effect of the the elements. + /// + public class AscendEffect : BaseEffect + { + public float totalStep; + + public override Matrix4x4 TransFunc(int index) + { + return StepTransformFunc(index, index - CurrentStart, totalStep / CurrentLength); + } + + static public Matrix4x4 StepTransformFunc(int index, int stepNum, float stepHeight) + { + return Matrix4x4.TRS(Vector3.up * stepNum * stepHeight, + Quaternion.identity, + Vector3.one); + } + } + + /// + /// Cycle the colors of the elements by forcing color to a roling Hue and fixed SV color value. + /// + public class RainbowEffect : BaseEffect + { + public float speed, indexStep, s, v; + + public override Color32 ColorFunc(int index, Color32 col) + { + return CycleColor(index, speed, indexStep, s, v); + } + + static public Color32 CycleColor(int index, float speed, float indexStep, float s, float v) + { + float h = Time.time * speed + index * indexStep; + var col = Color.HSVToRGB(h % 1.0f, s, v); + return (Color32)col; + } + } + } +} + +#endif \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Utils/TMProLinkAnimEffects.cs.meta b/Assets/Fungus/Scripts/Utils/TMProLinkAnimEffects.cs.meta new file mode 100644 index 00000000..24231d34 --- /dev/null +++ b/Assets/Fungus/Scripts/Utils/TMProLinkAnimEffects.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5a2f0563cd4feb744975e63982dc480c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Utils/TMProLinkAnimLookup.cs b/Assets/Fungus/Scripts/Utils/TMProLinkAnimLookup.cs new file mode 100644 index 00000000..8cb48985 --- /dev/null +++ b/Assets/Fungus/Scripts/Utils/TMProLinkAnimLookup.cs @@ -0,0 +1,104 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections.Generic; + +#if UNITY_2018_1_OR_NEWER + +namespace Fungus +{ + /// + /// Static lookup for Text Mesh Pro Link animations. TMPro tracks and holds information about + /// link tags in its text body and is recommended as one of the ways to achieve effects within + /// a body of text. Giving you the text within the link and the name/hash of the link id itself. + /// + /// Such that {link="shake"}this text will be marked up as within shake link{/link}. + /// + /// By assigning to the LinkHashToEffect dictionary with a key of TMPro.TMP_TextUtilities.GetSimpleHashCode("shake") + /// and a matching function signature that can then be used the the TMProLinkAnimator. + /// + /// See TMProLinkAnimEffects for sample basis for creating effects. + /// + public static class TMProLinkAnimLookup + { + //required signature for all TMProAnim functions for use in the lookup + public delegate void TMProAnimFunc(TMProLinkAnimator beh, int start, int length); + + //static lookup for all tmpro link style lookups + //this is where additional effects would be added + static public Dictionary LinkHashToEffect = new Dictionary() + { + //comments left here for the effects that are added in the demo scene + /* + {TMPro.TMP_TextUtilities.GetSimpleHashCode("shake"), + new TMProLinkAnimEffects.ShakeEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerLine, + offsetScale = 2, + rotScale = 15 + }.DoEffect }, + {TMPro.TMP_TextUtilities.GetSimpleHashCode("wiggle"), + new TMProLinkAnimEffects.WiggleEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerSection, + scale = 5 + }.DoEffect }, + {TMPro.TMP_TextUtilities.GetSimpleHashCode("wave"), + new TMProLinkAnimEffects.WaveEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerCharacter, + speed = 10, + indexStep = 0.3f, + scale = 2 + }.DoEffect }, + {TMPro.TMP_TextUtilities.GetSimpleHashCode("pivot"), + new TMProLinkAnimEffects.PivotEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerWord, + speed = 10, + degScale = 15 + }.DoEffect + }, + {TMPro.TMP_TextUtilities.GetSimpleHashCode("rainbow"), + new TMProLinkAnimEffects.RainbowEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerCharacter, + speed = 2, + indexStep = 0.1f, + s = 0.8f, + v = 0.8f + }.DoEffect + }, + {TMPro.TMP_TextUtilities.GetSimpleHashCode("ascend"), + new TMProLinkAnimEffects.AscendEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerCharacter, + totalStep = 10 + }.DoEffect + }, + */ + }; + + static public void AddHelper(string linkIdText, TMProAnimFunc func) + { + LinkHashToEffect.Add(TMPro.TMP_TextUtilities.GetSimpleHashCode(linkIdText), func); + } + + static public void AddHelper(string linkIdText, TMProLinkAnimEffects.BaseEffect baseEffect) + { + LinkHashToEffect.Add(TMPro.TMP_TextUtilities.GetSimpleHashCode(linkIdText), baseEffect.DoEffect); + } + + static public void Remove(string linkIdText) + { + LinkHashToEffect.Remove(TMPro.TMP_TextUtilities.GetSimpleHashCode(linkIdText)); + } + + static public void RemoveAll() + { + LinkHashToEffect.Clear(); + } + } +} + +#endif \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Utils/TMProLinkAnimLookup.cs.meta b/Assets/Fungus/Scripts/Utils/TMProLinkAnimLookup.cs.meta new file mode 100644 index 00000000..8ec124ce --- /dev/null +++ b/Assets/Fungus/Scripts/Utils/TMProLinkAnimLookup.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3a3990bfc87d31047a6cc1e300dff1d7 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Utils/TMProLinkAnimator.cs b/Assets/Fungus/Scripts/Utils/TMProLinkAnimator.cs new file mode 100644 index 00000000..40e47a4b --- /dev/null +++ b/Assets/Fungus/Scripts/Utils/TMProLinkAnimator.cs @@ -0,0 +1,206 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +#if UNITY_2018_1_OR_NEWER + +namespace Fungus +{ + /// + /// Component that is automatically added to all tmpro texts that contain links. Caches + /// local data for that TMProText and uses the TMProLinkAnimLookup to the actual animation. + /// + [DisallowMultipleComponent] + public class TMProLinkAnimator : MonoBehaviour + { + #region Auto Add Component + + /// + /// Ensure we are being notified of TMPro changes. + /// + [RuntimeInitializeOnLoadMethod] + public static void RegisterAutoAddTMPLinkAnim() + { + TMPro.TMPro_EventManager.TEXT_CHANGED_EVENT.Add(AutoAddTMPLinkAnim); + } + + /// + /// Adds a suite of default link text animations. These can be removed via the + /// TMProLinkAnimLookup if desired. + /// + [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] + public static void RegisterDefaultTMPLinkAnims() + { + TMProLinkAnimLookup.AddHelper("jitter", new TMProLinkAnimEffects.ShakeEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerCharacter, + offsetScale = new Vector2(1, 4), + rotScale = 10 + }); + TMProLinkAnimLookup.AddHelper("angry", new TMProLinkAnimEffects.ShakeEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerWord, + offsetScale = new Vector2(1, 8), + rotScale = 4 + }); + TMProLinkAnimLookup.AddHelper("spooky", new TMProLinkAnimEffects.WiggleEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerSection, + offsetScale = new Vector2(6, 10), + speed = 1.5f, + }); + TMProLinkAnimLookup.AddHelper("unknowable", new TMProLinkAnimEffects.WiggleEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerCharacter, + offsetScale = new Vector2(4, 8), + speed = 1f, + }); + TMProLinkAnimLookup.AddHelper("wave", new TMProLinkAnimEffects.WaveEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerCharacter, + speed = 10, + indexStep = 0.3f, + scale = 2 + }); + TMProLinkAnimLookup.AddHelper("swing", new TMProLinkAnimEffects.PivotEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerWord, + speed = 10, + degScale = 15 + }); + TMProLinkAnimLookup.AddHelper("bounce", new TMProLinkAnimEffects.BounceEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerWord, + speed = 4, + scale = 5, + }); + TMProLinkAnimLookup.AddHelper("excited", new TMProLinkAnimEffects.BounceEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerCharacter, + speed = 7, + scale = 2, + indexStep = 11.0f / 3.0f, + }); + TMProLinkAnimLookup.AddHelper("glow", new TMProLinkAnimEffects.PulseEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerWord, + speed = 4, + HSVIntensityScale = 0.15f, + hueScale = 0, + saturationScale = 0.1f, + scale = new Vector3(0.06f, 0.06f, 0), + }); + } + + /// + /// Called by TMPro when a text is changed, ensuring link animator is there and + /// that data is ready for it to use. + /// + /// + public static void AutoAddTMPLinkAnim(object obj) + { + if (Application.isPlaying) + { + var tmp = (obj as TMPro.TMP_Text); + if (forcedUpdater == null && tmp.textInfo.linkCount > 0) + { + var tmpa = tmp.GetComponent(); + if (tmpa == null) + { + tmpa = tmp.gameObject.AddComponent(); + tmpa.TMProComponent = tmp; + } + + tmpa.SetDirty(); + tmpa.UpdateAnimation(); + } + } + } + + /// + /// Cache of the TMProLinkAnimator that just forced an update of the TMProText, used to + /// prevent cyclic updates of TMPro mesh content. + /// + protected static TMProLinkAnimator forcedUpdater; + + #endregion Auto Add Component + + public TMPro.TMP_Text TMProComponent { get; protected set; } + public bool dirty = true; + protected bool needsToForceMeshUpdate = true; + + public TMPro.TMP_MeshInfo[] CachedMeshInfo { get; protected set; } + + public void SetDirty() + { + dirty = true; + } + + protected void Awake() + { + if (TMProComponent == null) + { + TMProComponent = GetComponent(); + } + } + + protected void Update() + { + UpdateAnimation(); + } + + /// + /// If there is TMPro and a link to potentially animate then ask the AnimLookup for it + /// + protected void UpdateAnimation() + { + //could we anim + if (TMProComponent != null && enabled) + { + bool requiresVertexDataUpdate = false; + + //for all found links + for (int i = 0; i < TMProComponent.textInfo.linkCount; i++) + { + var curLink = TMProComponent.textInfo.linkInfo[i]; + + //if a static lookup exists, ask it to run its animation with us as the context + if (TMProLinkAnimLookup.LinkHashToEffect.TryGetValue(curLink.hashCode, out TMProLinkAnimLookup.TMProAnimFunc animFunc)) + { + //only update caches if we actually need it + HandleDirty(); + + animFunc(this, curLink.linkTextfirstCharacterIndex, curLink.linkTextLength); + + requiresVertexDataUpdate = true; + } + } + + // Push changes if we actually found a matching effect + if (requiresVertexDataUpdate) + { + TMProComponent.UpdateVertexData(); + } + } + } + + protected void HandleDirty() + { + //update internal cache if underlying data has changed + if (dirty) + { + if (needsToForceMeshUpdate) + { + forcedUpdater = this; + TMProComponent.ForceMeshUpdate(); + forcedUpdater = null; + } + CachedMeshInfo = TMProComponent.textInfo.CopyMeshInfoVertexData(); + dirty = false; + } + } + } +} + +#endif \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Utils/TMProLinkAnimator.cs.meta b/Assets/Fungus/Scripts/Utils/TMProLinkAnimator.cs.meta new file mode 100644 index 00000000..3d8db4f2 --- /dev/null +++ b/Assets/Fungus/Scripts/Utils/TMProLinkAnimator.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: beb7176ffd78d904497350708b9f8134 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/Utils/TextAdapter.cs b/Assets/Fungus/Scripts/Utils/TextAdapter.cs index 0709066d..34f2f188 100644 --- a/Assets/Fungus/Scripts/Utils/TextAdapter.cs +++ b/Assets/Fungus/Scripts/Utils/TextAdapter.cs @@ -1,3 +1,6 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using UnityEngine; using UnityEngine.UI; using System.Reflection; @@ -84,7 +87,7 @@ namespace Fungus } #if UNITY_2018_1_OR_NEWER - if(tmpro != null) + if (tmpro != null) { tmpro.richText = true; } @@ -164,7 +167,7 @@ namespace Fungus { return (textUI != null || inputField != null || textMesh != null || textComponent != null || #if UNITY_2018_1_OR_NEWER - tmpro !=null || + tmpro != null || #endif writerTextDestination != null); } @@ -196,6 +199,54 @@ namespace Fungus return false; } + public bool SupportsHiddenCharacters() + { +#if UNITY_2018_1_OR_NEWER + if (tmpro != null) + { + return true; + } +#endif + return false; + } + + public int RevealedCharacters + { + get + { +#if UNITY_2018_1_OR_NEWER + if (tmpro != null) + { + return tmpro.maxVisibleCharacters; + } +#endif + return 0; + } + set + { +#if UNITY_2018_1_OR_NEWER + if (tmpro != null) + { + tmpro.maxVisibleCharacters = value; + } +#endif + } + } + + public int CharactersToReveal + { + get + { +#if UNITY_2018_1_OR_NEWER + if (tmpro != null) + { + return tmpro.textInfo.characterCount; + } +#endif + return 0; + } + } + public virtual string Text { get diff --git a/Assets/Fungus/Scripts/Utils/TextTagParser.cs b/Assets/Fungus/Scripts/Utils/TextTagParser.cs index c785b451..3faade90 100644 --- a/Assets/Fungus/Scripts/Utils/TextTagParser.cs +++ b/Assets/Fungus/Scripts/Utils/TextTagParser.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -161,7 +161,15 @@ namespace Fungus { type = TokenType.AudioStop; } - + else if (tag.StartsWith("link=")) + { + type = TokenType.LinkStart; + } + else if (tag.StartsWith("/link")) + { + type = TokenType.LinkEnd; + } + if (type != TokenType.Invalid) { TextTagToken token = new TextTagToken(); @@ -215,6 +223,7 @@ namespace Fungus "\t{wp}, {wp=0.5} Wait on punctuation (seconds){/wp}\n" + "\t{c} Clear\n" + "\t{x} Exit, advance to the next command without waiting for input\n" + + "\t{link=id}link text{/link} link text\n" + "\n" + "\t{vpunch=10,0.5} Vertically punch screen (intensity,time)\n" + "\t{hpunch=10,0.5} Horizontally punch screen (intensity,time)\n" + diff --git a/Assets/Fungus/Scripts/Utils/TextTagToken.cs b/Assets/Fungus/Scripts/Utils/TextTagToken.cs index 0d786e77..92edf3a9 100644 --- a/Assets/Fungus/Scripts/Utils/TextTagToken.cs +++ b/Assets/Fungus/Scripts/Utils/TextTagToken.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using System.Collections.Generic; @@ -68,6 +68,10 @@ namespace Fungus AudioStop, /// wvo WaitForVoiceOver, + /// link start + LinkStart, + /// link end + LinkEnd, } /// diff --git a/Assets/Fungus/Scripts/Utils/TextVariationHandler.cs b/Assets/Fungus/Scripts/Utils/TextVariationHandler.cs index 986892db..5c2111f8 100644 --- a/Assets/Fungus/Scripts/Utils/TextVariationHandler.cs +++ b/Assets/Fungus/Scripts/Utils/TextVariationHandler.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; diff --git a/Assets/Fungus/Scripts/Utils/VariableReference.cs b/Assets/Fungus/Scripts/Utils/VariableReference.cs index e5c12ce8..bf80930d 100644 --- a/Assets/Fungus/Scripts/Utils/VariableReference.cs +++ b/Assets/Fungus/Scripts/Utils/VariableReference.cs @@ -1,4 +1,7 @@ -namespace Fungus +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus { /// /// A simple struct wrapping a reference to a Fungus Variable. Allows for VariableReferenceDrawer. diff --git a/Assets/Fungus/Scripts/Utils/VariableUtil.cs b/Assets/Fungus/Scripts/Utils/VariableUtil.cs new file mode 100644 index 00000000..7744905b --- /dev/null +++ b/Assets/Fungus/Scripts/Utils/VariableUtil.cs @@ -0,0 +1,76 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus +{ + public static class VariableUtil + { + public static string GetCompareOperatorDescription(CompareOperator compareOperator) + { +#pragma warning disable CS0162 // Unreachable code detected + switch (compareOperator) + { + case CompareOperator.Equals: + return "=="; + break; + + case CompareOperator.NotEquals: + return "!="; + break; + + case CompareOperator.LessThan: + return "<"; + break; + + case CompareOperator.GreaterThan: + return ">"; + break; + + case CompareOperator.LessThanOrEquals: + return "<="; + break; + + case CompareOperator.GreaterThanOrEquals: + return ">="; + break; + } +#pragma warning restore CS0162 // Unreachable code detected + return string.Empty; + } + + public static string GetSetOperatorDescription(SetOperator setOperator) + { +#pragma warning disable CS0162 // Unreachable code detected + switch (setOperator) + { + default: + case SetOperator.Assign: + return "="; + break; + + case SetOperator.Negate: + return "=!"; + break; + + case SetOperator.Add: + return "+="; + break; + + case SetOperator.Subtract: + return "-="; + break; + + case SetOperator.Multiply: + return "*="; + break; + + case SetOperator.Divide: + return "/="; + break; + } + + return string.Empty; +#pragma warning restore CS0162 // Unreachable code detected + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Utils/VariableUtil.cs.meta b/Assets/Fungus/Scripts/Utils/VariableUtil.cs.meta new file mode 100644 index 00000000..5a2006aa --- /dev/null +++ b/Assets/Fungus/Scripts/Utils/VariableUtil.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d27b5f388ed141c45bdb75a917febcc5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/AnimatorVariable.cs b/Assets/Fungus/Scripts/VariableTypes/AnimatorVariable.cs index d564385d..97ca4b16 100644 --- a/Assets/Fungus/Scripts/VariableTypes/AnimatorVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/AnimatorVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -13,41 +13,6 @@ namespace Fungus [System.Serializable] public class AnimatorVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign }; - - public virtual bool Evaluate(CompareOperator compareOperator, Animator value) - { - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = Value == value; - break; - case CompareOperator.NotEquals: - condition = Value != value; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; - } - - public override void Apply(SetOperator setOperator, Animator value) - { - switch (setOperator) - { - case SetOperator.Assign: - Value = value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; - } - } } /// @@ -84,7 +49,7 @@ namespace Fungus { if (animatorRef == null) { - return animatorVal.ToString(); + return animatorVal != null ? animatorVal.ToString() : "Null"; } else { diff --git a/Assets/Fungus/Scripts/VariableTypes/AudioSourceVariable.cs b/Assets/Fungus/Scripts/VariableTypes/AudioSourceVariable.cs index 3cf056c9..76f6cb6a 100644 --- a/Assets/Fungus/Scripts/VariableTypes/AudioSourceVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/AudioSourceVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -13,41 +13,6 @@ namespace Fungus [System.Serializable] public class AudioSourceVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign }; - - public virtual bool Evaluate(CompareOperator compareOperator, AudioSource value) - { - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = Value == value; - break; - case CompareOperator.NotEquals: - condition = Value != value; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; - } - - public override void Apply(SetOperator setOperator, AudioSource value) - { - switch (setOperator) - { - case SetOperator.Assign: - Value = value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; - } - } } /// @@ -84,7 +49,7 @@ namespace Fungus { if (audioSourceRef == null) { - return audioSourceVal.ToString(); + return audioSourceVal != null ? audioSourceVal.ToString() : "Null"; } else { diff --git a/Assets/Fungus/Scripts/VariableTypes/BaseVariableProperty.cs b/Assets/Fungus/Scripts/VariableTypes/BaseVariableProperty.cs new file mode 100644 index 00000000..2f47ea9f --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/BaseVariableProperty.cs @@ -0,0 +1,19 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +namespace Fungus +{ + [AddComponentMenu("")] + public abstract class BaseVariableProperty : Command + { + public enum GetSet + { + Get, + Set, + } + + public GetSet getOrSet = GetSet.Get; + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/BaseVariableProperty.cs.meta b/Assets/Fungus/Scripts/VariableTypes/BaseVariableProperty.cs.meta new file mode 100644 index 00000000..d9b5ef93 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/BaseVariableProperty.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: c0b81b77632f7cd4a9925ab4d07618c1 +timeCreated: 1513473561 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/BooleanVariable.cs b/Assets/Fungus/Scripts/VariableTypes/BooleanVariable.cs index 2c1da160..1e495cf1 100644 --- a/Assets/Fungus/Scripts/VariableTypes/BooleanVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/BooleanVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -13,45 +13,21 @@ namespace Fungus [System.Serializable] public class BooleanVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign, SetOperator.Negate }; - - public virtual bool Evaluate(CompareOperator compareOperator, bool booleanValue) + public override bool IsArithmeticSupported(SetOperator setOperator) { - bool condition = false; - - bool lhs = Value; - bool rhs = booleanValue; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = lhs == rhs; - break; - case CompareOperator.NotEquals: - condition = lhs != rhs; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; + return setOperator == SetOperator.Negate || base.IsArithmeticSupported(setOperator); } - public override void Apply(SetOperator setOperator, bool value) + public override void Apply(SetOperator op, bool value) { - switch (setOperator) + switch (op) { - case SetOperator.Assign: - Value = value; - break; - case SetOperator.Negate: - Value = !value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; + case SetOperator.Negate: + Value = !value; + break; + default: + base.Apply(op, value); + break; } } } diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection.meta b/Assets/Fungus/Scripts/VariableTypes/Collection.meta new file mode 100644 index 00000000..059b2843 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9efe8d23cd8ac9046a6e2b9f63ce780b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/Collection.cs b/Assets/Fungus/Scripts/VariableTypes/Collection/Collection.cs new file mode 100644 index 00000000..3a6ac806 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/Collection.cs @@ -0,0 +1,100 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System; +using System.Collections; +using UnityEngine; + +namespace Fungus +{ + /// + /// Provides a common and complete MonoBehavior based reference point for FungusCollection. + /// Fungus.GenericCollection inherits from this. + /// + [AddComponentMenu("")] + [System.Serializable] + public abstract class Collection : MonoBehaviour, IFungusCollection + { + public abstract int Capacity { get; set; } + public abstract int Count { get; } + public bool IsFixedSize { get { return false; } } + public bool IsReadOnly { get { return false; } } + public bool IsSynchronized { get { return false; } } + public object SyncRoot { get { return null; } } + public string Name { get { return name; } } + + public object this[int index] { get { return Get(index); } set { Set(index, value); } } + + public abstract int Add(object o); + + public abstract void Add(IFungusCollection rhsCol); + + public abstract void AddUnique(object o); + + public abstract void AddUnique(IFungusCollection rhsCol); + + public abstract void Clear(); + + public abstract Type ContainedType(); + + public abstract bool Contains(object o); + + public abstract bool ContainsAllOf(IFungusCollection rhsCol); + + public abstract bool ContainsAllOfOrdered(IFungusCollection rhsCol); + + public abstract bool ContainsAnyOf(IFungusCollection rhsCol); + + public abstract void CopyFrom(IFungusCollection rhsCol); + + public abstract void CopyFrom(System.Array array); + + public abstract void CopyFrom(System.Collections.IList list); + + public abstract void CopyTo(Array array, int index); + + public abstract void Exclusive(IFungusCollection rhsCol); + + public abstract object Get(int index); + + public abstract void Get(int index, ref Variable variable); + + public abstract IEnumerator GetEnumerator(); + + public abstract int IndexOf(object o); + + public abstract void Insert(int index, object o); + + public abstract void Intersection(IFungusCollection rhsCol); + + public abstract bool IsCollectionCompatible(object o); + + public abstract bool IsElementCompatible(object o); + + public abstract int LastIndexOf(object o); + + public abstract int Occurrences(object o); + + public abstract void Remove(object o); + + public abstract void RemoveAll(IFungusCollection rhsCol); + + public abstract void RemoveAll(object o); + + public abstract void RemoveAt(int index); + + public abstract void Reserve(int count); + + public abstract void Resize(int count); + + public abstract void Reverse(); + + public abstract void Set(int index, object o); + + public abstract void Shuffle(); + + public abstract void Sort(); + + public abstract void Unique(); + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/Collection.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collection/Collection.cs.meta new file mode 100644 index 00000000..0813a2cb --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/Collection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a442c00dcdac2f74189524677670231b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/Collider2DCollection.cs b/Assets/Fungus/Scripts/VariableTypes/Collection/Collider2DCollection.cs new file mode 100644 index 00000000..f0146669 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/Collider2DCollection.cs @@ -0,0 +1,9 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus +{ + public class Collider2DCollection : GenericCollection + { + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/Collider2DCollection.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collection/Collider2DCollection.cs.meta new file mode 100644 index 00000000..6e23f050 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/Collider2DCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 731383c3611a5ed44ab997feeb990cd6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/ColliderCollection.cs b/Assets/Fungus/Scripts/VariableTypes/Collection/ColliderCollection.cs new file mode 100644 index 00000000..013860d8 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/ColliderCollection.cs @@ -0,0 +1,9 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus +{ + public class ColliderCollection : GenericCollection + { + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/ColliderCollection.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collection/ColliderCollection.cs.meta new file mode 100644 index 00000000..bcfe0023 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/ColliderCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 29b65a983faf39e4db7e25a77610319f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/FloatCollection.cs b/Assets/Fungus/Scripts/VariableTypes/Collection/FloatCollection.cs new file mode 100644 index 00000000..3a3a9d38 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/FloatCollection.cs @@ -0,0 +1,9 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus +{ + public class FloatCollection : GenericCollection + { + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/FloatCollection.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collection/FloatCollection.cs.meta new file mode 100644 index 00000000..795909bd --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/FloatCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f48297b98c3c1414c8e94ebe45883bb1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/GameObjectCollection.cs b/Assets/Fungus/Scripts/VariableTypes/Collection/GameObjectCollection.cs new file mode 100644 index 00000000..06b0a9f2 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/GameObjectCollection.cs @@ -0,0 +1,9 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus +{ + public class GameObjectCollection : GenericCollection + { + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/GameObjectCollection.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collection/GameObjectCollection.cs.meta new file mode 100644 index 00000000..074a1b4b --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/GameObjectCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 150bd15698fd79541ace6f07d5304837 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/GenericCollection.cs b/Assets/Fungus/Scripts/VariableTypes/Collection/GenericCollection.cs new file mode 100644 index 00000000..7a44a80d --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/GenericCollection.cs @@ -0,0 +1,452 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System; +using System.Collections; +using System.Linq; +using UnityEngine; + +namespace Fungus +{ + /// + /// The meat of the Fungus Collection. Internally uses a List of given type, simplest example + /// being IntCollection. Provides some type specific additions to the base Collection for + /// increasing speed and safety. + /// + /// Uses Promote methods to convert from objects or other collection or Fungus.Variable types + /// being passed in, will attempt to do compatability for you, such as if you give an + /// IntCollection an int or a Fungus.IntVariable, either works as the Promote is aware + /// of Fungus.VariableBase. Will also allow mixing some operations between + /// GenericCollection, T[], and List. + /// + /// + [AddComponentMenu("")] + public class GenericCollection : Collection + { + [SerializeField] + protected System.Collections.Generic.List collection = new System.Collections.Generic.List(); + + public override int Capacity + { + get + { + return collection.Capacity; + } + set + { + collection.Capacity = value; + } + } + + public override int Count { get { return collection.Count; } } + + public override int Add(object o) + { + var t = Promote(o); + if (t != null) + { + return Add(t); + } + return -1; + } + + public int Add(T t) + { + return (collection as System.Collections.IList).Add(t); + } + + public override void Add(IFungusCollection rhsCol) + { + var rhs = Promote(rhsCol); + if (rhs != null) + { + for (int i = 0; i < rhs.collection.Count; i++) + { + Add(rhs.collection[i]); + } + } + } + + public override void AddUnique(object o) + { + var t = Promote(o); + if (t != null) + { + if (!collection.Contains(t)) + { + collection.Add(t); + } + } + } + + public void AddUnique(T t) + { + if (!collection.Contains(t)) + { + Add(t); + } + } + + public override void AddUnique(IFungusCollection rhsCol) + { + var rhs = Promote(rhsCol); + if (rhs != null) + { + for (int i = 0; i < rhs.collection.Count; i++) + { + AddUnique(rhs.collection[i]); + } + } + } + + public override void Clear() + { + collection.Clear(); + } + + public override System.Type ContainedType() + { + return typeof(T); + } + + public override bool Contains(object o) + { + var t = Promote(o); + if (t != null) + { + return collection.Contains(t); + } + return false; + } + + public override bool ContainsAllOf(IFungusCollection rhsCol) + { + var rhs = Promote(rhsCol); + if (rhs != null) + { + for (int i = 0; i < rhs.collection.Count; i++) + { + if (!collection.Contains(rhs.collection[i])) + return false; + } + + return true; + } + + return false; + } + + public override bool ContainsAllOfOrdered(IFungusCollection rhsCol) + { + var rhs = Promote(rhsCol); + if (rhs != null) + { + if (rhs.Count == Count) + { + for (int i = 0; i < rhs.collection.Count; i++) + { + if (!rhs.collection[i].Equals(collection[i])) + return false; + } + return true; + } + } + + return false; + } + + public override bool ContainsAnyOf(IFungusCollection rhsCol) + { + var rhs = Promote(rhsCol); + if (rhs != null) + { + for (int i = 0; i < rhs.collection.Count; i++) + { + if (collection.Contains(rhs.collection[i])) + return true; + } + } + + return false; + } + + public override void CopyFrom(IFungusCollection rhsCol) + { + var rhs = Promote(rhsCol); + if (rhs != null) + { + collection.Clear(); + collection.AddRange(rhs.collection); + } + } + + public override void CopyFrom(Array array) + { + foreach (var item in array) + { + Add(item); + } + } + + public override void CopyFrom(IList list) + { + foreach (var item in list) + { + Add(item); + } + } + + public override void CopyTo(System.Array array, int index) + { + (collection as System.Collections.IList).CopyTo(array, index); + } + + public override void Exclusive(IFungusCollection rhsCol) + { + var rhs = Promote(rhsCol); + if (rhs != null) + { + //if its in both, remove, if its only in 1 keep + for (int i = 0; i < rhs.collection.Count; i++) + { + var item = rhs.collection[i]; + if (!collection.Remove(item)) + { + collection.Add(item); + } + } + } + } + + public override object Get(int index) + { + return collection[index]; + } + + public override void Get(int index, ref Variable variable) + { + if (variable is VariableBase) + { + VariableBase vt = variable as VariableBase; + vt.Value = collection[index]; + } + else + { + Debug.LogError("Collection cannot get variable " + variable.Key + ". Is not matching type:" + typeof(T).Name); + } + } + + public override System.Collections.IEnumerator GetEnumerator() + { + return collection.GetEnumerator(); + } + + public virtual T GetSafe(int index) + { + return collection[index]; + } + + public override int IndexOf(object o) + { + var t = Promote(o); + if (t != null) + { + return collection.IndexOf(t); + } + return -1; + } + + public override void Insert(int index, object o) + { + var t = Promote(o); + if (t != null) + { + collection.Insert(index, t); + } + } + + public override void Intersection(IFungusCollection rhsCol) + { + var rhs = Promote(rhsCol); + if (rhs != null) + { + //only things that are in us and in rhs remain + for (int i = collection.Count - 1; i >= 0; i--) + { + if (!rhs.Contains(collection[i])) + { + collection.RemoveAt(i); + } + } + } + } + + public override bool IsCollectionCompatible(object o) + { + if (o is GenericCollection || o is System.Collections.Generic.IList) + return true; + + var ot = o.GetType(); + var ote = ot.GetElementType(); + var otgs = ot.GetGenericArguments(); + + //element type only works for arrays, need to use getgenerictype with ilist<>T + if (o is System.Array) + { + return ote is T || ote is Fungus.VariableBase; + } + else if (o is System.Collections.IList && otgs.Length > 0) + { + return otgs[0] == typeof(T) || otgs[0].IsSubclassOf(typeof(Fungus.VariableBase)); + } + else + { + return false; + } + } + + public override bool IsElementCompatible(object o) + { + return o is T || o is VariableBase; + } + + public override int LastIndexOf(object o) + { + var t = Promote(o); + if (t != null) + { + return collection.LastIndexOf(t); + } + return -1; + } + + public override int Occurrences(object o) + { + int retval = 0; + var t = Promote(o); + if (t != null) + { + for (int i = 0; i < collection.Count; i++) + { + if (collection[i].Equals(t)) + retval++; + } + } + return retval; + } + + public override void Remove(object o) + { + var t = Promote(o); + if (t != null) + { + collection.Remove(t); + } + } + + public override void RemoveAll(object o) + { + var t = Promote(o); + if (t != null) + { + collection.RemoveAll(x => x.Equals(t)); + } + } + + public override void RemoveAll(IFungusCollection rhsCol) + { + var rhs = Promote(rhsCol); + if (rhs != null) + { + for (int i = rhsCol.Count - 1; i >= 0; i--) + { + collection.RemoveAll(x => x.Equals(rhs.collection[i])); + } + } + } + + public override void RemoveAt(int index) + { + collection.RemoveAt(index); + } + + public override void Reserve(int count) + { + collection.Capacity = count; + } + + public override void Resize(int count) + { + var toAdd = count - collection.Count; + if (toAdd > 0) + collection.AddRange(System.Linq.Enumerable.Repeat(default(T), toAdd)); + } + + public override void Reverse() + { + collection.Reverse(); + } + + public override void Set(int index, object o) + { + var t = Promote(o); + if (t != null) + { + collection[index] = t; + } + } + + public virtual void Set(int index, T value) + { + collection[index] = value; + } + + public override void Shuffle() + { + for (int i = 0; i < collection.Count; i++) + { + var tmp = collection[i]; + var rnd = UnityEngine.Random.Range(0, collection.Count); + collection[i] = collection[rnd]; + collection[rnd] = tmp; + } + } + + public override void Sort() + { + collection.Sort(); + } + + public override void Unique() + { + collection = collection.Distinct().ToList(); + } + + protected virtual T Promote(object o) + { + if (o is T) + { + return (T)o; + } + else if (o is VariableBase) + { + var oAs = o as VariableBase; + return (T)oAs.Value; + } + + Debug.LogError("Collection cannot promote " + o.GetType().Name + " to " + typeof(T).Name); + return default(T); + } + + protected virtual GenericCollection Promote(IFungusCollection col) + { + if (col is GenericCollection) + { + return (GenericCollection)col; + } + + Debug.LogError("Collection cannot promote " + col.GetType().Name + " to " + this.GetType().Name); + return null; + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/GenericCollection.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collection/GenericCollection.cs.meta new file mode 100644 index 00000000..64210af0 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/GenericCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5f1b7585d9e20fb4fa2af08c7d122c43 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/IntCollection.cs b/Assets/Fungus/Scripts/VariableTypes/Collection/IntCollection.cs new file mode 100644 index 00000000..583c0e5e --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/IntCollection.cs @@ -0,0 +1,9 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus +{ + public class IntCollection : GenericCollection + { + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/IntCollection.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collection/IntCollection.cs.meta new file mode 100644 index 00000000..8f5e3e1b --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/IntCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 221f0f261cfcb8a40b9f79cbc51a9148 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/IntVarCollection.cs b/Assets/Fungus/Scripts/VariableTypes/Collection/IntVarCollection.cs new file mode 100644 index 00000000..a0147c2e --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/IntVarCollection.cs @@ -0,0 +1,9 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus +{ + public class IntVarCollection : GenericCollection + { + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/IntVarCollection.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collection/IntVarCollection.cs.meta new file mode 100644 index 00000000..4363aa2e --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/IntVarCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a852e2fd041ceda439efd62fd08491ca +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/StringCollection.cs b/Assets/Fungus/Scripts/VariableTypes/Collection/StringCollection.cs new file mode 100644 index 00000000..e66c4b1a --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/StringCollection.cs @@ -0,0 +1,9 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus +{ + public class StringCollection : GenericCollection + { + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/StringCollection.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collection/StringCollection.cs.meta new file mode 100644 index 00000000..01df8232 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/StringCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5a160a99a0d1b6a48847f6d7ff25dac3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/TransformCollection.cs b/Assets/Fungus/Scripts/VariableTypes/Collection/TransformCollection.cs new file mode 100644 index 00000000..21e5cc71 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/TransformCollection.cs @@ -0,0 +1,9 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +namespace Fungus +{ + public class TransformCollection : GenericCollection + { + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collection/TransformCollection.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collection/TransformCollection.cs.meta new file mode 100644 index 00000000..f6bfbfa6 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collection/TransformCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 65f1198eb774e9b48816b995d01e5053 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/CollectionVariable.cs b/Assets/Fungus/Scripts/VariableTypes/CollectionVariable.cs new file mode 100644 index 00000000..b88aef31 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/CollectionVariable.cs @@ -0,0 +1,61 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEngine; + +namespace Fungus +{ + /// + /// Collection variable type. + /// + [VariableInfo("Other", "Collection")] + [AddComponentMenu("")] + [System.Serializable] + public class CollectionVariable : VariableBase + { } + + /// + /// Container for a Collection variable reference or constant value. + /// + [System.Serializable] + public struct CollectionData + { + [SerializeField] + [VariableProperty("", typeof(CollectionVariable))] + public CollectionVariable collectionRef; + + [SerializeField] + public Fungus.Collection collectionVal; + + public static implicit operator Fungus.Collection(CollectionData CollectionData) + { + return CollectionData.Value; + } + + public CollectionData(Fungus.Collection v) + { + collectionVal = v; + collectionRef = null; + } + + public Fungus.Collection Value + { + get { return (collectionRef == null) ? collectionVal : collectionRef.Value; } + set { if (collectionRef == null) { collectionVal = value; } else { collectionRef.Value = value; } } + } + + public string GetDescription() + { + if (collectionRef == null) + { + return collectionVal != null ? collectionVal.ToString() : "Null"; + } + else + { + return collectionRef.Key; + } + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/CollectionVariable.cs.meta b/Assets/Fungus/Scripts/VariableTypes/CollectionVariable.cs.meta new file mode 100644 index 00000000..99b1f728 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/CollectionVariable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4511d925e22af8c4a85a568153258f84 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collider2DVariable.cs b/Assets/Fungus/Scripts/VariableTypes/Collider2DVariable.cs new file mode 100644 index 00000000..6158ec6a --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collider2DVariable.cs @@ -0,0 +1,61 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEngine; + +namespace Fungus +{ + /// + /// Collider2D variable type. + /// + [VariableInfo("Other", "Collider2D")] + [AddComponentMenu("")] + [System.Serializable] + public class Collider2DVariable : VariableBase + { } + + /// + /// Container for a Collider2D variable reference or constant value. + /// + [System.Serializable] + public struct Collider2DData + { + [SerializeField] + [VariableProperty("", typeof(Collider2DVariable))] + public Collider2DVariable collider2DRef; + + [SerializeField] + public UnityEngine.Collider2D collider2DVal; + + public static implicit operator UnityEngine.Collider2D(Collider2DData Collider2DData) + { + return Collider2DData.Value; + } + + public Collider2DData(UnityEngine.Collider2D v) + { + collider2DVal = v; + collider2DRef = null; + } + + public UnityEngine.Collider2D Value + { + get { return (collider2DRef == null) ? collider2DVal : collider2DRef.Value; } + set { if (collider2DRef == null) { collider2DVal = value; } else { collider2DRef.Value = value; } } + } + + public string GetDescription() + { + if (collider2DRef == null) + { + return collider2DVal != null ? collider2DVal.ToString() : "Null"; + } + else + { + return collider2DRef.Key; + } + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collider2DVariable.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collider2DVariable.cs.meta new file mode 100644 index 00000000..ac7c3476 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collider2DVariable.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a3f274bcd518c0647b0d9ce7c8f3ab84 +timeCreated: 1517559095 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/ColliderVariable.cs b/Assets/Fungus/Scripts/VariableTypes/ColliderVariable.cs new file mode 100644 index 00000000..7d2e43ed --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/ColliderVariable.cs @@ -0,0 +1,61 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEngine; + +namespace Fungus +{ + /// + /// Collider variable type. + /// + [VariableInfo("Other", "Collider")] + [AddComponentMenu("")] + [System.Serializable] + public class ColliderVariable : VariableBase + { } + + /// + /// Container for a Collider variable reference or constant value. + /// + [System.Serializable] + public struct ColliderData + { + [SerializeField] + [VariableProperty("", typeof(ColliderVariable))] + public ColliderVariable colliderRef; + + [SerializeField] + public UnityEngine.Collider colliderVal; + + public static implicit operator UnityEngine.Collider(ColliderData ColliderData) + { + return ColliderData.Value; + } + + public ColliderData(UnityEngine.Collider v) + { + colliderVal = v; + colliderRef = null; + } + + public UnityEngine.Collider Value + { + get { return (colliderRef == null) ? colliderVal : colliderRef.Value; } + set { if (colliderRef == null) { colliderVal = value; } else { colliderRef.Value = value; } } + } + + public string GetDescription() + { + if (colliderRef == null) + { + return colliderVal != null ? colliderVal.ToString() : "Null"; + } + else + { + return colliderRef.Key; + } + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/ColliderVariable.cs.meta b/Assets/Fungus/Scripts/VariableTypes/ColliderVariable.cs.meta new file mode 100644 index 00000000..c704ec31 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/ColliderVariable.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 0057f41f38d80eb42994d709097bab6c +timeCreated: 1517559091 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Collision2DVariable.cs b/Assets/Fungus/Scripts/VariableTypes/Collision2DVariable.cs new file mode 100644 index 00000000..3b38944b --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collision2DVariable.cs @@ -0,0 +1,18 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEngine; + +namespace Fungus +{ + /// + /// Collision2D variable type. + /// + [VariableInfo("Other", "Collision2D", IsPreviewedOnly = true)] + [AddComponentMenu("")] + [System.Serializable] + public class Collision2DVariable : VariableBase + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Collision2DVariable.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Collision2DVariable.cs.meta new file mode 100644 index 00000000..4b06a6e2 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Collision2DVariable.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 303f39102fa585240b75ba39909c0420 +timeCreated: 1517559039 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/CollisionVariable.cs b/Assets/Fungus/Scripts/VariableTypes/CollisionVariable.cs new file mode 100644 index 00000000..41edb5e3 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/CollisionVariable.cs @@ -0,0 +1,18 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEngine; + +namespace Fungus +{ + /// + /// Collision variable type. + /// + [VariableInfo("Other", "Collision", IsPreviewedOnly = true)] + [AddComponentMenu("")] + [System.Serializable] + public class CollisionVariable : VariableBase + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/CollisionVariable.cs.meta b/Assets/Fungus/Scripts/VariableTypes/CollisionVariable.cs.meta new file mode 100644 index 00000000..15644cf9 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/CollisionVariable.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: ab82206607c7ce145899c6dded6ed656 +timeCreated: 1517559033 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/ColorVariable.cs b/Assets/Fungus/Scripts/VariableTypes/ColorVariable.cs index eb30ba44..d9050e97 100644 --- a/Assets/Fungus/Scripts/VariableTypes/ColorVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/ColorVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -14,57 +14,30 @@ namespace Fungus [System.Serializable] public class ColorVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { - SetOperator.Assign, - SetOperator.Add, - SetOperator.Subtract, - SetOperator.Multiply - }; - - protected static bool ColorsEqual(Color a, Color b) { - return ColorUtility.ToHtmlStringRGBA(a) == ColorUtility.ToHtmlStringRGBA(b); - } - - public virtual bool Evaluate(CompareOperator compareOperator, Color value) + public override bool IsArithmeticSupported(SetOperator setOperator) { - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = ColorsEqual(Value, value); - break; - case CompareOperator.NotEquals: - condition = !ColorsEqual(Value, value); - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; + return setOperator != SetOperator.Negate; } public override void Apply(SetOperator setOperator, Color value) { switch (setOperator) { - case SetOperator.Assign: - Value = value; - break; - case SetOperator.Add: - Value += value; - break; - case SetOperator.Subtract: - Value -= value; - break; - case SetOperator.Multiply: - Value *= value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; + case SetOperator.Add: + Value += value; + break; + case SetOperator.Subtract: + Value -= value; + break; + case SetOperator.Multiply: + Value *= value; + break; + case SetOperator.Divide: + Value *= new Color(1.0f/value.r, 1.0f / value.g, 1.0f / value.b, 1.0f / value.a); + break; + default: + base.Apply(setOperator, value); + break; } } } diff --git a/Assets/Fungus/Scripts/VariableTypes/ControllerColliderHitVariable.cs b/Assets/Fungus/Scripts/VariableTypes/ControllerColliderHitVariable.cs new file mode 100644 index 00000000..e2d2b846 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/ControllerColliderHitVariable.cs @@ -0,0 +1,18 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEngine; + +namespace Fungus +{ + /// + /// ControllerColliderHit variable type. + /// + [VariableInfo("Other", "ControllerColliderHit", IsPreviewedOnly = true)] + [AddComponentMenu("")] + [System.Serializable] + public class ControllerColliderHitVariable : VariableBase + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/ControllerColliderHitVariable.cs.meta b/Assets/Fungus/Scripts/VariableTypes/ControllerColliderHitVariable.cs.meta new file mode 100644 index 00000000..6bf4d06d --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/ControllerColliderHitVariable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1697e3d2923d7a04992d32e821365308 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/FloatVariable.cs b/Assets/Fungus/Scripts/VariableTypes/FloatVariable.cs index 083e2528..7e9bb88a 100644 --- a/Assets/Fungus/Scripts/VariableTypes/FloatVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/FloatVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -13,80 +13,68 @@ namespace Fungus [System.Serializable] public class FloatVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { - CompareOperator.Equals, - CompareOperator.NotEquals, - CompareOperator.LessThan, - CompareOperator.GreaterThan, - CompareOperator.LessThanOrEquals, - CompareOperator.GreaterThanOrEquals - }; - public static readonly SetOperator[] setOperators = { - SetOperator.Assign, - SetOperator.Add, - SetOperator.Subtract, - SetOperator.Multiply, - SetOperator.Divide - }; + public override bool IsArithmeticSupported(SetOperator setOperator) + { + return true; + } - public virtual bool Evaluate(CompareOperator compareOperator, float floatValue) + public override bool IsComparisonSupported() { - float lhs = Value; - float rhs = floatValue; - - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = lhs == rhs; - break; - case CompareOperator.NotEquals: - condition = lhs != rhs; - break; - case CompareOperator.LessThan: - condition = lhs < rhs; - break; - case CompareOperator.GreaterThan: - condition = lhs > rhs; - break; - case CompareOperator.LessThanOrEquals: - condition = lhs <= rhs; - break; - case CompareOperator.GreaterThanOrEquals: - condition = lhs >= rhs; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; + return true; } public override void Apply(SetOperator setOperator, float value) { switch (setOperator) { - case SetOperator.Assign: - Value = value; - break; - case SetOperator.Add: - Value += value; - break; - case SetOperator.Subtract: - Value -= value; - break; - case SetOperator.Multiply: - Value *= value; - break; - case SetOperator.Divide: - Value /= value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; + case SetOperator.Negate: + Value = Value * -1; + break; + case SetOperator.Add: + Value += value; + break; + case SetOperator.Subtract: + Value -= value; + break; + case SetOperator.Multiply: + Value *= value; + break; + case SetOperator.Divide: + Value /= value; + break; + default: + base.Apply(setOperator, value); + break; + } + } + + public override bool Evaluate(CompareOperator compareOperator, float value) + { + float lhs = Value; + float rhs = value; + + bool condition = false; + + switch (compareOperator) + { + case CompareOperator.LessThan: + condition = lhs < rhs; + break; + case CompareOperator.GreaterThan: + condition = lhs > rhs; + break; + case CompareOperator.LessThanOrEquals: + condition = lhs <= rhs; + break; + case CompareOperator.GreaterThanOrEquals: + condition = lhs >= rhs; + break; + default: + condition = base.Evaluate(compareOperator, base.value); + break; } + + return condition; } } diff --git a/Assets/Fungus/Scripts/VariableTypes/GameObjectVariable.cs b/Assets/Fungus/Scripts/VariableTypes/GameObjectVariable.cs index f4b3538f..c5a7821e 100644 --- a/Assets/Fungus/Scripts/VariableTypes/GameObjectVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/GameObjectVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -14,44 +14,6 @@ namespace Fungus [System.Serializable] public class GameObjectVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign }; - - public virtual bool Evaluate(CompareOperator compareOperator, GameObject gameObjectValue) - { - GameObject lhs = Value; - GameObject rhs = gameObjectValue; - - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = lhs == rhs; - break; - case CompareOperator.NotEquals: - condition = lhs != rhs; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; - } - - public override void Apply(SetOperator setOperator, GameObject value) - { - switch (setOperator) - { - case SetOperator.Assign: - Value = value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; - } - } } /// @@ -88,7 +50,7 @@ namespace Fungus { if (gameObjectRef == null) { - return gameObjectVal.ToString(); + return gameObjectVal != null ? gameObjectVal.ToString() : "Null"; } else { diff --git a/Assets/Fungus/Scripts/VariableTypes/IntegerVariable.cs b/Assets/Fungus/Scripts/VariableTypes/IntegerVariable.cs index 06726b58..43932395 100644 --- a/Assets/Fungus/Scripts/VariableTypes/IntegerVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/IntegerVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -11,83 +11,71 @@ namespace Fungus [VariableInfo("", "Integer")] [AddComponentMenu("")] [System.Serializable] - public class IntegerVariable : VariableBase + public class IntegerVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { - CompareOperator.Equals, - CompareOperator.NotEquals, - CompareOperator.LessThan, - CompareOperator.GreaterThan, - CompareOperator.LessThanOrEquals, - CompareOperator.GreaterThanOrEquals - }; - public static readonly SetOperator[] setOperators = { - SetOperator.Assign, - SetOperator.Add, - SetOperator.Subtract, - SetOperator.Multiply, - SetOperator.Divide - }; + public override bool IsArithmeticSupported(SetOperator setOperator) + { + return true; + } + + public override bool IsComparisonSupported() + { + return true; + } - public virtual bool Evaluate(CompareOperator compareOperator, int integerValue) + public override void Apply(SetOperator setOperator, int value) + { + switch (setOperator) + { + case SetOperator.Negate: + Value = Value * -1; + break; + case SetOperator.Add: + Value += value; + break; + case SetOperator.Subtract: + Value -= value; + break; + case SetOperator.Multiply: + Value *= value; + break; + case SetOperator.Divide: + Value /= value; + break; + default: + base.Apply(setOperator, value); + break; + } + } + + public override bool Evaluate(CompareOperator compareOperator, int value) { int lhs = Value; - int rhs = integerValue; + int rhs = value; bool condition = false; switch (compareOperator) { - case CompareOperator.Equals: - condition = lhs == rhs; - break; - case CompareOperator.NotEquals: - condition = lhs != rhs; - break; - case CompareOperator.LessThan: - condition = lhs < rhs; - break; - case CompareOperator.GreaterThan: - condition = lhs > rhs; - break; - case CompareOperator.LessThanOrEquals: - condition = lhs <= rhs; - break; - case CompareOperator.GreaterThanOrEquals: - condition = lhs >= rhs; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; + case CompareOperator.LessThan: + condition = lhs < rhs; + break; + case CompareOperator.GreaterThan: + condition = lhs > rhs; + break; + case CompareOperator.LessThanOrEquals: + condition = lhs <= rhs; + break; + case CompareOperator.GreaterThanOrEquals: + condition = lhs >= rhs; + break; + default: + condition = base.Evaluate(compareOperator, value); + break; } return condition; } - - public override void Apply(SetOperator setOperator, int value) - { - switch (setOperator) - { - case SetOperator.Assign: - Value = value; - break; - case SetOperator.Add: - Value += value; - break; - case SetOperator.Subtract: - Value -= value; - break; - case SetOperator.Multiply: - Value *= value; - break; - case SetOperator.Divide: - Value /= value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; - } - } } /// diff --git a/Assets/Fungus/Scripts/VariableTypes/MaterialVariable.cs b/Assets/Fungus/Scripts/VariableTypes/MaterialVariable.cs index 5617a655..f35a122f 100644 --- a/Assets/Fungus/Scripts/VariableTypes/MaterialVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/MaterialVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -14,41 +14,6 @@ namespace Fungus [System.Serializable] public class MaterialVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign }; - - public virtual bool Evaluate(CompareOperator compareOperator, Material value) - { - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = Value == value; - break; - case CompareOperator.NotEquals: - condition = Value != value; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; - } - - public override void Apply(SetOperator setOperator, Material value) - { - switch (setOperator) - { - case SetOperator.Assign: - Value = value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; - } - } } /// @@ -85,7 +50,7 @@ namespace Fungus { if (materialRef == null) { - return materialVal.ToString(); + return materialVal != null ? materialVal.ToString() : "Null"; } else { diff --git a/Assets/Fungus/Scripts/VariableTypes/Matrix4x4Variable.cs b/Assets/Fungus/Scripts/VariableTypes/Matrix4x4Variable.cs new file mode 100644 index 00000000..e852ad64 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Matrix4x4Variable.cs @@ -0,0 +1,94 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEngine; + +namespace Fungus +{ + /// + /// Matrix4x4 variable type. + /// + [VariableInfo("Other", "Matrix4x4", IsPreviewedOnly = true)] + [AddComponentMenu("")] + [System.Serializable] + public class Matrix4x4Variable : VariableBase + { + public override bool IsArithmeticSupported(SetOperator setOperator) + { + return setOperator == SetOperator.Multiply || base.IsArithmeticSupported(setOperator); + } + + public override void Apply(SetOperator setOperator, Matrix4x4 value) + { + Matrix4x4 local = Value; + + switch (setOperator) + { + case SetOperator.Add: + Debug.LogWarning("Matrix4x4 Add not supported"); + break; + + case SetOperator.Subtract: + Debug.LogWarning("Matrix4x4 Subtract not supported"); + break; + + case SetOperator.Multiply: + Value = local * value; + break; + + case SetOperator.Divide: + Debug.LogWarning("Matrix4x4 Divide not supported"); + break; + + default: + base.Apply(setOperator, value); + break; + } + } + } + + /// + /// Container for a Matrix4x4 variable reference or constant value. + /// + [System.Serializable] + public struct Matrix4x4Data + { + [SerializeField] + [VariableProperty("", typeof(Matrix4x4Variable))] + public Matrix4x4Variable matrix4x4Ref; + + [SerializeField] + public UnityEngine.Matrix4x4 matrix4x4Val; + + public static implicit operator UnityEngine.Matrix4x4(Matrix4x4Data Matrix4x4Data) + { + return Matrix4x4Data.Value; + } + + public Matrix4x4Data(UnityEngine.Matrix4x4 v) + { + matrix4x4Val = v; + matrix4x4Ref = null; + } + + public UnityEngine.Matrix4x4 Value + { + get { return (matrix4x4Ref == null) ? matrix4x4Val : matrix4x4Ref.Value; } + set { if (matrix4x4Ref == null) { matrix4x4Val = value; } else { matrix4x4Ref.Value = value; } } + } + + public string GetDescription() + { + if (matrix4x4Ref == null) + { + return matrix4x4Val.ToString(); + } + else + { + return matrix4x4Ref.Key; + } + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Matrix4x4Variable.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Matrix4x4Variable.cs.meta new file mode 100644 index 00000000..2c468872 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Matrix4x4Variable.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 92a3ae3fceb40f24db63f0e4085f39cc +timeCreated: 1513473561 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/ObjectVariable.cs b/Assets/Fungus/Scripts/VariableTypes/ObjectVariable.cs index 39d6df3f..8e732334 100644 --- a/Assets/Fungus/Scripts/VariableTypes/ObjectVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/ObjectVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -14,41 +14,6 @@ namespace Fungus [System.Serializable] public class ObjectVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign }; - - public virtual bool Evaluate(CompareOperator compareOperator, Object value) - { - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = Value == value; - break; - case CompareOperator.NotEquals: - condition = Value != value; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; - } - - public override void Apply(SetOperator setOperator, Object value) - { - switch (setOperator) - { - case SetOperator.Assign: - Value = value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; - } - } } /// @@ -85,7 +50,7 @@ namespace Fungus { if (objectRef == null) { - return objectVal.ToString(); + return objectVal != null ? objectVal.ToString() : "Null"; } else { diff --git a/Assets/Fungus/Scripts/VariableTypes/QuaternionVariable.cs b/Assets/Fungus/Scripts/VariableTypes/QuaternionVariable.cs new file mode 100644 index 00000000..78209729 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/QuaternionVariable.cs @@ -0,0 +1,94 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEngine; + +namespace Fungus +{ + /// + /// Quaternion variable type. + /// + [VariableInfo("Other", "Quaternion")] + [AddComponentMenu("")] + [System.Serializable] + public class QuaternionVariable : VariableBase + { + public override bool IsArithmeticSupported(SetOperator setOperator) + { + return setOperator == SetOperator.Multiply || base.IsArithmeticSupported(setOperator); + } + + public override void Apply(SetOperator setOperator, Quaternion value) + { + Quaternion local = Value; + + switch (setOperator) + { + case SetOperator.Add: + Debug.LogWarning("Quarternion Add not supported"); + break; + + case SetOperator.Subtract: + Debug.LogWarning("Quarternion Subtract not supported"); + break; + + case SetOperator.Multiply: + Value = local * value; + break; + + case SetOperator.Divide: + Debug.LogWarning("Quarternion Divide not supported"); + break; + + default: + base.Apply(setOperator, value); + break; + } + } + } + + /// + /// Container for a Quaternion variable reference or constant value. + /// + [System.Serializable] + public struct QuaternionData + { + [SerializeField] + [VariableProperty("", typeof(QuaternionVariable))] + public QuaternionVariable quaternionRef; + + [SerializeField] + public UnityEngine.Quaternion quaternionVal; + + public static implicit operator UnityEngine.Quaternion(QuaternionData QuaternionData) + { + return QuaternionData.Value; + } + + public QuaternionData(UnityEngine.Quaternion v) + { + quaternionVal = v; + quaternionRef = null; + } + + public UnityEngine.Quaternion Value + { + get { return (quaternionRef == null) ? quaternionVal : quaternionRef.Value; } + set { if (quaternionRef == null) { quaternionVal = value; } else { quaternionRef.Value = value; } } + } + + public string GetDescription() + { + if (quaternionRef == null) + { + return quaternionVal.ToString(); + } + else + { + return quaternionRef.Key; + } + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/QuaternionVariable.cs.meta b/Assets/Fungus/Scripts/VariableTypes/QuaternionVariable.cs.meta new file mode 100644 index 00000000..02dad2f5 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/QuaternionVariable.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: c0d1ebdecfe2cb147bc3558abb25d154 +timeCreated: 1513473561 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/Rigidbody2DVariable.cs b/Assets/Fungus/Scripts/VariableTypes/Rigidbody2DVariable.cs index e011975a..6cfca726 100644 --- a/Assets/Fungus/Scripts/VariableTypes/Rigidbody2DVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/Rigidbody2DVariable.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus { @@ -10,41 +13,6 @@ namespace Fungus [System.Serializable] public class Rigidbody2DVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign }; - - public virtual bool Evaluate(CompareOperator compareOperator, Rigidbody2D value) - { - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = Value == value; - break; - case CompareOperator.NotEquals: - condition = Value != value; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; - } - - public override void Apply(SetOperator setOperator, Rigidbody2D value) - { - switch (setOperator) - { - case SetOperator.Assign: - Value = value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; - } - } } /// @@ -81,7 +49,7 @@ namespace Fungus { if (rigidbody2DRef == null) { - return rigidbody2DVal.ToString(); + return rigidbody2DVal != null ? rigidbody2DVal.ToString() : "Null"; } else { diff --git a/Assets/Fungus/Scripts/VariableTypes/RigidbodyVariable.cs b/Assets/Fungus/Scripts/VariableTypes/RigidbodyVariable.cs new file mode 100644 index 00000000..33a2495d --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/RigidbodyVariable.cs @@ -0,0 +1,61 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEngine; + +namespace Fungus +{ + /// + /// Rigidbody variable type. + /// + [VariableInfo("Other", "Rigidbody")] + [AddComponentMenu("")] + [System.Serializable] + public class RigidbodyVariable : VariableBase + { } + + /// + /// Container for a Rigidbody variable reference or constant value. + /// + [System.Serializable] + public struct RigidbodyData + { + [SerializeField] + [VariableProperty("", typeof(RigidbodyVariable))] + public RigidbodyVariable rigidbodyRef; + + [SerializeField] + public UnityEngine.Rigidbody rigidbodyVal; + + public static implicit operator UnityEngine.Rigidbody(RigidbodyData RigidbodyData) + { + return RigidbodyData.Value; + } + + public RigidbodyData(UnityEngine.Rigidbody v) + { + rigidbodyVal = v; + rigidbodyRef = null; + } + + public UnityEngine.Rigidbody Value + { + get { return (rigidbodyRef == null) ? rigidbodyVal : rigidbodyRef.Value; } + set { if (rigidbodyRef == null) { rigidbodyVal = value; } else { rigidbodyRef.Value = value; } } + } + + public string GetDescription() + { + if (rigidbodyRef == null) + { + return rigidbodyVal != null ? rigidbodyVal.ToString() : "Null"; + } + else + { + return rigidbodyRef.Key; + } + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/RigidbodyVariable.cs.meta b/Assets/Fungus/Scripts/VariableTypes/RigidbodyVariable.cs.meta new file mode 100644 index 00000000..9f78db62 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/RigidbodyVariable.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 22ca3b0d4747cfa40806a3521c5f29cf +timeCreated: 1517558732 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Scripts/VariableTypes/SpriteVariable.cs b/Assets/Fungus/Scripts/VariableTypes/SpriteVariable.cs index fb59cc47..dc0afbec 100644 --- a/Assets/Fungus/Scripts/VariableTypes/SpriteVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/SpriteVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -14,41 +14,6 @@ namespace Fungus [System.Serializable] public class SpriteVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign }; - - public virtual bool Evaluate(CompareOperator compareOperator, Sprite value) - { - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = Value == value; - break; - case CompareOperator.NotEquals: - condition = Value != value; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; - } - - public override void Apply(SetOperator setOperator, Sprite value) - { - switch (setOperator) - { - case SetOperator.Assign: - Value = value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; - } - } } /// @@ -85,7 +50,7 @@ namespace Fungus { if (spriteRef == null) { - return spriteVal.ToString(); + return spriteVal != null ? spriteVal.ToString() : "Null"; } else { diff --git a/Assets/Fungus/Scripts/VariableTypes/StringVariable.cs b/Assets/Fungus/Scripts/VariableTypes/StringVariable.cs index b9443aa1..1f18f122 100644 --- a/Assets/Fungus/Scripts/VariableTypes/StringVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/StringVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -13,44 +13,6 @@ namespace Fungus [System.Serializable] public class StringVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign }; - - public virtual bool Evaluate(CompareOperator compareOperator, string stringValue) - { - string lhs = Value; - string rhs = stringValue; - - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = lhs == rhs; - break; - case CompareOperator.NotEquals: - condition = lhs != rhs; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; - } - - public override void Apply(SetOperator setOperator, string value) - { - switch (setOperator) - { - case SetOperator.Assign: - Value = value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; - } - } } /// @@ -93,7 +55,7 @@ namespace Fungus { if (stringRef == null) { - return stringVal; + return stringVal != null ? stringVal : string.Empty; } else { @@ -143,7 +105,7 @@ namespace Fungus { if (stringRef == null) { - return stringVal; + return stringVal != null ? stringVal : string.Empty; } else { diff --git a/Assets/Fungus/Scripts/VariableTypes/TextureVariable.cs b/Assets/Fungus/Scripts/VariableTypes/TextureVariable.cs index 54d6e921..b11a1242 100644 --- a/Assets/Fungus/Scripts/VariableTypes/TextureVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/TextureVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -14,41 +14,6 @@ namespace Fungus [System.Serializable] public class TextureVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign }; - - public virtual bool Evaluate(CompareOperator compareOperator, Texture value) - { - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = Value == value; - break; - case CompareOperator.NotEquals: - condition = Value != value; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; - } - - public override void Apply(SetOperator setOperator, Texture value) - { - switch (setOperator) - { - case SetOperator.Assign: - Value = value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; - } - } } /// @@ -85,7 +50,7 @@ namespace Fungus { if (textureRef == null) { - return textureVal.ToString(); + return textureVal != null ? textureVal.ToString() : "Null"; } else { diff --git a/Assets/Fungus/Scripts/VariableTypes/TransformVariable.cs b/Assets/Fungus/Scripts/VariableTypes/TransformVariable.cs index 19a17232..b8eb6746 100644 --- a/Assets/Fungus/Scripts/VariableTypes/TransformVariable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/TransformVariable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -14,41 +14,6 @@ namespace Fungus [System.Serializable] public class TransformVariable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign }; - - public virtual bool Evaluate(CompareOperator compareOperator, Transform value) - { - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = Value == value; - break; - case CompareOperator.NotEquals: - condition = Value != value; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; - } - - public override void Apply(SetOperator setOperator, Transform value) - { - switch (setOperator) - { - case SetOperator.Assign: - Value = value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; - } - } } /// @@ -85,7 +50,7 @@ namespace Fungus { if (transformRef == null) { - return transformVal.ToString(); + return transformVal != null ? transformVal.ToString() : "Null"; } else { diff --git a/Assets/Fungus/Scripts/VariableTypes/Vector2Variable.cs b/Assets/Fungus/Scripts/VariableTypes/Vector2Variable.cs index 6b9c3893..bae3b26d 100644 --- a/Assets/Fungus/Scripts/VariableTypes/Vector2Variable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/Vector2Variable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -14,45 +14,45 @@ namespace Fungus [System.Serializable] public class Vector2Variable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign, SetOperator.Add, SetOperator.Subtract }; - - public virtual bool Evaluate(CompareOperator compareOperator, Vector2 value) + public override bool IsArithmeticSupported(SetOperator setOperator) { - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = Value == value; - break; - case CompareOperator.NotEquals: - condition = Value != value; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; + return true; } public override void Apply(SetOperator setOperator, Vector2 value) { switch (setOperator) { - case SetOperator.Assign: - Value = value; - break; - case SetOperator.Add: - Value += value; - break; - case SetOperator.Subtract: - Value -= value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; + case SetOperator.Negate: + Value = Value * -1; + break; + case SetOperator.Add: + Value += value; + break; + case SetOperator.Subtract: + Value -= value; + break; + case SetOperator.Multiply: +#if UNITY_2019_2_OR_NEWER + Value *= value; +#else + var tmpM = Value; + tmpM.Scale(value); + Value = tmpM; +#endif + break; + case SetOperator.Divide: +#if UNITY_2019_2_OR_NEWER + Value /= value; +#else + var tmpD = Value; + tmpD.Scale(new Vector2(1.0f / value.x, 1.0f / value.y)); + Value = tmpD; +#endif + break; + default: + base.Apply(setOperator, value); + break; } } } diff --git a/Assets/Fungus/Scripts/VariableTypes/Vector3Variable.cs b/Assets/Fungus/Scripts/VariableTypes/Vector3Variable.cs index 4735fe38..bb495585 100644 --- a/Assets/Fungus/Scripts/VariableTypes/Vector3Variable.cs +++ b/Assets/Fungus/Scripts/VariableTypes/Vector3Variable.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; @@ -14,45 +14,37 @@ namespace Fungus [System.Serializable] public class Vector3Variable : VariableBase { - public static readonly CompareOperator[] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }; - public static readonly SetOperator[] setOperators = { SetOperator.Assign, SetOperator.Add, SetOperator.Subtract }; - - public virtual bool Evaluate(CompareOperator compareOperator, Vector3 value) + public override bool IsArithmeticSupported(SetOperator setOperator) { - bool condition = false; - - switch (compareOperator) - { - case CompareOperator.Equals: - condition = Value == value; - break; - case CompareOperator.NotEquals: - condition = Value != value; - break; - default: - Debug.LogError("The " + compareOperator.ToString() + " comparison operator is not valid."); - break; - } - - return condition; + return true; } public override void Apply(SetOperator setOperator, Vector3 value) { + Vector3 local = Value; + switch (setOperator) { - case SetOperator.Assign: - Value = value; - break; - case SetOperator.Add: - Value += value; - break; - case SetOperator.Subtract: - Value -= value; - break; - default: - Debug.LogError("The " + setOperator.ToString() + " set operator is not valid."); - break; + case SetOperator.Negate: + Value = Value * -1; + break; + case SetOperator.Add: + Value += value; + break; + case SetOperator.Subtract: + Value -= value; + break; + case SetOperator.Multiply: + local.Scale(value); + Value = local; + break; + case SetOperator.Divide: + local.Scale(new Vector3(1.0f / value.x, 1.0f / value.y, 1.0f / value.z)); + Value = local; + break; + default: + base.Apply(setOperator, value); + break; } } } diff --git a/Assets/Fungus/Scripts/VariableTypes/Vector4Variable.cs b/Assets/Fungus/Scripts/VariableTypes/Vector4Variable.cs new file mode 100644 index 00000000..79fd37b6 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Vector4Variable.cs @@ -0,0 +1,100 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEngine; + +namespace Fungus +{ + /// + /// Vector4 variable type. + /// + [VariableInfo("Other", "Vector4")] + [AddComponentMenu("")] + [System.Serializable] + public class Vector4Variable : VariableBase + { + public override bool IsArithmeticSupported(SetOperator setOperator) + { + return true; + } + + public override void Apply(SetOperator setOperator, Vector4 value) + { + Vector4 local = Value; + + switch (setOperator) + { + case SetOperator.Negate: + Value = Value * -1; + break; + + case SetOperator.Add: + Value += value; + break; + + case SetOperator.Subtract: + Value -= value; + break; + + case SetOperator.Multiply: + local.Scale(value); + Value = local; + break; + + case SetOperator.Divide: + local.Scale(new Vector4(1.0f / value.x, 1.0f / value.y, 1.0f / value.z, 1.0f / value.w)); + Value = local; + break; + + default: + base.Apply(setOperator, value); + break; + } + } + } + + /// + /// Container for a Vector4 variable reference or constant value. + /// + [System.Serializable] + public struct Vector4Data + { + [SerializeField] + [VariableProperty("", typeof(Vector4Variable))] + public Vector4Variable vector4Ref; + + [SerializeField] + public UnityEngine.Vector4 vector4Val; + + public static implicit operator UnityEngine.Vector4(Vector4Data Vector4Data) + { + return Vector4Data.Value; + } + + public Vector4Data(UnityEngine.Vector4 v) + { + vector4Val = v; + vector4Ref = null; + } + + public UnityEngine.Vector4 Value + { + get { return (vector4Ref == null) ? vector4Val : vector4Ref.Value; } + set { if (vector4Ref == null) { vector4Val = value; } else { vector4Ref.Value = value; } } + } + + public string GetDescription() + { + if (vector4Ref == null) + { + return vector4Val.ToString(); + } + else + { + return vector4Ref.Key; + } + } + } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/VariableTypes/Vector4Variable.cs.meta b/Assets/Fungus/Scripts/VariableTypes/Vector4Variable.cs.meta new file mode 100644 index 00000000..a78c8d79 --- /dev/null +++ b/Assets/Fungus/Scripts/VariableTypes/Vector4Variable.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 516fbed763cd80c44835637e64a1da18 +timeCreated: 1517559329 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/ExecuteHandler.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/ExecuteHandler.cs index abe5dfca..65680b9e 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/ExecuteHandler.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/ExecuteHandler.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // Adapted from the Unity Test Tools project (MIT license) diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/InfoText.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/InfoText.cs index a3b87a06..692d8c6d 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/InfoText.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/InfoText.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaBindings.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaBindings.cs index fdd145a8..093e8b86 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaBindings.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaBindings.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaEnvironment.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaEnvironment.cs index 3ddb4119..877e8e14 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaEnvironment.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaEnvironment.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaEnvironmentInitializer.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaEnvironmentInitializer.cs index cfd877d2..b3af302f 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaEnvironmentInitializer.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaEnvironmentInitializer.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaScript.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaScript.cs index d6ea5c49..d6df8cf5 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaScript.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaScript.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaStore.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaStore.cs index f2428fb9..6d747eef 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaStore.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaStore.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaUtils.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaUtils.cs index 4396c024..347423bc 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaUtils.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaUtils.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/DropDownControl.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/DropDownControl.cs index 8fd9ad9e..92e943da 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/DropDownControl.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/DropDownControl.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // Adapted from the Unity Test Tools project (MIT license) @@ -11,7 +11,7 @@ using UnityEngine; namespace Fungus { [Serializable] - internal class DropDownControl + public class DropDownControl { private readonly GUILayoutOption[] m_ButtonLayoutOptions = { GUILayout.ExpandWidth(true) }; public Func convertForButtonLabel = s => s.ToString(); diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/ExecuteHandlerEditor.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/ExecuteHandlerEditor.cs index aec4ee42..5e675a42 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/ExecuteHandlerEditor.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/ExecuteHandlerEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // Adapted from the Unity Test Tools project (MIT license) diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaBindingsEditor.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaBindingsEditor.cs index 92642edb..0b6a60ca 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaBindingsEditor.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaBindingsEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaScriptEditor.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaScriptEditor.cs index 655610e0..756cadd1 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaScriptEditor.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaScriptEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs index 27c3e2f0..a50b2b83 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaUtilsEditor.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaUtilsEditor.cs index 09d46182..6a9dfad6 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaUtilsEditor.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaUtilsEditor.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs index 51026555..f1bcd061 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Interfaces/IExecuteHandlerConfigurator.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Interfaces/IExecuteHandlerConfigurator.cs index 51dca432..8a740daa 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Interfaces/IExecuteHandlerConfigurator.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Interfaces/IExecuteHandlerConfigurator.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) namespace Fungus diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Interfaces/IStringSubstituter.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Interfaces/IStringSubstituter.cs index 6080f70d..54fb36cb 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Interfaces/IStringSubstituter.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Interfaces/IStringSubstituter.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using System.Text; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/FungusPrefs.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/FungusPrefs.cs index b514528f..96f81966 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/FungusPrefs.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/FungusPrefs.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/LuaScriptLoader.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/LuaScriptLoader.cs index 3b4ac69c..e7ed35ad 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/LuaScriptLoader.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/LuaScriptLoader.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/PODTypeFactory.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/PODTypeFactory.cs index 421c50e4..ff4b9f8c 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/PODTypeFactory.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/PODTypeFactory.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/StringSubstituter.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/StringSubstituter.cs index 1049ab96..aa2c3c56 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/StringSubstituter.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Utils/StringSubstituter.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/Editor.meta b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/Editor.meta new file mode 100644 index 00000000..fed629dd --- /dev/null +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/Editor.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 1 +guid: 6b700d54458b2824c934e039a95c468c diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/Editor/JSONChecker.cs b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/Editor/JSONChecker.cs new file mode 100644 index 00000000..6dba81a2 --- /dev/null +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/Editor/JSONChecker.cs @@ -0,0 +1,103 @@ +//#define PERFTEST //For testing performance of parse/stringify. Turn on editor profiling to see how we're doing + +using UnityEngine; +using UnityEditor; +#if UNITY_2017_1_OR_NEWER +using UnityEngine.Networking; +#endif + +/* +Copyright (c) 2010-2019 Matt Schoen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +public class JSONChecker : EditorWindow { + string JSON = @"{ + ""TestObject"": { + ""SomeText"": ""Blah"", + ""SomeObject"": { + ""SomeNumber"": 42, + ""SomeFloat"": 13.37, + ""SomeBool"": true, + ""SomeNull"": null + }, + + ""SomeEmptyObject"": { }, + ""SomeEmptyArray"": [ ], + ""EmbeddedObject"": ""{\""field\"":\""Value with \\\""escaped quotes\\\""\""}"" + } +}"; //dat string literal... + string URL = ""; + JSONObject j; + [MenuItem("Window/JSONChecker")] + static void Init() { + GetWindow(typeof(JSONChecker)); + } + void OnGUI() { + JSON = EditorGUILayout.TextArea(JSON); + GUI.enabled = !string.IsNullOrEmpty(JSON); + if(GUILayout.Button("Check JSON")) { +#if PERFTEST + Profiler.BeginSample("JSONParse"); + j = JSONObject.Create(JSON); + Profiler.EndSample(); + Profiler.BeginSample("JSONStringify"); + j.ToString(true); + Profiler.EndSample(); +#else + j = JSONObject.Create(JSON); +#endif + Debug.Log(j.ToString(true)); + } + EditorGUILayout.Separator(); + URL = EditorGUILayout.TextField("URL", URL); + if (GUILayout.Button("Get JSON")) { + Debug.Log(URL); +#if UNITY_2017_1_OR_NEWER + var test = new UnityWebRequest(URL); + test.SendWebRequest(); + while (!test.isDone && !test.isNetworkError) ; +#else + var test = new WWW(URL); + while (!test.isDone) ; +#endif + if (!string.IsNullOrEmpty(test.error)) { + Debug.Log(test.error); + } else { +#if UNITY_2017_1_OR_NEWER + var text = test.downloadHandler.text; +#else + var text = test.text; +#endif + Debug.Log(text); + j = new JSONObject(text); + Debug.Log(j.ToString(true)); + } + } + if(j) { + //Debug.Log(System.GC.GetTotalMemory(false) + ""); + if(j.type == JSONObject.Type.NULL) + GUILayout.Label("JSON fail:\n" + j.ToString(true)); + else + GUILayout.Label("JSON success:\n" + j.ToString(true)); + + } + } +} diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/Editor/JSONChecker.cs.meta b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/Editor/JSONChecker.cs.meta new file mode 100644 index 00000000..d7190cb3 --- /dev/null +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/Editor/JSONChecker.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 1 +guid: 6c5a625d29393ed4da8d9150a629fb35 diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/JSONObject.cs b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/JSONObject.cs index fcdd0f92..4b0f245f 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/JSONObject.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/JSONObject.cs @@ -1,12 +1,9 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). -// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) - #define PRETTY //Comment out when you no longer need to read JSON to disable pretty Print system-wide //Using doubles will cause errors in VectorTemplates.cs; Unity speaks floats #define USEFLOAT //Use floats for numbers instead of doubles (enable if you're getting too many significant digits in string output) //#define POOLING //Currently using a build setting for this one (also it's experimental) -#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 +#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 || UNITY_5_3_OR_NEWER using UnityEngine; using Debug = UnityEngine.Debug; #endif @@ -14,19 +11,30 @@ using System.Diagnostics; using System.Collections; using System.Collections.Generic; using System.Text; -using MoonSharp.Interpreter.Diagnostics.PerformanceCounters; +using System.Globalization; /* - * http://www.opensource.org/licenses/lgpl-2.1.php - * JSONObject class v.1.4.1 - * for use with Unity - * Copyright Matt Schoen 2010 - 2013 - */ +Copyright (c) 2010-2019 Matt Schoen -// Added to Fungus namespace to minimize conflicts with other assets -namespace Fungus -{ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -public class JSONObject { +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +public class JSONObject : IEnumerable { #if POOLING const int MAX_POOL_SIZE = 10000; public static Queue releaseQueue = new Queue(); @@ -229,10 +237,10 @@ public class JSONObject { /// Create a JSONObject by parsing string data /// /// The string to be parsed - /// The maximum depth for the parser to search. Set this to to 1 for the first level, + /// The maximum depth for the parser to search. Set this to to 1 for the first level, /// 2 for the first 2 levels, etc. It defaults to -2 because -1 is the depth value that is parsed (see below) /// Whether to store levels beyond maxDepth in baked JSONObjects - /// Whether to be strict in the parsing. For example, non-strict parsing will successfully + /// Whether to be strict in the parsing. For example, non-strict parsing will successfully /// parse "a string" into a string-type /// public static JSONObject Create(string val, int maxDepth = -2, bool storeExcessLevels = false, bool strict = false) { @@ -268,7 +276,7 @@ public class JSONObject { if(strict) { if(str[0] != '[' && str[0] != '{') { type = Type.NULL; -#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 +#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 || UNITY_5_3_OR_NEWER Debug.LogWarning #else Debug.WriteLine @@ -346,18 +354,18 @@ public class JSONObject { default: try { #if USEFLOAT - n = System.Convert.ToSingle(str); + n = System.Convert.ToSingle(str, CultureInfo.InvariantCulture); #else - n = System.Convert.ToDouble(str); + n = System.Convert.ToDouble(str, CultureInfo.InvariantCulture); #endif if(!str.Contains(".")) { - i = System.Convert.ToInt64(str); + i = System.Convert.ToInt64(str, CultureInfo.InvariantCulture); useInt = true; } type = Type.NUMBER; } catch(System.FormatException) { type = Type.NULL; -#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 +#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 || UNITY_5_3_OR_NEWER Debug.LogWarning #else Debug.WriteLine @@ -410,7 +418,7 @@ public class JSONObject { if(type == Type.OBJECT) keys.Add(propName); if(maxDepth != -1) //maxDepth of -1 is the end of the line - list.Add(Create(inner, (maxDepth < -1) ? -2 : maxDepth - 1)); + list.Add(Create(inner, (maxDepth < -1) ? -2 : maxDepth - 1, storeExcessLevels)); else if(storeExcessLevels) list.Add(CreateBakedObject(inner)); @@ -436,6 +444,9 @@ public class JSONObject { public void Add(float val) { Add(Create(val)); } + public void Add(long val) { + Add(Create(val)); + } public void Add(int val) { Add(Create(val)); } @@ -480,7 +491,7 @@ public class JSONObject { keys = new List(); if(type == Type.ARRAY) { for(int i = 0; i < list.Count; i++) - keys.Add(i + ""); + keys.Add(i.ToString(CultureInfo.InvariantCulture)); } else if(list == null) list = new List(); @@ -493,6 +504,7 @@ public class JSONObject { public void SetField(string name, string val) { SetField(name, CreateStringObject(val)); } public void SetField(string name, bool val) { SetField(name, Create(val)); } public void SetField(string name, float val) { SetField(name, Create(val)); } + public void SetField(string name, long val) { SetField(name, Create(val)); } public void SetField(string name, int val) { SetField(name, Create(val)); } public void SetField(string name, JSONObject obj) { if(HasField(name)) { @@ -555,7 +567,7 @@ public class JSONObject { if(IsObject) { int index = keys.IndexOf(name); if(index >= 0) { - field = (int)list[index].n; + field = (int)list[index].i; return true; } } @@ -570,7 +582,7 @@ public class JSONObject { if(IsObject) { int index = keys.IndexOf(name); if(index >= 0) { - field = (long)list[index].n; + field = (long)list[index].i; return true; } } @@ -585,7 +597,7 @@ public class JSONObject { if(IsObject) { int index = keys.IndexOf(name); if(index >= 0) { - field = (uint)list[index].n; + field = (uint)list[index].i; return true; } } @@ -688,7 +700,7 @@ public class JSONObject { } } else if(left.type == Type.ARRAY && right.type == Type.ARRAY) { if(right.Count > left.Count) { -#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 +#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 || UNITY_5_3_OR_NEWER Debug.LogError #else Debug.WriteLine @@ -733,11 +745,9 @@ public class JSONObject { } public IEnumerable PrintAsync(bool pretty = false) { StringBuilder builder = new StringBuilder(); -#if !NETFX_CORE - printWatch.Reset(); + printWatch.Reset(); printWatch.Start(); -#endif - foreach(IEnumerable e in StringifyAsync(0, builder, pretty)) { + foreach(IEnumerable e in StringifyAsync(0, builder, pretty)) { yield return null; } yield return builder.ToString(); @@ -749,7 +759,7 @@ public class JSONObject { IEnumerable StringifyAsync(int depth, StringBuilder builder, bool pretty = false) { //Convert the JSONObject into a string //Profiler.BeginSample("JSONprint"); if(depth++ > MAX_DEPTH) { -#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 +#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 || UNITY_5_3_OR_NEWER Debug.Log #else Debug.WriteLine @@ -757,16 +767,12 @@ public class JSONObject { ("reached max depth!"); yield break; } - -#if !NETFX_CORE if(printWatch.Elapsed.TotalSeconds > maxFrameTime) { printWatch.Reset(); yield return null; printWatch.Start(); } -#endif - - switch(type) { + switch(type) { case Type.BAKED: builder.Append(str); break; @@ -775,7 +781,7 @@ public class JSONObject { break; case Type.NUMBER: if(useInt) { - builder.Append(i.ToString()); + builder.Append(i.ToString(CultureInfo.InvariantCulture)); } else { #if USEFLOAT if(float.IsInfinity(n)) @@ -793,13 +799,13 @@ public class JSONObject { builder.Append(NaN); #endif else - builder.Append(n.ToString()); + builder.Append(n.ToString(CultureInfo.InvariantCulture)); } break; case Type.OBJECT: builder.Append("{"); if(list.Count > 0) { -#if (PRETTY) //for a bit more readability, comment the define above to disable system-wide +#if(PRETTY) //for a bit more readability, comment the define above to disable system-wide if(pretty) builder.Append(NEWLINE); #endif @@ -807,7 +813,7 @@ public class JSONObject { string key = keys[i]; JSONObject obj = list[i]; if(obj) { -#if (PRETTY) +#if(PRETTY) if(pretty) for(int j = 0; j < depth; j++) builder.Append("\t"); //for a bit more readability @@ -816,20 +822,20 @@ public class JSONObject { foreach(IEnumerable e in obj.StringifyAsync(depth, builder, pretty)) yield return e; builder.Append(","); -#if (PRETTY) +#if(PRETTY) if(pretty) builder.Append(NEWLINE); #endif } } -#if (PRETTY) +#if(PRETTY) if(pretty) builder.Length -= 2; else #endif builder.Length--; } -#if (PRETTY) +#if(PRETTY) if(pretty && list.Count > 0) { builder.Append(NEWLINE); for(int j = 0; j < depth - 1; j++) @@ -841,13 +847,13 @@ public class JSONObject { case Type.ARRAY: builder.Append("["); if(list.Count > 0) { -#if (PRETTY) +#if(PRETTY) if(pretty) builder.Append(NEWLINE); //for a bit more readability #endif for(int i = 0; i < list.Count; i++) { if(list[i]) { -#if (PRETTY) +#if(PRETTY) if(pretty) for(int j = 0; j < depth; j++) builder.Append("\t"); //for a bit more readability @@ -855,20 +861,20 @@ public class JSONObject { foreach(IEnumerable e in list[i].StringifyAsync(depth, builder, pretty)) yield return e; builder.Append(","); -#if (PRETTY) +#if(PRETTY) if(pretty) builder.Append(NEWLINE); //for a bit more readability #endif } } -#if (PRETTY) +#if(PRETTY) if(pretty) builder.Length -= 2; else #endif builder.Length--; } -#if (PRETTY) +#if(PRETTY) if(pretty && list.Count > 0) { builder.Append(NEWLINE); for(int j = 0; j < depth - 1; j++) @@ -899,7 +905,7 @@ public class JSONObject { void Stringify(int depth, StringBuilder builder, bool pretty = false) { //Convert the JSONObject into a string //Profiler.BeginSample("JSONprint"); if(depth++ > MAX_DEPTH) { -#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 +#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 || UNITY_5_3_OR_NEWER Debug.Log #else Debug.WriteLine @@ -916,7 +922,7 @@ public class JSONObject { break; case Type.NUMBER: if(useInt) { - builder.Append(i.ToString()); + builder.Append(i.ToString(CultureInfo.InvariantCulture)); } else { #if USEFLOAT if(float.IsInfinity(n)) @@ -934,13 +940,13 @@ public class JSONObject { builder.Append(NaN); #endif else - builder.Append(n.ToString()); + builder.Append(n.ToString(CultureInfo.InvariantCulture)); } break; case Type.OBJECT: builder.Append("{"); if(list.Count > 0) { -#if (PRETTY) //for a bit more readability, comment the define above to disable system-wide +#if(PRETTY) //for a bit more readability, comment the define above to disable system-wide if(pretty) builder.Append("\n"); #endif @@ -948,7 +954,7 @@ public class JSONObject { string key = keys[i]; JSONObject obj = list[i]; if(obj) { -#if (PRETTY) +#if(PRETTY) if(pretty) for(int j = 0; j < depth; j++) builder.Append("\t"); //for a bit more readability @@ -956,20 +962,20 @@ public class JSONObject { builder.AppendFormat("\"{0}\":", key); obj.Stringify(depth, builder, pretty); builder.Append(","); -#if (PRETTY) +#if(PRETTY) if(pretty) builder.Append("\n"); #endif } } -#if (PRETTY) +#if(PRETTY) if(pretty) builder.Length -= 2; else #endif builder.Length--; } -#if (PRETTY) +#if(PRETTY) if(pretty && list.Count > 0) { builder.Append("\n"); for(int j = 0; j < depth - 1; j++) @@ -981,33 +987,33 @@ public class JSONObject { case Type.ARRAY: builder.Append("["); if(list.Count > 0) { -#if (PRETTY) +#if(PRETTY) if(pretty) builder.Append("\n"); //for a bit more readability #endif for(int i = 0; i < list.Count; i++) { if(list[i]) { -#if (PRETTY) +#if(PRETTY) if(pretty) for(int j = 0; j < depth; j++) builder.Append("\t"); //for a bit more readability #endif list[i].Stringify(depth, builder, pretty); builder.Append(","); -#if (PRETTY) +#if(PRETTY) if(pretty) builder.Append("\n"); //for a bit more readability #endif } } -#if (PRETTY) +#if(PRETTY) if(pretty) builder.Length -= 2; else #endif builder.Length--; } -#if (PRETTY) +#if(PRETTY) if(pretty && list.Count > 0) { builder.Append("\n"); for(int j = 0; j < depth - 1; j++) @@ -1028,12 +1034,12 @@ public class JSONObject { } //Profiler.EndSample(); } -#endregion -#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 + #endregion +#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 || UNITY_5_3_OR_NEWER public static implicit operator WWWForm(JSONObject obj) { WWWForm form = new WWWForm(); for(int i = 0; i < obj.list.Count; i++) { - string key = i + ""; + string key = i.ToString(CultureInfo.InvariantCulture); if(obj.type == Type.OBJECT) key = obj.keys[i]; string val = obj.list[i].ToString(); @@ -1075,10 +1081,10 @@ public class JSONObject { JSONObject val = list[i]; switch(val.type) { case Type.STRING: result.Add(keys[i], val.str); break; - case Type.NUMBER: result.Add(keys[i], val.n + ""); break; - case Type.BOOL: result.Add(keys[i], val.b + ""); break; + case Type.NUMBER: result.Add(keys[i], val.n.ToString(CultureInfo.InvariantCulture)); break; + case Type.BOOL: result.Add(keys[i], val.b.ToString(CultureInfo.InvariantCulture)); break; default: -#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 +#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 || UNITY_5_3_OR_NEWER Debug.LogWarning #else Debug.WriteLine @@ -1089,7 +1095,7 @@ public class JSONObject { } return result; } -#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 +#if UNITY_2 || UNITY_3 || UNITY_4 || UNITY_5 || UNITY_5_3_OR_NEWER Debug.Log #else Debug.WriteLine @@ -1120,6 +1126,64 @@ public class JSONObject { } } #endif + + IEnumerator IEnumerable.GetEnumerator() + { + return (IEnumerator)GetEnumerator(); + } + + public JSONObjectEnumer GetEnumerator() + { + return new JSONObjectEnumer(this); + } } +public class JSONObjectEnumer : IEnumerator +{ + public JSONObject _jobj; + + // Enumerators are positioned before the first element + // until the first MoveNext() call. + int position = -1; + + public JSONObjectEnumer(JSONObject jsonObject) + { + Debug.Assert(jsonObject.isContainer); //must be an array or object to itterate + _jobj = jsonObject; + } + + public bool MoveNext() + { + position++; + return (position < _jobj.Count); + } + + public void Reset() + { + position = -1; + } + + object IEnumerator.Current + { + get + { + return Current; + } + } + + public JSONObject Current + { + get + { + if (_jobj.IsArray) + { + return _jobj[position]; + } + else + { + string key = _jobj.keys[position]; + return _jobj[key]; + } + } + } } diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/LICENSE.md b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/LICENSE.md new file mode 100644 index 00000000..e0f1994a --- /dev/null +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/LICENSE.md @@ -0,0 +1,19 @@ +Copyright (c) 2010-2019 Matt Schoen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/LICENSE.md.meta b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/LICENSE.md.meta new file mode 100644 index 00000000..78aca4bf --- /dev/null +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/LICENSE.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d65b4117f5b5c3341947d0a81786e2cd +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/VectorTemplates.cs b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/VectorTemplates.cs new file mode 100644 index 00000000..64306a18 --- /dev/null +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/VectorTemplates.cs @@ -0,0 +1,211 @@ +using UnityEngine; + +/* +Copyright (c) 2010-2019 Matt Schoen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +public static partial class JSONTemplates { + + /* + * Vector2 + */ + public static Vector2 ToVector2(JSONObject obj) { + float x = obj["x"] ? obj["x"].f : 0; + float y = obj["y"] ? obj["y"].f : 0; + return new Vector2(x, y); + } + public static JSONObject FromVector2(Vector2 v) { + JSONObject vdata = JSONObject.obj; + if(v.x != 0) vdata.AddField("x", v.x); + if(v.y != 0) vdata.AddField("y", v.y); + return vdata; + } + /* + * Vector3 + */ + public static JSONObject FromVector3(Vector3 v) { + JSONObject vdata = JSONObject.obj; + if(v.x != 0) vdata.AddField("x", v.x); + if(v.y != 0) vdata.AddField("y", v.y); + if(v.z != 0) vdata.AddField("z", v.z); + return vdata; + } + public static Vector3 ToVector3(JSONObject obj) { + float x = obj["x"] ? obj["x"].f : 0; + float y = obj["y"] ? obj["y"].f : 0; + float z = obj["z"] ? obj["z"].f : 0; + return new Vector3(x, y, z); + } + /* + * Vector4 + */ + public static JSONObject FromVector4(Vector4 v) { + JSONObject vdata = JSONObject.obj; + if(v.x != 0) vdata.AddField("x", v.x); + if(v.y != 0) vdata.AddField("y", v.y); + if(v.z != 0) vdata.AddField("z", v.z); + if(v.w != 0) vdata.AddField("w", v.w); + return vdata; + } + public static Vector4 ToVector4(JSONObject obj) { + float x = obj["x"] ? obj["x"].f : 0; + float y = obj["y"] ? obj["y"].f : 0; + float z = obj["z"] ? obj["z"].f : 0; + float w = obj["w"] ? obj["w"].f : 0; + return new Vector4(x, y, z, w); + } + /* + * Matrix4x4 + */ + public static JSONObject FromMatrix4x4(Matrix4x4 m) { + JSONObject mdata = JSONObject.obj; + if(m.m00 != 0) mdata.AddField("m00", m.m00); + if(m.m01 != 0) mdata.AddField("m01", m.m01); + if(m.m02 != 0) mdata.AddField("m02", m.m02); + if(m.m03 != 0) mdata.AddField("m03", m.m03); + if(m.m10 != 0) mdata.AddField("m10", m.m10); + if(m.m11 != 0) mdata.AddField("m11", m.m11); + if(m.m12 != 0) mdata.AddField("m12", m.m12); + if(m.m13 != 0) mdata.AddField("m13", m.m13); + if(m.m20 != 0) mdata.AddField("m20", m.m20); + if(m.m21 != 0) mdata.AddField("m21", m.m21); + if(m.m22 != 0) mdata.AddField("m22", m.m22); + if(m.m23 != 0) mdata.AddField("m23", m.m23); + if(m.m30 != 0) mdata.AddField("m30", m.m30); + if(m.m31 != 0) mdata.AddField("m31", m.m31); + if(m.m32 != 0) mdata.AddField("m32", m.m32); + if(m.m33 != 0) mdata.AddField("m33", m.m33); + return mdata; + } + public static Matrix4x4 ToMatrix4x4(JSONObject obj) { + Matrix4x4 result = new Matrix4x4(); + if(obj["m00"]) result.m00 = obj["m00"].f; + if(obj["m01"]) result.m01 = obj["m01"].f; + if(obj["m02"]) result.m02 = obj["m02"].f; + if(obj["m03"]) result.m03 = obj["m03"].f; + if(obj["m10"]) result.m10 = obj["m10"].f; + if(obj["m11"]) result.m11 = obj["m11"].f; + if(obj["m12"]) result.m12 = obj["m12"].f; + if(obj["m13"]) result.m13 = obj["m13"].f; + if(obj["m20"]) result.m20 = obj["m20"].f; + if(obj["m21"]) result.m21 = obj["m21"].f; + if(obj["m22"]) result.m22 = obj["m22"].f; + if(obj["m23"]) result.m23 = obj["m23"].f; + if(obj["m30"]) result.m30 = obj["m30"].f; + if(obj["m31"]) result.m31 = obj["m31"].f; + if(obj["m32"]) result.m32 = obj["m32"].f; + if(obj["m33"]) result.m33 = obj["m33"].f; + return result; + } + /* + * Quaternion + */ + public static JSONObject FromQuaternion(Quaternion q) { + JSONObject qdata = JSONObject.obj; + if(q.w != 0) qdata.AddField("w", q.w); + if(q.x != 0) qdata.AddField("x", q.x); + if(q.y != 0) qdata.AddField("y", q.y); + if(q.z != 0) qdata.AddField("z", q.z); + return qdata; + } + public static Quaternion ToQuaternion(JSONObject obj) { + float x = obj["x"] ? obj["x"].f : 0; + float y = obj["y"] ? obj["y"].f : 0; + float z = obj["z"] ? obj["z"].f : 0; + float w = obj["w"] ? obj["w"].f : 0; + return new Quaternion(x, y, z, w); + } + /* + * Color + */ + public static JSONObject FromColor(Color c) { + JSONObject cdata = JSONObject.obj; + if(c.r != 0) cdata.AddField("r", c.r); + if(c.g != 0) cdata.AddField("g", c.g); + if(c.b != 0) cdata.AddField("b", c.b); + if(c.a != 0) cdata.AddField("a", c.a); + return cdata; + } + public static Color ToColor(JSONObject obj) { + Color c = new Color(); + for(int i = 0; i < obj.Count; i++) { + switch(obj.keys[i]) { + case "r": c.r = obj[i].f; break; + case "g": c.g = obj[i].f; break; + case "b": c.b = obj[i].f; break; + case "a": c.a = obj[i].f; break; + } + } + return c; + } + /* + * Layer Mask + */ + public static JSONObject FromLayerMask(LayerMask l) { + JSONObject result = JSONObject.obj; + result.AddField("value", l.value); + return result; + } + public static LayerMask ToLayerMask(JSONObject obj) { + LayerMask l = new LayerMask {value = (int)obj["value"].n}; + return l; + } + public static JSONObject FromRect(Rect r) { + JSONObject result = JSONObject.obj; + if(r.x != 0) result.AddField("x", r.x); + if(r.y != 0) result.AddField("y", r.y); + if(r.height != 0) result.AddField("height", r.height); + if(r.width != 0) result.AddField("width", r.width); + return result; + } + public static Rect ToRect(JSONObject obj) { + Rect r = new Rect(); + for(int i = 0; i < obj.Count; i++) { + switch(obj.keys[i]) { + case "x": r.x = obj[i].f; break; + case "y": r.y = obj[i].f; break; + case "height": r.height = obj[i].f; break; + case "width": r.width = obj[i].f; break; + } + } + return r; + } + public static JSONObject FromRectOffset(RectOffset r) { + JSONObject result = JSONObject.obj; + if(r.bottom != 0) result.AddField("bottom", r.bottom); + if(r.left != 0) result.AddField("left", r.left); + if(r.right != 0) result.AddField("right", r.right); + if(r.top != 0) result.AddField("top", r.top); + return result; + } + public static RectOffset ToRectOffset(JSONObject obj) { + RectOffset r = new RectOffset(); + for(int i = 0; i < obj.Count; i++) { + switch(obj.keys[i]) { + case "bottom": r.bottom = (int)obj[i].n; break; + case "left": r.left = (int)obj[i].n; break; + case "right": r.right = (int)obj[i].n; break; + case "top": r.top = (int)obj[i].n; break; + } + } + return r; + } +} diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/VectorTemplates.cs.meta b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/VectorTemplates.cs.meta new file mode 100644 index 00000000..39416bbb --- /dev/null +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/VectorTemplates.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 1 +guid: 886fb4d7a67d4ce4bb7f51bcc38e20c1 diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.md b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.md new file mode 100644 index 00000000..ea3588ea --- /dev/null +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.md @@ -0,0 +1,192 @@ +# Author + + Matt Schoen of [Defective Studios](http://www.defectivestudios.com) + + +# Intro + +I came across the need to send structured data to and from a server on one of my projects, and figured it would be worth my while to use JSON. When I looked into the issue, I tried a few of the C# implementations listed on http://json.org, but found them to be too complicated to work with and expand upon. So, I've written a very simple JSONObject class, which can be generically used to encode/decode data into a simple container. This page assumes that you know what JSON is, and how it works. It's rather simple, just go to json.org for a visual description of the encoding format. + +As an aside, this class is pretty central to the AssetCloud content management system, from Defective Studios. + +> **Update:** The code has been updated to version 1.4 to incorporate user-submitted patches and bug reports. This fixes issues dealing with whitespace in the format, as well as empty arrays and objects, and escaped quotes within strings. + + +# Usage + +Users should not have to modify the JSONObject class themselves, and must follow the very simple proceedures outlined below: + +Sample data (in JSON format): +```JSON +{ + "TestObject": { + "SomeText": "Blah", + "SomeObject": { + "SomeNumber": 42, + "SomeBool": true, + "SomeNull": null + }, + + "SomeEmptyObject": { }, + "SomeEmptyArray": [ ], + "EmbeddedObject": "{\"field\":\"Value with \\\"escaped quotes\\\"\"}" + } +} +``` + +## Features + +* Decode JSON-formatted strings into a usable data structure +* Encode structured data into a JSON-formatted string +* Interoperable with `Dictionary` and `WWWForm` +* Optimized `parse`/`stringify` functions -- minimal (unavoidable) garbage creation +* Asynchronous `stringify` function for serializing lots of data without frame drops +* `MaxDepth` parsing will skip over nested data that you don't need +* Special (non-compliant) `Baked` object type can store stringified data within parsed objects +* Copy to new `JSONObject` +* Merge with another `JSONObject` (experimental) +* Random access (with `int` or `string`) +* `ToString()` returns JSON data with optional "pretty" flag to include newlines and tabs +* Switch between double and float for numeric storage depending on level of precision needed (and to ensure that numbers are parsed/stringified correctly) +* Supports `Infinity` and `NaN` values +* `JSONTemplates` static class provides serialization functions for common classes like `Vector3`, `Matrix4x4` +* Object pool implementation (experimental) +* Handy `JSONChecker` window to test parsing on sample data + +It should be pretty obvious what this parser can and cannot do. If anyone reading this is a JSON buff (is there such a thing?) please feel free to expand and modify the parser to be more compliant. Currently I am using the .NET `System.Convert` namespace functions for parsing the data itself. It parses strings and numbers, which was all that I needed of it, but unless the formatting is supported by `System.Convert`, it may not incorporate all proper JSON strings. Also, having never written a JSON parser before, I don't doubt that I could improve the efficiency or correctness of the parser. It serves my purpose, and hopefully will help you with your project! Let me know if you make any improvements :) + +Also, you JSON buffs (really, who would admit to being a JSON buff...) might also notice from my feature list that this thing isn't exactly to specifications. Here is where it differs: +* "a string" is considered valid JSON. There is an optional "strict" parameter to the parser which will bomb out on such input, in case that matters to you. +* The `Baked` mode is totally made up. +* The `MaxDepth` parsing is totally made up. +* `NaN` and `Infinity` aren't officially supported by JSON ([http://stackoverflow.com/questions/1423081/json-left-out-infinity-and-nan-json-status-in-ecmascript read more] about this issue... I lol'd @ the first comment on the first answer) +* I have no idea about edge cases in my parsing strategy. I have been using this code for about 3 years now and have only had to modify the parser because other people's use cases (still valid JSON) didn't parse correctly. In my experience, anything that this code generates is parsed just fine. + + +## Encoding + +Encoding is something of a hard-coded process. This is because I have no idea what your data is! It would be great if this were some sort of interface for taking an entire class and encoding it's number/string fields, but it's not. I've come up with a few clever ways of using loops and/or recursive methods to cut down of the amount of code I have to write when I use this tool, but they're pretty project-specific. + +Note: This section used to be WRONG! And now it's OLD! Will update later... this will all still work, but there are now a couple of ways to skin this cat. + +```C# +// Note: your data can only be numbers and strings. +// This is not a solution for object serialization +// or anything like that. +JSONObject j = new JSONObject(JSONObject.Type.OBJECT); +// number +j.AddField("field1", 0.5); +// string +j.AddField("field2", "sampletext"); +// array +JSONObject arr = new JSONObject(JSONObject.Type.ARRAY); +j.AddField("field3", arr); + +arr.Add(1); +arr.Add(2); +arr.Add(3); + +string encodedString = j.print(); +``` + +NEW! The constructor, Add, and AddField functions now support a nested delegate structure. This is useful if you need to create a nested JSONObject in a single line. For example: + + +```C# +DoRequest(URL, new JSONObject(delegate(JSONObject request) { + request.AddField("sort", delegate(JSONObject sort) { + sort.AddField("_timestamp", "desc"); + }); + request.AddField("query", new JSONObject(delegate(JSONObject query) { + query.AddField("match_all", JSONObject.obj); + })); + request.AddField("fields", delegate(JSONObject fields) { + fields.Add("_timestamp"); + }); +}).ToString()); +``` + + +## Decoding + +Decoding is much simpler on the input end, and again, what you do with the `JSONObject` will vary on a per-project basis. One of the more complicated way to extract the data is with a recursive function, as drafted below. Calling the constructor with a properly formatted JSON string will return the root object (or array) containing all of its children, in one neat reference! The data is in a public `ArrayList` called `list`, with a matching key list (called `keys`!) if the root is an `Object`. If that's confusing, take a glance over the following code and the `print()` method in the `JSONObject` class. If there is an error in the JSON formatting (or if there's an error with my code!) the debug console will read "improper JSON formatting". + +```C# +string encodedString = "{\"field1\": 0.5,\"field2\": \"sampletext\",\"field3\": [1,2,3]}"; +JSONObject j = new JSONObject(encodedString); +accessData(j); +//access data (and print it) +void accessData(JSONObject obj){ + switch(obj.type){ + case JSONObject.Type.OBJECT: + for(int i = 0; i < obj.list.Count; i++){ + string key = (string)obj.keys[i]; + JSONObject j = (JSONObject)obj.list[i]; + Debug.Log(key); + accessData(j); + } + break; + case JSONObject.Type.ARRAY: + foreach(JSONObject j in obj.list){ + accessData(j); + } + break; + case JSONObject.Type.STRING: + Debug.Log(obj.str); + break; + case JSONObject.Type.NUMBER: + Debug.Log(obj.n); + break; + case JSONObject.Type.BOOL: + Debug.Log(obj.b); + break; + case JSONObject.Type.NULL: + Debug.Log("NULL"); + break; + + } +} +``` + +NEW! Decoding now also supports a delegate format which will automatically check if a field exists before processing the data, providing an optional parameter for an OnFieldNotFound response. For example: + +```C# +new JSONObject(data); +list.GetField("hits", delegate(JSONObject hits) { + hits.GetField("hits", delegate(JSONObject hits2) { + foreach (JSONObject gameSession in hits2.list) { + Debug.Log(gameSession); + } + }); +}, delegate(string name) { //"name" will be equal to the name of the missing field. In this case, "hits" + Debug.LogWarning("no game sessions"); +}); +``` + +## Not So New! `(O(n))` Random access! + +I've added a string and int [] index to the class, so you can now retrieve data as such (from above): + +```C# +JSONObject arr = obj["field3"]; +Debug.log(arr[2].n); //Should ouptut "3" +``` + +## Change Log + +### v1.4 +Big update! + +* Better GC performance. Enough of that garbage! + * Remaining culprits are internal garbage from `StringBuilder.Append`/`AppendFormat`, `String.Substring`, `List.Add`/`GrowIfNeeded`, `Single.ToString` +* Added asynchronous `Stringily` function for serializing large amounts of data at runtime without frame drops +* Added `Baked` type +* Added `MaxDepth` to parsing function +* Various cleanup refactors recommended by ReSharper + +### v1.3.2 +* Added support for `NaN` +* Added strict mode to fail on purpose for improper formatting. Right now this just means that if the parse string doesn't start with `[` or `{`, it will print a warning and return a `null` `JSONObject`. +* Changed `infinity` and `NaN` implementation to use `float` and `double` instead of `Mathf` +* Handles empty objects/arrays better +* Added a flag to print and `ToString` to turn on/off pretty print. The define on top is now an override to system-wide disable diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.md.meta b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.md.meta new file mode 100644 index 00000000..2cc3cdb1 --- /dev/null +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: db6abf22260f8db43bc7e785f129ce0b +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.txt b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.txt deleted file mode 100644 index b0e0d0bf..00000000 --- a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.txt +++ /dev/null @@ -1,188 +0,0 @@ -==Author== -[mailto:schoen@defectivestudios.com Matt Schoen] of [http://www.defectivestudios.com Defective Studios] - -==Download== -[[Media:JSONObject.zip|Download JSONObject.zip]] - -= Intro = -I came across the need to send structured data to and from a server on one of my projects, and figured it would be worth my while to use JSON. When I looked into the issue, I tried a few of the C# implementations listed on [http://json.org json.org], but found them to be too complicated to work with and expand upon. So, I've written a very simple JSONObject class, which can be generically used to encode/decode data into a simple container. This page assumes that you know what JSON is, and how it works. It's rather simple, just go to json.org for a visual description of the encoding format. - -As an aside, this class is pretty central to the [[AssetCloud]] content management system, from Defective Studios. - -Update: The code has been updated to version 1.4 to incorporate user-submitted patches and bug reports. This fixes issues dealing with whitespace in the format, as well as empty arrays and objects, and escaped quotes within strings. - -= Usage = -Users should not have to modify the JSONObject class themselves, and must follow the very simple proceedures outlined below: - -Sample data (in JSON format): - -{ - "TestObject": { - "SomeText": "Blah", - "SomeObject": { - "SomeNumber": 42, - "SomeBool": true, - "SomeNull": null - }, - - "SomeEmptyObject": { }, - "SomeEmptyArray": [ ], - "EmbeddedObject": "{\"field\":\"Value with \\\"escaped quotes\\\"\"}" - } -} - -= Features = - -*Decode JSON-formatted strings into a usable data structure -*Encode structured data into a JSON-formatted string -*Interoperable with Dictionary and WWWForm -*Optimized parse/stringify functions -- minimal (unavoidable) garbage creation -*Asynchronous stringify function for serializing lots of data without frame drops -*MaxDepth parsing will skip over nested data that you don't need -*Special (non-compliant) "Baked" object type can store stringified data within parsed objects -*Copy to new JSONObject -*Merge with another JSONObject (experimental) -*Random access (with [int] or [string]) -*ToString() returns JSON data with optional "pretty" flag to include newlines and tabs -*Switch between double and float for numeric storage depending on level of precision needed (and to ensure that numbers are parsed/stringified correctly) -*Supports Infinity and NaN values -*JSONTemplates static class provides serialization functions for common classes like Vector3, Matrix4x4 -*Object pool implementation (experimental) -*Handy JSONChecker window to test parsing on sample data - -It should be pretty obvious what this parser can and cannot do. If anyone reading this is a JSON buff (is there such a thing?) please feel free to expand and modify the parser to be more compliant. Currently I am using the .NET System.Convert namespace functions for parsing the data itself. It parses strings and numbers, which was all that I needed of it, but unless the formatting is supported by System.Convert, it may not incorporate all proper JSON strings. Also, having never written a JSON parser before, I don't doubt that I could improve the efficiency or correctness of the parser. It serves my purpose, and hopefully will help you with your project! Let me know if you make any improvements :) - -Also, you JSON buffs (really, who would admit to being a JSON buff...) might also notice from my feature list that this thing isn't exactly to specifications. Here is where it differs: -*"a string" is considered valid JSON. There is an optional "strict" parameter to the parser which will bomb out on such input, in case that matters to you. -*The "Baked" mode is totally made up. -*The "MaxDepth" parsing is totally made up. -*NaN and Infinity aren't officially supported by JSON ([http://stackoverflow.com/questions/1423081/json-left-out-infinity-and-nan-json-status-in-ecmascript read more] about this issue... I lol'd @ the first comment on the first answer) -*I have no idea about edge cases in my parsing strategy. I have been using this code for about 3 years now and have only had to modify the parser because other people's use cases (still valid JSON) didn't parse correctly. In my experience, anything that this code generates is parsed just fine. - -== Encoding == - -Encoding is something of a hard-coded process. This is because I have no idea what your data is! It would be great if this were some sort of interface for taking an entire class and encoding it's number/string fields, but it's not. I've come up with a few clever ways of using loops and/or recursive methods to cut down of the amount of code I have to write when I use this tool, but they're pretty project-specific. - -Note: This section used to be WRONG! And now it's OLD! Will update later... this will all still work, but there are now a couple of ways to skin this cat. - - -//Note: your data can only be numbers and strings. This is not a solution for object serialization or anything like that. -JSONObject j = new JSONObject(JSONObject.Type.OBJECT); -//number -j.AddField("field1", 0.5); -//string -j.AddField("field2", "sampletext"); -//array -JSONObject arr = new JSONObject(JSONObject.Type.ARRAY); -j.AddField("field3", arr); - -arr.Add(1); -arr.Add(2); -arr.Add(3); - -string encodedString = j.print(); - - -NEW! The constructor, Add, and AddField functions now support a nested delegate structure. This is useful if you need to create a nested JSONObject in a single line. For example: - -DoRequest(URL, new JSONObject(delegate(JSONObject request) { - request.AddField("sort", delegate(JSONObject sort) { - sort.AddField("_timestamp", "desc"); - }); - request.AddField("query", new JSONObject(delegate(JSONObject query) { - query.AddField("match_all", JSONObject.obj); - })); - request.AddField("fields", delegate(JSONObject fields) { - fields.Add("_timestamp"); - }); -}).ToString()); - - -== Decoding == -Decoding is much simpler on the input end, and again, what you do with the JSONObject will vary on a per-project basis. One of the more complicated way to extract the data is with a recursive function, as drafted below. Calling the constructor with a properly formatted JSON string will return the root object (or array) containing all of its children, in one neat reference! The data is in a public ArrayList called list, with a matching key list (called keys!) if the root is an Object. If that's confusing, take a glance over the following code and the print() method in the JSONOBject class. If there is an error in the JSON formatting (or if there's an error with my code!) the debug console will read "improper JSON formatting". - - - -string encodedString = "{\"field1\": 0.5,\"field2\": \"sampletext\",\"field3\": [1,2,3]}"; -JSONObject j = new JSONObject(encodedString); -accessData(j); -//access data (and print it) -void accessData(JSONObject obj){ - switch(obj.type){ - case JSONObject.Type.OBJECT: - for(int i = 0; i < obj.list.Count; i++){ - string key = (string)obj.keys[i]; - JSONObject j = (JSONObject)obj.list[i]; - Debug.Log(key); - accessData(j); - } - break; - case JSONObject.Type.ARRAY: - foreach(JSONObject j in obj.list){ - accessData(j); - } - break; - case JSONObject.Type.STRING: - Debug.Log(obj.str); - break; - case JSONObject.Type.NUMBER: - Debug.Log(obj.n); - break; - case JSONObject.Type.BOOL: - Debug.Log(obj.b); - break; - case JSONObject.Type.NULL: - Debug.Log("NULL"); - break; - - } -} - - -NEW! Decoding now also supports a delegate format which will automatically check if a field exists before processing the data, providing an optional parameter for an OnFieldNotFound response. For example: - -new JSONObject(data); -list.GetField("hits", delegate(JSONObject hits) { - hits.GetField("hits", delegate(JSONObject hits2) { - foreach (JSONObject gameSession in hits2.list) { - Debug.Log(gameSession); - } - }); -}, delegate(string name) { //"name" will be equal to the name of the missing field. In this case, "hits" - Debug.LogWarning("no game sessions"); -}); - - -===Not So New! (O(n)) Random access!=== -I've added a string and int [] index to the class, so you can now retrieve data as such (from above): - -JSONObject arr = obj["field3"]; -Debug.log(arr[2].n); //Should ouptut "3" - - ----- - ----Code omitted from readme--- - -=Change Log= -==v1.4== -Big update! -*Better GC performance. Enough of that garbage! -**Remaining culprits are internal garbage from StringBuilder.Append/AppendFormat, String.Substring, List.Add/GrowIfNeeded, Single.ToString -*Added asynchronous Stringify function for serializing large amounts of data at runtime without frame drops -*Added Baked type -*Added MaxDepth to parsing function -*Various cleanup refactors recommended by ReSharper - -==v1.3.2== -*Added support for NaN -*Added strict mode to fail on purpose for improper formatting. Right now this just means that if the parse string doesn't start with [ or {, it will print a warning and return a null JO. -*Changed infinity and NaN implementation to use float and double instead of Mathf -*Handles empty objects/arrays better -*Added a flag to print and ToString to turn on/off pretty print. The define on top is now an override to system-wide disable -==Earlier Versions== -I'll fill these in later... -[[Category:C Sharp]] -[[Category:Scripts]] -[[Category:Utility]] -[[Category:JSON]] diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.txt.meta b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.txt.meta deleted file mode 100644 index e0862032..00000000 --- a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/JSON/readme.txt.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 1 -guid: 80b692916bec1664098283aa4425e4d8 diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/TaskManager/TaskManager.cs b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/TaskManager/TaskManager.cs index c6ad78f2..fe81761c 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/TaskManager/TaskManager.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/TaskManager/TaskManager.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) /// TaskManager.cs diff --git a/Assets/FungusExamples/Collection.meta b/Assets/FungusExamples/Collection.meta new file mode 100644 index 00000000..3920dd40 --- /dev/null +++ b/Assets/FungusExamples/Collection.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f487e73c7617f544bbd1ef8bbd1f4e97 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/Collection/CollectionLoop.unity b/Assets/FungusExamples/Collection/CollectionLoop.unity new file mode 100644 index 00000000..dbac79ca --- /dev/null +++ b/Assets/FungusExamples/Collection/CollectionLoop.unity @@ -0,0 +1,2113 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 9 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 2 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &340584333 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 340584336} + - component: {fileID: 340584335} + - component: {fileID: 340584334} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &340584334 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 340584333} + m_Enabled: 1 +--- !u!20 &340584335 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 340584333} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 1 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &340584336 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 340584333} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + 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!1 &826101087 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 826101089} + - component: {fileID: 826101088} + m_Layer: 0 + m_Name: FloatCol + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &826101088 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 826101087} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f48297b98c3c1414c8e94ebe45883bb1, type: 3} + m_Name: + m_EditorClassIdentifier: + collection: + - 1 + - 2 + - 3 + - 3.14 + - 4 + - 5 +--- !u!4 &826101089 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 826101087} + 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: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &960365509 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 960365511} + - component: {fileID: 960365510} + m_Layer: 0 + m_Name: bag + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &960365510 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 960365509} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 221f0f261cfcb8a40b9f79cbc51a9148, type: 3} + m_Name: + m_EditorClassIdentifier: + collection: 0100000002000000030000000400000005000000 +--- !u!4 &960365511 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 960365509} + 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: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1071152884 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1071152886} + - component: {fileID: 1071152885} + m_Layer: 0 + m_Name: _FungusState + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1071152885 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1071152884} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} + m_Name: + m_EditorClassIdentifier: + selectedFlowchart: {fileID: 1163017699} +--- !u!4 &1071152886 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1071152884} + 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: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1163017693 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1163017700} + - component: {fileID: 1163017699} + - component: {fileID: 1163017698} + - component: {fileID: 1163017696} + - component: {fileID: 1163017695} + - component: {fileID: 1163017694} + - component: {fileID: 1163017701} + - component: {fileID: 1163017706} + - component: {fileID: 1163017704} + - component: {fileID: 1163017703} + - component: {fileID: 1163017702} + - component: {fileID: 1163017708} + - component: {fileID: 1163017707} + - component: {fileID: 1163017710} + - component: {fileID: 1163017709} + - component: {fileID: 1163017713} + - component: {fileID: 1163017712} + - component: {fileID: 1163017711} + - component: {fileID: 1163017716} + - component: {fileID: 1163017715} + - component: {fileID: 1163017714} + - component: {fileID: 1163017722} + - component: {fileID: 1163017720} + - component: {fileID: 1163017719} + - component: {fileID: 1163017718} + - component: {fileID: 1163017717} + - component: {fileID: 1163017723} + - component: {fileID: 1163017721} + - component: {fileID: 1163017705} + - component: {fileID: 1163017697} + - component: {fileID: 1163017726} + - component: {fileID: 1163017725} + - component: {fileID: 1163017724} + - component: {fileID: 1163017733} + - component: {fileID: 1163017732} + - component: {fileID: 1163017731} + - component: {fileID: 1163017730} + - component: {fileID: 1163017729} + - component: {fileID: 1163017728} + - component: {fileID: 1163017727} + m_Layer: 0 + m_Name: GameObject + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1163017694 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 2 + indentLevel: 1 + anyVar: + variable: {fileID: 1163017695} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 1 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 2 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1163017695 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: while + value: 0 +--- !u!114 &1163017696 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 663c8a7831a104d16ad7078a4dc2bd10, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 2 + anyVar: + variable: {fileID: 1163017695} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 50 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + compareOperator: 2 + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1163017697 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: de9232e9295ed476a8cfb707b5c242b9, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 24 + indentLevel: 1 + frameCount: + integerRef: {fileID: 0} + integerVal: 1 +--- !u!114 &1163017698 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 240 + y: 180 + width: 100 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: New Block + description: + eventHandler: {fileID: 1163017726} + commandList: + - {fileID: 1163017696} + - {fileID: 1163017721} + - {fileID: 1163017713} + - {fileID: 1163017711} + - {fileID: 1163017712} + - {fileID: 1163017694} + - {fileID: 1163017710} + - {fileID: 1163017701} + - {fileID: 1163017709} + suppressAllAutoSelections: 0 +--- !u!114 &1163017699 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: -48, y: -73} + variablesScrollPos: {x: 0, y: 0} + variablesExpanded: 1 + blockViewHeight: 480 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + selectedBlocks: + - {fileID: 1163017733} + selectedCommands: [] + variables: + - {fileID: 1163017695} + - {fileID: 1163017704} + - {fileID: 1163017718} + - {fileID: 1163017728} + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!4 &1163017700 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 793, y: 446, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1163017701 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 3 + indentLevel: 0 +--- !u!114 &1163017702 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 6 + indentLevel: 1 +--- !u!114 &1163017703 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b0eebb5bf2fc1e542a35e2e5332e60d4, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 0 + startingValue: + integerRef: {fileID: 0} + integerVal: 0 + endValue: + integerRef: {fileID: 0} + integerVal: 50 + counter: + integerRef: {fileID: 1163017704} + integerVal: 0 + step: + integerRef: {fileID: 0} + integerVal: 1 +--- !u!114 &1163017704 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: looprange + value: 0 +--- !u!114 &1163017705 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: de9232e9295ed476a8cfb707b5c242b9, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 23 + indentLevel: 1 + frameCount: + integerRef: {fileID: 0} + integerVal: 1 +--- !u!114 &1163017706 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 240 + y: 240 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 4 + blockName: New Block1 + description: + eventHandler: {fileID: 1163017725} + commandList: + - {fileID: 1163017703} + - {fileID: 1163017705} + - {fileID: 1163017716} + - {fileID: 1163017714} + - {fileID: 1163017702} + - {fileID: 1163017708} + - {fileID: 1163017715} + - {fileID: 1163017707} + suppressAllAutoSelections: 0 +--- !u!114 &1163017707 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2fab8abf0343545abbfebd9a7b7b34bd, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 8 + indentLevel: 0 + logType: 0 + logMessage: + stringRef: {fileID: 0} + stringVal: loop range ended @ {$looprange} +--- !u!114 &1163017708 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2fab8abf0343545abbfebd9a7b7b34bd, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 7 + indentLevel: 1 + logType: 0 + logMessage: + stringRef: {fileID: 0} + stringVal: in loop {$looprange} +--- !u!114 &1163017709 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2fab8abf0343545abbfebd9a7b7b34bd, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 10 + indentLevel: 0 + logType: 0 + logMessage: + stringRef: {fileID: 0} + stringVal: while ended {$while} +--- !u!114 &1163017710 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2fab8abf0343545abbfebd9a7b7b34bd, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 9 + indentLevel: 1 + logType: 0 + logMessage: + stringRef: {fileID: 0} + stringVal: while {$while} +--- !u!114 &1163017711 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c9b9c7a9785c34fc889da2b3a40344db, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 13 + indentLevel: 2 +--- !u!114 &1163017712 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 12 + indentLevel: 1 +--- !u!114 &1163017713 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 11 + indentLevel: 1 + anyOrAllConditions: 0 + conditions: + - compareOperator: 5 + anyVar: + variable: {fileID: 1163017695} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 5 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + compareOperator: 5 + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1163017714 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c9b9c7a9785c34fc889da2b3a40344db, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 16 + indentLevel: 2 +--- !u!114 &1163017715 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 15 + indentLevel: 0 +--- !u!114 &1163017716 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 14 + indentLevel: 1 + anyOrAllConditions: 0 + conditions: + - compareOperator: 5 + anyVar: + variable: {fileID: 1163017704} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 5 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + compareOperator: 5 + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1163017717 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2fab8abf0343545abbfebd9a7b7b34bd, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 20 + indentLevel: 1 + logType: 0 + logMessage: + stringRef: {fileID: 0} + stringVal: foreach item value = {$float_item} +--- !u!114 &1163017718 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 705fa1ac97df74e3a84ff952ffd923f1, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: float_item + value: 0 +--- !u!114 &1163017719 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 19 + indentLevel: 0 +--- !u!114 &1163017720 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1ce547d5384ce3a41b7142cab8ab41dd, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 18 + indentLevel: 0 + collection: + collectionRef: {fileID: 0} + collectionVal: {fileID: 826101088} + item: {fileID: 1163017718} + curIndex: + integerRef: {fileID: 0} + integerVal: 0 +--- !u!114 &1163017721 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: de9232e9295ed476a8cfb707b5c242b9, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 22 + indentLevel: 1 + frameCount: + integerRef: {fileID: 0} + integerVal: 1 +--- !u!114 &1163017722 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 240 + y: 300 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 17 + blockName: float looper + description: + eventHandler: {fileID: 1163017724} + commandList: + - {fileID: 1163017723} + - {fileID: 1163017720} + - {fileID: 1163017697} + - {fileID: 1163017717} + - {fileID: 1163017719} + suppressAllAutoSelections: 0 +--- !u!114 &1163017723 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 21 + indentLevel: 0 + anyVar: + variable: {fileID: 1163017718} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 1 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 3 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1163017724 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1163017722} + suppressBlockAutoSelect: 0 + waitForFrames: 3 +--- !u!114 &1163017725 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1163017706} + suppressBlockAutoSelect: 0 + waitForFrames: 2 +--- !u!114 &1163017726 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1163017698} + suppressBlockAutoSelect: 0 + waitForFrames: 1 +--- !u!114 &1163017727 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2fab8abf0343545abbfebd9a7b7b34bd, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 29 + indentLevel: 1 + logType: 0 + logMessage: + stringRef: {fileID: 0} + stringVal: 'Random Item: {$bag_item}' +--- !u!114 &1163017728 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: bag_item + value: 0 +--- !u!114 &1163017729 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 56176eef6b396a442b08b88220304436, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 28 + indentLevel: 1 + collection: + collectionRef: {fileID: 0} + collectionVal: {fileID: 960365510} + variableToUse: {fileID: 1163017728} + duplicatesToPutInBag: + integerRef: {fileID: 0} + integerVal: 5 + currentIndex: + integerRef: {fileID: 0} + integerVal: 2147483647 +--- !u!114 &1163017730 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 27 + indentLevel: 0 +--- !u!114 &1163017731 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b0eebb5bf2fc1e542a35e2e5332e60d4, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 26 + indentLevel: 0 + startingValue: + integerRef: {fileID: 0} + integerVal: 0 + endValue: + integerRef: {fileID: 0} + integerVal: 100 + counter: + integerRef: {fileID: 0} + integerVal: 0 + step: + integerRef: {fileID: 0} + integerVal: 1 +--- !u!114 &1163017732 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1163017733} + suppressBlockAutoSelect: 0 + waitForFrames: 5 +--- !u!114 &1163017733 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1163017693} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 240 + y: 360 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 25 + blockName: New Block2 + description: + eventHandler: {fileID: 1163017732} + commandList: + - {fileID: 1163017731} + - {fileID: 1163017729} + - {fileID: 1163017727} + - {fileID: 1163017730} + suppressAllAutoSelections: 0 +--- !u!1 &2029974178 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2029974182} + - component: {fileID: 2029974181} + - component: {fileID: 2029974180} + - component: {fileID: 2029974179} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &2029974179 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2029974178} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ForceModuleActive: 0 +--- !u!114 &2029974180 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2029974178} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalAxis: Horizontal + m_VerticalAxis: Vertical + m_SubmitButton: Submit + m_CancelButton: Cancel + m_InputActionsPerSecond: 10 + m_RepeatDelay: 0.5 + m_ForceModuleActive: 0 +--- !u!114 &2029974181 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2029974178} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 5 +--- !u!4 &2029974182 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2029974178} + 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: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/FungusExamples/Collection/CollectionLoop.unity.meta b/Assets/FungusExamples/Collection/CollectionLoop.unity.meta new file mode 100644 index 00000000..2057f724 --- /dev/null +++ b/Assets/FungusExamples/Collection/CollectionLoop.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 67bd479c6dc011c49a480569a7983c23 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/Collection/CollectionPhysics.unity b/Assets/FungusExamples/Collection/CollectionPhysics.unity new file mode 100644 index 00000000..95dd32a0 --- /dev/null +++ b/Assets/FungusExamples/Collection/CollectionPhysics.unity @@ -0,0 +1,7159 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 9 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &11230080 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 11230082} + - component: {fileID: 11230081} + m_Layer: 0 + m_Name: _FungusState + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &11230081 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 11230080} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} + m_Name: + m_EditorClassIdentifier: + selectedFlowchart: {fileID: 1246222936} +--- !u!4 &11230082 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 11230080} + 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: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &21451434 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 21451435} + - component: {fileID: 21451438} + - component: {fileID: 21451437} + - component: {fileID: 21451436} + m_Layer: 0 + m_Name: Cube (10) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &21451435 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 21451434} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -3.07, y: 2.21, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 10 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &21451436 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 21451434} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &21451437 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 21451434} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &21451438 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 21451434} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &21838327 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 21838328} + - component: {fileID: 21838331} + - component: {fileID: 21838330} + - component: {fileID: 21838329} + m_Layer: 0 + m_Name: Cube (30) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &21838328 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 21838327} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.8299999, y: 0.8400001, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 30 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &21838329 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 21838327} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &21838330 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 21838327} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &21838331 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 21838327} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &47038203 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 47038204} + - component: {fileID: 47038207} + - component: {fileID: 47038206} + - component: {fileID: 47038205} + m_Layer: 0 + m_Name: Cube (20) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &47038204 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 47038203} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.4499998, y: -0.14999986, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 20 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &47038205 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 47038203} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &47038206 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 47038203} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &47038207 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 47038203} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &48243586 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 48243587} + - component: {fileID: 48243590} + - component: {fileID: 48243589} + - component: {fileID: 48243588} + m_Layer: 0 + m_Name: Cube (54) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &48243587 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 48243586} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.3399999, y: -1.49, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 54 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &48243588 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 48243586} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &48243589 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 48243586} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &48243590 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 48243586} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &49064037 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 49064038} + - component: {fileID: 49064041} + - component: {fileID: 49064040} + - component: {fileID: 49064039} + m_Layer: 0 + m_Name: Cube (61) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &49064038 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 49064037} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.49999994, y: 0, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 61 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &49064039 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 49064037} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &49064040 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 49064037} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &49064041 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 49064037} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &59587197 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 59587198} + - component: {fileID: 59587201} + - component: {fileID: 59587200} + - component: {fileID: 59587199} + m_Layer: 0 + m_Name: Cube (38) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &59587198 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 59587197} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.69, y: -0.19, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 38 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &59587199 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 59587197} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &59587200 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 59587197} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &59587201 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 59587197} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &141581414 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 141581415} + - component: {fileID: 141581418} + - component: {fileID: 141581417} + - component: {fileID: 141581416} + m_Layer: 0 + m_Name: Cube + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &141581415 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 141581414} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -3.54, y: 1.68, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &141581416 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 141581414} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &141581417 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 141581414} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &141581418 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 141581414} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &167280874 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 167280875} + - component: {fileID: 167280878} + - component: {fileID: 167280877} + - component: {fileID: 167280876} + m_Layer: 0 + m_Name: Cube (47) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &167280875 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 167280874} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.18000019, y: 0.74000007, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 47 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &167280876 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 167280874} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &167280877 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 167280874} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &167280878 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 167280874} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &168935773 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 168935774} + - component: {fileID: 168935777} + - component: {fileID: 168935776} + - component: {fileID: 168935775} + m_Layer: 0 + m_Name: Cube (53) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &168935774 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 168935773} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.69000006, y: -1.1800001, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 53 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &168935775 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 168935773} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &168935776 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 168935773} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &168935777 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 168935773} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &172560605 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 172560606} + - component: {fileID: 172560609} + - component: {fileID: 172560608} + - component: {fileID: 172560607} + m_Layer: 0 + m_Name: Cube (41) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &172560606 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 172560605} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.95999986, y: 1.77, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 41 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &172560607 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 172560605} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &172560608 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 172560605} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &172560609 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 172560605} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &175082096 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 175082098} + - component: {fileID: 175082097} + m_Layer: 0 + m_Name: ColliderGameObjectCollection + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &175082097 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 175082096} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 150bd15698fd79541ace6f07d5304837, type: 3} + m_Name: + m_EditorClassIdentifier: + collection: [] +--- !u!4 &175082098 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 175082096} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &200463955 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 200463956} + - component: {fileID: 200463959} + - component: {fileID: 200463958} + - component: {fileID: 200463957} + m_Layer: 0 + m_Name: Cube (4) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &200463956 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 200463955} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -3.42, y: 0.84, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &200463957 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 200463955} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &200463958 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 200463955} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &200463959 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 200463955} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &212417815 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 212417816} + - component: {fileID: 212417819} + - component: {fileID: 212417818} + - component: {fileID: 212417817} + m_Layer: 0 + m_Name: Cube (43) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &212417816 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 212417815} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.3699999, y: 1.74, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 43 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &212417817 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 212417815} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &212417818 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 212417815} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &212417819 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 212417815} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &244773531 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 244773532} + - component: {fileID: 244773535} + - component: {fileID: 244773534} + - component: {fileID: 244773533} + m_Layer: 0 + m_Name: Cube (12) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &244773532 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 244773531} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.48, y: 2.1799998, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 12 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &244773533 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 244773531} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &244773534 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 244773531} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &244773535 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 244773531} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &266806309 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 266806310} + - component: {fileID: 266806313} + - component: {fileID: 266806312} + - component: {fileID: 266806311} + m_Layer: 0 + m_Name: Cube (33) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &266806310 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 266806309} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.68, y: 0.31, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 33 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &266806311 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 266806309} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &266806312 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 266806309} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &266806313 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 266806309} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &346647732 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 346647733} + - component: {fileID: 346647736} + - component: {fileID: 346647735} + - component: {fileID: 346647734} + m_Layer: 0 + m_Name: Cube (39) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &346647733 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 346647732} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.12999994, y: -0.6899999, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 39 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &346647734 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 346647732} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &346647735 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 346647732} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &346647736 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 346647732} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &354602044 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 354602045} + - component: {fileID: 354602048} + - component: {fileID: 354602047} + - component: {fileID: 354602046} + m_Layer: 0 + m_Name: Cube (9) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &354602045 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 354602044} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.84, y: 0.15, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 9 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &354602046 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 354602044} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &354602047 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 354602044} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &354602048 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 354602044} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &380041650 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 380041651} + - component: {fileID: 380041654} + - component: {fileID: 380041653} + - component: {fileID: 380041652} + m_Layer: 0 + m_Name: Cube (16) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &380041651 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 380041650} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.9300001, y: 1.18, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 16 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &380041652 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 380041650} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &380041653 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 380041650} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &380041654 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 380041650} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &413120541 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 413120542} + - component: {fileID: 413120545} + - component: {fileID: 413120544} + - component: {fileID: 413120543} + m_Layer: 0 + m_Name: Cube (55) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &413120542 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 413120541} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.21999997, y: -1.99, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 55 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &413120543 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 413120541} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &413120544 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 413120541} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &413120545 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 413120541} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &463005126 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 463005127} + - component: {fileID: 463005130} + - component: {fileID: 463005129} + - component: {fileID: 463005128} + m_Layer: 0 + m_Name: Cube (27) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &463005127 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 463005126} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.7499999, y: -1.68, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 27 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &463005128 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 463005126} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &463005129 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 463005126} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &463005130 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 463005126} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &479442312 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 479442313} + - component: {fileID: 479442316} + - component: {fileID: 479442315} + - component: {fileID: 479442314} + m_Layer: 0 + m_Name: Cube (65) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &479442313 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 479442312} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.6199998, y: -0.84000015, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 65 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &479442314 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 479442312} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &479442315 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 479442312} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &479442316 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 479442312} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &562837881 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 562837882} + - component: {fileID: 562837885} + - component: {fileID: 562837884} + - component: {fileID: 562837883} + m_Layer: 0 + m_Name: Cube (21) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &562837882 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 562837881} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.8899999, y: -0.65, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 21 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &562837883 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 562837881} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &562837884 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 562837881} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &562837885 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 562837881} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &583896090 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 583896091} + - component: {fileID: 583896094} + - component: {fileID: 583896093} + - component: {fileID: 583896092} + m_Layer: 0 + m_Name: Cube (46) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &583896091 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 583896090} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.37999988, y: 1.24, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 46 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &583896092 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 583896090} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &583896093 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 583896090} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &583896094 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 583896090} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &595308269 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 595308270} + - component: {fileID: 595308273} + - component: {fileID: 595308272} + - component: {fileID: 595308271} + m_Layer: 0 + m_Name: Cube (26) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &595308270 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 595308269} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.31, y: -1.18, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 26 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &595308271 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 595308269} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &595308272 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 595308269} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &595308273 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 595308269} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &620404927 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 620404928} + - component: {fileID: 620404931} + - component: {fileID: 620404930} + - component: {fileID: 620404929} + m_Layer: 0 + m_Name: Cube (48) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &620404928 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 620404927} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.37999988, y: 1.24, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 48 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &620404929 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 620404927} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &620404930 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 620404927} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &620404931 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 620404927} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &625095847 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 625095848} + - component: {fileID: 625095851} + - component: {fileID: 625095850} + - component: {fileID: 625095849} + m_Layer: 0 + m_Name: Cube (50) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &625095848 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 625095847} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.4599998, y: -0.64999986, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 50 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &625095849 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 625095847} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &625095850 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 625095847} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &625095851 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 625095847} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &639721189 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 639721190} + - component: {fileID: 639721193} + - component: {fileID: 639721192} + - component: {fileID: 639721191} + m_Layer: 0 + m_Name: Cube (15) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &639721190 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 639721189} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.39, y: 0.86999995, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 15 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &639721191 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 639721189} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &639721192 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 639721189} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &639721193 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 639721189} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &675603362 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 675603363} + - component: {fileID: 675603366} + - component: {fileID: 675603365} + - component: {fileID: 675603364} + m_Layer: 0 + m_Name: Cube (37) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &675603363 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 675603362} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.12999994, y: -0.69, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 37 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &675603364 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 675603362} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &675603365 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 675603362} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &675603366 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 675603362} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &698649180 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 698649181} + - component: {fileID: 698649184} + - component: {fileID: 698649183} + - component: {fileID: 698649182} + m_Layer: 0 + m_Name: Cube (69) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &698649181 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 698649180} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.64, y: -1.03, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 69 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &698649182 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 698649180} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &698649183 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 698649180} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &698649184 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 698649180} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &785337419 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 785337420} + - component: {fileID: 785337423} + - component: {fileID: 785337422} + - component: {fileID: 785337421} + m_Layer: 0 + m_Name: Cube (18) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &785337420 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 785337419} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.9300001, y: 1.18, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 18 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &785337421 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 785337419} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &785337422 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 785337419} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &785337423 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 785337419} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &833029526 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 833029527} + - component: {fileID: 833029530} + - component: {fileID: 833029529} + - component: {fileID: 833029528} + m_Layer: 0 + m_Name: Cube (29) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &833029527 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 833029526} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.7499999, y: -1.6799998, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 29 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &833029528 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 833029526} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &833029529 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 833029526} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &833029530 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 833029526} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &888968489 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 888968490} + - component: {fileID: 888968493} + - component: {fileID: 888968492} + - component: {fileID: 888968491} + m_Layer: 0 + m_Name: Cube (22) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &888968490 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 888968489} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.8599999, y: -0.18000007, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 22 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &888968491 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 888968489} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &888968492 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 888968489} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &888968493 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 888968489} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &892195991 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 892195992} + - component: {fileID: 892195995} + - component: {fileID: 892195994} + - component: {fileID: 892195993} + m_Layer: 0 + m_Name: Cube (34) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &892195992 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 892195991} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.71, y: 0, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 34 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &892195993 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 892195991} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &892195994 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 892195991} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &892195995 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 892195991} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &965174773 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 965174774} + - component: {fileID: 965174777} + - component: {fileID: 965174776} + - component: {fileID: 965174775} + m_Layer: 0 + m_Name: Cube (7) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &965174774 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 965174773} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.84, y: 0.15, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &965174775 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 965174773} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &965174776 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 965174773} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &965174777 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 965174773} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &998402979 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 998402980} + - component: {fileID: 998402983} + - component: {fileID: 998402982} + - component: {fileID: 998402981} + m_Layer: 0 + m_Name: Cube (25) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &998402980 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 998402979} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.77, y: -1.49, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 25 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &998402981 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 998402979} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &998402982 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 998402979} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &998402983 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 998402979} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1000386788 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1000386789} + - component: {fileID: 1000386792} + - component: {fileID: 1000386791} + - component: {fileID: 1000386790} + m_Layer: 0 + m_Name: Cube (32) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1000386789 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1000386788} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.24, y: 0.8099999, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 32 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1000386790 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1000386788} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1000386791 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1000386788} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1000386792 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1000386788} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1011099535 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1011099536} + - component: {fileID: 1011099539} + - component: {fileID: 1011099538} + - component: {fileID: 1011099537} + m_Layer: 0 + m_Name: Cube (36) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1011099536 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1011099535} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.69, y: -0.19, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 36 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1011099537 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1011099535} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1011099538 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1011099535} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1011099539 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1011099535} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1070148084 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1070148085} + - component: {fileID: 1070148088} + - component: {fileID: 1070148087} + - component: {fileID: 1070148086} + m_Layer: 0 + m_Name: Cube (14) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1070148085 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1070148084} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.95, y: 1.3699999, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 14 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1070148086 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1070148084} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1070148087 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1070148084} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1070148088 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1070148084} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1074652028 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1074652029} + - component: {fileID: 1074652032} + - component: {fileID: 1074652031} + - component: {fileID: 1074652030} + m_Layer: 0 + m_Name: Cube (56) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1074652029 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1074652028} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.68000007, y: -1.6800001, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 56 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1074652030 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1074652028} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1074652031 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1074652028} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1074652032 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1074652028} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1120521016 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1120521017} + - component: {fileID: 1120521020} + - component: {fileID: 1120521019} + - component: {fileID: 1120521018} + m_Layer: 0 + m_Name: Cube (28) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1120521017 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1120521016} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.31, y: -1.18, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 28 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1120521018 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1120521016} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1120521019 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1120521016} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1120521020 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1120521016} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1146013520 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1146013526} + - component: {fileID: 1146013521} + - component: {fileID: 1146013524} + - component: {fileID: 1146013525} + - component: {fileID: 1146013523} + - component: {fileID: 1146013522} + - component: {fileID: 1146013534} + - component: {fileID: 1146013531} + - component: {fileID: 1146013533} + - component: {fileID: 1146013528} + - component: {fileID: 1146013535} + - component: {fileID: 1146013527} + - component: {fileID: 1146013532} + - component: {fileID: 1146013530} + - component: {fileID: 1146013529} + - component: {fileID: 1146013536} + - component: {fileID: 1146013538} + - component: {fileID: 1146013537} + m_Layer: 0 + m_Name: HitDestroyFlowchart + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1146013521 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: 173.56293, y: -45.877987} + variablesScrollPos: {x: 0, y: 0} + variablesExpanded: 1 + blockViewHeight: 544 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + selectedBlocks: [] + selectedCommands: [] + variables: + - {fileID: 1146013522} + - {fileID: 1146013528} + - {fileID: 1146013527} + - {fileID: 1146013537} + description: 'Collects all gameobjects hit by a cast in a Collection. + + If they are tagged as ''Player'' and destroys them inside a Loop' + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!114 &1146013522 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4d769ea3513ad47aabf805db5252341d, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: mousePos + value: {x: 0, y: 0, z: -10} +--- !u!114 &1146013523 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 44a4b238cb3af004bbae4a6145089ea2, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + collection: + collectionRef: {fileID: 0} + collectionVal: {fileID: 175082097} + castType: 3 + position1: + vector3Ref: {fileID: 1146013522} + vector3Val: {x: 0, y: 0, z: 0} + direction: + vector3Ref: {fileID: 1146013537} + vector3Val: {x: 0, y: 0, z: 1} + maxDistance: + floatRef: {fileID: 0} + floatVal: Infinity + capsulePosition2: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + radius: + floatRef: {fileID: 0} + floatVal: 0.5 + boxHalfExtends: + vector3Ref: {fileID: 0} + vector3Val: {x: 0.5, y: 0.5, z: 0.5} + boxOrientation: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 1} + layerMask: + serializedVersion: 2 + m_Bits: 4294967295 + queryTriggerInteraction: 0 +--- !u!114 &1146013524 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 225 + y: 109 + width: 100 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: New Block + description: + eventHandler: {fileID: 1146013525} + commandList: + - {fileID: 1146013536} + - {fileID: 1146013538} + - {fileID: 1146013523} + - {fileID: 1146013535} + - {fileID: 1146013534} + - {fileID: 1146013533} + - {fileID: 1146013532} + - {fileID: 1146013529} + - {fileID: 1146013531} + - {fileID: 1146013530} + suppressAllAutoSelections: 0 +--- !u!114 &1146013525 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 000864f8e9e1748a39807861d0e60e29, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1146013524} + suppressBlockAutoSelect: 0 + keyPressType: 0 + keyCode: 323 +--- !u!4 &1146013526 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1146013527 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4580f28dd8581476b810b38eea2f1316, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: tempGOTag + value: +--- !u!114 &1146013528 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1941e052c0ed4280b25507cd2e6ad8f, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: tempGO + value: {fileID: 0} +--- !u!114 &1146013529 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d81be3d7e84da460788dccea95a3313a, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 8 + indentLevel: 2 + _targetGameObject: + gameObjectRef: {fileID: 1146013528} + gameObjectVal: {fileID: 0} + destroyInXSeconds: + floatRef: {fileID: 0} + floatVal: 0 + targetGameObjectOLD: {fileID: 0} +--- !u!114 &1146013530 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 7 + indentLevel: 0 +--- !u!114 &1146013531 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 3 + indentLevel: 1 +--- !u!114 &1146013532 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 6 + indentLevel: 1 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1146013527} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: Player + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + compareOperator: 0 + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1146013533 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 121c2a4d38c149443adb81911f0fdd61, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 4 + indentLevel: 1 + getOrSet: 0 + property: 5 + gameObjectVar: {fileID: 1146013528} + inOutVar: {fileID: 1146013527} +--- !u!114 &1146013534 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1ce547d5384ce3a41b7142cab8ab41dd, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 2 + indentLevel: 0 + collection: + collectionRef: {fileID: 0} + collectionVal: {fileID: 175082097} + item: {fileID: 1146013528} + curIndex: + integerRef: {fileID: 0} + integerVal: 0 +--- !u!114 &1146013535 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59ae026a39db9cf4d8453309fa6192db, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 0 + collection: + collectionRef: {fileID: 0} + collectionVal: {fileID: 175082097} +--- !u!114 &1146013536 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8b071472a9dcdc7469059042e2e6e50d, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 9 + indentLevel: 0 + collection: + collectionRef: {fileID: 0} + collectionVal: {fileID: 175082097} +--- !u!114 &1146013537 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4d769ea3513ad47aabf805db5252341d, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: mouseDir + value: {x: 0, y: 0, z: 0} +--- !u!114 &1146013538 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1146013520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb32240870e5bf545a0dafba446d3990, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 10 + indentLevel: 0 + screenPosition: {fileID: 0} + viewPosition: {fileID: 0} + worldPosition: {fileID: 1146013522} + worldDirection: {fileID: 1146013537} +--- !u!1 &1150441929 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1150441930} + m_Layer: 0 + m_Name: GameObject (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1150441930 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1150441929} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 141581415} + - {fileID: 2110159384} + - {fileID: 1943439920} + - {fileID: 1517215451} + - {fileID: 200463956} + - {fileID: 1288869899} + - {fileID: 1280324144} + - {fileID: 965174774} + - {fileID: 1971605045} + - {fileID: 354602045} + - {fileID: 21451435} + - {fileID: 2000822309} + - {fileID: 244773532} + - {fileID: 2133158178} + - {fileID: 1070148085} + - {fileID: 639721190} + - {fileID: 380041651} + - {fileID: 1402158850} + - {fileID: 785337420} + - {fileID: 1386460268} + - {fileID: 47038204} + - {fileID: 562837882} + - {fileID: 888968490} + - {fileID: 1553656649} + - {fileID: 1392567621} + - {fileID: 998402980} + - {fileID: 595308270} + - {fileID: 463005127} + - {fileID: 1120521017} + - {fileID: 833029527} + - {fileID: 21838328} + - {fileID: 1293744907} + - {fileID: 1000386789} + - {fileID: 266806310} + - {fileID: 892195992} + - {fileID: 2078557966} + - {fileID: 1011099536} + - {fileID: 675603363} + - {fileID: 59587198} + - {fileID: 346647733} + - {fileID: 2007306859} + - {fileID: 172560606} + - {fileID: 1561284550} + - {fileID: 212417816} + - {fileID: 1353184081} + - {fileID: 1413598539} + - {fileID: 583896091} + - {fileID: 167280875} + - {fileID: 620404928} + - {fileID: 1492071062} + - {fileID: 625095848} + - {fileID: 1490237944} + - {fileID: 1841943086} + - {fileID: 168935774} + - {fileID: 48243587} + - {fileID: 413120542} + - {fileID: 1074652029} + - {fileID: 1951729779} + - {fileID: 1389008368} + - {fileID: 1776546316} + - {fileID: 2065645411} + - {fileID: 49064038} + - {fileID: 1974131030} + - {fileID: 1574755420} + - {fileID: 1952286523} + - {fileID: 479442313} + - {fileID: 1293705304} + - {fileID: 1229256288} + - {fileID: 1850068995} + - {fileID: 698649181} + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1229256287 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1229256288} + - component: {fileID: 1229256291} + - component: {fileID: 1229256290} + - component: {fileID: 1229256289} + m_Layer: 0 + m_Name: Cube (67) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1229256288 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1229256287} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.64, y: -1.0300002, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 67 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1229256289 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1229256287} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1229256290 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1229256287} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1229256291 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1229256287} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1246222927 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1246222940} + - component: {fileID: 1246222939} + - component: {fileID: 1246222938} + - component: {fileID: 1246222937} + - component: {fileID: 1246222936} + - component: {fileID: 1246222935} + - component: {fileID: 1246222934} + - component: {fileID: 1246222933} + - component: {fileID: 1246222932} + - component: {fileID: 1246222931} + - component: {fileID: 1246222929} + - component: {fileID: 1246222928} + - component: {fileID: 1246222941} + - component: {fileID: 1246222942} + m_Layer: 0 + m_Name: Sphere + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1246222928 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dfc8e8d5ce363ec43815496d321b4d55, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 3 + indentLevel: 0 + lhs: + vector3Ref: {fileID: 1246222931} + vector3Val: {x: 0, y: 0, z: 0} + rhs: + vector3Ref: {fileID: 1246222932} + vector3Val: {x: 5, y: 5, z: 5} + output: + vector3Ref: {fileID: 1246222932} + vector3Val: {x: 0, y: 0, z: 0} + operation: 0 +--- !u!114 &1246222929 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 633bea14077b44e19956e8113fbac7a4, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: selfTrans + value: {fileID: 1246222940} +--- !u!114 &1246222931 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4d769ea3513ad47aabf805db5252341d, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: forwardOffset + value: {x: 0, y: 0, z: 5} +--- !u!114 &1246222932 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4d769ea3513ad47aabf805db5252341d, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: worldMousePos + value: {x: 0, y: 0, z: 0} +--- !u!114 &1246222933 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb32240870e5bf545a0dafba446d3990, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + screenPosition: {fileID: 0} + viewPosition: {fileID: 0} + worldPosition: {fileID: 1246222932} + worldDirection: {fileID: 1246222931} +--- !u!114 &1246222934 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2fbef54b0b0adb41ab9b447a8f3cbdb, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1246222935} + suppressBlockAutoSelect: 1 + FireOn: 1 +--- !u!114 &1246222935 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 300 + y: 60 + width: 100 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: New Block + description: + eventHandler: {fileID: 1246222934} + commandList: + - {fileID: 1246222933} + - {fileID: 1246222928} + - {fileID: 1246222941} + - {fileID: 1246222942} + suppressAllAutoSelections: 0 +--- !u!114 &1246222936 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: 0, y: 0} + variablesScrollPos: {x: 0, y: 0} + variablesExpanded: 1 + blockViewHeight: 400 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + selectedBlocks: + - {fileID: 1246222935} + selectedCommands: + - {fileID: 1246222942} + variables: + - {fileID: 1246222932} + - {fileID: 1246222931} + - {fileID: 1246222929} + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!135 &1246222937 +SphereCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1246222938 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 2bcc72af9791dfb448148e231fb8c7ee, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1246222939 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1246222940 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -7.26} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1246222941 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dfc8e8d5ce363ec43815496d321b4d55, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 4 + indentLevel: 0 + lhs: + vector3Ref: {fileID: 1246222931} + vector3Val: {x: 0, y: 0, z: 0} + rhs: + vector3Ref: {fileID: 0} + vector3Val: {x: 5, y: 5, z: 5} + output: + vector3Ref: {fileID: 1246222931} + vector3Val: {x: 0, y: 0, z: 0} + operation: 0 +--- !u!114 &1246222942 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1246222927} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2fb064de1b711a449845627f19b7f7b1, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 0 + getOrSet: 1 + property: 11 + transformData: + transformRef: {fileID: 1246222929} + transformVal: {fileID: 1246222940} + inOutVar: {fileID: 1246222932} +--- !u!1 &1280324143 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1280324144} + - component: {fileID: 1280324147} + - component: {fileID: 1280324146} + - component: {fileID: 1280324145} + m_Layer: 0 + m_Name: Cube (6) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1280324144 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1280324143} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.4, y: 0.65, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1280324145 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1280324143} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1280324146 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1280324143} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1280324147 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1280324143} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1282861084 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1282861087} + - component: {fileID: 1282861086} + - component: {fileID: 1282861085} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &1282861085 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1282861084} + m_Enabled: 1 +--- !u!20 &1282861086 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1282861084} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 1 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &1282861087 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1282861084} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + 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!1 &1288869898 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1288869899} + - component: {fileID: 1288869902} + - component: {fileID: 1288869901} + - component: {fileID: 1288869900} + m_Layer: 0 + m_Name: Cube (5) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1288869899 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1288869898} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.8600001, y: 0.33999997, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1288869900 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1288869898} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1288869901 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1288869898} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1288869902 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1288869898} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1293705303 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1293705304} + - component: {fileID: 1293705307} + - component: {fileID: 1293705306} + - component: {fileID: 1293705305} + m_Layer: 0 + m_Name: Cube (66) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1293705304 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1293705303} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.0799999, y: -0.5300002, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 66 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1293705305 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1293705303} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1293705306 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1293705303} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1293705307 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1293705303} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1293744906 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1293744907} + - component: {fileID: 1293744910} + - component: {fileID: 1293744909} + - component: {fileID: 1293744908} + m_Layer: 0 + m_Name: Cube (31) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1293744907 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1293744906} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.27, y: 0.33999997, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 31 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1293744908 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1293744906} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1293744909 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1293744906} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1293744910 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1293744906} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1353184080 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1353184081} + - component: {fileID: 1353184084} + - component: {fileID: 1353184083} + - component: {fileID: 1353184082} + m_Layer: 0 + m_Name: Cube (44) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1353184081 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1353184080} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.3999999, y: 1.4300001, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 44 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1353184082 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1353184080} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1353184083 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1353184080} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1353184084 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1353184080} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1386460267 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1386460268} + - component: {fileID: 1386460271} + - component: {fileID: 1386460270} + - component: {fileID: 1386460269} + m_Layer: 0 + m_Name: Cube (19) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1386460268 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1386460267} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.37, y: 0.68, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 19 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1386460269 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1386460267} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1386460270 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1386460267} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1386460271 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1386460267} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1389008367 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1389008368} + - component: {fileID: 1389008371} + - component: {fileID: 1389008370} + - component: {fileID: 1389008369} + m_Layer: 0 + m_Name: Cube (58) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1389008368 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1389008367} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.68000007, y: -1.6800001, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 58 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1389008369 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1389008367} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1389008370 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1389008367} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1389008371 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1389008367} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1392567620 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1392567621} + - component: {fileID: 1392567624} + - component: {fileID: 1392567623} + - component: {fileID: 1392567622} + m_Layer: 0 + m_Name: Cube (24) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1392567621 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1392567620} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.33, y: -0.99, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 24 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1392567622 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1392567620} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1392567623 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1392567620} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1392567624 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1392567620} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1402158849 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1402158850} + - component: {fileID: 1402158853} + - component: {fileID: 1402158852} + - component: {fileID: 1402158851} + m_Layer: 0 + m_Name: Cube (17) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1402158850 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1402158849} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.37, y: 0.67999995, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 17 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1402158851 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1402158849} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1402158852 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1402158849} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1402158853 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1402158849} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1413598538 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1413598539} + - component: {fileID: 1413598542} + - component: {fileID: 1413598541} + - component: {fileID: 1413598540} + m_Layer: 0 + m_Name: Cube (45) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1413598539 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1413598538} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.84, y: 0.93, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 45 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1413598540 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1413598538} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1413598541 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1413598538} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1413598542 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1413598538} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1490237943 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1490237944} + - component: {fileID: 1490237947} + - component: {fileID: 1490237946} + - component: {fileID: 1490237945} + m_Layer: 0 + m_Name: Cube (51) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1490237944 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1490237943} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.10000008, y: -1.1500001, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 51 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1490237945 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1490237943} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1490237946 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1490237943} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1490237947 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1490237943} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1492071061 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1492071062} + - component: {fileID: 1492071065} + - component: {fileID: 1492071064} + - component: {fileID: 1492071063} + m_Layer: 0 + m_Name: Cube (49) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1492071062 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1492071061} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.18000019, y: 0.7400002, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 49 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1492071063 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1492071061} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1492071064 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1492071061} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1492071065 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1492071061} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1517215450 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1517215451} + - component: {fileID: 1517215454} + - component: {fileID: 1517215453} + - component: {fileID: 1517215452} + m_Layer: 0 + m_Name: Cube (3) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1517215451 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1517215450} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.39, y: 1.15, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1517215452 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1517215450} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1517215453 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1517215450} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1517215454 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1517215450} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1553656648 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1553656649} + - component: {fileID: 1553656652} + - component: {fileID: 1553656651} + - component: {fileID: 1553656650} + m_Layer: 0 + m_Name: Cube (23) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1553656649 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1553656648} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.3, y: -0.67999995, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 23 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1553656650 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1553656648} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1553656651 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1553656648} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1553656652 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1553656648} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1561284549 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1561284550} + - component: {fileID: 1561284553} + - component: {fileID: 1561284552} + - component: {fileID: 1561284551} + m_Layer: 0 + m_Name: Cube (42) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1561284550 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1561284549} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.9299999, y: 2.24, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 42 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1561284551 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1561284549} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1561284552 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1561284549} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1561284553 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1561284549} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1574755419 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1574755420} + - component: {fileID: 1574755423} + - component: {fileID: 1574755422} + - component: {fileID: 1574755421} + m_Layer: 0 + m_Name: Cube (63) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1574755420 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1574755419} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.0899999, y: -0.03000021, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 63 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1574755421 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1574755419} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1574755422 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1574755419} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1574755423 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1574755419} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1776546315 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1776546316} + - component: {fileID: 1776546319} + - component: {fileID: 1776546318} + - component: {fileID: 1776546317} + m_Layer: 0 + m_Name: Cube (59) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1776546316 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1776546315} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.2400001, y: -2.1799998, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 59 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1776546317 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1776546315} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1776546318 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1776546315} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1776546319 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1776546315} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1841943085 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1841943086} + - component: {fileID: 1841943089} + - component: {fileID: 1841943088} + - component: {fileID: 1841943087} + m_Layer: 0 + m_Name: Cube (52) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1841943086 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1841943085} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.13, y: -0.68, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 52 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1841943087 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1841943085} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1841943088 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1841943085} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1841943089 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1841943085} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1850068994 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1850068995} + - component: {fileID: 1850068998} + - component: {fileID: 1850068997} + - component: {fileID: 1850068996} + m_Layer: 0 + m_Name: Cube (68) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1850068995 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1850068994} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.0799999, y: -0.5300002, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 68 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1850068996 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1850068994} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1850068997 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1850068994} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1850068998 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1850068994} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1943439919 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1943439920} + - component: {fileID: 1943439923} + - component: {fileID: 1943439922} + - component: {fileID: 1943439921} + m_Layer: 0 + m_Name: Cube (2) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1943439920 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1943439919} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.95, y: 1.65, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1943439921 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1943439919} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1943439922 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1943439919} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1943439923 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1943439919} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1951729778 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1951729779} + - component: {fileID: 1951729782} + - component: {fileID: 1951729781} + - component: {fileID: 1951729780} + m_Layer: 0 + m_Name: Cube (57) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1951729779 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1951729778} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.2400001, y: -2.18, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 57 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1951729780 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1951729778} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1951729781 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1951729778} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1951729782 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1951729778} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1952286522 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1952286523} + - component: {fileID: 1952286526} + - component: {fileID: 1952286525} + - component: {fileID: 1952286524} + m_Layer: 0 + m_Name: Cube (64) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1952286523 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1952286522} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.059999943, y: -0.34000015, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 64 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1952286524 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1952286522} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1952286525 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1952286522} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1952286526 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1952286522} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1971605044 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1971605045} + - component: {fileID: 1971605048} + - component: {fileID: 1971605047} + - component: {fileID: 1971605046} + m_Layer: 0 + m_Name: Cube (8) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1971605045 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1971605044} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.4, y: 0.65, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 8 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1971605046 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1971605044} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1971605047 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1971605044} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1971605048 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1971605044} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1974131029 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1974131030} + - component: {fileID: 1974131033} + - component: {fileID: 1974131032} + - component: {fileID: 1974131031} + m_Layer: 0 + m_Name: Cube (62) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1974131030 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1974131029} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.52999985, y: 0.46999985, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 62 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &1974131031 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1974131029} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1974131032 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1974131029} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1974131033 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1974131029} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &2000822308 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2000822309} + - component: {fileID: 2000822312} + - component: {fileID: 2000822311} + - component: {fileID: 2000822310} + m_Layer: 0 + m_Name: Cube (11) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2000822309 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2000822308} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.51, y: 1.7099999, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 11 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &2000822310 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2000822308} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &2000822311 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2000822308} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &2000822312 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2000822308} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &2007306858 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2007306859} + - component: {fileID: 2007306862} + - component: {fileID: 2007306861} + - component: {fileID: 2007306860} + m_Layer: 0 + m_Name: Cube (40) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2007306859 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2007306858} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.5199997, y: 2.2700002, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 40 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &2007306860 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2007306858} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &2007306861 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2007306858} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &2007306862 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2007306858} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &2065645410 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2065645411} + - component: {fileID: 2065645414} + - component: {fileID: 2065645413} + - component: {fileID: 2065645412} + m_Layer: 0 + m_Name: Cube (60) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2065645411 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2065645410} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.059999943, y: 0.5, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 60 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &2065645412 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2065645410} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &2065645413 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2065645410} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &2065645414 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2065645410} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &2078557965 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2078557966} + - component: {fileID: 2078557969} + - component: {fileID: 2078557968} + - component: {fileID: 2078557967} + m_Layer: 0 + m_Name: Cube (35) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2078557966 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2078557965} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.1500001, y: -0.50000006, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 35 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &2078557967 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2078557965} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &2078557968 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2078557965} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &2078557969 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2078557965} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &2110159383 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2110159384} + - component: {fileID: 2110159387} + - component: {fileID: 2110159386} + - component: {fileID: 2110159385} + m_Layer: 0 + m_Name: Cube (1) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2110159384 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2110159383} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.98, y: 1.18, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &2110159385 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2110159383} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &2110159386 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2110159383} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &2110159387 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2110159383} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &2133158177 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2133158178} + - component: {fileID: 2133158181} + - component: {fileID: 2133158180} + - component: {fileID: 2133158179} + m_Layer: 0 + m_Name: Cube (13) + m_TagString: Player + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2133158178 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2133158177} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.9200001, y: 1.68, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1150441930} + m_RootOrder: 13 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &2133158179 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2133158177} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &2133158180 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2133158177} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &2133158181 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2133158177} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} diff --git a/Assets/FungusExamples/Collection/CollectionPhysics.unity.meta b/Assets/FungusExamples/Collection/CollectionPhysics.unity.meta new file mode 100644 index 00000000..1fd28a73 --- /dev/null +++ b/Assets/FungusExamples/Collection/CollectionPhysics.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 90f776c055f4f754ca7cb96fc41e5c9e +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/Collection/UnlitSphere.mat b/Assets/FungusExamples/Collection/UnlitSphere.mat new file mode 100644 index 00000000..341d7a72 --- /dev/null +++ b/Assets/FungusExamples/Collection/UnlitSphere.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: UnlitSphere + m_Shader: {fileID: 10755, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 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} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + 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} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + 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: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 0, b: 0, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Assets/FungusExamples/Collection/UnlitSphere.mat.meta b/Assets/FungusExamples/Collection/UnlitSphere.mat.meta new file mode 100644 index 00000000..2deebcbb --- /dev/null +++ b/Assets/FungusExamples/Collection/UnlitSphere.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2bcc72af9791dfb448148e231fb8c7ee +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/Conditions.meta b/Assets/FungusExamples/Conditions.meta new file mode 100644 index 00000000..f6fd4da0 --- /dev/null +++ b/Assets/FungusExamples/Conditions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ab073c9a6f825fe4b82cbe37c37addb0 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity b/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity new file mode 100644 index 00000000..8f33bc64 --- /dev/null +++ b/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity @@ -0,0 +1,1894 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 9 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &125528928 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 125528930} + - component: {fileID: 125528929} + m_Layer: 0 + m_Name: _FungusState + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &125528929 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 125528928} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} + m_Name: + m_EditorClassIdentifier: + selectedFlowchart: {fileID: 1292574166} +--- !u!4 &125528930 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 125528928} + 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: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &285094500 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 285094503} + - component: {fileID: 285094502} + - component: {fileID: 285094501} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &285094501 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 285094500} + m_Enabled: 1 +--- !u!20 &285094502 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 285094500} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 1 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &285094503 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 285094500} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + 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!1 &1292574162 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1292574167} + - component: {fileID: 1292574166} + - component: {fileID: 1292574165} + - component: {fileID: 1292574164} + - component: {fileID: 1292574163} + - component: {fileID: 1292574180} + - component: {fileID: 1292574179} + - component: {fileID: 1292574178} + - component: {fileID: 1292574177} + - component: {fileID: 1292574176} + - component: {fileID: 1292574175} + - component: {fileID: 1292574174} + - component: {fileID: 1292574173} + - component: {fileID: 1292574172} + - component: {fileID: 1292574171} + - component: {fileID: 1292574170} + - component: {fileID: 1292574169} + - component: {fileID: 1292574168} + - component: {fileID: 1292574186} + - component: {fileID: 1292574185} + - component: {fileID: 1292574184} + - component: {fileID: 1292574183} + - component: {fileID: 1292574182} + - component: {fileID: 1292574181} + m_Layer: 0 + m_Name: Flowchart + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1292574163 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + anyOrAllConditions: 1 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1292574180} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 1292574179} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 1292574177} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + - compareOperator: 4 + anyVar: + variable: {fileID: 1292574178} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 1292574177} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + compareOperator: 0 + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1292574164 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1292574165} + suppressBlockAutoSelect: 0 + waitForFrames: 1 +--- !u!114 &1292574165 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 140 + y: 120 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: If Example + description: + eventHandler: {fileID: 1292574164} + commandList: + - {fileID: 1292574163} + - {fileID: 1292574170} + - {fileID: 1292574174} + - {fileID: 1292574169} + - {fileID: 1292574173} + - {fileID: 1292574168} + - {fileID: 1292574172} + - {fileID: 1292574185} + suppressAllAutoSelections: 0 +--- !u!114 &1292574166 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: 153.5, y: 116.5} + variablesScrollPos: {x: 0, y: 0} + variablesExpanded: 1 + blockViewHeight: 527 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: -343 + y: -340 + width: 1114 + height: 859 + selectedBlocks: + - {fileID: 1292574186} + selectedCommands: [] + variables: + - {fileID: 1292574180} + - {fileID: 1292574179} + - {fileID: 1292574178} + - {fileID: 1292574177} + - {fileID: 1292574171} + - {fileID: 1292574176} + - {fileID: 1292574175} + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!4 &1292574167 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + 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: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1292574168 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 10 + indentLevel: 1 + storyText: In Else + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1292574169 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 9 + indentLevel: 1 + storyText: Else If condition is True + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1292574170 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 8 + indentLevel: 1 + storyText: If condition is True + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1292574171 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: C + value: 16 +--- !u!114 &1292574172 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 7 + indentLevel: 0 +--- !u!114 &1292574173 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3fa968f01a7f9496bb50e13dfe16760d, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 6 + indentLevel: 0 +--- !u!114 &1292574174 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 18c5e8d46183346b59f64b820e71f97f, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1292574176} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 1292574175} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + - compareOperator: 3 + anyVar: + variable: {fileID: 1292574178} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 1292574177} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + - compareOperator: 3 + anyVar: + variable: {fileID: 1292574178} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 1292574179} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 1292574171} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + compareOperator: 0 + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1292574175 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4580f28dd8581476b810b38eea2f1316, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: bar + value: preda2or +--- !u!114 &1292574176 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4580f28dd8581476b810b38eea2f1316, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: foo + value: vjs +--- !u!114 &1292574177 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: B + value: 5 +--- !u!114 &1292574178 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: A + value: 0 +--- !u!114 &1292574179 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5d02d9822eec54c98afe95bb497211b3, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: booly + value: 0 +--- !u!114 &1292574180 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5d02d9822eec54c98afe95bb497211b3, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: boolx + value: 0 +--- !u!114 &1292574181 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 17 + indentLevel: 0 +--- !u!114 &1292574182 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 16 + indentLevel: 1 + anyVar: + variable: {fileID: 1292574178} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 1 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 2 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1292574183 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 15 + indentLevel: 1 + storyText: Value of A = {$A} + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1292574184 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 663c8a7831a104d16ad7078a4dc2bd10, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 14 + indentLevel: 0 + anyOrAllConditions: 1 + conditions: + - compareOperator: 2 + anyVar: + variable: {fileID: 1292574178} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 5 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + - compareOperator: 0 + anyVar: + variable: {fileID: 1292574180} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 1292574179} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + compareOperator: 0 + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1292574185 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 050fb9e6e72f442b3b883da8a965bdeb, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 13 + indentLevel: 0 + targetFlowchart: {fileID: 0} + targetBlock: {fileID: 1292574186} + startLabel: + stringRef: {fileID: 0} + stringVal: + startIndex: 0 + callMode: 0 +--- !u!114 &1292574186 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1292574162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 120 + y: 200 + width: 140 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 12 + blockName: While Example + description: + eventHandler: {fileID: 0} + commandList: + - {fileID: 1292574184} + - {fileID: 1292574183} + - {fileID: 1292574182} + - {fileID: 1292574181} + suppressAllAutoSelections: 0 diff --git a/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity.meta b/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity.meta new file mode 100644 index 00000000..6b87412a --- /dev/null +++ b/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 0d9b345eec71ebc46bfb14d1a3b8af20 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/Conversation/Conversation.unity b/Assets/FungusExamples/Conversation/Conversation.unity index aa9c8a0c..c09989e4 100644 --- a/Assets/FungusExamples/Conversation/Conversation.unity +++ b/Assets/FungusExamples/Conversation/Conversation.unity @@ -13,7 +13,7 @@ OcclusionCullingSettings: --- !u!104 &2 RenderSettings: m_ObjectHideFlags: 0 - serializedVersion: 9 + serializedVersion: 8 m_Fog: 0 m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogMode: 3 @@ -39,7 +39,6 @@ RenderSettings: m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} - m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: m_ObjectHideFlags: 0 @@ -55,10 +54,11 @@ LightmapSettings: m_EnableBakedLightmaps: 0 m_EnableRealtimeLightmaps: 0 m_LightmapEditorSettings: - serializedVersion: 10 + serializedVersion: 9 m_Resolution: 2 m_BakeResolution: 40 - m_AtlasSize: 1024 + m_TextureWidth: 1024 + m_TextureHeight: 1024 m_AO: 0 m_AOMaxDistance: 1 m_CompAOExponent: 0 @@ -113,81 +113,10 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1 &205269089 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110280, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 205269090} - - component: {fileID: 205269092} - - component: {fileID: 205269091} - m_Layer: 0 - m_Name: Offscreen Right - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &205269090 -RectTransform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410278, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 205269089} - 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: 1544660787} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 1300, y: -1000} - m_SizeDelta: {x: 1000, y: 1000} - m_Pivot: {x: 0.5, y: 0} ---- !u!114 &205269091 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410282, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 205269089} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 0} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, - Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 ---- !u!222 &205269092 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210276, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 205269089} --- !u!1 &275029862 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -203,8 +132,7 @@ GameObject: --- !u!114 &275029863 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 275029862} m_Enabled: 1 @@ -216,15 +144,15 @@ MonoBehaviour: nameColor: {r: 1, g: 1, b: 1, a: 1} soundEffect: {fileID: 0} portraits: + - {fileID: 21300000, guid: 061fcd6caac25954287291fffde7cd2c, type: 3} - {fileID: 21300000, guid: 58bfb145092302e4083ef8a9e4eeb576, type: 3} - - {fileID: 21300000, guid: 820bab66bb5a044ec961ba8ee3b045cc, type: 3} portraitsFace: 2 setSayDialog: {fileID: 0} description: --- !u!4 &275029864 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 275029862} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} @@ -232,51 +160,49 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 3 + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &534534503 +--- !u!1 &417759025 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 534534504} - - component: {fileID: 534534506} - - component: {fileID: 534534505} + - component: {fileID: 417759026} + - component: {fileID: 417759028} + - component: {fileID: 417759027} m_Layer: 0 - m_Name: Right + m_Name: Offscreen Left m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &534534504 +--- !u!224 &417759026 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 534534503} + m_GameObject: {fileID: 417759025} 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: 1544660787} - m_RootOrder: 2 + m_Father: {fileID: 821847792} + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 460.43, y: -1000} + m_AnchoredPosition: {x: -1300, y: -1000} m_SizeDelta: {x: 1000, y: 1000} m_Pivot: {x: 0.5, y: 0} ---- !u!114 &534534505 +--- !u!114 &417759027 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 534534503} + m_GameObject: {fileID: 417759025} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -298,127 +224,169 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!222 &534534506 +--- !u!222 &417759028 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 534534503} ---- !u!1 &599196444 + m_GameObject: {fileID: 417759025} +--- !u!1 &821847791 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110282, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 599196445} - - component: {fileID: 599196447} - - component: {fileID: 599196446} - m_Layer: 0 - m_Name: Left + - component: {fileID: 821847792} + - component: {fileID: 821847796} + - component: {fileID: 821847795} + - component: {fileID: 821847794} + - component: {fileID: 821847793} + m_Layer: 5 + m_Name: Canvas m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &599196445 +--- !u!224 &821847792 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410280, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 599196444} + m_GameObject: {fileID: 821847791} 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: 1544660787} - m_RootOrder: 1 + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 1070870996} + - {fileID: 1379563410} + - {fileID: 1816979884} + - {fileID: 417759026} + - {fileID: 1234473723} + m_Father: {fileID: 1438921567} + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: -460.43, y: -1000} - m_SizeDelta: {x: 1000, y: 1000} - m_Pivot: {x: 0.5, y: 0} ---- !u!114 &599196446 + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!225 &821847793 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 821847791} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 0 + m_IgnoreParentGroups: 0 +--- !u!114 &821847794 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410284, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 599196444} + m_GameObject: {fileID: 821847791} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 0} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, - Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 ---- !u!222 &599196447 -CanvasRenderer: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1600, y: 1200} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 1 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!114 &821847795 +MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210278, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 599196444} ---- !u!1 &1085130771 + m_GameObject: {fileID: 821847791} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!223 &821847796 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 821847791} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!1 &1070870995 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110272, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 1085130772} - - component: {fileID: 1085130774} - - component: {fileID: 1085130773} + - component: {fileID: 1070870996} + - component: {fileID: 1070870997} + - component: {fileID: 1070870998} m_Layer: 0 - m_Name: Offscreen Left + m_Name: Middle m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1085130772 +--- !u!224 &1070870996 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410272, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1085130771} + m_GameObject: {fileID: 1070870995} 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: 1544660787} - m_RootOrder: 3 + m_Father: {fileID: 821847792} + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: -1300, y: -1000} + m_AnchoredPosition: {x: 0, y: -1000} m_SizeDelta: {x: 1000, y: 1000} m_Pivot: {x: 0.5, y: 0} ---- !u!114 &1085130773 +--- !u!222 &1070870997 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1070870995} +--- !u!114 &1070870998 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410272, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1085130771} + m_GameObject: {fileID: 1070870995} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -440,13 +408,6 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!222 &1085130774 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210272, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1085130771} --- !u!1 &1226317641 GameObject: m_ObjectHideFlags: 1 @@ -486,133 +447,117 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1290383786 +--- !u!1 &1234473722 GameObject: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 1290383790} - - component: {fileID: 1290383789} - - component: {fileID: 1290383788} - - component: {fileID: 1290383787} + - component: {fileID: 1234473723} + - component: {fileID: 1234473725} + - component: {fileID: 1234473724} m_Layer: 0 - m_Name: EventSystem + m_Name: Offscreen Right m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!114 &1290383787 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_ForceModuleActive: 0 ---- !u!114 &1290383788 -MonoBehaviour: +--- !u!224 &1234473723 +RectTransform: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalAxis: Horizontal - m_VerticalAxis: Vertical - m_SubmitButton: Submit - m_CancelButton: Cancel - m_InputActionsPerSecond: 10 - m_RepeatDelay: 0.5 - m_ForceModuleActive: 0 ---- !u!114 &1290383789 + m_GameObject: {fileID: 1234473722} + 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: 821847792} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 1300, y: -1000} + m_SizeDelta: {x: 1000, y: 1000} + m_Pivot: {x: 0.5, y: 0} +--- !u!114 &1234473724 MonoBehaviour: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} + m_GameObject: {fileID: 1234473722} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - m_FirstSelected: {fileID: 0} - m_sendNavigationEvents: 1 - m_DragThreshold: 5 ---- !u!4 &1290383790 -Transform: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &1234473725 +CanvasRenderer: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} - 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: 6 - m_LocalEulerAnglesHint: {x: 179.999, y: 179.999, z: 179.999} ---- !u!1 &1311069593 + m_GameObject: {fileID: 1234473722} +--- !u!1 &1379563409 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110278, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 1311069594} - - component: {fileID: 1311069595} - - component: {fileID: 1311069596} + - component: {fileID: 1379563410} + - component: {fileID: 1379563412} + - component: {fileID: 1379563411} m_Layer: 0 - m_Name: Middle + m_Name: Left m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1311069594 +--- !u!224 &1379563410 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410276, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1311069593} + m_GameObject: {fileID: 1379563409} 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: 1544660787} - m_RootOrder: 0 + m_Father: {fileID: 821847792} + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: -1000} + m_AnchoredPosition: {x: -460.43, y: -1000} m_SizeDelta: {x: 1000, y: 1000} m_Pivot: {x: 0.5, y: 0} ---- !u!222 &1311069595 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210274, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1311069593} ---- !u!114 &1311069596 +--- !u!114 &1379563411 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410280, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1311069593} + m_GameObject: {fileID: 1379563409} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -634,121 +579,67 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!1 &1544660786 +--- !u!222 &1379563412 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1379563409} +--- !u!1 &1438921565 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110276, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 1544660787} - - component: {fileID: 1544660791} - - component: {fileID: 1544660790} - - component: {fileID: 1544660789} - - component: {fileID: 1544660788} - m_Layer: 5 - m_Name: Canvas + - component: {fileID: 1438921567} + - component: {fileID: 1438921566} + m_Layer: 0 + m_Name: Stage m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1544660787 -RectTransform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410274, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} - m_Children: - - {fileID: 1311069594} - - {fileID: 599196445} - - {fileID: 534534504} - - {fileID: 1085130772} - - {fileID: 205269090} - m_Father: {fileID: 2073331544} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} ---- !u!225 &1544660788 -CanvasGroup: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22510270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_Enabled: 1 - m_Alpha: 1 - m_Interactable: 1 - m_BlocksRaycasts: 0 - m_IgnoreParentGroups: 0 ---- !u!114 &1544660789 +--- !u!114 &1438921566 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410276, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_UiScaleMode: 1 - m_ReferencePixelsPerUnit: 100 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 1600, y: 1200} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 1 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 ---- !u!114 &1544660790 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410278, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} + m_GameObject: {fileID: 1438921565} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 11500000, guid: 6f6478b25a400c642b2dee75f022ab12, type: 3} m_Name: m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!223 &1544660791 -Canvas: + portraitCanvas: {fileID: 821847796} + dimPortraits: 1 + dimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + fadeDuration: 0.75 + moveDuration: 1 + fadeEaseType: 4 + shiftOffset: {x: 0, y: 0} + defaultPosition: {fileID: 1070870998} + positions: + - {fileID: 1379563410} + - {fileID: 1070870996} + - {fileID: 1816979884} + - {fileID: 417759026} + - {fileID: 1234473723} +--- !u!4 &1438921567 +Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22310270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 0 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 1 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_AdditionalShaderChannelsFlag: 25 - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_TargetDisplay: 0 + m_GameObject: {fileID: 1438921565} + 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: + - {fileID: 821847792} + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1726345438 GameObject: m_ObjectHideFlags: 0 @@ -841,7 +732,7 @@ Transform: --- !u!1 &1745642867 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -857,8 +748,7 @@ GameObject: --- !u!114 &1745642868 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1745642867} m_Enabled: 1 @@ -870,15 +760,15 @@ MonoBehaviour: nameColor: {r: 1, g: 1, b: 1, a: 1} soundEffect: {fileID: 0} portraits: - - {fileID: 21300000, guid: b9482ea03e69b5a4aa5e7827da354549, type: 3} - {fileID: 21300000, guid: 7497fd82318972540af8666a234a9685, type: 3} + - {fileID: 21300000, guid: b9482ea03e69b5a4aa5e7827da354549, type: 3} portraitsFace: 1 setSayDialog: {fileID: 0} description: --- !u!4 &1745642869 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1745642867} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} @@ -886,12 +776,12 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 5 + m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1755499605 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -913,8 +803,7 @@ GameObject: --- !u!114 &1755499606 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} m_Enabled: 1 @@ -934,10 +823,8 @@ MonoBehaviour: y: -340 width: 1114 height: 859 - selectedBlocks: - - {fileID: 1755499608} - selectedCommands: - - {fileID: 1755499607} + selectedBlocks: [] + selectedCommands: [] variables: [] description: stepPause: 0 @@ -1002,8 +889,7 @@ MonoBehaviour: --- !u!114 &1755499608 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} m_Enabled: 1 @@ -1015,7 +901,7 @@ MonoBehaviour: serializedVersion: 2 x: 69 y: 70 - width: 120 + width: 80 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1028,11 +914,11 @@ MonoBehaviour: - {fileID: 1755499607} - {fileID: 1755499612} - {fileID: 1755499611} + suppressAllAutoSelections: 0 --- !u!114 &1755499609 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 11462346, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} m_Enabled: 1 @@ -1041,11 +927,12 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1755499608} + suppressBlockAutoSelect: 0 waitForFrames: 1 --- !u!4 &1755499610 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} @@ -1053,7 +940,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1755499611 MonoBehaviour: @@ -1122,59 +1009,71 @@ MonoBehaviour: indentLevel: 0 commenterName: commentText: Example using Conversation Command ---- !u!1 &2073331542 +--- !u!1 &1816979883 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110274, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 2073331544} - - component: {fileID: 2073331543} + - component: {fileID: 1816979884} + - component: {fileID: 1816979886} + - component: {fileID: 1816979885} m_Layer: 0 - m_Name: Stage + m_Name: Right m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!114 &2073331543 +--- !u!224 &1816979884 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1816979883} + 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: 821847792} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 460.43, y: -1000} + m_SizeDelta: {x: 1000, y: 1000} + m_Pivot: {x: 0.5, y: 0} +--- !u!114 &1816979885 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410274, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2073331542} + m_GameObject: {fileID: 1816979883} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 6f6478b25a400c642b2dee75f022ab12, type: 3} + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - portraitCanvas: {fileID: 1544660791} - dimPortraits: 1 - dimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - fadeDuration: 0.75 - moveDuration: 1 - fadeEaseType: 4 - shiftOffset: {x: 0, y: 0} - defaultPosition: {fileID: 1311069596} - positions: - - {fileID: 599196445} - - {fileID: 1311069594} - - {fileID: 534534504} - - {fileID: 1085130772} - - {fileID: 205269090} ---- !u!4 &2073331544 -Transform: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &1816979886 +CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2073331542} - 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: - - {fileID: 1544660787} - m_Father: {fileID: 0} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_GameObject: {fileID: 1816979883} diff --git a/Assets/FungusExamples/Conversation/CustomSayDialogs.unity b/Assets/FungusExamples/Conversation/CustomSayDialogs.unity index a17c11c4..fb4f16f0 100644 --- a/Assets/FungusExamples/Conversation/CustomSayDialogs.unity +++ b/Assets/FungusExamples/Conversation/CustomSayDialogs.unity @@ -1,19 +1,19 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!29 &1 -SceneSettings: +OcclusionCullingSettings: m_ObjectHideFlags: 0 - m_PVSData: - m_PVSObjectsArray: [] - m_PVSPortalsArray: [] + serializedVersion: 2 m_OcclusionBakeSettings: smallestOccluder: 5 smallestHole: 0.25 backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} --- !u!104 &2 RenderSettings: m_ObjectHideFlags: 0 - serializedVersion: 6 + serializedVersion: 8 m_Fog: 0 m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogMode: 3 @@ -25,6 +25,7 @@ RenderSettings: m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} m_AmbientIntensity: 1 m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} m_SkyboxMaterial: {fileID: 0} m_HaloStrength: 0.5 m_FlareStrength: 1 @@ -37,12 +38,12 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} --- !u!157 &3 LightmapSettings: m_ObjectHideFlags: 0 - serializedVersion: 6 + serializedVersion: 11 m_GIWorkflowMode: 1 - m_LightmapsMode: 1 m_GISettings: serializedVersion: 2 m_BounceScale: 1 @@ -53,207 +54,254 @@ LightmapSettings: m_EnableBakedLightmaps: 0 m_EnableRealtimeLightmaps: 0 m_LightmapEditorSettings: - serializedVersion: 3 + serializedVersion: 9 m_Resolution: 2 m_BakeResolution: 40 m_TextureWidth: 1024 m_TextureHeight: 1024 + m_AO: 0 m_AOMaxDistance: 1 - m_Padding: 2 m_CompAOExponent: 0 + m_CompAOExponentDirect: 0 + m_Padding: 2 m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 m_TextureCompression: 1 m_FinalGather: 0 + m_FinalGatherFiltering: 1 m_FinalGatherRayCount: 1024 m_ReflectionCompression: 2 + m_MixedBakeMode: 1 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 m_LightingDataAsset: {fileID: 0} - m_RuntimeCPUUsage: 25 + m_UseShadowmask: 0 --- !u!196 &4 NavMeshSettings: serializedVersion: 2 m_ObjectHideFlags: 0 m_BuildSettings: serializedVersion: 2 + agentTypeID: 0 agentRadius: 0.5 agentHeight: 2 agentSlope: 45 agentClimb: 0.4 ledgeDropHeight: 0 maxJumpAcrossDistance: 0 - accuratePlacement: 0 minRegionArea: 2 - cellSize: 0.16666667 manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1 &61581460 +--- !u!1 &6599665 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 180152, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 61581461} - - 222: {fileID: 61581463} - - 114: {fileID: 61581462} - - 114: {fileID: 61581464} - m_Layer: 5 - m_Name: Continue + - component: {fileID: 6599666} + - component: {fileID: 6599668} + - component: {fileID: 6599667} + m_Layer: 0 + m_Name: Left m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &61581461 +--- !u!224 &6599666 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22433354, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 61581460} + m_GameObject: {fileID: 6599665} 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: 471199454} + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: - - {fileID: 1523056906} - m_Father: {fileID: 1700435622} - m_RootOrder: 0 - m_AnchorMin: {x: 1, y: 0} - m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: -38.900024, y: 38.074993} - m_SizeDelta: {x: 77.900024, y: 77} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &61581462 + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: -460.43, y: -1000} + m_SizeDelta: {x: 1000, y: 1000} + m_Pivot: {x: 0.5, y: 0} +--- !u!114 &6599667 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11493918, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 61581460} + m_GameObject: {fileID: 6599665} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Color: {r: 1, g: 1, b: 1, a: 0} m_RaycastTarget: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 21300000, guid: 226248ac6f184e448af731df91b91958, type: 3} + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} m_Type: 0 - m_PreserveAspect: 0 + m_PreserveAspect: 1 m_FillCenter: 1 m_FillMethod: 4 m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!222 &61581463 +--- !u!222 &6599668 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22268826, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 6599665} +--- !u!1 &19778106 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 19778107} + - component: {fileID: 19778109} + - component: {fileID: 19778108} + m_Layer: 5 + m_Name: NameText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &19778107 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 61581460} ---- !u!114 &61581464 + m_GameObject: {fileID: 19778106} + 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: 912332559} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 586.5, y: -38.369995} + m_SizeDelta: {x: 1106, y: 71} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &19778108 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11419088, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 61581460} + m_GameObject: {fileID: 19778106} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 61581462} - m_OnClick: + m_Material: {fileID: 0} + m_Color: {r: 0.25882354, g: 0.25490198, b: 0.2627451, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 1762881968} - m_MethodName: SetButtonClickedFlag - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 - m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, - Culture=neutral, PublicKeyToken=null ---- !u!1 &205269089 + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: bb145366ce7024469a5758b08d31802c, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 50 + m_Alignment: 3 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Character Name +--- !u!222 &19778109 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 19778106} +--- !u!1 &36939543 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110280, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 205269090} - - 222: {fileID: 205269092} - - 114: {fileID: 205269091} + - component: {fileID: 36939544} + - component: {fileID: 36939545} + - component: {fileID: 36939546} m_Layer: 0 - m_Name: Offscreen Right + m_Name: Middle m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &205269090 +--- !u!224 &36939544 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410278, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 205269089} + m_GameObject: {fileID: 36939543} 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] - m_Father: {fileID: 1544660787} - m_RootOrder: 4 + m_Father: {fileID: 471199454} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 1300, y: -1000} + m_AnchoredPosition: {x: 0, y: -1000} m_SizeDelta: {x: 1000, y: 1000} m_Pivot: {x: 0.5, y: 0} ---- !u!114 &205269091 +--- !u!222 &36939545 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 36939543} +--- !u!114 &36939546 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410282, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 205269089} + m_GameObject: {fileID: 36939543} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -275,272 +323,194 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!222 &205269092 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210276, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 205269089} ---- !u!1 &272906894 +--- !u!1 &217949779 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 188902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 272906896} - - 223: {fileID: 272906898} - - 114: {fileID: 272906904} - - 225: {fileID: 272906903} - - 114: {fileID: 272906902} - - 114: {fileID: 272906895} - - 114: {fileID: 272906901} - - 114: {fileID: 272906900} - - 114: {fileID: 272906897} - - 82: {fileID: 272906899} + - component: {fileID: 217949780} + - component: {fileID: 217949782} + - component: {fileID: 217949781} m_Layer: 5 - m_Name: JohnSayDialog + m_Name: Text m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!114 &272906895 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 272906894} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} - m_Name: - m_EditorClassIdentifier: - fadeDuration: 0.25 - continueButton: {fileID: 1169044575} - dialogCanvas: {fileID: 272906898} - nameText: {fileID: 405967467} - storyText: {fileID: 1351438330} - characterImage: {fileID: 2050377792} - fitTextWithImage: 1 ---- !u!224 &272906896 + m_IsActive: 1 +--- !u!224 &217949780 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 272906894} + m_GameObject: {fileID: 217949779} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1585065712} + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: - - {fileID: 620551847} - m_Father: {fileID: 0} - m_RootOrder: 2 m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} ---- !u!114 &272906897 + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &217949781 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11481894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 272906894} + m_GameObject: {fileID: 217949779} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 43b85556abd314f3f870c18c013fdcef, type: 3} + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - clickMode: 1 - nextClickDelay: 0 - cancelEnabled: 1 - ignoreMenuClicks: 1 ---- !u!223 &272906898 -Canvas: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!222 &217949782 +CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22388894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 272906894} - m_Enabled: 1 - serializedVersion: 2 - m_RenderMode: 0 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 1 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_SortingLayerID: 0 - m_SortingOrder: 1 - m_TargetDisplay: 0 ---- !u!82 &272906899 -AudioSource: + m_GameObject: {fileID: 217949779} +--- !u!1 &275029862 +GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 8294266, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 275029864} + - component: {fileID: 275029863} + m_Layer: 0 + m_Name: John + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &275029863 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 272906894} - m_Enabled: 1 - serializedVersion: 4 - OutputAudioMixerGroup: {fileID: 0} - m_audioClip: {fileID: 0} - m_PlayOnAwake: 0 - m_Volume: 1 - m_Pitch: 1 - Loop: 0 - Mute: 0 - Spatialize: 0 - Priority: 128 - DopplerLevel: 1 - MinDistance: 1 - MaxDistance: 500 - Pan2D: 0 - rolloffMode: 0 - BypassEffects: 0 - BypassListenerEffects: 0 - BypassReverbZones: 0 - rolloffCustomCurve: - serializedVersion: 2 - m_Curve: - - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - - time: 1 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - panLevelCustomCurve: - serializedVersion: 2 - m_Curve: - - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 0 - spreadCustomCurve: - serializedVersion: 2 - m_Curve: - - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - reverbZoneMixCustomCurve: - serializedVersion: 2 - m_Curve: - - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 0 ---- !u!114 &272906900 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11404316, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 272906894} + m_GameObject: {fileID: 275029862} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: c4782cf42f2644447b9631f6e522160b, type: 3} + m_Script: {fileID: 11500000, guid: 25fb867d2049d41f597aefdd6b19f598, type: 3} m_Name: m_EditorClassIdentifier: - volume: 1 - loop: 1 - targetAudioSource: {fileID: 0} - audioMode: 0 - beepSounds: - - {fileID: 8300000, guid: 774486030b696474e8b3cf7f178123da, type: 3} - - {fileID: 8300000, guid: f637c5ce9d10e45c7855ed89bfc6b97e, type: 3} - - {fileID: 8300000, guid: c53b7c20372e444c6bd7f2ac0729bbe2, type: 3} + nameText: John + nameColor: {r: 1, g: 1, b: 1, a: 1} soundEffect: {fileID: 0} - inputSound: {fileID: 8300000, guid: 14a396b1562834718b2d52b9c4639264, type: 3} ---- !u!114 &272906901 -MonoBehaviour: + portraits: + - {fileID: 21300000, guid: 58bfb145092302e4083ef8a9e4eeb576, type: 3} + portraitsFace: 2 + setSayDialog: {fileID: 1154186467} + description: +--- !u!4 &275029864 +Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11487070, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 272906894} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} - m_Name: - m_EditorClassIdentifier: - targetTextObject: {fileID: 1351438326} - punchObject: {fileID: 620551846} - writingSpeed: 60 - punctuationPause: 0.25 - hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} - writeWholeWords: 0 - forceRichText: 1 - instantComplete: 1 ---- !u!114 &272906902 -MonoBehaviour: + m_GameObject: {fileID: 275029862} + 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: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &471199453 +GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11486804, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 272906894} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!225 &272906903 + serializedVersion: 5 + m_Component: + - component: {fileID: 471199454} + - component: {fileID: 471199458} + - component: {fileID: 471199457} + - component: {fileID: 471199456} + - component: {fileID: 471199455} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &471199454 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 471199453} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 36939544} + - {fileID: 6599666} + - {fileID: 837010673} + - {fileID: 645891844} + - {fileID: 1419434482} + m_Father: {fileID: 1978420466} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!225 &471199455 CanvasGroup: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22588896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 272906894} + m_GameObject: {fileID: 471199453} m_Enabled: 1 m_Alpha: 1 m_Interactable: 1 - m_BlocksRaycasts: 1 + m_BlocksRaycasts: 0 m_IgnoreParentGroups: 0 ---- !u!114 &272906904 +--- !u!114 &471199456 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11488906, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 272906894} + m_GameObject: {fileID: 471199453} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: m_UiScaleMode: 1 - m_ReferencePixelsPerUnit: 32 + m_ReferencePixelsPerUnit: 100 m_ScaleFactor: 1 m_ReferenceResolution: {x: 1600, y: 1200} m_ScreenMatchMode: 0 @@ -549,248 +519,279 @@ MonoBehaviour: m_FallbackScreenDPI: 96 m_DefaultSpriteDPI: 96 m_DynamicPixelsPerUnit: 1 ---- !u!1 &275029862 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 4: {fileID: 275029864} - - 114: {fileID: 275029863} - m_Layer: 0 - m_Name: John - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &275029863 +--- !u!114 &471199457 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 275029862} + m_GameObject: {fileID: 471199453} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 25fb867d2049d41f597aefdd6b19f598, type: 3} + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - nameText: John - nameColor: {r: 1, g: 1, b: 1, a: 1} - soundEffect: {fileID: 0} - profileSprite: {fileID: 21300000, guid: 58bfb145092302e4083ef8a9e4eeb576, type: 3} - portraits: - - {fileID: 21300000, guid: 58bfb145092302e4083ef8a9e4eeb576, type: 3} - - {fileID: 21300000, guid: 820bab66bb5a044ec961ba8ee3b045cc, type: 3} - portraitsFace: 2 - setSayDialog: {fileID: 272906895} - description: ---- !u!4 &275029864 -Transform: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!223 &471199458 +Canvas: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 275029862} - 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 1 ---- !u!1 &405967464 + m_GameObject: {fileID: 471199453} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!1 &544794323 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 188898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 405967465} - - 222: {fileID: 405967466} - - 114: {fileID: 405967467} + - component: {fileID: 544794324} + - component: {fileID: 544794327} + - component: {fileID: 544794326} + - component: {fileID: 544794325} m_Layer: 5 - m_Name: NameText + m_Name: Continue m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &405967465 +--- !u!224 &544794324 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 405967464} + m_GameObject: {fileID: 544794323} 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 620551847} + m_Children: + - {fileID: 583210332} + m_Father: {fileID: 998141578} m_RootOrder: 0 - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 586.5, y: -38.369995} - m_SizeDelta: {x: 1106, y: 71} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -38.900024, y: 38.074993} + m_SizeDelta: {x: 77.900024, y: 77} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &405967466 -CanvasRenderer: +--- !u!114 &544794325 +MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22288898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 405967464} ---- !u!114 &405967467 + m_GameObject: {fileID: 544794323} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 544794326} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1154186464} + m_MethodName: SetButtonClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, + Culture=neutral, PublicKeyToken=null +--- !u!114 &544794326 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 405967464} + m_GameObject: {fileID: 544794323} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.25882354, g: 0.25490198, b: 0.2627451, a: 1} + m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_FontData: - m_Font: {fileID: 12800000, guid: bb145366ce7024469a5758b08d31802c, type: 3} - m_FontSize: 50 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 10 - m_MaxSize: 50 - m_Alignment: 3 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 1 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: Character Name ---- !u!1 &534534503 + m_Sprite: {fileID: 21300000, guid: 226248ac6f184e448af731df91b91958, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &544794327 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 544794323} +--- !u!1 &583210331 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 534534504} - - 222: {fileID: 534534506} - - 114: {fileID: 534534505} - m_Layer: 0 - m_Name: Right + - component: {fileID: 583210332} + - component: {fileID: 583210334} + - component: {fileID: 583210333} + m_Layer: 5 + m_Name: Text m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &534534504 +--- !u!224 &583210332 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 534534503} + m_GameObject: {fileID: 583210331} 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] - m_Father: {fileID: 1544660787} - m_RootOrder: 2 - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 460.43, y: -1000} - m_SizeDelta: {x: 1000, y: 1000} - m_Pivot: {x: 0.5, y: 0} ---- !u!114 &534534505 + m_Father: {fileID: 544794324} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &583210333 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 534534503} + m_GameObject: {fileID: 583210331} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} m_RaycastTarget: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 ---- !u!222 &534534506 + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!222 &583210334 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 534534503} ---- !u!1 &599196444 + m_GameObject: {fileID: 583210331} +--- !u!1 &645891843 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110282, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 599196445} - - 222: {fileID: 599196447} - - 114: {fileID: 599196446} + - component: {fileID: 645891844} + - component: {fileID: 645891846} + - component: {fileID: 645891845} m_Layer: 0 - m_Name: Left + m_Name: Offscreen Left m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &599196445 +--- !u!224 &645891844 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410280, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 599196444} + m_GameObject: {fileID: 645891843} 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] - m_Father: {fileID: 1544660787} - m_RootOrder: 1 + m_Father: {fileID: 471199454} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: -460.43, y: -1000} + m_AnchoredPosition: {x: -1300, y: -1000} m_SizeDelta: {x: 1000, y: 1000} m_Pivot: {x: 0.5, y: 0} ---- !u!114 &599196446 +--- !u!114 &645891845 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410284, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 599196444} + m_GameObject: {fileID: 645891843} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -812,164 +813,134 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!222 &599196447 +--- !u!222 &645891846 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210278, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 599196444} ---- !u!1 &620551846 + m_GameObject: {fileID: 645891843} +--- !u!1 &719833647 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 188900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 620551847} - - 222: {fileID: 620551851} - - 114: {fileID: 620551850} - - 225: {fileID: 620551849} - - 114: {fileID: 620551848} + - component: {fileID: 719833648} + - component: {fileID: 719833650} + - component: {fileID: 719833649} m_Layer: 5 - m_Name: Panel + m_Name: NameText m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &620551847 +--- !u!224 &719833648 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 620551846} + m_GameObject: {fileID: 719833647} 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: - - {fileID: 405967465} - - {fileID: 2050377795} - - {fileID: 1351438327} - m_Father: {fileID: 272906896} + m_Children: [] + m_Father: {fileID: 2141708406} m_RootOrder: 0 - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -750.0001, y: 0} - m_SizeDelta: {x: 1500, y: 335} - m_Pivot: {x: 0, y: 0} ---- !u!114 &620551848 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11478524, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 620551846} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: -1862395651, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Delegates: - - eventID: 4 - callback: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 272906897} - m_MethodName: SetDialogClickedFlag - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 - m_TypeName: UnityEngine.EventSystems.EventTrigger+TriggerEvent, UnityEngine.UI, - Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - delegates: [] ---- !u!225 &620551849 -CanvasGroup: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22583964, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 620551846} - m_Enabled: 1 - m_Alpha: 1 - m_Interactable: 1 - m_BlocksRaycasts: 1 - m_IgnoreParentGroups: 0 ---- !u!114 &620551850 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 586.5, y: -38.369995} + m_SizeDelta: {x: 1106, y: 71} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &719833649 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11488904, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 620551846} + m_GameObject: {fileID: 719833647} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Color: {r: 0.25882354, g: 0.25490198, b: 0.2627451, a: 1} m_RaycastTarget: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 21300000, guid: 49d5ccdda7b99e24787c2abc3891294c, type: 3} - m_Type: 1 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 0 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 ---- !u!222 &620551851 + m_FontData: + m_Font: {fileID: 12800000, guid: bb145366ce7024469a5758b08d31802c, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 50 + m_Alignment: 3 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Character Name +--- !u!222 &719833650 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22288900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 620551846} ---- !u!1 &688663768 + m_GameObject: {fileID: 719833647} +--- !u!1 &837010672 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 148914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 688663772} - - 222: {fileID: 688663771} - - 114: {fileID: 688663769} - - 114: {fileID: 688663770} - m_Layer: 5 - m_Name: Image + - component: {fileID: 837010673} + - component: {fileID: 837010675} + - component: {fileID: 837010674} + m_Layer: 0 + m_Name: Right m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!114 &688663769 +--- !u!224 &837010673 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 837010672} + 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: 471199454} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 460.43, y: -1000} + m_SizeDelta: {x: 1000, y: 1000} + m_Pivot: {x: 0.5, y: 0} +--- !u!114 &837010674 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 688663768} + m_GameObject: {fileID: 837010672} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Color: {r: 1, g: 1, b: 1, a: 0} m_RaycastTarget: 1 m_OnCullStateChanged: m_PersistentCalls: @@ -984,140 +955,292 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!114 &688663770 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11439142, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 688663768} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreLayout: 0 - m_MinWidth: -1 - m_MinHeight: -1 - m_PreferredWidth: 350 - m_PreferredHeight: 350 - m_FlexibleWidth: -1 - m_FlexibleHeight: -1 ---- !u!222 &688663771 +--- !u!222 &837010675 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22248914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 688663768} ---- !u!224 &688663772 -RectTransform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 688663768} - 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 925012182} - m_RootOrder: 1 - m_AnchorMin: {x: 1, y: 0} - m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: -178.5, y: 263.13} - m_SizeDelta: {x: 357, y: 435} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &762842170 + m_GameObject: {fileID: 837010672} +--- !u!1 &848350117 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 188898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 762842171} - - 222: {fileID: 762842172} - - 114: {fileID: 762842173} + - component: {fileID: 848350127} + - component: {fileID: 848350126} + - component: {fileID: 848350125} + - component: {fileID: 848350124} + - component: {fileID: 848350123} + - component: {fileID: 848350122} + - component: {fileID: 848350121} + - component: {fileID: 848350120} + - component: {fileID: 848350119} + - component: {fileID: 848350118} m_Layer: 5 - m_Name: NameText + m_Name: SherSayDialog m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &762842171 -RectTransform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 762842170} - 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 925012182} - m_RootOrder: 0 - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 586.5, y: -38.369995} - m_SizeDelta: {x: 1106, y: 71} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &762842172 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22288898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 762842170} ---- !u!114 &762842173 -MonoBehaviour: + m_IsActive: 0 +--- !u!82 &848350118 +AudioSource: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 762842170} + m_GameObject: {fileID: 848350117} m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.25882354, g: 0.25490198, b: 0.2627451, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, - Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_FontData: - m_Font: {fileID: 12800000, guid: bb145366ce7024469a5758b08d31802c, type: 3} - m_FontSize: 50 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 10 - m_MaxSize: 50 - m_Alignment: 3 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 1 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: Character Name ---- !u!1 &925012181 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 +--- !u!114 &848350119 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 848350117} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43b85556abd314f3f870c18c013fdcef, type: 3} + m_Name: + m_EditorClassIdentifier: + clickMode: 1 + nextClickDelay: 0 + cancelEnabled: 1 + ignoreMenuClicks: 1 +--- !u!114 &848350120 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 848350117} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c4782cf42f2644447b9631f6e522160b, type: 3} + m_Name: + m_EditorClassIdentifier: + volume: 1 + loop: 1 + targetAudioSource: {fileID: 0} + audioMode: 0 + beepSounds: + - {fileID: 8300000, guid: 774486030b696474e8b3cf7f178123da, type: 3} + - {fileID: 8300000, guid: f637c5ce9d10e45c7855ed89bfc6b97e, type: 3} + - {fileID: 8300000, guid: c53b7c20372e444c6bd7f2ac0729bbe2, type: 3} + soundEffect: {fileID: 0} + inputSound: {fileID: 8300000, guid: 14a396b1562834718b2d52b9c4639264, type: 3} +--- !u!114 &848350121 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 848350117} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 1271479838} + punchObject: {fileID: 2141708401} + writingSpeed: 60 + punctuationPause: 0.25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 + forceRichText: 1 + instantComplete: 1 + doReadAheadText: 1 +--- !u!114 &848350122 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 848350117} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} + m_Name: + m_EditorClassIdentifier: + fadeDuration: 0.25 + continueButton: {fileID: 1585065713} + dialogCanvas: {fileID: 848350126} + nameText: {fileID: 719833649} + nameTextGO: {fileID: 0} + storyText: {fileID: 1271479841} + storyTextGO: {fileID: 0} + characterImage: {fileID: 1786977129} + fitTextWithImage: 1 + closeOtherDialogs: 0 +--- !u!114 &848350123 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 848350117} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!225 &848350124 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 848350117} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &848350125 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 848350117} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 32 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1600, y: 1200} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 1 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &848350126 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 848350117} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 1 + m_TargetDisplay: 0 +--- !u!224 &848350127 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 848350117} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 2141708406} + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!1 &912332554 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 188900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 925012182} - - 222: {fileID: 925012186} - - 114: {fileID: 925012185} - - 225: {fileID: 925012184} - - 114: {fileID: 925012183} + - component: {fileID: 912332559} + - component: {fileID: 912332558} + - component: {fileID: 912332557} + - component: {fileID: 912332556} + - component: {fileID: 912332555} m_Layer: 5 m_Name: Panel m_TagString: Untagged @@ -1125,35 +1248,12 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &925012182 -RectTransform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 925012181} - 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: - - {fileID: 762842171} - - {fileID: 688663772} - - {fileID: 1700435622} - m_Father: {fileID: 1762881967} - m_RootOrder: 0 - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -750.0001, y: 0} - m_SizeDelta: {x: 1500, y: 335} - m_Pivot: {x: 0, y: 0} ---- !u!114 &925012183 +--- !u!114 &912332555 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11478524, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 925012181} + m_GameObject: {fileID: 912332554} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -1862395651, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -1164,7 +1264,7 @@ MonoBehaviour: callback: m_PersistentCalls: m_Calls: - - m_Target: {fileID: 1762881968} + - m_Target: {fileID: 1154186464} m_MethodName: SetDialogClickedFlag m_Mode: 1 m_Arguments: @@ -1178,25 +1278,23 @@ MonoBehaviour: m_TypeName: UnityEngine.EventSystems.EventTrigger+TriggerEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null delegates: [] ---- !u!225 &925012184 +--- !u!225 &912332556 CanvasGroup: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22583964, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 925012181} + m_GameObject: {fileID: 912332554} m_Enabled: 1 m_Alpha: 1 m_Interactable: 1 m_BlocksRaycasts: 1 m_IgnoreParentGroups: 0 ---- !u!114 &925012185 +--- !u!114 &912332557 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11488904, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 925012181} + m_GameObject: {fileID: 912332554} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -1210,7 +1308,7 @@ MonoBehaviour: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 21300000, guid: 2e33a3f531b6adc4f9d8a99c83e2ba2d, type: 3} + m_Sprite: {fileID: 21300000, guid: 49d5ccdda7b99e24787c2abc3891294c, type: 3} m_Type: 1 m_PreserveAspect: 1 m_FillCenter: 1 @@ -1218,129 +1316,189 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!222 &925012186 +--- !u!222 &912332558 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22288900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 912332554} +--- !u!224 &912332559 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 925012181} ---- !u!1 &1085130771 + m_GameObject: {fileID: 912332554} + 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: + - {fileID: 19778107} + - {fileID: 1070224271} + - {fileID: 998141578} + m_Father: {fileID: 1154186472} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: -750.0001, y: 0} + m_SizeDelta: {x: 1500, y: 335} + m_Pivot: {x: 0, y: 0} +--- !u!1 &998141577 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110272, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 1085130772} - - 222: {fileID: 1085130774} - - 114: {fileID: 1085130773} - m_Layer: 0 - m_Name: Offscreen Left + - component: {fileID: 998141578} + - component: {fileID: 998141581} + - component: {fileID: 998141580} + - component: {fileID: 998141579} + m_Layer: 5 + m_Name: StoryText m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1085130772 +--- !u!224 &998141578 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410272, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1085130771} + m_GameObject: {fileID: 998141577} 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: + - {fileID: 544794324} + m_Father: {fileID: 912332559} + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 1544660787} - m_RootOrder: 3 - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: -1300, y: -1000} - m_SizeDelta: {x: 1000, y: 1000} - m_Pivot: {x: 0.5, y: 0} ---- !u!114 &1085130773 + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 0.78700006} + m_AnchoredPosition: {x: 3, y: 14.130005} + m_SizeDelta: {x: -61, y: -63} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &998141579 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410272, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1085130771} + m_GameObject: {fileID: 998141577} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 1150 + m_PreferredHeight: 200 + m_FlexibleWidth: 1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!114 &998141580 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 998141577} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 ---- !u!222 &1085130774 + m_FontData: + m_Font: {fileID: 12800000, guid: 79197ecfbc3a4294a89ce589dac02cf2, type: 3} + m_FontSize: 45 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 50 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Story text +--- !u!222 &998141581 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210272, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1085130771} ---- !u!1 &1169044571 + m_GameObject: {fileID: 998141577} +--- !u!1 &1070224270 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 180152, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 1169044572} - - 222: {fileID: 1169044574} - - 114: {fileID: 1169044573} - - 114: {fileID: 1169044575} + - component: {fileID: 1070224271} + - component: {fileID: 1070224274} + - component: {fileID: 1070224273} + - component: {fileID: 1070224272} m_Layer: 5 - m_Name: Continue + m_Name: Image m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1169044572 +--- !u!224 &1070224271 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22433354, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1169044571} + m_GameObject: {fileID: 1070224270} 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: 912332559} + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: - - {fileID: 1951995254} - m_Father: {fileID: 1351438327} - m_RootOrder: 0 m_AnchorMin: {x: 1, y: 0} m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: -38.900024, y: 38.074993} - m_SizeDelta: {x: 77.900024, y: 77} + m_AnchoredPosition: {x: -178.5, y: 263.13} + m_SizeDelta: {x: 357, y: 435} m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1169044573 +--- !u!114 &1070224272 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1070224270} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 350 + m_PreferredHeight: 350 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!114 &1070224273 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11493918, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1169044571} + m_GameObject: {fileID: 1070224270} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -1354,272 +1512,340 @@ MonoBehaviour: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 21300000, guid: 226248ac6f184e448af731df91b91958, type: 3} + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} m_Type: 0 - m_PreserveAspect: 0 + m_PreserveAspect: 1 m_FillCenter: 1 m_FillMethod: 4 m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!222 &1169044574 +--- !u!222 &1070224274 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22268826, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1169044571} ---- !u!114 &1169044575 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11419088, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1169044571} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 1169044573} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 272906897} - m_MethodName: SetButtonClickedFlag - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 - m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, - Culture=neutral, PublicKeyToken=null ---- !u!1 &1226317641 + m_GameObject: {fileID: 1070224270} +--- !u!1 &1154186462 GameObject: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 4: {fileID: 1226317643} - - 114: {fileID: 1226317642} - m_Layer: 0 - m_Name: _FungusState + - component: {fileID: 1154186472} + - component: {fileID: 1154186471} + - component: {fileID: 1154186470} + - component: {fileID: 1154186469} + - component: {fileID: 1154186468} + - component: {fileID: 1154186467} + - component: {fileID: 1154186466} + - component: {fileID: 1154186465} + - component: {fileID: 1154186464} + - component: {fileID: 1154186463} + m_Layer: 5 + m_Name: JohnSayDialog m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1226317642 + m_IsActive: 0 +--- !u!82 &1154186463 +AudioSource: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1154186462} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 +--- !u!114 &1154186464 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1226317641} + m_GameObject: {fileID: 1154186462} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} + m_Script: {fileID: 11500000, guid: 43b85556abd314f3f870c18c013fdcef, type: 3} m_Name: m_EditorClassIdentifier: - selectedFlowchart: {fileID: 1755499606} ---- !u!4 &1226317643 -Transform: - m_ObjectHideFlags: 1 + clickMode: 1 + nextClickDelay: 0 + cancelEnabled: 1 + ignoreMenuClicks: 1 +--- !u!114 &1154186465 +MonoBehaviour: + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1226317641} - 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 7 ---- !u!1 &1290383786 -GameObject: + m_GameObject: {fileID: 1154186462} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c4782cf42f2644447b9631f6e522160b, type: 3} + m_Name: + m_EditorClassIdentifier: + volume: 1 + loop: 1 + targetAudioSource: {fileID: 0} + audioMode: 0 + beepSounds: + - {fileID: 8300000, guid: 774486030b696474e8b3cf7f178123da, type: 3} + - {fileID: 8300000, guid: f637c5ce9d10e45c7855ed89bfc6b97e, type: 3} + - {fileID: 8300000, guid: c53b7c20372e444c6bd7f2ac0729bbe2, type: 3} + soundEffect: {fileID: 0} + inputSound: {fileID: 8300000, guid: 14a396b1562834718b2d52b9c4639264, type: 3} +--- !u!114 &1154186466 +MonoBehaviour: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 4: {fileID: 1290383790} - - 114: {fileID: 1290383789} - - 114: {fileID: 1290383788} - - 114: {fileID: 1290383787} - m_Layer: 0 - m_Name: EventSystem - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1290383787 + m_GameObject: {fileID: 1154186462} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 998141577} + punchObject: {fileID: 912332554} + writingSpeed: 60 + punctuationPause: 0.25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 + forceRichText: 1 + instantComplete: 1 + doReadAheadText: 1 +--- !u!114 &1154186467 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1154186462} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} + m_Name: + m_EditorClassIdentifier: + fadeDuration: 0.25 + continueButton: {fileID: 544794325} + dialogCanvas: {fileID: 1154186471} + nameText: {fileID: 19778108} + nameTextGO: {fileID: 0} + storyText: {fileID: 998141580} + storyTextGO: {fileID: 0} + characterImage: {fileID: 1070224273} + fitTextWithImage: 1 + closeOtherDialogs: 0 +--- !u!114 &1154186468 MonoBehaviour: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} + m_GameObject: {fileID: 1154186462} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!225 &1154186469 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1154186462} m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_ForceModuleActive: 0 ---- !u!114 &1290383788 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1154186470 MonoBehaviour: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} + m_GameObject: {fileID: 1154186462} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - m_HorizontalAxis: Horizontal - m_VerticalAxis: Vertical - m_SubmitButton: Submit - m_CancelButton: Cancel - m_InputActionsPerSecond: 10 - m_RepeatDelay: 0.5 - m_ForceModuleActive: 0 ---- !u!114 &1290383789 -MonoBehaviour: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 32 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1600, y: 1200} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 1 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &1154186471 +Canvas: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} + m_GameObject: {fileID: 1154186462} m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_FirstSelected: {fileID: 0} - m_sendNavigationEvents: 1 - m_DragThreshold: 5 ---- !u!4 &1290383790 -Transform: + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 1 + m_TargetDisplay: 0 +--- !u!224 &1154186472 +RectTransform: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} + m_GameObject: {fileID: 1154186462} 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_LocalEulerAnglesHint: {x: 179.999, y: 179.999, z: 179.999} - m_Children: [] + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 912332559} m_Father: {fileID: 0} - m_RootOrder: 8 ---- !u!1 &1311069593 + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!1 &1226317641 GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110278, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 1311069594} - - 222: {fileID: 1311069595} - - 114: {fileID: 1311069596} + - component: {fileID: 1226317643} + - component: {fileID: 1226317642} m_Layer: 0 - m_Name: Middle + m_Name: _FungusState m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1311069594 -RectTransform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410276, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1311069593} - 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 1544660787} - m_RootOrder: 0 - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: -1000} - m_SizeDelta: {x: 1000, y: 1000} - m_Pivot: {x: 0.5, y: 0} ---- !u!222 &1311069595 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210274, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1311069593} ---- !u!114 &1311069596 +--- !u!114 &1226317642 MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410280, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1311069593} + m_GameObject: {fileID: 1226317641} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} m_Name: m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 0} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, - Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 ---- !u!1 &1351438326 + selectedFlowchart: {fileID: 1755499606} +--- !u!4 &1226317643 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1226317641} + 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: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1271479838 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 188894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 1351438327} - - 222: {fileID: 1351438329} - - 114: {fileID: 1351438330} - - 114: {fileID: 1351438328} + - component: {fileID: 1271479839} + - component: {fileID: 1271479842} + - component: {fileID: 1271479841} + - component: {fileID: 1271479840} m_Layer: 5 m_Name: StoryText m_TagString: Untagged @@ -1627,33 +1853,31 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1351438327 +--- !u!224 &1271479839 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1351438326} + m_GameObject: {fileID: 1271479838} 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: - - {fileID: 1169044572} - m_Father: {fileID: 620551847} + - {fileID: 1585065712} + m_Father: {fileID: 2141708406} m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 0.78700006} m_AnchoredPosition: {x: 3, y: 14.130005} m_SizeDelta: {x: -61, y: -63} m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1351438328 +--- !u!114 &1271479840 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1351438326} + m_GameObject: {fileID: 1271479838} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -1666,20 +1890,13 @@ MonoBehaviour: m_PreferredHeight: 200 m_FlexibleWidth: 1 m_FlexibleHeight: -1 ---- !u!222 &1351438329 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22288894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1351438326} ---- !u!114 &1351438330 + m_LayoutPriority: 1 +--- !u!114 &1271479841 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1351438326} + m_GameObject: {fileID: 1271479838} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -1707,271 +1924,178 @@ MonoBehaviour: m_VerticalOverflow: 0 m_LineSpacing: 1 m_Text: Story text ---- !u!1 &1523056905 +--- !u!222 &1271479842 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1271479838} +--- !u!1 &1419434481 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 155030, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 1523056906} - - 222: {fileID: 1523056908} - - 114: {fileID: 1523056907} - m_Layer: 5 - m_Name: Text + - component: {fileID: 1419434482} + - component: {fileID: 1419434484} + - component: {fileID: 1419434483} + m_Layer: 0 + m_Name: Offscreen Right m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1523056906 +--- !u!224 &1419434482 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22443574, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1523056905} + m_GameObject: {fileID: 1419434481} 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] - m_Father: {fileID: 61581461} - m_RootOrder: 0 - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1523056907 + m_Father: {fileID: 471199454} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 1300, y: -1000} + m_SizeDelta: {x: 1000, y: 1000} + m_Pivot: {x: 0.5, y: 0} +--- !u!114 &1419434483 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11431470, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1523056905} + m_GameObject: {fileID: 1419434481} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_Color: {r: 1, g: 1, b: 1, a: 0} m_RaycastTarget: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 14 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 10 - m_MaxSize: 40 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: ---- !u!222 &1523056908 + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &1419434484 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22257884, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1523056905} ---- !u!1 &1544660786 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110276, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 224: {fileID: 1544660787} - - 223: {fileID: 1544660791} - - 114: {fileID: 1544660790} - - 114: {fileID: 1544660789} - - 225: {fileID: 1544660788} - m_Layer: 5 - m_Name: Canvas - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1544660787 -RectTransform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410274, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: - - {fileID: 1311069594} - - {fileID: 599196445} - - {fileID: 534534504} - - {fileID: 1085130772} - - {fileID: 205269090} - m_Father: {fileID: 2073331544} - m_RootOrder: 0 - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} ---- !u!225 &1544660788 -CanvasGroup: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22510270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_Enabled: 1 - m_Alpha: 1 - m_Interactable: 1 - m_BlocksRaycasts: 0 - m_IgnoreParentGroups: 0 ---- !u!114 &1544660789 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410276, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_UiScaleMode: 1 - m_ReferencePixelsPerUnit: 100 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 1600, y: 1200} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 1 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 ---- !u!114 &1544660790 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410278, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!223 &1544660791 -Canvas: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22310270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_Enabled: 1 - serializedVersion: 2 - m_RenderMode: 0 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 1 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_TargetDisplay: 0 ---- !u!1 &1700435621 + m_GameObject: {fileID: 1419434481} +--- !u!1 &1585065711 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 188894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 1700435622} - - 222: {fileID: 1700435624} - - 114: {fileID: 1700435625} - - 114: {fileID: 1700435623} + - component: {fileID: 1585065712} + - component: {fileID: 1585065715} + - component: {fileID: 1585065714} + - component: {fileID: 1585065713} m_Layer: 5 - m_Name: StoryText + m_Name: Continue m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1700435622 +--- !u!224 &1585065712 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1700435621} + m_GameObject: {fileID: 1585065711} 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: - - {fileID: 61581461} - m_Father: {fileID: 925012182} - m_RootOrder: 2 - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 0.78700006} - m_AnchoredPosition: {x: 3, y: 14.130005} - m_SizeDelta: {x: -61, y: -63} + - {fileID: 217949780} + m_Father: {fileID: 1271479839} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -38.900024, y: 38.074993} + m_SizeDelta: {x: 77.900024, y: 77} m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1700435623 +--- !u!114 &1585065713 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1700435621} + m_GameObject: {fileID: 1585065711} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - m_IgnoreLayout: 0 - m_MinWidth: -1 - m_MinHeight: -1 - m_PreferredWidth: 1150 - m_PreferredHeight: 200 - m_FlexibleWidth: 1 - m_FlexibleHeight: -1 ---- !u!222 &1700435624 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22288894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1700435621} ---- !u!114 &1700435625 + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1585065714} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 848350119} + m_MethodName: SetButtonClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, + Culture=neutral, PublicKeyToken=null +--- !u!114 &1585065714 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1700435621} + m_GameObject: {fileID: 1585065711} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} @@ -1982,32 +2106,31 @@ MonoBehaviour: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_FontData: - m_Font: {fileID: 12800000, guid: 79197ecfbc3a4294a89ce589dac02cf2, type: 3} - m_FontSize: 45 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 4 - m_MaxSize: 50 - m_Alignment: 0 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: Story text + m_Sprite: {fileID: 21300000, guid: 226248ac6f184e448af731df91b91958, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &1585065715 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1585065711} --- !u!1 &1726345438 GameObject: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 4: {fileID: 1726345443} - - 20: {fileID: 1726345442} - - 92: {fileID: 1726345441} - - 124: {fileID: 1726345440} - - 81: {fileID: 1726345439} + - component: {fileID: 1726345443} + - component: {fileID: 1726345442} + - component: {fileID: 1726345440} + - component: {fileID: 1726345439} m_Layer: 0 m_Name: Main Camera m_TagString: MainCamera @@ -2023,13 +2146,6 @@ AudioListener: m_GameObject: {fileID: 1726345438} m_Enabled: 1 --- !u!124 &1726345440 -Behaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1726345438} - m_Enabled: 1 ---- !u!92 &1726345441 Behaviour: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} @@ -2066,10 +2182,12 @@ Camera: m_TargetDisplay: 0 m_TargetEye: 3 m_HDR: 0 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: 0.022 - m_StereoMirrorMode: 0 --- !u!4 &1726345443 Transform: m_ObjectHideFlags: 0 @@ -2079,22 +2197,22 @@ Transform: m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: -10} m_LocalScale: {x: 1, y: 1, z: 1} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1755499605 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 4: {fileID: 1755499610} - - 114: {fileID: 1755499606} - - 114: {fileID: 1755499608} - - 114: {fileID: 1755499609} - - 114: {fileID: 1755499607} + - component: {fileID: 1755499610} + - component: {fileID: 1755499606} + - component: {fileID: 1755499608} + - component: {fileID: 1755499609} + - component: {fileID: 1755499607} m_Layer: 0 m_Name: Flowchart m_TagString: Untagged @@ -2105,8 +2223,7 @@ GameObject: --- !u!114 &1755499606 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} m_Enabled: 1 @@ -2126,7 +2243,8 @@ MonoBehaviour: y: -340 width: 1114 height: 859 - selectedBlock: {fileID: 1755499608} + selectedBlocks: + - {fileID: 1755499608} selectedCommands: - {fileID: 1755499607} variables: [] @@ -2152,7 +2270,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 1 - errorMessage: indentLevel: 0 conversationText: stringRef: {fileID: 0} @@ -2164,11 +2281,22 @@ MonoBehaviour: john hide: sherlock hide:' + clearPrevious: + booleanRef: {fileID: 0} + booleanVal: 1 + waitForInput: + booleanRef: {fileID: 0} + booleanVal: 1 + waitForSeconds: + floatRef: {fileID: 0} + floatVal: 0 + fadeWhenDone: + booleanRef: {fileID: 0} + booleanVal: 1 --- !u!114 &1755499608 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} m_Enabled: 1 @@ -2178,21 +2306,23 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 68 - y: 70 - width: 120 + x: 120 + y: 120 + width: 80 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 0 blockName: Start description: eventHandler: {fileID: 1755499609} commandList: - {fileID: 1755499607} + suppressAllAutoSelections: 0 --- !u!114 &1755499609 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 11462346, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} m_Enabled: 1 @@ -2201,295 +2331,118 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1755499608} + suppressBlockAutoSelect: 0 + waitForFrames: 1 --- !u!4 &1755499610 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 6 ---- !u!1 &1762881965 + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1786977126 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 188902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 1762881967} - - 223: {fileID: 1762881969} - - 114: {fileID: 1762881975} - - 225: {fileID: 1762881974} - - 114: {fileID: 1762881973} - - 114: {fileID: 1762881966} - - 114: {fileID: 1762881972} - - 114: {fileID: 1762881971} - - 114: {fileID: 1762881968} - - 82: {fileID: 1762881970} + - component: {fileID: 1786977127} + - component: {fileID: 1786977130} + - component: {fileID: 1786977129} + - component: {fileID: 1786977128} m_Layer: 5 - m_Name: SherlockSayDialog + m_Name: Image m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!114 &1762881966 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1762881965} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} - m_Name: - m_EditorClassIdentifier: - fadeDuration: 0.25 - continueButton: {fileID: 61581464} - dialogCanvas: {fileID: 1762881969} - nameText: {fileID: 762842173} - storyText: {fileID: 1700435625} - characterImage: {fileID: 688663769} - fitTextWithImage: 1 ---- !u!224 &1762881967 + m_IsActive: 1 +--- !u!224 &1786977127 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1762881965} + m_GameObject: {fileID: 1786977126} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: - - {fileID: 925012182} - m_Father: {fileID: 0} - m_RootOrder: 4 - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} ---- !u!114 &1762881968 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11481894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1762881965} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 43b85556abd314f3f870c18c013fdcef, type: 3} - m_Name: - m_EditorClassIdentifier: - clickMode: 1 - nextClickDelay: 0 - cancelEnabled: 1 - ignoreMenuClicks: 1 ---- !u!223 &1762881969 -Canvas: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22388894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1762881965} - m_Enabled: 1 - serializedVersion: 2 - m_RenderMode: 0 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 1 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_SortingLayerID: 0 - m_SortingOrder: 1 - m_TargetDisplay: 0 ---- !u!82 &1762881970 -AudioSource: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 8294266, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1762881965} - m_Enabled: 1 - serializedVersion: 4 - OutputAudioMixerGroup: {fileID: 0} - m_audioClip: {fileID: 0} - m_PlayOnAwake: 0 - m_Volume: 1 - m_Pitch: 1 - Loop: 0 - Mute: 0 - Spatialize: 0 - Priority: 128 - DopplerLevel: 1 - MinDistance: 1 - MaxDistance: 500 - Pan2D: 0 - rolloffMode: 0 - BypassEffects: 0 - BypassListenerEffects: 0 - BypassReverbZones: 0 - rolloffCustomCurve: - serializedVersion: 2 - m_Curve: - - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - - time: 1 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - panLevelCustomCurve: - serializedVersion: 2 - m_Curve: - - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 0 - spreadCustomCurve: - serializedVersion: 2 - m_Curve: - - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - reverbZoneMixCustomCurve: - serializedVersion: 2 - m_Curve: - - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 0 ---- !u!114 &1762881971 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11404316, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1762881965} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: c4782cf42f2644447b9631f6e522160b, type: 3} - m_Name: - m_EditorClassIdentifier: - volume: 1 - loop: 1 - targetAudioSource: {fileID: 0} - audioMode: 0 - beepSounds: - - {fileID: 8300000, guid: 774486030b696474e8b3cf7f178123da, type: 3} - - {fileID: 8300000, guid: f637c5ce9d10e45c7855ed89bfc6b97e, type: 3} - - {fileID: 8300000, guid: c53b7c20372e444c6bd7f2ac0729bbe2, type: 3} - soundEffect: {fileID: 0} - inputSound: {fileID: 8300000, guid: 14a396b1562834718b2d52b9c4639264, type: 3} ---- !u!114 &1762881972 + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 2141708406} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -178.5, y: 263.13} + m_SizeDelta: {x: 357, y: 435} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1786977128 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11487070, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1762881965} + m_GameObject: {fileID: 1786977126} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - targetTextObject: {fileID: 1700435621} - punchObject: {fileID: 925012181} - writingSpeed: 60 - punctuationPause: 0.25 - hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} - writeWholeWords: 0 - forceRichText: 1 - instantComplete: 1 ---- !u!114 &1762881973 + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 350 + m_PreferredHeight: 350 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!114 &1786977129 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11486804, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1762881965} + m_GameObject: {fileID: 1786977126} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!225 &1762881974 -CanvasGroup: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22588896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1762881965} - m_Enabled: 1 - m_Alpha: 1 - m_Interactable: 1 - m_BlocksRaycasts: 1 - m_IgnoreParentGroups: 0 ---- !u!114 &1762881975 -MonoBehaviour: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &1786977130 +CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11488906, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1762881965} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_UiScaleMode: 1 - m_ReferencePixelsPerUnit: 32 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 1600, y: 1200} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 1 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 + m_GameObject: {fileID: 1786977126} --- !u!1 &1825768325 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 4: {fileID: 1825768327} - - 114: {fileID: 1825768326} + - component: {fileID: 1825768327} + - component: {fileID: 1825768326} m_Layer: 0 m_Name: Sherlock m_TagString: Untagged @@ -2500,8 +2453,7 @@ GameObject: --- !u!114 &1825768326 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1825768325} m_Enabled: 1 @@ -2512,127 +2464,145 @@ MonoBehaviour: nameText: Character Name nameColor: {r: 1, g: 1, b: 1, a: 1} soundEffect: {fileID: 0} - profileSprite: {fileID: 21300000, guid: 84cdbfde1b7d4c24ab7071894480d5db, type: 3} portraits: - {fileID: 21300000, guid: 84cdbfde1b7d4c24ab7071894480d5db, type: 3} portraitsFace: 0 - setSayDialog: {fileID: 1762881966} + setSayDialog: {fileID: 848350122} description: --- !u!4 &1825768327 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1825768325} 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} m_RootOrder: 3 ---- !u!1 &1951995253 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1978420464 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 155030, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 1951995254} - - 222: {fileID: 1951995256} - - 114: {fileID: 1951995255} - m_Layer: 5 - m_Name: Text + - component: {fileID: 1978420466} + - component: {fileID: 1978420465} + m_Layer: 0 + m_Name: Stage m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1951995254 -RectTransform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22443574, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1951995253} - 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 1169044572} - m_RootOrder: 0 - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1951995255 +--- !u!114 &1978420465 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11431470, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1951995253} + m_GameObject: {fileID: 1978420464} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 11500000, guid: 6f6478b25a400c642b2dee75f022ab12, type: 3} m_Name: m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, - Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 14 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 10 - m_MaxSize: 40 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: ---- !u!222 &1951995256 -CanvasRenderer: + portraitCanvas: {fileID: 471199458} + dimPortraits: 1 + dimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + fadeDuration: 0.75 + moveDuration: 1 + fadeEaseType: 4 + shiftOffset: {x: 0, y: 0} + defaultPosition: {fileID: 36939546} + positions: + - {fileID: 6599666} + - {fileID: 36939544} + - {fileID: 837010673} + - {fileID: 645891844} + - {fileID: 1419434482} +--- !u!4 &1978420466 +Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22257884, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1951995253} ---- !u!1 &2050377791 + m_GameObject: {fileID: 1978420464} + 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: + - {fileID: 471199454} + m_Father: {fileID: 0} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2141708401 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 148914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 224: {fileID: 2050377795} - - 222: {fileID: 2050377794} - - 114: {fileID: 2050377792} - - 114: {fileID: 2050377793} + - component: {fileID: 2141708406} + - component: {fileID: 2141708405} + - component: {fileID: 2141708404} + - component: {fileID: 2141708403} + - component: {fileID: 2141708402} m_Layer: 5 - m_Name: Image + m_Name: Panel m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!114 &2050377792 +--- !u!114 &2141708402 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2141708401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -1862395651, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Delegates: + - eventID: 4 + callback: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 848350119} + m_MethodName: SetDialogClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + m_TypeName: UnityEngine.EventSystems.EventTrigger+TriggerEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + delegates: [] +--- !u!225 &2141708403 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2141708401} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &2141708404 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2050377791} + m_GameObject: {fileID: 2141708401} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -2646,119 +2616,38 @@ MonoBehaviour: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} - m_Type: 0 + m_Sprite: {fileID: 21300000, guid: 888feb4a32e3b564fb7e6f9b28cc8e10, type: 3} + m_Type: 1 m_PreserveAspect: 1 m_FillCenter: 1 - m_FillMethod: 4 + m_FillMethod: 0 m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!114 &2050377793 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11439142, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2050377791} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreLayout: 0 - m_MinWidth: -1 - m_MinHeight: -1 - m_PreferredWidth: 350 - m_PreferredHeight: 350 - m_FlexibleWidth: -1 - m_FlexibleHeight: -1 ---- !u!222 &2050377794 +--- !u!222 &2141708405 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22248914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2050377791} ---- !u!224 &2050377795 + m_GameObject: {fileID: 2141708401} +--- !u!224 &2141708406 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2050377791} - 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 620551847} - m_RootOrder: 1 - m_AnchorMin: {x: 1, y: 0} - m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: -178.5, y: 263.13} - m_SizeDelta: {x: 357, y: 435} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &2073331542 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110274, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 4: {fileID: 2073331544} - - 114: {fileID: 2073331543} - m_Layer: 0 - m_Name: Stage - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &2073331543 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410274, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2073331542} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 6f6478b25a400c642b2dee75f022ab12, type: 3} - m_Name: - m_EditorClassIdentifier: - portraitCanvas: {fileID: 1544660791} - dimPortraits: 1 - fadeDuration: 0.75 - moveDuration: 1 - fadeEaseType: 4 - moveEaseType: 4 - shiftOffset: {x: 0, y: 0} - defaultPosition: {fileID: 1311069596} - positions: - - {fileID: 599196445} - - {fileID: 1311069594} - - {fileID: 534534504} - - {fileID: 1085130772} - - {fileID: 205269090} - cachedPositions: - - {fileID: 599196445} - - {fileID: 1311069594} - - {fileID: 534534504} - - {fileID: 1085130772} - - {fileID: 205269090} - charactersOnStage: [] ---- !u!4 &2073331544 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2073331542} + m_GameObject: {fileID: 2141708401} 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: - - {fileID: 1544660787} - m_Father: {fileID: 0} - m_RootOrder: 5 + - {fileID: 719833648} + - {fileID: 1786977127} + - {fileID: 1271479839} + m_Father: {fileID: 848350127} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: -750.0001, y: 0} + m_SizeDelta: {x: 1500, y: 335} + m_Pivot: {x: 0, y: 0} diff --git a/Assets/FungusExamples/Conversation/NarrativeEntryLogTest.unity b/Assets/FungusExamples/Conversation/NarrativeEntryLogTest.unity new file mode 100644 index 00000000..10a362f2 --- /dev/null +++ b/Assets/FungusExamples/Conversation/NarrativeEntryLogTest.unity @@ -0,0 +1,5640 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 512 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 2 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &47249520 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 47249521} + - component: {fileID: 47249524} + - component: {fileID: 47249523} + - component: {fileID: 47249522} + - component: {fileID: 47249525} + m_Layer: 5 + m_Name: OptionPanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &47249521 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 47249520} + 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: + - {fileID: 1429394986} + - {fileID: 249552364} + - {fileID: 60948821} + m_Father: {fileID: 1296051205} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 70} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &47249522 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 47249520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!114 &47249523 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 47249520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &47249524 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 47249520} + m_CullTransparentMesh: 0 +--- !u!114 &47249525 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 47249520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 20 + m_Right: 20 + m_Top: 10 + m_Bottom: 10 + m_ChildAlignment: 4 + m_Spacing: 20 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 1 + m_ChildControlWidth: 1 + m_ChildControlHeight: 1 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!1 &52471636 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 52471637} + - component: {fileID: 52471640} + - component: {fileID: 52471639} + - component: {fileID: 52471638} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &52471637 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 52471636} + 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: 572367619} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &52471638 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 52471636} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: 1 + m_LayoutPriority: 1 +--- !u!114 &52471639 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 52471636} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 20 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Description +--- !u!222 &52471640 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 52471636} + m_CullTransparentMesh: 0 +--- !u!1 &60948820 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 60948821} + - component: {fileID: 60948824} + - component: {fileID: 60948823} + - component: {fileID: 60948822} + - component: {fileID: 60948825} + m_Layer: 5 + m_Name: ToPreviousMenu + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &60948821 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60948820} + 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: + - {fileID: 597492669} + m_Father: {fileID: 47249521} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &60948822 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60948820} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 60948823} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &60948823 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60948820} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &60948824 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60948820} + m_CullTransparentMesh: 0 +--- !u!114 &60948825 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60948820} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1 &109008358 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 109008368} + - component: {fileID: 109008367} + - component: {fileID: 109008366} + - component: {fileID: 109008365} + - component: {fileID: 109008364} + - component: {fileID: 109008363} + - component: {fileID: 109008362} + - component: {fileID: 109008361} + - component: {fileID: 109008360} + - component: {fileID: 109008359} + m_Layer: 5 + m_Name: TestSayDialog + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!82 &109008359 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 109008358} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 +--- !u!114 &109008360 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 109008358} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43b85556abd314f3f870c18c013fdcef, type: 3} + m_Name: + m_EditorClassIdentifier: + clickMode: 2 + nextClickDelay: 0.1 + cancelEnabled: 1 + ignoreMenuClicks: 1 +--- !u!114 &109008361 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 109008358} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c4782cf42f2644447b9631f6e522160b, type: 3} + m_Name: + m_EditorClassIdentifier: + volume: 1 + loop: 1 + targetAudioSource: {fileID: 0} + audioMode: 0 + beepSounds: + - {fileID: 8300000, guid: 774486030b696474e8b3cf7f178123da, type: 3} + - {fileID: 8300000, guid: f637c5ce9d10e45c7855ed89bfc6b97e, type: 3} + - {fileID: 8300000, guid: c53b7c20372e444c6bd7f2ac0729bbe2, type: 3} + soundEffect: {fileID: 0} + inputSound: {fileID: 8300000, guid: 14a396b1562834718b2d52b9c4639264, type: 3} +--- !u!114 &109008362 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 109008358} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 541349191} + punchObject: {fileID: 920147306} + writingSpeed: 60 + punctuationPause: 0.25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 + forceRichText: 1 + instantComplete: 1 +--- !u!114 &109008363 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 109008358} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} + m_Name: + m_EditorClassIdentifier: + fadeDuration: 0.25 + continueButton: {fileID: 1051807141} + dialogCanvas: {fileID: 109008367} + nameText: {fileID: 1757148444} + nameTextGO: {fileID: 0} + storyText: {fileID: 541349194} + storyTextGO: {fileID: 0} + characterImage: {fileID: 655008626} + fitTextWithImage: 1 + closeOtherDialogs: 0 +--- !u!114 &109008364 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 109008358} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!225 &109008365 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 109008358} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &109008366 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 109008358} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 32 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1600, y: 1200} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 1 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &109008367 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 109008358} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 1 + m_TargetDisplay: 0 +--- !u!224 &109008368 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 109008358} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 920147311} + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!1 &249552363 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 249552364} + - component: {fileID: 249552367} + - component: {fileID: 249552366} + - component: {fileID: 249552365} + - component: {fileID: 249552368} + m_Layer: 5 + m_Name: Load + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &249552364 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 249552363} + 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: + - {fileID: 1168662558} + m_Father: {fileID: 47249521} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &249552365 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 249552363} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 249552366} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &249552366 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 249552363} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &249552367 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 249552363} + m_CullTransparentMesh: 0 +--- !u!114 &249552368 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 249552363} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1 &310863107 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 310863108} + - component: {fileID: 310863112} + - component: {fileID: 310863111} + - component: {fileID: 310863110} + - component: {fileID: 310863109} + m_Layer: 5 + m_Name: SaveSlotHolder + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &310863108 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 310863107} + 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: + - {fileID: 519065838} + - {fileID: 329910284} + - {fileID: 572367619} + - {fileID: 2034931114} + - {fileID: 2111264497} + - {fileID: 1450040596} + - {fileID: 530825681} + m_Father: {fileID: 312314049} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 460.5, y: -419.9983} + m_SizeDelta: {x: 921, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &310863109 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 310863107} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 0 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!114 &310863110 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 310863107} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &310863111 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 310863107} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &310863112 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 310863107} + m_CullTransparentMesh: 0 +--- !u!1 &312314048 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 312314049} + - component: {fileID: 312314052} + - component: {fileID: 312314051} + - component: {fileID: 312314050} + - component: {fileID: 312314054} + - component: {fileID: 312314053} + m_Layer: 5 + m_Name: SaveSlotPanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &312314049 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 312314048} + 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: + - {fileID: 310863108} + m_Father: {fileID: 1296051205} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 378} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &312314050 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 312314048} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: 1 + m_FlexibleHeight: 1 + m_LayoutPriority: 1 +--- !u!114 &312314051 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 312314048} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0.392} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &312314052 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 312314048} + m_CullTransparentMesh: 0 +--- !u!114 &312314053 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 312314048} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Content: {fileID: 310863108} + m_Horizontal: 0 + m_Vertical: 1 + m_MovementType: 2 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1 + m_Viewport: {fileID: 0} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 0} + m_HorizontalScrollbarVisibility: 0 + m_VerticalScrollbarVisibility: 0 + m_HorizontalScrollbarSpacing: 0 + m_VerticalScrollbarSpacing: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &312314054 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 312314048} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ShowMaskGraphic: 1 +--- !u!1 &329910283 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 329910284} + - component: {fileID: 329910288} + - component: {fileID: 329910287} + - component: {fileID: 329910286} + - component: {fileID: 329910285} + - component: {fileID: 329910289} + m_Layer: 5 + m_Name: SaveSlot (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &329910284 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 329910283} + 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: + - {fileID: 949005580} + - {fileID: 1579449207} + m_Father: {fileID: 310863108} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 120} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &329910285 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 329910283} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 5 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 10 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 0 + m_ChildControlHeight: 1 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!114 &329910286 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 329910283} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 329910287} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &329910287 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 329910283} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &329910288 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 329910283} + m_CullTransparentMesh: 0 +--- !u!114 &329910289 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 329910283} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1 &418058501 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 418058503} + - component: {fileID: 418058502} + m_Layer: 0 + m_Name: _FungusState + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &418058502 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 418058501} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} + m_Name: + m_EditorClassIdentifier: + selectedFlowchart: {fileID: 1283924777} +--- !u!4 &418058503 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 418058501} + 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: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &433486714 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 433486715} + - component: {fileID: 433486717} + - component: {fileID: 433486716} + m_Layer: 5 + m_Name: SaveNumber + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &433486715 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 433486714} + 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: 530825681} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &433486716 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 433486714} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'Save #' +--- !u!222 &433486717 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 433486714} + m_CullTransparentMesh: 0 +--- !u!1 &504429262 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 504429263} + - component: {fileID: 504429265} + - component: {fileID: 504429264} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &504429263 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 504429262} + 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: 1429394986} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -20, y: -20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &504429264 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 504429262} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Save +--- !u!222 &504429265 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 504429262} + m_CullTransparentMesh: 0 +--- !u!1 &519065837 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 519065838} + - component: {fileID: 519065841} + - component: {fileID: 519065840} + - component: {fileID: 519065839} + - component: {fileID: 519065842} + - component: {fileID: 519065843} + m_Layer: 5 + m_Name: SaveSlot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &519065838 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519065837} + 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: + - {fileID: 1258370071} + - {fileID: 2104863279} + m_Father: {fileID: 310863108} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 120} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &519065839 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519065837} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 519065840} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &519065840 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519065837} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &519065841 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519065837} + m_CullTransparentMesh: 0 +--- !u!114 &519065842 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519065837} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 5 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 10 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 0 + m_ChildControlHeight: 1 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!114 &519065843 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519065837} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1 &530825680 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 530825681} + - component: {fileID: 530825685} + - component: {fileID: 530825684} + - component: {fileID: 530825683} + - component: {fileID: 530825682} + - component: {fileID: 530825686} + m_Layer: 5 + m_Name: SaveSlot (6) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &530825681 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 530825680} + 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: + - {fileID: 433486715} + - {fileID: 1124196134} + m_Father: {fileID: 310863108} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 120} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &530825682 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 530825680} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 5 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 10 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 0 + m_ChildControlHeight: 1 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!114 &530825683 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 530825680} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 530825684} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &530825684 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 530825680} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &530825685 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 530825680} + m_CullTransparentMesh: 0 +--- !u!114 &530825686 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 530825680} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1 &541349191 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 541349192} + - component: {fileID: 541349195} + - component: {fileID: 541349194} + - component: {fileID: 541349193} + m_Layer: 5 + m_Name: StoryText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &541349192 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 541349191} + 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: + - {fileID: 1051807140} + m_Father: {fileID: 920147311} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 0.78700006} + m_AnchoredPosition: {x: 3, y: 14.130005} + m_SizeDelta: {x: -61, y: -63} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &541349193 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 541349191} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 1150 + m_PreferredHeight: 200 + m_FlexibleWidth: 1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!114 &541349194 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 541349191} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: 79197ecfbc3a4294a89ce589dac02cf2, type: 3} + m_FontSize: 45 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 50 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Story text +--- !u!222 &541349195 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 541349191} + m_CullTransparentMesh: 0 +--- !u!1 &572367618 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 572367619} + - component: {fileID: 572367623} + - component: {fileID: 572367622} + - component: {fileID: 572367621} + - component: {fileID: 572367620} + - component: {fileID: 572367624} + m_Layer: 5 + m_Name: SaveSlot (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &572367619 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 572367618} + 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: + - {fileID: 1910353150} + - {fileID: 52471637} + m_Father: {fileID: 310863108} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 120} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &572367620 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 572367618} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 5 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 10 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 0 + m_ChildControlHeight: 1 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!114 &572367621 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 572367618} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 572367622} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &572367622 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 572367618} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &572367623 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 572367618} + m_CullTransparentMesh: 0 +--- !u!114 &572367624 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 572367618} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1 &597492668 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 597492669} + - component: {fileID: 597492671} + - component: {fileID: 597492670} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &597492669 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 597492668} + 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: 60948821} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -20, y: -20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &597492670 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 597492668} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: To Previous Menu +--- !u!222 &597492671 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 597492668} + m_CullTransparentMesh: 0 +--- !u!1 &614058552 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 614058553} + - component: {fileID: 614058556} + - component: {fileID: 614058555} + - component: {fileID: 614058554} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &614058553 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 614058552} + 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: 1450040596} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &614058554 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 614058552} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: 1 + m_LayoutPriority: 1 +--- !u!114 &614058555 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 614058552} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 20 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Description +--- !u!222 &614058556 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 614058552} + m_CullTransparentMesh: 0 +--- !u!1 &655008623 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 655008624} + - component: {fileID: 655008627} + - component: {fileID: 655008626} + - component: {fileID: 655008625} + m_Layer: 5 + m_Name: Image + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &655008624 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 655008623} + 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: 920147311} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -178.5, y: 263.13} + m_SizeDelta: {x: 357, y: 435} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &655008625 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 655008623} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 350 + m_PreferredHeight: 350 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!114 &655008626 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 655008623} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &655008627 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 655008623} + m_CullTransparentMesh: 0 +--- !u!1 &726313127 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 726313128} + - component: {fileID: 726313131} + - component: {fileID: 726313130} + - component: {fileID: 726313129} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &726313128 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 726313127} + 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: 2034931114} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &726313129 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 726313127} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: 1 + m_LayoutPriority: 1 +--- !u!114 &726313130 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 726313127} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 20 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Description +--- !u!222 &726313131 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 726313127} + m_CullTransparentMesh: 0 +--- !u!1 &805531673 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 805531674} + - component: {fileID: 805531677} + - component: {fileID: 805531676} + - component: {fileID: 805531675} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &805531674 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 805531673} + 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: 2111264497} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &805531675 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 805531673} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: 1 + m_LayoutPriority: 1 +--- !u!114 &805531676 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 805531673} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 20 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Description +--- !u!222 &805531677 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 805531673} + m_CullTransparentMesh: 0 +--- !u!1 &920147306 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 920147311} + - component: {fileID: 920147310} + - component: {fileID: 920147309} + - component: {fileID: 920147308} + - component: {fileID: 920147307} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &920147307 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 920147306} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0b148fe25e99eb48b9724523833bab1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Delegates: + - eventID: 4 + callback: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 109008360} + m_MethodName: SetDialogClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!225 &920147308 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 920147306} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &920147309 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 920147306} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: e8ab00ef0d9684dcb9deb52811d91218, type: 3} + m_Type: 1 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 0 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &920147310 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 920147306} + m_CullTransparentMesh: 0 +--- !u!224 &920147311 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 920147306} + 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: + - {fileID: 1757148443} + - {fileID: 655008624} + - {fileID: 541349192} + m_Father: {fileID: 109008368} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: -750.0001, y: 0} + m_SizeDelta: {x: 1500, y: 335} + m_Pivot: {x: 0, y: 0} +--- !u!1 &949005579 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 949005580} + - component: {fileID: 949005582} + - component: {fileID: 949005581} + m_Layer: 5 + m_Name: SaveNumber + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &949005580 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 949005579} + 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: 329910284} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &949005581 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 949005579} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'Save #' +--- !u!222 &949005582 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 949005579} + m_CullTransparentMesh: 0 +--- !u!1 &1051807139 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1051807140} + - component: {fileID: 1051807143} + - component: {fileID: 1051807142} + - component: {fileID: 1051807141} + m_Layer: 5 + m_Name: Continue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1051807140 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1051807139} + 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: + - {fileID: 1582637748} + m_Father: {fileID: 541349192} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -38.900024, y: 38.074993} + m_SizeDelta: {x: 77.900024, y: 77} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1051807141 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1051807139} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1051807142} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 109008360} + m_MethodName: SetButtonClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &1051807142 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1051807139} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 226248ac6f184e448af731df91b91958, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1051807143 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1051807139} + m_CullTransparentMesh: 0 +--- !u!1 &1097157287 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1097157288} + - component: {fileID: 1097157290} + - component: {fileID: 1097157289} + m_Layer: 5 + m_Name: SaveNumber + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1097157288 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1097157287} + 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: 1450040596} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1097157289 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1097157287} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'Save #' +--- !u!222 &1097157290 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1097157287} + m_CullTransparentMesh: 0 +--- !u!1 &1099128613 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1099128614} + - component: {fileID: 1099128616} + - component: {fileID: 1099128615} + m_Layer: 5 + m_Name: SaveNumber + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1099128614 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1099128613} + 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: 2034931114} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1099128615 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1099128613} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'Save #' +--- !u!222 &1099128616 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1099128613} + m_CullTransparentMesh: 0 +--- !u!1 &1124196133 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1124196134} + - component: {fileID: 1124196137} + - component: {fileID: 1124196136} + - component: {fileID: 1124196135} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1124196134 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1124196133} + 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: 530825681} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1124196135 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1124196133} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: 1 + m_LayoutPriority: 1 +--- !u!114 &1124196136 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1124196133} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 20 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Description +--- !u!222 &1124196137 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1124196133} + m_CullTransparentMesh: 0 +--- !u!1 &1168662557 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1168662558} + - component: {fileID: 1168662560} + - component: {fileID: 1168662559} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1168662558 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1168662557} + 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: 249552364} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -20, y: -20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1168662559 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1168662557} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Load +--- !u!222 &1168662560 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1168662557} + m_CullTransparentMesh: 0 +--- !u!1 &1173972555 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1173972559} + - component: {fileID: 1173972558} + - component: {fileID: 1173972557} + - component: {fileID: 1173972556} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1173972556 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1173972555} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &1173972557 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1173972555} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &1173972558 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1173972555} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 1 + m_Camera: {fileID: 1323623564} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &1173972559 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1173972555} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 1296051205} + - {fileID: 1701254141} + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!1 &1258370070 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1258370071} + - component: {fileID: 1258370073} + - component: {fileID: 1258370072} + m_Layer: 5 + m_Name: SaveNumber + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1258370071 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1258370070} + 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: 519065838} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1258370072 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1258370070} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'Save #' +--- !u!222 &1258370073 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1258370070} + m_CullTransparentMesh: 0 +--- !u!1 &1282468534 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1282468535} + - component: {fileID: 1282468537} + - component: {fileID: 1282468536} + m_Layer: 5 + m_Name: SaveNumber + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1282468535 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1282468534} + 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: 2111264497} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1282468536 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1282468534} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'Save #' +--- !u!222 &1282468537 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1282468534} + m_CullTransparentMesh: 0 +--- !u!1 &1283924774 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1283924778} + - component: {fileID: 1283924777} + - component: {fileID: 1283924776} + - component: {fileID: 1283924779} + - component: {fileID: 1283924783} + - component: {fileID: 1283924784} + - component: {fileID: 1283924780} + - component: {fileID: 1283924782} + - component: {fileID: 1283924786} + - component: {fileID: 1283924788} + - component: {fileID: 1283924791} + - component: {fileID: 1283924790} + - component: {fileID: 1283924792} + - component: {fileID: 1283924775} + - component: {fileID: 1283924785} + m_Layer: 0 + m_Name: Flowchart + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1283924775 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1283924776} + suppressBlockAutoSelect: 0 + waitForFrames: 1 +--- !u!114 &1283924776 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 66 + y: 71 + width: 147 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: TestNarrativeLog + description: + eventHandler: {fileID: 1283924775} + commandList: + - {fileID: 1283924785} + - {fileID: 1283924779} + - {fileID: 1283924784} + - {fileID: 1283924783} + - {fileID: 1283924782} + - {fileID: 1283924780} + - {fileID: 1283924788} + - {fileID: 1283924786} + - {fileID: 1283924791} + - {fileID: 1283924790} + - {fileID: 1283924792} + suppressAllAutoSelections: 0 +--- !u!114 &1283924777 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: 0, y: 0} + variablesScrollPos: {x: 0, y: 0} + variablesExpanded: 1 + blockViewHeight: 448 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: -343 + y: -340 + width: 1114 + height: 859 + selectedBlocks: + - {fileID: 1283924776} + selectedCommands: + - {fileID: 1283924780} + variables: [] + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!4 &1283924778 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + 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: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1283924779 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + storyText: Testing functionality for adding entries to the new Narrative Log. + description: + character: {fileID: 2072580810} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 0 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1283924780 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 95d9ff288f3904c05ada7ac9c9a075bb, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 10 + indentLevel: 0 + description: Clear NarrativeLog + delay: 0 + invokeType: 0 + staticEvent: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1978509743} + m_MethodName: Clear + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + booleanParameter: + booleanRef: {fileID: 0} + booleanVal: 0 + booleanEvent: + m_PersistentCalls: + m_Calls: [] + integerParameter: + integerRef: {fileID: 0} + integerVal: 0 + integerEvent: + m_PersistentCalls: + m_Calls: [] + floatParameter: + floatRef: {fileID: 0} + floatVal: 0 + floatEvent: + m_PersistentCalls: + m_Calls: [] + stringParameter: + stringRef: {fileID: 0} + stringVal: + stringEvent: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &1283924782 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 12 + indentLevel: 0 + storyText: Testing Narrative-Log-clearing functionality. {w=1} + description: + character: {fileID: 2072580810} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1283924783 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 0 + storyText: "Saevam iram, iram et dolorem\r\nSaevam iram, iram et dolorem\r\n\r\nSephiroth, + Sephiroth" + description: + character: {fileID: 2072580810} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 0 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1283924784 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 6 + indentLevel: 0 + storyText: "Noli manere, manare in memoria\r\nNoli manere, manare in memoria Sephiroth, + Sephiroth Saevam iram, iram et dolorem\r\nSaevam iram, iram et dolorem\r\n\r\nSephiroth, + Sephiroth" + description: + character: {fileID: 2072580810} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 0 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1283924785 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d65d551a201c94bc79950076ff3eaf2e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 20 + indentLevel: 0 + sayDialog: {fileID: 109008363} +--- !u!114 &1283924786 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 95d9ff288f3904c05ada7ac9c9a075bb, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 13 + indentLevel: 0 + description: Closing Narrative Log + delay: 0 + invokeType: 0 + staticEvent: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1978509743} + m_MethodName: Close + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + booleanParameter: + booleanRef: {fileID: 0} + booleanVal: 0 + booleanEvent: + m_PersistentCalls: + m_Calls: [] + integerParameter: + integerRef: {fileID: 0} + integerVal: 0 + integerEvent: + m_PersistentCalls: + m_Calls: [] + floatParameter: + floatRef: {fileID: 0} + floatVal: 0 + floatEvent: + m_PersistentCalls: + m_Calls: [] + stringParameter: + stringRef: {fileID: 0} + stringVal: + stringEvent: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &1283924788 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 15 + indentLevel: 0 + storyText: Testing the closing of a Narrative Log. {w=1} + description: + character: {fileID: 2072580810} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 0 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1283924790 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 95d9ff288f3904c05ada7ac9c9a075bb, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 18 + indentLevel: 0 + description: Opening Narrative Log + delay: 0 + invokeType: 0 + staticEvent: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1978509743} + m_MethodName: Open + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + booleanParameter: + booleanRef: {fileID: 0} + booleanVal: 0 + booleanEvent: + m_PersistentCalls: + m_Calls: [] + integerParameter: + integerRef: {fileID: 0} + integerVal: 0 + integerEvent: + m_PersistentCalls: + m_Calls: [] + floatParameter: + floatRef: {fileID: 0} + floatVal: 0 + floatEvent: + m_PersistentCalls: + m_Calls: [] + stringParameter: + stringRef: {fileID: 0} + stringVal: + stringEvent: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &1283924791 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 17 + indentLevel: 0 + storyText: Testing the opening of a Narrative Log. {w=1} + description: + character: {fileID: 2072580810} + portrait: {fileID: 21300000, guid: 75b6e7c8c9b6b4d40ae30dc671be34b7, type: 3} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 0 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1283924792 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1283924774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 19 + indentLevel: 0 + storyText: Now feel free to scroll the contents of the Narrative Log with the mouse. + {w=1} + description: + character: {fileID: 2072580810} + portrait: {fileID: 21300000, guid: 75b6e7c8c9b6b4d40ae30dc671be34b7, type: 3} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 0 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!1 &1296051204 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1296051205} + - component: {fileID: 1296051207} + - component: {fileID: 1296051206} + - component: {fileID: 1296051208} + m_Layer: 5 + m_Name: SaveLoadMenu + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1296051205 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1296051204} + 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: + - {fileID: 2064210128} + - {fileID: 47249521} + - {fileID: 312314049} + m_Father: {fileID: 1173972559} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 48241.01, y: 26614.3} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1296051206 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1296051204} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0.392} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1296051207 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1296051204} + m_CullTransparentMesh: 0 +--- !u!114 &1296051208 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1296051204} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 0 + m_Spacing: 0 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!1 &1323623562 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1323623565} + - component: {fileID: 1323623564} + - component: {fileID: 1323623563} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &1323623563 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1323623562} + m_Enabled: 1 +--- !u!20 &1323623564 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1323623562} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 1 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &1323623565 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1323623562} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + 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!1 &1389117979 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1389117980} + - component: {fileID: 1389117982} + - component: {fileID: 1389117981} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1389117980 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1389117979} + 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: 2064210128} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1389117981 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1389117979} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: 43bce127d27b74a66a29b68d0de90ddb, type: 3} + m_FontSize: 39 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Save/Load Menu +--- !u!222 &1389117982 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1389117979} + m_CullTransparentMesh: 0 +--- !u!1 &1429394985 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1429394986} + - component: {fileID: 1429394989} + - component: {fileID: 1429394988} + - component: {fileID: 1429394987} + - component: {fileID: 1429394990} + m_Layer: 5 + m_Name: Save + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1429394986 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1429394985} + 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: + - {fileID: 504429263} + m_Father: {fileID: 47249521} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1429394987 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1429394985} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1429394988} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &1429394988 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1429394985} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1429394989 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1429394985} + m_CullTransparentMesh: 0 +--- !u!114 &1429394990 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1429394985} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1 &1450040595 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1450040596} + - component: {fileID: 1450040600} + - component: {fileID: 1450040599} + - component: {fileID: 1450040598} + - component: {fileID: 1450040597} + - component: {fileID: 1450040601} + m_Layer: 5 + m_Name: SaveSlot (5) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1450040596 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1450040595} + 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: + - {fileID: 1097157288} + - {fileID: 614058553} + m_Father: {fileID: 310863108} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 120} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1450040597 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1450040595} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 5 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 10 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 0 + m_ChildControlHeight: 1 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!114 &1450040598 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1450040595} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1450040599} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &1450040599 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1450040595} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1450040600 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1450040595} + m_CullTransparentMesh: 0 +--- !u!114 &1450040601 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1450040595} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1 &1579449206 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1579449207} + - component: {fileID: 1579449210} + - component: {fileID: 1579449209} + - component: {fileID: 1579449208} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1579449207 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1579449206} + 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: 329910284} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1579449208 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1579449206} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: 1 + m_LayoutPriority: 1 +--- !u!114 &1579449209 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1579449206} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 20 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Description +--- !u!222 &1579449210 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1579449206} + m_CullTransparentMesh: 0 +--- !u!1 &1582637747 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1582637748} + - component: {fileID: 1582637750} + - component: {fileID: 1582637749} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1582637748 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1582637747} + 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: 1051807140} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1582637749 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1582637747} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!222 &1582637750 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1582637747} + m_CullTransparentMesh: 0 +--- !u!1 &1701254140 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1701254141} + - component: {fileID: 1701254143} + - component: {fileID: 1701254142} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1701254141 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1701254140} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -459.5, y: -258.5, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1173972559} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1701254142 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1701254140} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalAxis: Horizontal + m_VerticalAxis: Vertical + m_SubmitButton: Submit + m_CancelButton: Cancel + m_InputActionsPerSecond: 10 + m_RepeatDelay: 0.5 + m_ForceModuleActive: 0 +--- !u!114 &1701254143 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1701254140} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!1 &1757148442 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1757148443} + - component: {fileID: 1757148445} + - component: {fileID: 1757148444} + m_Layer: 5 + m_Name: NameText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1757148443 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1757148442} + 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: 920147311} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 586.5, y: -38.369995} + m_SizeDelta: {x: 1106, y: 71} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1757148444 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1757148442} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.25882354, g: 0.25490198, b: 0.2627451, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: bb145366ce7024469a5758b08d31802c, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 50 + m_Alignment: 3 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Character Name +--- !u!222 &1757148445 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1757148442} + m_CullTransparentMesh: 0 +--- !u!1 &1910353149 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1910353150} + - component: {fileID: 1910353152} + - component: {fileID: 1910353151} + m_Layer: 5 + m_Name: SaveNumber + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1910353150 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1910353149} + 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: 572367619} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1910353151 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1910353149} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'Save #' +--- !u!222 &1910353152 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1910353149} + m_CullTransparentMesh: 0 +--- !u!114 &1978509743 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 3892339028774243864, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + m_PrefabInstance: {fileID: 3892339027484338103} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fde579c9edfbe7e469349e39e2a87a48, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &2034931113 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2034931114} + - component: {fileID: 2034931118} + - component: {fileID: 2034931117} + - component: {fileID: 2034931116} + - component: {fileID: 2034931115} + - component: {fileID: 2034931119} + m_Layer: 5 + m_Name: SaveSlot (3) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2034931114 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2034931113} + 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: + - {fileID: 1099128614} + - {fileID: 726313128} + m_Father: {fileID: 310863108} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 120} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &2034931115 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2034931113} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 5 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 10 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 0 + m_ChildControlHeight: 1 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!114 &2034931116 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2034931113} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 2034931117} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &2034931117 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2034931113} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &2034931118 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2034931113} + m_CullTransparentMesh: 0 +--- !u!114 &2034931119 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2034931113} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1 &2064210127 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2064210128} + - component: {fileID: 2064210131} + - component: {fileID: 2064210130} + - component: {fileID: 2064210129} + m_Layer: 5 + m_Name: TitlePanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2064210128 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2064210127} + 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: + - {fileID: 1389117980} + m_Father: {fileID: 1296051205} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 70} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &2064210129 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2064210127} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!114 &2064210130 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2064210127} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &2064210131 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2064210127} + m_CullTransparentMesh: 0 +--- !u!1 &2072580809 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2072580811} + - component: {fileID: 2072580810} + m_Layer: 0 + m_Name: Sherlock + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &2072580810 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2072580809} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 25fb867d2049d41f597aefdd6b19f598, type: 3} + m_Name: + m_EditorClassIdentifier: + nameText: Sherlock + nameColor: {r: 1, g: 1, b: 1, a: 1} + soundEffect: {fileID: 0} + portraits: [] + portraitsFace: 0 + setSayDialog: {fileID: 0} + description: +--- !u!4 &2072580811 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2072580809} + 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: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2104863278 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2104863279} + - component: {fileID: 2104863281} + - component: {fileID: 2104863280} + - component: {fileID: 2104863282} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2104863279 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2104863278} + 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: 519065838} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 900, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &2104863280 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2104863278} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 20 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Description +--- !u!222 &2104863281 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2104863278} + m_CullTransparentMesh: 0 +--- !u!114 &2104863282 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2104863278} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: 1 + m_LayoutPriority: 1 +--- !u!1 &2111264496 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2111264497} + - component: {fileID: 2111264501} + - component: {fileID: 2111264500} + - component: {fileID: 2111264499} + - component: {fileID: 2111264498} + - component: {fileID: 2111264502} + m_Layer: 5 + m_Name: SaveSlot (4) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2111264497 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2111264496} + 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: + - {fileID: 1282468535} + - {fileID: 805531674} + m_Father: {fileID: 310863108} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 120} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &2111264498 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2111264496} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 5 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 10 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 0 + m_ChildControlHeight: 1 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 +--- !u!114 &2111264499 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2111264496} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 2111264500} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &2111264500 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2111264496} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &2111264501 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2111264496} + m_CullTransparentMesh: 0 +--- !u!114 &2111264502 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2111264496} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1001 &3892339027484338103 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3892339028022738721, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_ChildControlHeight + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3892339028022738723, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_RootOrder + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243842, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243865, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_Name + value: NarrativeLog + objectReference: {fileID: 0} + - target: {fileID: 3892339028774243865, guid: bffd475e4bfb82f49810ceafe8d17b78, + type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: + - {fileID: 3892339028774243847, guid: bffd475e4bfb82f49810ceafe8d17b78, type: 3} + m_SourcePrefab: {fileID: 100100000, guid: bffd475e4bfb82f49810ceafe8d17b78, type: 3} diff --git a/Assets/FungusExamples/Conversation/NarrativeEntryLogTest.unity.meta b/Assets/FungusExamples/Conversation/NarrativeEntryLogTest.unity.meta new file mode 100644 index 00000000..fda3c9aa --- /dev/null +++ b/Assets/FungusExamples/Conversation/NarrativeEntryLogTest.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5f81c0037bb56f542aa6a0464022285a +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/DragAndDrop/DragandDrop(DraggableObjectLists).unity b/Assets/FungusExamples/DragAndDrop/DragandDrop(DraggableObjectLists).unity new file mode 100644 index 00000000..87867c22 --- /dev/null +++ b/Assets/FungusExamples/DragAndDrop/DragandDrop(DraggableObjectLists).unity @@ -0,0 +1,1457 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 9 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &12947716 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 12947718} + - component: {fileID: 12947717} + m_Layer: 0 + m_Name: _FungusState + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &12947717 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 12947716} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} + m_Name: + m_EditorClassIdentifier: + selectedFlowchart: {fileID: 1077498083} +--- !u!4 &12947718 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 12947716} + 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: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &58676542 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 58676547} + - component: {fileID: 58676546} + - component: {fileID: 58676545} + - component: {fileID: 58676544} + - component: {fileID: 58676543} + m_Layer: 0 + m_Name: DraggableSprite2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &58676543 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 58676542} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 18a0e492e94664ec0ac44d252c40e3a7, type: 3} + m_Name: + m_EditorClassIdentifier: + dragEnabled: 1 + returnOnCancelled: 1 + returnOnCompleted: 1 + returnDuration: 1 + hoverCursor: {fileID: 0} + useEventSystem: 0 +--- !u!50 &58676544 +Rigidbody2D: + serializedVersion: 4 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 58676542} + m_BodyType: 1 + m_Simulated: 1 + m_UseFullKinematicContacts: 0 + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 1 + m_Material: {fileID: 0} + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!61 &58676545 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 58676542} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_UsedByEffector: 0 + m_UsedByComposite: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 3, y: 3} + newSize: {x: 1, y: 1} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + serializedVersion: 2 + m_Size: {x: 3, y: 3} + m_EdgeRadius: 0 +--- !u!212 &58676546 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 58676542} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} + m_Color: {r: 0.85346144, g: 0.8679245, b: 0.06959773, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 +--- !u!4 &58676547 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 58676542} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -10.33, y: 4.78, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 466130441} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &411749768 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 411749771} + - component: {fileID: 411749770} + - component: {fileID: 411749769} + m_Layer: 0 + m_Name: DragTargetSprite(in_list) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!58 &411749769 +CircleCollider2D: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 411749768} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_UsedByEffector: 0 + m_UsedByComposite: 0 + m_Offset: {x: 0, y: 0} + serializedVersion: 2 + m_Radius: 3 +--- !u!212 &411749770 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 411749768} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: d18d934d212d442ee90406fd28e6eef6, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 +--- !u!4 &411749771 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 411749768} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -5.03, y: 0.39, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 497736456} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &452482469 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 452482472} + - component: {fileID: 452482471} + - component: {fileID: 452482470} + m_Layer: 0 + m_Name: DragTargetSprite1(in_list) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!58 &452482470 +CircleCollider2D: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 452482469} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_UsedByEffector: 0 + m_UsedByComposite: 0 + m_Offset: {x: 0, y: 0} + serializedVersion: 2 + m_Radius: 3 +--- !u!212 &452482471 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 452482469} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: d18d934d212d442ee90406fd28e6eef6, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 +--- !u!4 &452482472 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 452482469} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 17.78, y: 0.39, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 497736456} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &466130440 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 466130441} + m_Layer: 0 + m_Name: draggableObjects + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &466130441 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 466130440} + 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: + - {fileID: 823874207} + - {fileID: 1909080567} + - {fileID: 58676547} + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &497736455 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 497736456} + m_Layer: 0 + m_Name: targetObjects + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &497736456 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 497736455} + 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: + - {fileID: 411749771} + - {fileID: 452482472} + - {fileID: 988554616} + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &823874202 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 823874207} + - component: {fileID: 823874206} + - component: {fileID: 823874205} + - component: {fileID: 823874204} + - component: {fileID: 823874203} + m_Layer: 0 + m_Name: DraggableSprite(in_list) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &823874203 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 823874202} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 18a0e492e94664ec0ac44d252c40e3a7, type: 3} + m_Name: + m_EditorClassIdentifier: + dragEnabled: 1 + returnOnCancelled: 1 + returnOnCompleted: 1 + returnDuration: 1 + hoverCursor: {fileID: 0} + useEventSystem: 0 +--- !u!50 &823874204 +Rigidbody2D: + serializedVersion: 4 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 823874202} + m_BodyType: 1 + m_Simulated: 1 + m_UseFullKinematicContacts: 0 + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 1 + m_Material: {fileID: 0} + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!61 &823874205 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 823874202} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_UsedByEffector: 0 + m_UsedByComposite: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 3, y: 3} + newSize: {x: 1, y: 1} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + serializedVersion: 2 + m_Size: {x: 3, y: 3} + m_EdgeRadius: 0 +--- !u!212 &823874206 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 823874202} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 +--- !u!4 &823874207 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 823874202} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.31, y: 2.88, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 466130441} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &988554613 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 988554616} + - component: {fileID: 988554615} + - component: {fileID: 988554614} + m_Layer: 0 + m_Name: DragTargetSprite2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!58 &988554614 +CircleCollider2D: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 988554613} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_UsedByEffector: 0 + m_UsedByComposite: 0 + m_Offset: {x: 0, y: 0} + serializedVersion: 2 + m_Radius: 1.5 +--- !u!212 &988554615 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 988554613} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: f2e901e070fff48cda67e3f446d80e79, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 +--- !u!4 &988554616 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 988554613} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 10.53, y: -2.48, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 497736456} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1077498079 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1077498084} + - component: {fileID: 1077498083} + - component: {fileID: 1077498082} + - component: {fileID: 1077498080} + - component: {fileID: 1077498086} + - component: {fileID: 1077498085} + - component: {fileID: 1077498081} + - component: {fileID: 1077498107} + - component: {fileID: 1077498106} + - component: {fileID: 1077498101} + - component: {fileID: 1077498095} + - component: {fileID: 1077498089} + - component: {fileID: 1077498088} + - component: {fileID: 1077498105} + - component: {fileID: 1077498091} + - component: {fileID: 1077498090} + - component: {fileID: 1077498087} + - component: {fileID: 1077498093} + - component: {fileID: 1077498092} + m_Layer: 0 + m_Name: Flowchart + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1077498080 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + storyText: 'drag started + +' + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1077498081 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 538cc00e40e51400fb9bb5f6d8a9759c, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1077498082} + suppressBlockAutoSelect: 0 + draggableRef: {fileID: 0} + draggableObjects: + - {fileID: 823874203} + - {fileID: 1909080563} + draggableObject: {fileID: 0} +--- !u!114 &1077498082 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 140.13919 + y: 14.294373 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: drag started + description: + eventHandler: {fileID: 1077498081} + commandList: + - {fileID: 1077498080} + suppressAllAutoSelections: 0 +--- !u!114 &1077498083 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: 22.411636, y: 147.07748} + variablesScrollPos: {x: 0, y: 0} + variablesExpanded: 1 + blockViewHeight: 501 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: -343 + y: -340 + width: 1114 + height: 859 + selectedBlocks: + - {fileID: 1077498089} + selectedCommands: [] + variables: + - {fileID: 1077498086} + - {fileID: 1077498085} + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!4 &1077498084 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + 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: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1077498085 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1941e052c0ed4280b25507cd2e6ad8f, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Target + value: {fileID: 0} +--- !u!114 &1077498086 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1941e052c0ed4280b25507cd2e6ad8f, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: GameObject + value: {fileID: 0} +--- !u!114 &1077498087 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8dbb95c9958f04152aa2e7a65413eb4d, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1077498089} + suppressBlockAutoSelect: 0 + draggableRef: {fileID: 1077498086} + targetRef: {fileID: 1077498085} + draggableObject: {fileID: 0} + draggableObjects: + - {fileID: 823874203} + - {fileID: 1909080563} + targetObject: {fileID: 0} + targetObjects: + - {fileID: 411749769} + - {fileID: 452482470} +--- !u!114 &1077498088 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 17 + indentLevel: 0 + storyText: 'drag completed + + +' + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1077498089 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 126.88034 + y: 230.35919 + width: 140 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 21 + blockName: drag completed + description: + eventHandler: {fileID: 1077498087} + commandList: + - {fileID: 1077498088} + suppressAllAutoSelections: 0 +--- !u!114 &1077498090 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ca6aad5e417a14505886d0b0307bff32, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1077498095} + suppressBlockAutoSelect: 0 + draggableRef: {fileID: 1077498086} + targetRef: {fileID: 1077498085} + draggableObject: {fileID: 0} + draggableObjects: + - {fileID: 823874203} + - {fileID: 1909080563} + targetObject: {fileID: 0} + targetObjects: + - {fileID: 411749769} + - {fileID: 452482470} +--- !u!114 &1077498091 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: eed081ad4ebea41c580e1cdd6fe65ba0, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1077498101} + suppressBlockAutoSelect: 0 + draggableRef: {fileID: 1077498086} + targetRef: {fileID: 1077498085} + draggableObject: {fileID: 0} + draggableObjects: + - {fileID: 823874203} + - {fileID: 1909080563} + targetObject: {fileID: 0} + targetObjects: + - {fileID: 411749769} + - {fileID: 452482470} +--- !u!114 &1077498092 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 23 + indentLevel: 0 + storyText: drag exited + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1077498093 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 22 + indentLevel: 0 + storyText: drag entered + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1077498095 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 116.95709 + y: 148.13286 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 20 + blockName: drag exited + description: + eventHandler: {fileID: 1077498090} + commandList: + - {fileID: 1077498092} + suppressAllAutoSelections: 0 +--- !u!114 &1077498101 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 58.790962 + y: 94.84494 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 19 + blockName: drag entered + description: + eventHandler: {fileID: 1077498091} + commandList: + - {fileID: 1077498093} + suppressAllAutoSelections: 0 +--- !u!114 &1077498105 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b30a6fae3a8a24fa097a262570f519ce, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 1077498107} + suppressBlockAutoSelect: 0 + draggableRef: {fileID: 1077498086} + draggableObjects: + - {fileID: 823874203} + - {fileID: 1909080563} + draggableObject: {fileID: 0} +--- !u!114 &1077498106 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 0 + storyText: 'drag cancelled + +' + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &1077498107 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1077498079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 122.69321 + y: -67.74434 + width: 140 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 18 + blockName: drag cancelled + description: + eventHandler: {fileID: 1077498105} + commandList: + - {fileID: 1077498106} + suppressAllAutoSelections: 0 +--- !u!1 &1269415516 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1269415519} + - component: {fileID: 1269415518} + - component: {fileID: 1269415517} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &1269415517 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1269415516} + m_Enabled: 1 +--- !u!20 &1269415518 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1269415516} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 1 + orthographic size: 10 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &1269415519 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1269415516} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + 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!1 &1909080562 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1909080567} + - component: {fileID: 1909080566} + - component: {fileID: 1909080565} + - component: {fileID: 1909080564} + - component: {fileID: 1909080563} + m_Layer: 0 + m_Name: DraggableSprite1(in_list) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1909080563 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1909080562} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 18a0e492e94664ec0ac44d252c40e3a7, type: 3} + m_Name: + m_EditorClassIdentifier: + dragEnabled: 1 + returnOnCancelled: 1 + returnOnCompleted: 1 + returnDuration: 1 + hoverCursor: {fileID: 0} + useEventSystem: 0 +--- !u!50 &1909080564 +Rigidbody2D: + serializedVersion: 4 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1909080562} + m_BodyType: 1 + m_Simulated: 1 + m_UseFullKinematicContacts: 0 + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 1 + m_Material: {fileID: 0} + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!61 &1909080565 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1909080562} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_UsedByEffector: 0 + m_UsedByComposite: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 3, y: 3} + newSize: {x: 1, y: 1} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + serializedVersion: 2 + m_Size: {x: 3, y: 3} + m_EdgeRadius: 0 +--- !u!212 &1909080566 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1909080562} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 +--- !u!4 &1909080567 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1909080562} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 9.74, y: 4.97, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 466130441} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/FungusExamples/DragAndDrop/DragandDrop(DraggableObjectLists).unity.meta b/Assets/FungusExamples/DragAndDrop/DragandDrop(DraggableObjectLists).unity.meta new file mode 100644 index 00000000..f319f044 --- /dev/null +++ b/Assets/FungusExamples/DragAndDrop/DragandDrop(DraggableObjectLists).unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a8833e6d8e2df434a83b8d9a29907351 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/FirstPerson/FirstPersonDemo.unity b/Assets/FungusExamples/FirstPerson/FirstPersonDemo.unity index 17ade9f3..81024bae 100644 --- a/Assets/FungusExamples/FirstPerson/FirstPersonDemo.unity +++ b/Assets/FungusExamples/FirstPerson/FirstPersonDemo.unity @@ -50,12 +50,11 @@ LightmapSettings: m_BounceScale: 1 m_IndirectOutputScale: 1 m_AlbedoBoost: 1 - m_TemporalCoherenceThreshold: 1 m_EnvironmentLightingMode: 0 m_EnableBakedLightmaps: 0 m_EnableRealtimeLightmaps: 0 m_LightmapEditorSettings: - serializedVersion: 10 + serializedVersion: 12 m_Resolution: 2 m_BakeResolution: 40 m_AtlasSize: 1024 @@ -63,6 +62,7 @@ LightmapSettings: m_AOMaxDistance: 1 m_CompAOExponent: 1 m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 m_Padding: 2 m_LightmapParameters: {fileID: 0} m_LightmapsBakeMode: 1 @@ -77,10 +77,16 @@ LightmapSettings: m_PVRDirectSampleCount: 32 m_PVRSampleCount: 500 m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 500 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 2 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 m_PVRFilterTypeDirect: 0 m_PVRFilterTypeIndirect: 0 m_PVRFilterTypeAO: 0 - m_PVRFilteringMode: 1 + m_PVREnvironmentMIS: 0 m_PVRCulling: 1 m_PVRFilteringGaussRadiusDirect: 1 m_PVRFilteringGaussRadiusIndirect: 5 @@ -88,7 +94,9 @@ LightmapSettings: m_PVRFilteringAtrousPositionSigmaDirect: 0.5 m_PVRFilteringAtrousPositionSigmaIndirect: 2 m_PVRFilteringAtrousPositionSigmaAO: 1 - m_ShowResolutionOverlay: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 m_LightingDataAsset: {fileID: 0} m_UseShadowmask: 1 --- !u!196 &4 @@ -118,7 +126,8 @@ GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 100000, guid: 63f131f616a63164497c245cc6ea0bb3, type: 2} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 92124521} @@ -135,7 +144,8 @@ Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 400000, guid: 63f131f616a63164497c245cc6ea0bb3, type: 2} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 92124520} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -149,7 +159,8 @@ MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 11400000, guid: 63f131f616a63164497c245cc6ea0bb3, type: 2} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 92124520} m_Enabled: 1 m_EditorHideFlags: 0 @@ -160,132 +171,132 @@ MonoBehaviour: nameColor: {r: 0.25882354, g: 0.25490198, b: 0.2627451, a: 1} soundEffect: {fileID: 0} portraits: + - {fileID: 21300000, guid: 061fcd6caac25954287291fffde7cd2c, type: 3} + - {fileID: 21300000, guid: e8a9122c4dc10b14da3b625e1f2634c9, type: 3} + - {fileID: 21300000, guid: 016de568d0fe25e45bc32a6c01c0e456, type: 3} + - {fileID: 21300000, guid: 58bfb145092302e4083ef8a9e4eeb576, type: 3} + - {fileID: 21300000, guid: 38ccc1258813909498d806f622c3edb6, type: 3} + - {fileID: 21300000, guid: d8b4be5652abe8a438eb34290ae8c163, type: 3} + - {fileID: 21300000, guid: 03bc547cc0049594bae51f00903eedef, type: 3} + - {fileID: 21300000, guid: 059763178da334d408b6fa05fdea33c8, type: 3} + - {fileID: 21300000, guid: a6b4fd71ceffb6e4b9f3272ef8a5c2c3, type: 3} + - {fileID: 21300000, guid: b14a874c86c5f6345ae0f84ec697575f, type: 3} + - {fileID: 21300000, guid: d7af8fdea3ead3c4b8a4e54d014b255d, type: 3} - {fileID: 21300000, guid: a79a4c2e96ba5fd418c637fe852e92d9, type: 3} - {fileID: 21300000, guid: 7c9434f7e81b4264f9c56afc7180b8cf, type: 3} - - {fileID: 21300000, guid: bb66ae101c944a34e870fde3693b756d, type: 3} + - {fileID: 21300000, guid: 636094c1361ce1b44b4ace0fc587d758, type: 3} - {fileID: 21300000, guid: ab808050bc535a643afaf4755050339e, type: 3} + - {fileID: 21300000, guid: 64376d4849cae324a80743317c8aa539, type: 3} + - {fileID: 21300000, guid: 96b0380b84e6f4546886b1d58ca0f280, type: 3} + - {fileID: 21300000, guid: cbc4101c77001344eb9d31ddf978001c, type: 3} - {fileID: 21300000, guid: 59bb03809f57a71499d03ddac98c4203, type: 3} - - {fileID: 21300000, guid: a6b4fd71ceffb6e4b9f3272ef8a5c2c3, type: 3} - - {fileID: 21300000, guid: 636094c1361ce1b44b4ace0fc587d758, type: 3} - - {fileID: 21300000, guid: 267c50c3c26c7e24fa27aece06aad7cd, type: 3} - - {fileID: 21300000, guid: 9ce6cf540ce2ece4dacce467ace3bca4, type: 3} - - {fileID: 21300000, guid: 38ccc1258813909498d806f622c3edb6, type: 3} - - {fileID: 21300000, guid: 58bfb145092302e4083ef8a9e4eeb576, type: 3} - - {fileID: 21300000, guid: 59d7c816c1cfb9944b5a28dfbbfe2109, type: 3} - - {fileID: 21300000, guid: d8b4be5652abe8a438eb34290ae8c163, type: 3} - - {fileID: 21300000, guid: 059763178da334d408b6fa05fdea33c8, type: 3} - {fileID: 21300000, guid: 09b05a675bbbc4e4b8f3b031a1fb63f5, type: 3} + - {fileID: 21300000, guid: 6aedf8395780557418c4b84288657314, type: 3} - {fileID: 21300000, guid: 3bcfc8e7b3c790e45b57cc6db1526225, type: 3} + - {fileID: 21300000, guid: bb66ae101c944a34e870fde3693b756d, type: 3} + - {fileID: 21300000, guid: d38d394fe4d92ae4da3d41e6ff3b0385, type: 3} + - {fileID: 21300000, guid: 267c50c3c26c7e24fa27aece06aad7cd, type: 3} + - {fileID: 21300000, guid: 59d7c816c1cfb9944b5a28dfbbfe2109, type: 3} - {fileID: 21300000, guid: 3f74023835f9bd34d88b85ac04062465, type: 3} - - {fileID: 21300000, guid: 64376d4849cae324a80743317c8aa539, type: 3} - - {fileID: 21300000, guid: 016de568d0fe25e45bc32a6c01c0e456, type: 3} - - {fileID: 21300000, guid: 6aedf8395780557418c4b84288657314, type: 3} - {fileID: 21300000, guid: 58ba1a99d9b61514984191565c416eca, type: 3} - - {fileID: 21300000, guid: 96b0380b84e6f4546886b1d58ca0f280, type: 3} - - {fileID: 21300000, guid: cbc4101c77001344eb9d31ddf978001c, type: 3} - - {fileID: 21300000, guid: e8a9122c4dc10b14da3b625e1f2634c9, type: 3} - - {fileID: 21300000, guid: b14a874c86c5f6345ae0f84ec697575f, type: 3} - - {fileID: 21300000, guid: 061fcd6caac25954287291fffde7cd2c, type: 3} - - {fileID: 21300000, guid: 03bc547cc0049594bae51f00903eedef, type: 3} - - {fileID: 21300000, guid: d7af8fdea3ead3c4b8a4e54d014b255d, type: 3} - - {fileID: 21300000, guid: d38d394fe4d92ae4da3d41e6ff3b0385, type: 3} + - {fileID: 21300000, guid: 9ce6cf540ce2ece4dacce467ace3bca4, type: 3} portraitsFace: 2 setSayDialog: {fileID: 0} description: --- !u!1001 &128347548 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 2} + - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 3} propertyPath: m_LocalPosition.x value: -27.27 objectReference: {fileID: 0} - - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 2} + - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 3} propertyPath: m_LocalPosition.y value: 6.896 objectReference: {fileID: 0} - - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 2} + - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 3} propertyPath: m_LocalPosition.z value: -5.77 objectReference: {fileID: 0} - - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 2} + - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 2} + - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 2} + - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 2} + - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 2} + - target: {fileID: 4233245772446736, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 3} propertyPath: m_RootOrder value: 11 objectReference: {fileID: 0} m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 2} - m_IsPrefabAsset: 0 + m_SourcePrefab: {fileID: 100100000, guid: 929d45c4d9c08874ba1eaf9ba09de51d, type: 3} --- !u!1001 &242282596 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 2} + - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 3} propertyPath: m_LocalPosition.x value: 29.17 objectReference: {fileID: 0} - - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 2} + - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 3} propertyPath: m_LocalPosition.y value: -1.29 objectReference: {fileID: 0} - - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 2} + - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 3} propertyPath: m_LocalPosition.z value: 23.36 objectReference: {fileID: 0} - - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 2} + - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 2} + - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 2} + - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 2} + - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 2} + - target: {fileID: 4847703888409938, guid: ce35e97bd56b1944d8592fa0e400a240, type: 3} propertyPath: m_RootOrder value: 10 objectReference: {fileID: 0} m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: ce35e97bd56b1944d8592fa0e400a240, type: 2} - m_IsPrefabAsset: 0 + m_SourcePrefab: {fileID: 100100000, guid: ce35e97bd56b1944d8592fa0e400a240, type: 3} --- !u!1 &242282597 stripped GameObject: m_CorrespondingSourceObject: {fileID: 1766213715120214, guid: ce35e97bd56b1944d8592fa0e400a240, - type: 2} - m_PrefabInternal: {fileID: 242282596} + type: 3} + m_PrefabInstance: {fileID: 242282596} + m_PrefabAsset: {fileID: 0} --- !u!114 &242282598 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -296,7 +307,7 @@ MonoBehaviour: scrollPos: {x: 0, y: 0} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 - blockViewHeight: 400 + blockViewHeight: 562 zoom: 1 scrollViewRect: serializedVersion: 2 @@ -304,7 +315,8 @@ MonoBehaviour: y: 0 width: 0 height: 0 - selectedBlocks: [] + selectedBlocks: + - {fileID: 242282601} selectedCommands: [] variables: - {fileID: 242282599} @@ -323,7 +335,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -337,7 +350,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -363,7 +377,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -372,9 +387,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 463 - y: 183 - width: 120 + x: 480 + y: 180 + width: 100 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -389,11 +404,13 @@ MonoBehaviour: - {fileID: 242282600} - {fileID: 242282631} - {fileID: 242282629} + suppressAllAutoSelections: 0 --- !u!114 &242282602 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -406,7 +423,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -432,7 +450,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -456,7 +475,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -470,7 +490,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -490,7 +511,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -519,7 +541,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -528,9 +551,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 470 - y: 118 - width: 120 + x: 480 + y: 120 + width: 80 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -541,11 +564,13 @@ MonoBehaviour: commandList: - {fileID: 242282607} - {fileID: 242282606} + suppressAllAutoSelections: 0 --- !u!114 &242282609 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -569,7 +594,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -593,7 +619,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -617,7 +644,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -630,7 +658,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -657,7 +686,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -681,7 +711,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -690,8 +721,8 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 292 - y: 118 + x: 300 + y: 120 width: 120 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} @@ -709,11 +740,13 @@ MonoBehaviour: - {fileID: 242282611} - {fileID: 242282604} - {fileID: 242282605} + suppressAllAutoSelections: 0 --- !u!114 &242282616 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -733,7 +766,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -759,7 +793,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -785,7 +820,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -811,7 +847,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -837,7 +874,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -850,7 +888,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -863,7 +902,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -872,11 +912,190 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 1 indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 242282599} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 242282599} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} - booleanVal: 1 + booleanVal: 0 integerData: integerRef: {fileID: 0} integerVal: 0 @@ -926,7 +1145,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -934,14 +1154,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 242282625} + suppressBlockAutoSelect: 0 tagFilter: - Player FireOn: 1 + colliderVar: {fileID: 0} --- !u!114 &242282625 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -951,7 +1174,7 @@ MonoBehaviour: nodeRect: serializedVersion: 2 x: 140 - y: 113 + y: 120 width: 120 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} @@ -971,11 +1194,13 @@ MonoBehaviour: - {fileID: 242282616} - {fileID: 242282622} - {fileID: 242282627} + suppressAllAutoSelections: 0 --- !u!114 &242282626 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -989,7 +1214,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1002,7 +1228,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1011,8 +1238,187 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 31 indentLevel: 1 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 242282626} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 242282626} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -1065,7 +1471,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1098,7 +1505,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1107,11 +1515,99 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 29 indentLevel: 0 - variable: {fileID: 242282626} + anyVar: + variable: {fileID: 242282626} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 0 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} - booleanVal: 1 + booleanVal: 0 integerData: integerRef: {fileID: 0} integerVal: 0 @@ -1161,7 +1657,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1187,7 +1684,8 @@ MonoBehaviour: BoxCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 242282597} m_Material: {fileID: 0} m_IsTrigger: 1 @@ -1199,7 +1697,8 @@ BoxCollider: GameObject: m_ObjectHideFlags: 1 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 428461411} @@ -1215,19 +1714,21 @@ GameObject: MonoBehaviour: m_ObjectHideFlags: 1 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 428461409} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} m_Name: m_EditorClassIdentifier: - selectedFlowchart: {fileID: 1112454213} + selectedFlowchart: {fileID: 640305175} --- !u!4 &428461411 Transform: m_ObjectHideFlags: 1 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 428461409} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -1240,7 +1741,8 @@ Transform: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 640305176} @@ -1275,7 +1777,8 @@ GameObject: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1283,12 +1786,14 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 640305174} + suppressBlockAutoSelect: 0 waitForFrames: 1 --- !u!114 &640305174 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1298,8 +1803,8 @@ MonoBehaviour: nodeRect: serializedVersion: 2 x: -100 - y: 204 - width: 120 + y: 200 + width: 80 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1312,11 +1817,13 @@ MonoBehaviour: - {fileID: 640305178} - {fileID: 640305179} - {fileID: 640305177} + suppressAllAutoSelections: 0 --- !u!114 &640305175 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1327,7 +1834,7 @@ MonoBehaviour: scrollPos: {x: 125.5, y: -148.5} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 - blockViewHeight: 400 + blockViewHeight: 477 zoom: 1 scrollViewRect: serializedVersion: 2 @@ -1337,7 +1844,8 @@ MonoBehaviour: height: 0 selectedBlocks: - {fileID: 640305181} - selectedCommands: [] + selectedCommands: + - {fileID: 640305193} variables: [] description: stepPause: 0 @@ -1353,7 +1861,8 @@ MonoBehaviour: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -1366,7 +1875,8 @@ Transform: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1379,7 +1889,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1392,7 +1903,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1420,7 +1932,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1437,7 +1950,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1446,9 +1960,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 30 - y: 202 - width: 143 + x: 40 + y: 200 + width: 140 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1469,11 +1983,13 @@ MonoBehaviour: - {fileID: 640305187} - {fileID: 640305184} - {fileID: 640305193} + suppressAllAutoSelections: 0 --- !u!114 &640305182 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1499,7 +2015,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1526,7 +2043,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1552,7 +2070,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1565,7 +2084,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1582,7 +2102,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1595,7 +2116,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1621,7 +2143,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1633,7 +2156,8 @@ MonoBehaviour: storyText: 'We''ll you''ve tripped me up again John. - I never expected it to be this... plain.' + I never expected it + to be this... plain.' description: character: {fileID: 640977585} portrait: {fileID: 21300000, guid: 65cda1e3dd1ec8c4bb828adc5bb06c7d, type: 3} @@ -1650,7 +2174,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1676,7 +2201,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1704,7 +2230,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1730,7 +2257,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640305172} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1741,7 +2269,7 @@ MonoBehaviour: indentLevel: 0 description: targetObject: {fileID: 1377282257} - targetComponentAssemblyName: Fungus.Examples.LookingAtDoor, Assembly-CSharp, Version=0.0.0.0, + targetComponentAssemblyName: Fungus.Examples.LookingAtDoor, FungusExamples, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null targetComponentFullname: UnityEngine.Component[] targetComponentText: LookingAtDoor @@ -1758,7 +2286,8 @@ GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 100000, guid: 58c1cf3a7fe8fb84da0483858e15fbc7, type: 2} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 640977584} @@ -1775,7 +2304,8 @@ Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 400000, guid: 58c1cf3a7fe8fb84da0483858e15fbc7, type: 2} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640977583} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -1789,7 +2319,8 @@ MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 11400000, guid: 58c1cf3a7fe8fb84da0483858e15fbc7, type: 2} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 640977583} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1800,39 +2331,39 @@ MonoBehaviour: nameColor: {r: 0.25882354, g: 0.25490198, b: 0.2627451, a: 1} soundEffect: {fileID: 0} portraits: - - {fileID: 21300000, guid: c27113fd8a09c7c45a856e5d3c843c11, type: 3} - - {fileID: 21300000, guid: 67bc1238f72c52b49bd0ad82c79756ac, type: 3} - - {fileID: 21300000, guid: b9482ea03e69b5a4aa5e7827da354549, type: 3} - - {fileID: 21300000, guid: ed8fca01dcf5bfc4f86bc063889a5013, type: 3} - {fileID: 21300000, guid: 8f5b5b110e73a414eb229eeead86200f, type: 3} - - {fileID: 21300000, guid: 03f8d661d54a3a04797d21ab54424abb, type: 3} + - {fileID: 21300000, guid: 65cda1e3dd1ec8c4bb828adc5bb06c7d, type: 3} + - {fileID: 21300000, guid: 84cdbfde1b7d4c24ab7071894480d5db, type: 3} + - {fileID: 21300000, guid: 0815f9b817b27b7499559c635a844bf0, type: 3} - {fileID: 21300000, guid: bca405818493a4f4a8fb63a69294d19a, type: 3} - - {fileID: 21300000, guid: 779f8bb1130ec974aa263a5e91518085, type: 3} + - {fileID: 21300000, guid: 75b6e7c8c9b6b4d40ae30dc671be34b7, type: 3} + - {fileID: 21300000, guid: 03f8d661d54a3a04797d21ab54424abb, type: 3} + - {fileID: 21300000, guid: 529a0cc84e8173a4d8f60e222d904cdb, type: 3} - {fileID: 21300000, guid: ed3f5dd119e6015479f898ab63bab12b, type: 3} - - {fileID: 21300000, guid: f233fc32ad198a44880e410c5577da9c, type: 3} - {fileID: 21300000, guid: 7497fd82318972540af8666a234a9685, type: 3} - - {fileID: 21300000, guid: 448053637e8df7a42824234afeafa291, type: 3} - - {fileID: 21300000, guid: cec88ab3171afc54b92db075974123ea, type: 3} - - {fileID: 21300000, guid: 65cda1e3dd1ec8c4bb828adc5bb06c7d, type: 3} + - {fileID: 21300000, guid: 5ba6e5e5e65bc084ba912d2d2d8718df, type: 3} + - {fileID: 21300000, guid: b9482ea03e69b5a4aa5e7827da354549, type: 3} - {fileID: 21300000, guid: 96ca91f43a9c1f74b970b59f46047e74, type: 3} + - {fileID: 21300000, guid: 779f8bb1130ec974aa263a5e91518085, type: 3} - {fileID: 21300000, guid: 5426a8c5c16e04d439b48a522267b236, type: 3} - - {fileID: 21300000, guid: 5ba6e5e5e65bc084ba912d2d2d8718df, type: 3} - - {fileID: 21300000, guid: 7add35a7d20a5ee41b0bfde9052ddfd6, type: 3} - - {fileID: 21300000, guid: d2c8a5a70bd6f11468f4d8ea151dec90, type: 3} - - {fileID: 21300000, guid: 3fd077b79b3018945961e206b6435268, type: 3} + - {fileID: 21300000, guid: c27113fd8a09c7c45a856e5d3c843c11, type: 3} + - {fileID: 21300000, guid: 67bc1238f72c52b49bd0ad82c79756ac, type: 3} + - {fileID: 21300000, guid: a3710c5af5b436a46b8d0ff4235d1dfe, type: 3} - {fileID: 21300000, guid: 36652428f3b9f6d41840d56c65aa0d64, type: 3} - - {fileID: 21300000, guid: 0815f9b817b27b7499559c635a844bf0, type: 3} - - {fileID: 21300000, guid: 75b6e7c8c9b6b4d40ae30dc671be34b7, type: 3} - - {fileID: 21300000, guid: 529a0cc84e8173a4d8f60e222d904cdb, type: 3} - {fileID: 21300000, guid: 6384dc397ea803d4abf0d1de10afb1c1, type: 3} - - {fileID: 21300000, guid: bd1b1199c415fc642ae13055981f42aa, type: 3} - - {fileID: 21300000, guid: 6d5c34a95aa09ce4a9be9f7258a02c0d, type: 3} - - {fileID: 21300000, guid: a3710c5af5b436a46b8d0ff4235d1dfe, type: 3} - - {fileID: 21300000, guid: e7a0368af3f28b1438c458df61e691c1, type: 3} + - {fileID: 21300000, guid: ed8fca01dcf5bfc4f86bc063889a5013, type: 3} + - {fileID: 21300000, guid: 448053637e8df7a42824234afeafa291, type: 3} + - {fileID: 21300000, guid: 7add35a7d20a5ee41b0bfde9052ddfd6, type: 3} + - {fileID: 21300000, guid: cec88ab3171afc54b92db075974123ea, type: 3} + - {fileID: 21300000, guid: f233fc32ad198a44880e410c5577da9c, type: 3} + - {fileID: 21300000, guid: 58f5b79d262f6814bb4ebb44e29efe90, type: 3} - {fileID: 21300000, guid: 97171eca7b577c5438e9516b956c042a, type: 3} - {fileID: 21300000, guid: 4cfc408caecceeb45989d991a2dccb3c, type: 3} - - {fileID: 21300000, guid: 58f5b79d262f6814bb4ebb44e29efe90, type: 3} - - {fileID: 21300000, guid: 84cdbfde1b7d4c24ab7071894480d5db, type: 3} + - {fileID: 21300000, guid: 6d5c34a95aa09ce4a9be9f7258a02c0d, type: 3} + - {fileID: 21300000, guid: d2c8a5a70bd6f11468f4d8ea151dec90, type: 3} + - {fileID: 21300000, guid: e7a0368af3f28b1438c458df61e691c1, type: 3} + - {fileID: 21300000, guid: bd1b1199c415fc642ae13055981f42aa, type: 3} + - {fileID: 21300000, guid: 3fd077b79b3018945961e206b6435268, type: 3} portraitsFace: 1 setSayDialog: {fileID: 0} description: @@ -1840,7 +2371,8 @@ MonoBehaviour: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 698185390} @@ -1858,7 +2390,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 698185389} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 32, y: 0, z: 0} @@ -1871,7 +2404,8 @@ Transform: BoxCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 698185389} m_Material: {fileID: 0} m_IsTrigger: 0 @@ -1883,7 +2417,8 @@ BoxCollider: MeshRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 698185389} m_Enabled: 1 m_CastShadows: 1 @@ -1892,7 +2427,9 @@ MeshRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 m_Materials: - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -1902,6 +2439,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 @@ -1918,14 +2456,16 @@ MeshRenderer: MeshFilter: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 698185389} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &799556140 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 799556141} @@ -1940,7 +2480,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 799556140} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -1955,61 +2496,62 @@ Transform: m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &1051275018 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 2} + - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 3} propertyPath: m_LocalPosition.x value: 15.197114 objectReference: {fileID: 0} - - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 2} + - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 3} propertyPath: m_LocalPosition.y value: 1.49 objectReference: {fileID: 0} - - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 2} + - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 3} propertyPath: m_LocalPosition.z value: -21.592121 objectReference: {fileID: 0} - - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 2} + - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 3} propertyPath: m_LocalRotation.x value: -0 objectReference: {fileID: 0} - - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 2} + - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 3} propertyPath: m_LocalRotation.y value: 0.9454946 objectReference: {fileID: 0} - - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 2} + - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 3} propertyPath: m_LocalRotation.z value: -0 objectReference: {fileID: 0} - - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 2} + - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 3} propertyPath: m_LocalRotation.w value: 0.32563797 objectReference: {fileID: 0} - - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 2} + - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 3} propertyPath: m_RootOrder value: 9 objectReference: {fileID: 0} - - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 2} + - target: {fileID: 4329592467799608, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 3} propertyPath: m_LocalEulerAnglesHint.y value: 141.992 objectReference: {fileID: 0} m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 2} - m_IsPrefabAsset: 0 + m_SourcePrefab: {fileID: 100100000, guid: 35bb61afc1f4fe74d9e3be3be019faa9, type: 3} --- !u!1 &1051275019 stripped GameObject: m_CorrespondingSourceObject: {fileID: 1621252211410962, guid: 35bb61afc1f4fe74d9e3be3be019faa9, - type: 2} - m_PrefabInternal: {fileID: 1051275018} + type: 3} + m_PrefabInstance: {fileID: 1051275018} + m_PrefabAsset: {fileID: 0} --- !u!114 &1051275020 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2023,7 +2565,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2031,14 +2574,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1051275022} + suppressBlockAutoSelect: 0 tagFilter: - Player FireOn: 1 + colliderVar: {fileID: 0} --- !u!114 &1051275022 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2047,8 +2593,8 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 174 - y: 126 + x: 240 + y: 120 width: 120 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} @@ -2069,11 +2615,13 @@ MonoBehaviour: - {fileID: 1051275026} - {fileID: 1051275036} - {fileID: 1051275033} + suppressAllAutoSelections: 0 --- !u!114 &1051275023 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2084,7 +2632,7 @@ MonoBehaviour: scrollPos: {x: 0, y: 0} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 - blockViewHeight: 400 + blockViewHeight: 571 zoom: 1 scrollViewRect: serializedVersion: 2 @@ -2112,7 +2660,8 @@ MonoBehaviour: BoxCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Material: {fileID: 0} m_IsTrigger: 1 @@ -2124,7 +2673,8 @@ BoxCollider: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2156,7 +2706,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2176,7 +2727,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2185,11 +2737,99 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 8 indentLevel: 1 - variable: {fileID: 1051275028} + anyVar: + variable: {fileID: 1051275028} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 0 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} - booleanVal: 1 + booleanVal: 0 integerData: integerRef: {fileID: 0} integerVal: 0 @@ -2239,7 +2879,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2253,7 +2894,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2279,7 +2921,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2292,7 +2935,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2305,7 +2949,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2314,7 +2959,8 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 4 indentLevel: 1 - storyText: "You found a mechanism of some kind, Sherlock! \n\nIt appears to be incomplete." + storyText: "You found a mechanism of some kind, Sherlock! \n\nIt appears to be + incomplete." description: character: {fileID: 92124522} portrait: {fileID: 21300000, guid: 059763178da334d408b6fa05fdea33c8, type: 3} @@ -2331,7 +2977,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2344,7 +2991,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2357,7 +3005,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2366,8 +3015,187 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 1 indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1051275020} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 1051275020} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -2420,7 +3248,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1051275019} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2452,13 +3281,15 @@ MonoBehaviour: --- !u!1 &1112454204 stripped GameObject: m_CorrespondingSourceObject: {fileID: 1802049371907118, guid: 929d45c4d9c08874ba1eaf9ba09de51d, - type: 2} - m_PrefabInternal: {fileID: 128347548} + type: 3} + m_PrefabInstance: {fileID: 128347548} + m_PrefabAsset: {fileID: 0} --- !u!114 &1112454205 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2484,7 +3315,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2498,11 +3330,13 @@ MonoBehaviour: waitUntilFinished: 1 fadeColor: {r: 0, g: 0, b: 0, a: 1} fadeTexture: {fileID: 0} + fadeTweenType: 4 --- !u!114 &1112454207 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2515,7 +3349,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2528,7 +3363,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2542,7 +3378,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2551,11 +3388,190 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 1 indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1112454209} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 1112454209} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} - booleanVal: 1 + booleanVal: 0 integerData: integerRef: {fileID: 0} integerVal: 0 @@ -2605,7 +3621,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2613,14 +3630,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1112454212} + suppressBlockAutoSelect: 0 tagFilter: - Player FireOn: 1 + colliderVar: {fileID: 0} --- !u!114 &1112454212 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2629,9 +3649,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 303 - y: 71 - width: 120 + x: 240 + y: 80 + width: 80 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -2644,11 +3664,13 @@ MonoBehaviour: - {fileID: 1112454208} - {fileID: 1112454206} - {fileID: 1112454207} + suppressAllAutoSelections: 0 --- !u!114 &1112454213 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2659,7 +3681,7 @@ MonoBehaviour: scrollPos: {x: 0, y: 0} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 - blockViewHeight: 400 + blockViewHeight: 463 zoom: 1 scrollViewRect: serializedVersion: 2 @@ -2668,7 +3690,7 @@ MonoBehaviour: width: 0 height: 0 selectedBlocks: - - {fileID: 1112454222} + - {fileID: 1112454212} selectedCommands: [] variables: - {fileID: 1112454209} @@ -2687,7 +3709,8 @@ MonoBehaviour: BoxCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Material: {fileID: 0} m_IsTrigger: 1 @@ -2699,7 +3722,8 @@ BoxCollider: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2712,7 +3736,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2725,7 +3750,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2751,7 +3777,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2764,7 +3791,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2790,7 +3818,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2799,8 +3828,187 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 7 indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1112454209} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 1112454209} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -2853,7 +4061,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2866,7 +4075,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2875,8 +4085,8 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 295 - y: 167 + x: 240 + y: 160 width: 120 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} @@ -2897,11 +4107,13 @@ MonoBehaviour: - {fileID: 1112454218} - {fileID: 1112454217} - {fileID: 1112454216} + suppressAllAutoSelections: 0 --- !u!114 &1112454223 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2914,7 +4126,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2927,7 +4140,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2936,8 +4150,187 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 34 indentLevel: 1 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1112454226} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 1112454226} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -2990,7 +4383,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1112454204} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3004,7 +4398,8 @@ MonoBehaviour: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1140326302} @@ -3022,7 +4417,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1140326301} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 32, y: 0, z: 0} @@ -3035,7 +4431,8 @@ Transform: BoxCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1140326301} m_Material: {fileID: 0} m_IsTrigger: 0 @@ -3047,7 +4444,8 @@ BoxCollider: MeshRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1140326301} m_Enabled: 1 m_CastShadows: 1 @@ -3056,7 +4454,9 @@ MeshRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 m_Materials: - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -3066,6 +4466,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 @@ -3082,14 +4483,16 @@ MeshRenderer: MeshFilter: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1140326301} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1173591953 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1173591954} @@ -3104,7 +4507,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1173591953} m_LocalRotation: {x: -0, y: -0.7071099, z: -0, w: -0.7071037} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -3118,7 +4522,8 @@ Transform: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1265131653} @@ -3136,7 +4541,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1265131652} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 32, y: 0, z: 0} @@ -3149,7 +4555,8 @@ Transform: BoxCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1265131652} m_Material: {fileID: 0} m_IsTrigger: 0 @@ -3161,7 +4568,8 @@ BoxCollider: MeshRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1265131652} m_Enabled: 1 m_CastShadows: 1 @@ -3170,7 +4578,9 @@ MeshRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 m_Materials: - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -3180,6 +4590,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 @@ -3196,14 +4607,16 @@ MeshRenderer: MeshFilter: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1265131652} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1353701872 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1353701873} @@ -3220,7 +4633,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1353701872} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0.7, z: 0} @@ -3233,20 +4647,24 @@ Transform: AudioListener: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1353701872} m_Enabled: 1 --- !u!20 &1353701875 Camera: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1353701872} m_Enabled: 1 serializedVersion: 2 m_ClearFlags: 1 m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 m_SensorSize: {x: 36, y: 24} m_LensShift: {x: 0, y: 0} m_FocalLength: 50 @@ -3280,7 +4698,8 @@ Camera: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1377282260} @@ -3303,7 +4722,8 @@ GameObject: CapsuleCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1377282257} m_Material: {fileID: 0} m_IsTrigger: 0 @@ -3316,7 +4736,8 @@ CapsuleCollider: Rigidbody: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1377282257} serializedVersion: 2 m_Mass: 1 @@ -3331,7 +4752,8 @@ Rigidbody: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1377282257} m_LocalRotation: {x: -0, y: -0.72912025, z: -0, w: 0.6843857} m_LocalPosition: {x: 15.43, y: 2.39, z: 7.06} @@ -3345,7 +4767,8 @@ Transform: MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1377282257} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3360,7 +4783,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1377282257} m_Enabled: 0 m_EditorHideFlags: 0 @@ -3372,7 +4796,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1377282257} m_Enabled: 0 m_EditorHideFlags: 0 @@ -3390,7 +4815,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1377282257} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3407,7 +4833,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1377282257} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3421,7 +4848,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1377282257} m_Enabled: 0 m_EditorHideFlags: 0 @@ -3433,7 +4861,8 @@ MonoBehaviour: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1433038987} @@ -3448,7 +4877,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1433038986} m_LocalRotation: {x: -0, y: -1, z: -0, w: 0.0000029504295} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -3459,57 +4889,58 @@ Transform: m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: -180.00002, z: 0} --- !u!1001 &1532025983 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 2} + - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 3} propertyPath: m_LocalPosition.x value: -20.97 objectReference: {fileID: 0} - - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 2} + - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 3} propertyPath: m_LocalPosition.y value: 1.26664 objectReference: {fileID: 0} - - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 2} + - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 3} propertyPath: m_LocalPosition.z value: 19.17 objectReference: {fileID: 0} - - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 2} + - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 2} + - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 2} + - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 2} + - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 2} + - target: {fileID: 4739217584310986, guid: b376fcef73a1f7c4dabdb17903073600, type: 3} propertyPath: m_RootOrder value: 8 objectReference: {fileID: 0} m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: b376fcef73a1f7c4dabdb17903073600, type: 2} - m_IsPrefabAsset: 0 + m_SourcePrefab: {fileID: 100100000, guid: b376fcef73a1f7c4dabdb17903073600, type: 3} --- !u!1 &1532025984 stripped GameObject: m_CorrespondingSourceObject: {fileID: 1247888977727998, guid: b376fcef73a1f7c4dabdb17903073600, - type: 2} - m_PrefabInternal: {fileID: 1532025983} + type: 3} + m_PrefabInstance: {fileID: 1532025983} + m_PrefabAsset: {fileID: 0} --- !u!114 &1532025985 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1532025984} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3517,14 +4948,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1532025986} + suppressBlockAutoSelect: 0 tagFilter: - Player FireOn: 1 + colliderVar: {fileID: 0} --- !u!114 &1532025986 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1532025984} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3533,8 +4967,8 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 398 - y: 95 + x: 360 + y: 120 width: 120 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} @@ -3549,11 +4983,13 @@ MonoBehaviour: - {fileID: 1532025993} - {fileID: 1532025991} - {fileID: 1532025990} + suppressAllAutoSelections: 0 --- !u!114 &1532025987 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1532025984} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3567,7 +5003,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1532025984} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3578,7 +5015,7 @@ MonoBehaviour: scrollPos: {x: 0, y: 0} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 - blockViewHeight: 402 + blockViewHeight: 451 zoom: 1 scrollViewRect: serializedVersion: 2 @@ -3605,7 +5042,8 @@ MonoBehaviour: BoxCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1532025984} m_Material: {fileID: 0} m_IsTrigger: 1 @@ -3617,7 +5055,8 @@ BoxCollider: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1532025984} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3637,7 +5076,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1532025984} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3650,7 +5090,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1532025984} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3663,7 +5104,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1532025984} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3692,7 +5134,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1532025984} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3701,11 +5144,99 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 1 indentLevel: 0 - variable: {fileID: 1532025987} + anyVar: + variable: {fileID: 1532025987} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 0 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} - booleanVal: 1 + booleanVal: 0 integerData: integerRef: {fileID: 0} integerVal: 0 @@ -3755,7 +5286,8 @@ MonoBehaviour: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1674035080} @@ -3772,11 +5304,12 @@ GameObject: MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1674035076} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} m_Name: m_EditorClassIdentifier: m_HorizontalAxis: Horizontal @@ -3790,11 +5323,12 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1674035076} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} m_Name: m_EditorClassIdentifier: m_FirstSelected: {fileID: 0} @@ -3804,7 +5338,8 @@ MonoBehaviour: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1674035076} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -3817,7 +5352,8 @@ Transform: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1788221414} @@ -3840,7 +5376,8 @@ GameObject: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1788221405} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3860,7 +5397,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1788221405} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3880,7 +5418,8 @@ MonoBehaviour: MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1788221405} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3888,14 +5427,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1788221409} + suppressBlockAutoSelect: 0 tagFilter: - Player FireOn: 4 + colliderVar: {fileID: 0} --- !u!114 &1788221409 MonoBehaviour: m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1788221405} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3904,9 +5446,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 191 - y: 130 - width: 138 + x: 240 + y: 120 + width: 140 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -3917,11 +5459,13 @@ MonoBehaviour: commandList: - {fileID: 1788221407} - {fileID: 1788221406} + suppressAllAutoSelections: 0 --- !u!114 &1788221410 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1788221405} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3958,7 +5502,8 @@ MonoBehaviour: SphereCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1788221405} m_Material: {fileID: 0} m_IsTrigger: 1 @@ -3970,7 +5515,8 @@ SphereCollider: MeshRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1788221405} m_Enabled: 0 m_CastShadows: 1 @@ -3979,7 +5525,9 @@ MeshRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 m_Materials: - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -3989,6 +5537,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 @@ -4005,14 +5554,16 @@ MeshRenderer: MeshFilter: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1788221405} m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} --- !u!4 &1788221414 Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1788221405} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 15.41, y: 0, z: 6.87} @@ -4025,7 +5576,8 @@ Transform: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1874215334} @@ -4041,15 +5593,18 @@ GameObject: Light: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1874215332} m_Enabled: 1 - serializedVersion: 8 + serializedVersion: 10 m_Type: 1 + m_Shape: 0 m_Color: {r: 0.9716981, g: 0.94916916, b: 0.81127626, a: 1} m_Intensity: 1 m_Range: 10 m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 m_CookieSize: 10 m_Shadows: m_Type: 0 @@ -4059,6 +5614,24 @@ Light: m_Bias: 0.05 m_NormalBias: 0.4 m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 m_Cookie: {fileID: 0} m_DrawHalo: 0 m_Flare: {fileID: 0} @@ -4066,19 +5639,23 @@ Light: m_CullingMask: serializedVersion: 2 m_Bits: 4294967295 + m_RenderingLayerMask: 1 m_Lightmapping: 4 m_LightShadowCasterMode: 0 m_AreaSize: {x: 1, y: 1} m_BounceIntensity: 1 m_ColorTemperature: 6570 m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 m_ShadowRadius: 0 m_ShadowAngle: 0 --- !u!4 &1874215334 Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1874215332} m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} m_LocalPosition: {x: 0, y: -0.5000051, z: 0} @@ -4091,7 +5668,8 @@ Transform: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1888166673} @@ -4106,7 +5684,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1888166672} m_LocalRotation: {x: -0, y: -0.70710576, z: -0, w: 0.7071079} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -4120,7 +5699,8 @@ Transform: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 2020540870} @@ -4138,7 +5718,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2020540869} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 32, y: 0, z: 0} @@ -4151,7 +5732,8 @@ Transform: BoxCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2020540869} m_Material: {fileID: 0} m_IsTrigger: 0 @@ -4163,7 +5745,8 @@ BoxCollider: MeshRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2020540869} m_Enabled: 1 m_CastShadows: 1 @@ -4172,7 +5755,9 @@ MeshRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 m_Materials: - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -4182,6 +5767,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 @@ -4198,14 +5784,16 @@ MeshRenderer: MeshFilter: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2020540869} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &2066122661 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 2066122662} @@ -4220,7 +5808,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2066122661} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -4235,7 +5824,8 @@ Transform: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 2075535578} @@ -4250,7 +5840,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2075535577} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -4264,7 +5855,8 @@ Transform: GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 2143952363} @@ -4282,7 +5874,8 @@ GameObject: Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2143952362} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: -0.5, z: 0} @@ -4295,7 +5888,8 @@ Transform: BoxCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2143952362} m_Material: {fileID: 0} m_IsTrigger: 0 @@ -4307,7 +5901,8 @@ BoxCollider: MeshRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2143952362} m_Enabled: 1 m_CastShadows: 1 @@ -4316,7 +5911,9 @@ MeshRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 m_Materials: - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -4326,6 +5923,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 @@ -4342,6 +5940,7 @@ MeshRenderer: MeshFilter: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2143952362} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} diff --git a/Assets/FungusExamples/FirstPerson/Scripts/FPDemoPriorityRouter.cs b/Assets/FungusExamples/FirstPerson/Scripts/FPDemoPriorityRouter.cs index 601fd35d..b30fb1f5 100644 --- a/Assets/FungusExamples/FirstPerson/Scripts/FPDemoPriorityRouter.cs +++ b/Assets/FungusExamples/FirstPerson/Scripts/FPDemoPriorityRouter.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/FungusExamples/FirstPerson/Scripts/ForceCursorVisible.cs b/Assets/FungusExamples/FirstPerson/Scripts/ForceCursorVisible.cs index 968c0c72..0c88234c 100644 --- a/Assets/FungusExamples/FirstPerson/Scripts/ForceCursorVisible.cs +++ b/Assets/FungusExamples/FirstPerson/Scripts/ForceCursorVisible.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/FungusExamples/FirstPerson/Scripts/LookingAtDoor.cs b/Assets/FungusExamples/FirstPerson/Scripts/LookingAtDoor.cs index aeb6b54f..2cf7b207 100644 --- a/Assets/FungusExamples/FirstPerson/Scripts/LookingAtDoor.cs +++ b/Assets/FungusExamples/FirstPerson/Scripts/LookingAtDoor.cs @@ -1,4 +1,7 @@ -using UnityEngine; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; namespace Fungus.Examples { diff --git a/Assets/FungusExamples/FirstPerson/Scripts/SimpleForceMovement.cs b/Assets/FungusExamples/FirstPerson/Scripts/SimpleForceMovement.cs index ea28190c..b833a316 100644 --- a/Assets/FungusExamples/FirstPerson/Scripts/SimpleForceMovement.cs +++ b/Assets/FungusExamples/FirstPerson/Scripts/SimpleForceMovement.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/FungusExamples/FirstPerson/Scripts/SimpleMouseLook.cs b/Assets/FungusExamples/FirstPerson/Scripts/SimpleMouseLook.cs index 44a5b83e..a6ffd281 100644 --- a/Assets/FungusExamples/FirstPerson/Scripts/SimpleMouseLook.cs +++ b/Assets/FungusExamples/FirstPerson/Scripts/SimpleMouseLook.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/FungusExamples/FungusLua/Bindings/CustomScript.cs b/Assets/FungusExamples/FungusLua/Bindings/CustomScript.cs index 34f58fb9..d967c899 100644 --- a/Assets/FungusExamples/FungusLua/Bindings/CustomScript.cs +++ b/Assets/FungusExamples/FungusLua/Bindings/CustomScript.cs @@ -1,4 +1,4 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; diff --git a/Assets/FungusExamples/FungusTown/FungusTown.unity b/Assets/FungusExamples/FungusTown/FungusTown.unity index 24688ac3..9f25d79f 100644 --- a/Assets/FungusExamples/FungusTown/FungusTown.unity +++ b/Assets/FungusExamples/FungusTown/FungusTown.unity @@ -42,7 +42,7 @@ RenderSettings: --- !u!157 &4 LightmapSettings: m_ObjectHideFlags: 0 - serializedVersion: 9 + serializedVersion: 11 m_GIWorkflowMode: 0 m_GISettings: serializedVersion: 2 @@ -54,7 +54,7 @@ LightmapSettings: m_EnableBakedLightmaps: 0 m_EnableRealtimeLightmaps: 0 m_LightmapEditorSettings: - serializedVersion: 8 + serializedVersion: 9 m_Resolution: 2 m_BakeResolution: 40 m_TextureWidth: 1024 @@ -77,17 +77,20 @@ LightmapSettings: m_PVRDirectSampleCount: 32 m_PVRSampleCount: 500 m_PVRBounces: 2 - m_PVRFiltering: 0 - m_PVRFilteringMode: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 2 m_PVRCulling: 1 m_PVRFilteringGaussRadiusDirect: 1 m_PVRFilteringGaussRadiusIndirect: 5 m_PVRFilteringGaussRadiusAO: 2 - m_PVRFilteringAtrousColorSigma: 1 - m_PVRFilteringAtrousNormalSigma: 1 - m_PVRFilteringAtrousPositionSigma: 1 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 m_LightingDataAsset: {fileID: 0} - m_ShadowMaskMode: 2 + m_UseShadowmask: 0 --- !u!196 &5 NavMeshSettings: serializedVersion: 2 @@ -107,11 +110,13 @@ NavMeshSettings: manualTileSize: 0 tileSize: 256 accuratePlacement: 0 + debug: + m_Flags: 0 m_NavMeshData: {fileID: 0} --- !u!1 &199039253 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -127,8 +132,7 @@ GameObject: --- !u!114 &199039254 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 199039253} m_Enabled: 1 @@ -142,7 +146,7 @@ MonoBehaviour: --- !u!4 &199039255 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 199039253} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} @@ -196,7 +200,7 @@ Transform: --- !u!1 &440083480 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: fbafb8431307c42c9b1bfb9b27f6bd98, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -213,8 +217,7 @@ GameObject: --- !u!114 &440083481 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400000, guid: fbafb8431307c42c9b1bfb9b27f6bd98, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 440083480} m_Enabled: 1 @@ -228,13 +231,13 @@ MonoBehaviour: --- !u!212 &440083482 SpriteRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 21200000, guid: fbafb8431307c42c9b1bfb9b27f6bd98, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 440083480} m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 0 m_ReflectionProbeUsage: 1 @@ -250,6 +253,7 @@ SpriteRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 1 m_SelectedEditorRenderState: 0 m_MinimumChartSize: 4 m_AutoUVMaxDistance: 0.5 @@ -266,10 +270,12 @@ SpriteRenderer: m_Size: {x: 1, y: 1} m_AdaptiveModeThreshold: 0.5 m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 --- !u!4 &440083483 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: fbafb8431307c42c9b1bfb9b27f6bd98, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 440083480} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} @@ -284,7 +290,7 @@ Transform: --- !u!1 &689595264 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: 5a97962f7d5ba4df0823334b52c7c02c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -300,15 +306,15 @@ GameObject: m_IsActive: 1 --- !u!199 &689595265 ParticleSystemRenderer: - serializedVersion: 3 + serializedVersion: 4 m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 19900000, guid: 5a97962f7d5ba4df0823334b52c7c02c, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 689595264} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 0 m_ReflectionProbeUsage: 1 @@ -325,6 +331,7 @@ ParticleSystemRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 1 m_SelectedEditorRenderState: 3 m_MinimumChartSize: 4 m_AutoUVMaxDistance: 0.5 @@ -350,20 +357,23 @@ ParticleSystemRenderer: m_Mesh1: {fileID: 0} m_Mesh2: {fileID: 0} m_Mesh3: {fileID: 0} + m_MaskInteraction: 0 --- !u!198 &689595266 ParticleSystem: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 19800000, guid: 5a97962f7d5ba4df0823334b52c7c02c, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 689595264} serializedVersion: 5 lengthInSec: 10 simulationSpeed: 1 + stopAction: 0 looping: 1 prewarm: 1 playOnAwake: 1 + useUnscaledTime: 0 autoRandomSeed: 1 + useRigidbodyForVelocity: 1 startDelay: serializedVersion: 2 minMaxState: 0 @@ -371,13 +381,37 @@ ParticleSystem: minScalar: 0 maxCurve: serializedVersion: 2 - m_Curve: [] + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 minCurve: serializedVersion: 2 - m_Curve: [] + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 @@ -392,7 +426,7 @@ ParticleSystem: serializedVersion: 2 minMaxState: 0 scalar: 4 - minScalar: 0 + minScalar: 0.0001 maxCurve: serializedVersion: 2 m_Curve: @@ -813,14 +847,29 @@ ParticleSystem: m_PostInfinity: 2 m_RotationOrder: 4 ShapeModule: - serializedVersion: 4 + serializedVersion: 5 enabled: 1 type: 5 angle: 8.253074 length: 0.5 - boxX: 1 - boxY: 1 - boxZ: 1 + boxThickness: {x: 0, y: 0, z: 0} + radiusThickness: 1 + donutRadius: 0.2 + m_Position: {x: 0, y: 0, z: 0} + m_Rotation: {x: 0, y: 0, z: 0} + m_Scale: {x: 1, y: 1, z: 1} + placementMode: 0 + m_MeshMaterialIndex: 0 + m_MeshNormalOffset: 0 + m_Mesh: {fileID: 0} + m_MeshRenderer: {fileID: 0} + m_SkinnedMeshRenderer: {fileID: 0} + m_UseMeshMaterialIndex: 0 + m_UseMeshColors: 1 + alignToDirection: 0 + randomDirectionAmount: 0 + sphericalDirectionAmount: 0 + randomPositionAmount: 0 radius: value: 0.1 mode: 0 @@ -911,18 +960,6 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 - placementMode: 0 - m_Mesh: {fileID: 0} - m_MeshRenderer: {fileID: 0} - m_SkinnedMeshRenderer: {fileID: 0} - m_MeshMaterialIndex: 0 - m_MeshNormalOffset: 0 - m_MeshScale: 1 - m_UseMeshMaterialIndex: 0 - m_UseMeshColors: 1 - alignToDirection: 0 - randomDirectionAmount: 0 - sphericalDirectionAmount: 0 EmissionModule: enabled: 1 serializedVersion: 4 @@ -1317,6 +1354,7 @@ ParticleSystem: m_NumAlphaKeys: 2 UVModule: enabled: 0 + mode: 0 frameOverTime: serializedVersion: 2 minMaxState: 1 @@ -1408,6 +1446,8 @@ ParticleSystem: flipU: 0 flipV: 0 randomRow: 1 + sprites: + - sprite: {fileID: 0} VelocityModule: enabled: 0 x: @@ -1521,6 +1561,47 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + speedModifier: + serializedVersion: 2 + minMaxState: 0 + scalar: 1 + minScalar: 1 + maxCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + minCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 inWorldSpace: 0 InheritVelocityModule: enabled: 0 @@ -1846,7 +1927,50 @@ ParticleSystem: m_RotationOrder: 4 separateAxis: 0 inWorldSpace: 0 + multiplyDragByParticleSize: 1 + multiplyDragByParticleVelocity: 1 dampen: 1 + drag: + serializedVersion: 2 + minMaxState: 0 + scalar: 0 + minScalar: 0 + maxCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + minCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 NoiseModule: enabled: 0 strength: @@ -2144,6 +2268,129 @@ ParticleSystem: m_PostInfinity: 2 m_RotationOrder: 4 remapEnabled: 0 + positionAmount: + serializedVersion: 2 + minMaxState: 0 + scalar: 1 + minScalar: 1 + maxCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + minCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + rotationAmount: + serializedVersion: 2 + minMaxState: 0 + scalar: 0 + minScalar: 0 + maxCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + minCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + sizeAmount: + serializedVersion: 2 + minMaxState: 0 + scalar: 0 + minScalar: 0 + maxCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + minCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 SizeBySpeedModule: enabled: 1 curve: @@ -2469,6 +2716,10 @@ ParticleSystem: serializedVersion: 3 type: 0 collisionMode: 0 + colliderForce: 0 + multiplyColliderForceByParticleSize: 0 + multiplyColliderForceByParticleSpeed: 0 + multiplyColliderForceByCollisionAngle: 1 plane0: {fileID: 0} plane1: {fileID: 0} plane2: {fileID: 0} @@ -2627,7 +2878,8 @@ ParticleSystem: serializedVersion: 2 enabled: 0 subEmitters: - - emitter: {fileID: 0} + - serializedVersion: 2 + emitter: {fileID: 0} type: 0 properties: 0 LightsModule: @@ -2723,6 +2975,7 @@ ParticleSystem: maxLights: 20 TrailModule: enabled: 0 + mode: 0 ratio: 1 lifetime: serializedVersion: 2 @@ -2767,11 +3020,14 @@ ParticleSystem: m_RotationOrder: 4 minVertexDistance: 0.2 textureMode: 0 + ribbonCount: 1 worldSpace: 0 dieWithParticles: 1 sizeAffectsWidth: 1 sizeAffectsLifetime: 0 inheritParticleColor: 1 + generateLightingData: 0 + splitSubEmitterRibbons: 0 colorOverLifetime: serializedVersion: 2 minMaxState: 0 @@ -3006,6 +3262,7 @@ ParticleSystem: m_Mode: 0 m_NumColorKeys: 2 m_NumAlphaKeys: 2 + colorLabel0: Color vector0_0: serializedVersion: 2 minMaxState: 0 @@ -3047,6 +3304,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel0_0: X vector0_1: serializedVersion: 2 minMaxState: 0 @@ -3088,6 +3346,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel0_1: Y vector0_2: serializedVersion: 2 minMaxState: 0 @@ -3129,6 +3388,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel0_2: Z vector0_3: serializedVersion: 2 minMaxState: 0 @@ -3170,6 +3430,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel0_3: W mode1: 0 vectorComponentCount1: 4 color1: @@ -3235,6 +3496,7 @@ ParticleSystem: m_Mode: 0 m_NumColorKeys: 2 m_NumAlphaKeys: 2 + colorLabel1: Color vector1_0: serializedVersion: 2 minMaxState: 0 @@ -3276,6 +3538,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel1_0: X vector1_1: serializedVersion: 2 minMaxState: 0 @@ -3317,6 +3580,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel1_1: Y vector1_2: serializedVersion: 2 minMaxState: 0 @@ -3358,6 +3622,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel1_2: Z vector1_3: serializedVersion: 2 minMaxState: 0 @@ -3399,10 +3664,11 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel1_3: W --- !u!4 &704474071 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: 5a97962f7d5ba4df0823334b52c7c02c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 689595264} m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068} @@ -3424,104 +3690,29 @@ GameObject: m_Name: Town m_TagString: Untagged m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1009440725 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1009440724} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0.5248328, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 1802310102} - - {fileID: 1249570469} - - {fileID: 440083483} - m_Father: {fileID: 0} - m_RootOrder: 6 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1033902275 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1033902279} - - component: {fileID: 1033902278} - - component: {fileID: 1033902277} - - component: {fileID: 1033902276} - m_Layer: 0 - m_Name: EventSystem - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1033902276 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1033902275} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_ForceModuleActive: 0 ---- !u!114 &1033902277 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1033902275} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalAxis: Horizontal - m_VerticalAxis: Vertical - m_SubmitButton: Submit - m_CancelButton: Cancel - m_InputActionsPerSecond: 10 - m_RepeatDelay: 0.5 - m_ForceModuleActive: 0 ---- !u!114 &1033902278 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1033902275} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_FirstSelected: {fileID: 0} - m_sendNavigationEvents: 1 - m_DragThreshold: 5 ---- !u!4 &1033902279 + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1009440725 Transform: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1033902275} + m_GameObject: {fileID: 1009440724} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalPosition: {x: 0.5248328, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] + m_Children: + - {fileID: 1802310102} + - {fileID: 1249570469} + - {fileID: 440083483} m_Father: {fileID: 0} - m_RootOrder: 7 + m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1112900351 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -3537,8 +3728,7 @@ GameObject: --- !u!114 &1112900352 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1112900351} m_Enabled: 1 @@ -3552,7 +3742,7 @@ MonoBehaviour: --- !u!4 &1112900353 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1112900351} m_LocalRotation: {x: 0, y: 0, z: 0.052335963, w: 0.9986295} @@ -3587,6 +3777,7 @@ SpriteRenderer: m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 @@ -3602,6 +3793,7 @@ SpriteRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 1 m_SelectedEditorRenderState: 0 m_MinimumChartSize: 4 m_AutoUVMaxDistance: 0.5 @@ -3618,6 +3810,8 @@ SpriteRenderer: m_Size: {x: 1, y: 1} m_AdaptiveModeThreshold: 0.5 m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 --- !u!4 &1128059642 Transform: m_ObjectHideFlags: 0 @@ -3634,7 +3828,7 @@ Transform: --- !u!1 &1249570468 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: fbafb8431307c42c9b1bfb9b27f6bd98, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -3651,7 +3845,7 @@ GameObject: --- !u!4 &1249570469 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: fbafb8431307c42c9b1bfb9b27f6bd98, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1249570468} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} @@ -3664,8 +3858,7 @@ Transform: --- !u!114 &1249570470 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400000, guid: fbafb8431307c42c9b1bfb9b27f6bd98, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1249570468} m_Enabled: 1 @@ -3679,13 +3872,13 @@ MonoBehaviour: --- !u!212 &1249570471 SpriteRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 21200000, guid: fbafb8431307c42c9b1bfb9b27f6bd98, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1249570468} m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 0 m_ReflectionProbeUsage: 1 @@ -3701,6 +3894,7 @@ SpriteRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 1 m_SelectedEditorRenderState: 0 m_MinimumChartSize: 4 m_AutoUVMaxDistance: 0.5 @@ -3717,10 +3911,12 @@ SpriteRenderer: m_Size: {x: 1, y: 1} m_AdaptiveModeThreshold: 0.5 m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 --- !u!1 &1304529665 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -3736,8 +3932,7 @@ GameObject: --- !u!114 &1304529666 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1304529665} m_Enabled: 1 @@ -3751,7 +3946,7 @@ MonoBehaviour: --- !u!4 &1304529667 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1304529665} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} @@ -3764,7 +3959,7 @@ Transform: --- !u!1 &1385197491 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: 5a97962f7d5ba4df0823334b52c7c02c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -3780,15 +3975,15 @@ GameObject: m_IsActive: 1 --- !u!199 &1385197492 ParticleSystemRenderer: - serializedVersion: 3 + serializedVersion: 4 m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 19900000, guid: 5a97962f7d5ba4df0823334b52c7c02c, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1385197491} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 0 m_ReflectionProbeUsage: 1 @@ -3805,6 +4000,7 @@ ParticleSystemRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 1 m_SelectedEditorRenderState: 3 m_MinimumChartSize: 4 m_AutoUVMaxDistance: 0.5 @@ -3830,20 +4026,23 @@ ParticleSystemRenderer: m_Mesh1: {fileID: 0} m_Mesh2: {fileID: 0} m_Mesh3: {fileID: 0} + m_MaskInteraction: 0 --- !u!198 &1385197493 ParticleSystem: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 19800000, guid: 5a97962f7d5ba4df0823334b52c7c02c, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1385197491} serializedVersion: 5 lengthInSec: 10 simulationSpeed: 1 + stopAction: 0 looping: 1 prewarm: 1 playOnAwake: 1 + useUnscaledTime: 0 autoRandomSeed: 1 + useRigidbodyForVelocity: 1 startDelay: serializedVersion: 2 minMaxState: 0 @@ -3851,13 +4050,37 @@ ParticleSystem: minScalar: 0 maxCurve: serializedVersion: 2 - m_Curve: [] + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 minCurve: serializedVersion: 2 - m_Curve: [] + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 @@ -3872,7 +4095,7 @@ ParticleSystem: serializedVersion: 2 minMaxState: 0 scalar: 4 - minScalar: 0 + minScalar: 0.0001 maxCurve: serializedVersion: 2 m_Curve: @@ -4293,14 +4516,29 @@ ParticleSystem: m_PostInfinity: 2 m_RotationOrder: 4 ShapeModule: - serializedVersion: 4 + serializedVersion: 5 enabled: 1 type: 5 angle: 8.253074 length: 0.5 - boxX: 1 - boxY: 1 - boxZ: 1 + boxThickness: {x: 0, y: 0, z: 0} + radiusThickness: 1 + donutRadius: 0.2 + m_Position: {x: 0, y: 0, z: 0} + m_Rotation: {x: 0, y: 0, z: 0} + m_Scale: {x: 1, y: 1, z: 1} + placementMode: 0 + m_MeshMaterialIndex: 0 + m_MeshNormalOffset: 0 + m_Mesh: {fileID: 0} + m_MeshRenderer: {fileID: 0} + m_SkinnedMeshRenderer: {fileID: 0} + m_UseMeshMaterialIndex: 0 + m_UseMeshColors: 1 + alignToDirection: 0 + randomDirectionAmount: 0 + sphericalDirectionAmount: 0 + randomPositionAmount: 0 radius: value: 0.1 mode: 0 @@ -4391,18 +4629,6 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 - placementMode: 0 - m_Mesh: {fileID: 0} - m_MeshRenderer: {fileID: 0} - m_SkinnedMeshRenderer: {fileID: 0} - m_MeshMaterialIndex: 0 - m_MeshNormalOffset: 0 - m_MeshScale: 1 - m_UseMeshMaterialIndex: 0 - m_UseMeshColors: 1 - alignToDirection: 0 - randomDirectionAmount: 0 - sphericalDirectionAmount: 0 EmissionModule: enabled: 1 serializedVersion: 4 @@ -4797,6 +5023,7 @@ ParticleSystem: m_NumAlphaKeys: 2 UVModule: enabled: 0 + mode: 0 frameOverTime: serializedVersion: 2 minMaxState: 1 @@ -4888,6 +5115,8 @@ ParticleSystem: flipU: 0 flipV: 0 randomRow: 1 + sprites: + - sprite: {fileID: 0} VelocityModule: enabled: 0 x: @@ -5001,6 +5230,47 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + speedModifier: + serializedVersion: 2 + minMaxState: 0 + scalar: 1 + minScalar: 1 + maxCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + minCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 inWorldSpace: 0 InheritVelocityModule: enabled: 0 @@ -5326,7 +5596,50 @@ ParticleSystem: m_RotationOrder: 4 separateAxis: 0 inWorldSpace: 0 + multiplyDragByParticleSize: 1 + multiplyDragByParticleVelocity: 1 dampen: 1 + drag: + serializedVersion: 2 + minMaxState: 0 + scalar: 0 + minScalar: 0 + maxCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + minCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 NoiseModule: enabled: 0 strength: @@ -5624,6 +5937,129 @@ ParticleSystem: m_PostInfinity: 2 m_RotationOrder: 4 remapEnabled: 0 + positionAmount: + serializedVersion: 2 + minMaxState: 0 + scalar: 1 + minScalar: 1 + maxCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + minCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + rotationAmount: + serializedVersion: 2 + minMaxState: 0 + scalar: 0 + minScalar: 0 + maxCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + minCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + sizeAmount: + serializedVersion: 2 + minMaxState: 0 + scalar: 0 + minScalar: 0 + maxCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + minCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 SizeBySpeedModule: enabled: 1 curve: @@ -5949,6 +6385,10 @@ ParticleSystem: serializedVersion: 3 type: 0 collisionMode: 0 + colliderForce: 0 + multiplyColliderForceByParticleSize: 0 + multiplyColliderForceByParticleSpeed: 0 + multiplyColliderForceByCollisionAngle: 1 plane0: {fileID: 0} plane1: {fileID: 0} plane2: {fileID: 0} @@ -6107,7 +6547,8 @@ ParticleSystem: serializedVersion: 2 enabled: 0 subEmitters: - - emitter: {fileID: 0} + - serializedVersion: 2 + emitter: {fileID: 0} type: 0 properties: 0 LightsModule: @@ -6203,6 +6644,7 @@ ParticleSystem: maxLights: 20 TrailModule: enabled: 0 + mode: 0 ratio: 1 lifetime: serializedVersion: 2 @@ -6247,11 +6689,14 @@ ParticleSystem: m_RotationOrder: 4 minVertexDistance: 0.2 textureMode: 0 + ribbonCount: 1 worldSpace: 0 dieWithParticles: 1 sizeAffectsWidth: 1 sizeAffectsLifetime: 0 inheritParticleColor: 1 + generateLightingData: 0 + splitSubEmitterRibbons: 0 colorOverLifetime: serializedVersion: 2 minMaxState: 0 @@ -6486,6 +6931,7 @@ ParticleSystem: m_Mode: 0 m_NumColorKeys: 2 m_NumAlphaKeys: 2 + colorLabel0: Color vector0_0: serializedVersion: 2 minMaxState: 0 @@ -6527,6 +6973,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel0_0: X vector0_1: serializedVersion: 2 minMaxState: 0 @@ -6568,6 +7015,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel0_1: Y vector0_2: serializedVersion: 2 minMaxState: 0 @@ -6609,6 +7057,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel0_2: Z vector0_3: serializedVersion: 2 minMaxState: 0 @@ -6650,6 +7099,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel0_3: W mode1: 0 vectorComponentCount1: 4 color1: @@ -6715,6 +7165,7 @@ ParticleSystem: m_Mode: 0 m_NumColorKeys: 2 m_NumAlphaKeys: 2 + colorLabel1: Color vector1_0: serializedVersion: 2 minMaxState: 0 @@ -6756,6 +7207,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel1_0: X vector1_1: serializedVersion: 2 minMaxState: 0 @@ -6797,6 +7249,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel1_1: Y vector1_2: serializedVersion: 2 minMaxState: 0 @@ -6838,6 +7291,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel1_2: Z vector1_3: serializedVersion: 2 minMaxState: 0 @@ -6879,6 +7333,7 @@ ParticleSystem: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + vectorLabel1_3: W --- !u!1 &1535246060 GameObject: m_ObjectHideFlags: 0 @@ -6950,11 +7405,11 @@ Camera: m_TargetEye: 3 m_HDR: 0 m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 m_ForceIntoRT: 0 m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: 0.022 - m_StereoMirrorMode: 0 --- !u!4 &1535246065 Transform: m_ObjectHideFlags: 0 @@ -7007,6 +7462,7 @@ SpriteRenderer: m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 @@ -7022,6 +7478,7 @@ SpriteRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 1 m_SelectedEditorRenderState: 0 m_MinimumChartSize: 4 m_AutoUVMaxDistance: 0.5 @@ -7038,10 +7495,12 @@ SpriteRenderer: m_Size: {x: 1, y: 1} m_AdaptiveModeThreshold: 0.5 m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 --- !u!1 &1815667972 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -7076,8 +7535,7 @@ GameObject: --- !u!114 &1815667973 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 11462346, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1815667972} m_Enabled: 1 @@ -7086,12 +7544,12 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1815667974} + suppressBlockAutoSelect: 0 waitForFrames: 0 --- !u!114 &1815667974 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1815667972} m_Enabled: 1 @@ -7103,7 +7561,7 @@ MonoBehaviour: serializedVersion: 2 x: 366.58322 y: 63.927116 - width: 120 + width: 80 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -7129,11 +7587,11 @@ MonoBehaviour: - {fileID: 1815667989} - {fileID: 1815667991} - {fileID: 1815667988} + suppressAllAutoSelections: 0 --- !u!114 &1815667976 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1815667972} m_Enabled: 1 @@ -7142,19 +7600,18 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: version: 1 - scrollPos: {x: 0, y: 0} + scrollPos: {x: -91.08324, y: 218.07289} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 - blockViewHeight: 355 - zoom: 0.98799926 + blockViewHeight: 637 + zoom: 1 scrollViewRect: serializedVersion: 2 x: -350 y: -350 width: 1241.8625 height: 939.1903 - selectedBlocks: - - {fileID: 1815667974} + selectedBlocks: [] selectedCommands: [] variables: [] description: 'This scene shows how to create simple parallax scrolling effects @@ -7172,7 +7629,7 @@ MonoBehaviour: --- !u!4 &1815667977 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1815667972} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} @@ -7199,6 +7656,9 @@ MonoBehaviour: targetView: {fileID: 199039254} waitUntilFinished: 0 targetCamera: {fileID: 0} + orthoSizeTweenType: 4 + posTweenType: 4 + rotTweenType: 4 --- !u!114 &1815667979 MonoBehaviour: m_ObjectHideFlags: 2 @@ -7219,6 +7679,10 @@ MonoBehaviour: fadeColor: {r: 0, g: 0, b: 0, a: 1} fadeTexture: {fileID: 0} targetCamera: {fileID: 0} + fadeTweenType: 4 + orthoSizeTweenType: 4 + posTweenType: 4 + rotTweenType: 4 --- !u!114 &1815667980 MonoBehaviour: m_ObjectHideFlags: 2 @@ -7296,6 +7760,7 @@ MonoBehaviour: waitUntilFinished: 1 fadeColor: {r: 1, g: 1, b: 1, a: 1} fadeTexture: {fileID: 0} + fadeTweenType: 4 --- !u!114 &1815667984 MonoBehaviour: m_ObjectHideFlags: 2 @@ -7314,6 +7779,7 @@ MonoBehaviour: waitUntilFinished: 0 fadeColor: {r: 1, g: 1, b: 1, a: 1} fadeTexture: {fileID: 0} + fadeTweenType: 4 --- !u!114 &1815667985 MonoBehaviour: m_ObjectHideFlags: 2 @@ -7372,6 +7838,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1815667988 MonoBehaviour: @@ -7394,6 +7861,9 @@ MonoBehaviour: booleanRef: {fileID: 0} booleanVal: 1 setMenuDialog: {fileID: 0} + hideThisOption: + booleanRef: {fileID: 0} + booleanVal: 0 --- !u!114 &1815667989 MonoBehaviour: m_ObjectHideFlags: 2 @@ -7428,6 +7898,9 @@ MonoBehaviour: targetView: {fileID: 1304529666} waitUntilFinished: 0 targetCamera: {fileID: 0} + orthoSizeTweenType: 4 + posTweenType: 4 + rotTweenType: 4 --- !u!114 &1815667991 MonoBehaviour: m_ObjectHideFlags: 2 @@ -7486,6 +7959,7 @@ MonoBehaviour: waitUntilFinished: 1 fadeColor: {r: 0, g: 0, b: 0, a: 1} fadeTexture: {fileID: 0} + fadeTweenType: 4 --- !u!114 &1815667994 MonoBehaviour: m_ObjectHideFlags: 2 @@ -7506,7 +7980,7 @@ MonoBehaviour: --- !u!4 &1832829438 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: 5a97962f7d5ba4df0823334b52c7c02c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1385197491} m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068} diff --git a/Assets/FungusExamples/Math/MathQuiz.unity b/Assets/FungusExamples/Math/MathQuiz.unity index 359eb80f..1d395cd8 100644 --- a/Assets/FungusExamples/Math/MathQuiz.unity +++ b/Assets/FungusExamples/Math/MathQuiz.unity @@ -42,7 +42,7 @@ RenderSettings: --- !u!157 &3 LightmapSettings: m_ObjectHideFlags: 0 - serializedVersion: 9 + serializedVersion: 11 m_GIWorkflowMode: 1 m_GISettings: serializedVersion: 2 @@ -54,7 +54,7 @@ LightmapSettings: m_EnableBakedLightmaps: 0 m_EnableRealtimeLightmaps: 0 m_LightmapEditorSettings: - serializedVersion: 8 + serializedVersion: 9 m_Resolution: 2 m_BakeResolution: 40 m_TextureWidth: 1024 @@ -77,17 +77,20 @@ LightmapSettings: m_PVRDirectSampleCount: 32 m_PVRSampleCount: 500 m_PVRBounces: 2 - m_PVRFiltering: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 m_PVRFilteringMode: 1 m_PVRCulling: 1 m_PVRFilteringGaussRadiusDirect: 1 m_PVRFilteringGaussRadiusIndirect: 5 m_PVRFilteringGaussRadiusAO: 2 - m_PVRFilteringAtrousColorSigma: 1 - m_PVRFilteringAtrousNormalSigma: 1 - m_PVRFilteringAtrousPositionSigma: 1 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 m_LightingDataAsset: {fileID: 0} - m_ShadowMaskMode: 2 + m_UseShadowmask: 1 --- !u!196 &4 NavMeshSettings: serializedVersion: 2 @@ -107,6 +110,8 @@ NavMeshSettings: manualTileSize: 0 tileSize: 256 accuratePlacement: 0 + debug: + m_Flags: 0 m_NavMeshData: {fileID: 0} --- !u!1 &205269089 GameObject: @@ -212,12 +217,9 @@ MonoBehaviour: soundEffect: {fileID: 0} portraits: - {fileID: 21300000, guid: 58bfb145092302e4083ef8a9e4eeb576, type: 3} - - {fileID: 21300000, guid: 820bab66bb5a044ec961ba8ee3b045cc, type: 3} - - {fileID: 21300000, guid: a92b08a118b7d46f59dd091acb2e4102, type: 3} - - {fileID: 21300000, guid: f0a480312d1664a9d9c7749fed3eb1b5, type: 3} - {fileID: 21300000, guid: 03bc547cc0049594bae51f00903eedef, type: 3} - - {fileID: 21300000, guid: ab808050bc535a643afaf4755050339e, type: 3} - {fileID: 21300000, guid: d7af8fdea3ead3c4b8a4e54d014b255d, type: 3} + - {fileID: 21300000, guid: ab808050bc535a643afaf4755050339e, type: 3} portraitsFace: 2 setSayDialog: {fileID: 0} description: @@ -820,11 +822,11 @@ Camera: m_TargetEye: 3 m_HDR: 0 m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 m_ForceIntoRT: 0 m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: 0.022 - m_StereoMirrorMode: 0 --- !u!4 &1726345443 Transform: m_ObjectHideFlags: 0 @@ -870,14 +872,14 @@ MonoBehaviour: nameColor: {r: 1, g: 1, b: 1, a: 1} soundEffect: {fileID: 0} portraits: - - {fileID: 21300000, guid: b9482ea03e69b5a4aa5e7827da354549, type: 3} - - {fileID: 21300000, guid: 7497fd82318972540af8666a234a9685, type: 3} - {fileID: 21300000, guid: 75b6e7c8c9b6b4d40ae30dc671be34b7, type: 3} + - {fileID: 21300000, guid: 7497fd82318972540af8666a234a9685, type: 3} - {fileID: 21300000, guid: 5ba6e5e5e65bc084ba912d2d2d8718df, type: 3} - - {fileID: 21300000, guid: e7a0368af3f28b1438c458df61e691c1, type: 3} - - {fileID: 21300000, guid: ed8fca01dcf5bfc4f86bc063889a5013, type: 3} + - {fileID: 21300000, guid: b9482ea03e69b5a4aa5e7827da354549, type: 3} - {fileID: 21300000, guid: a3710c5af5b436a46b8d0ff4235d1dfe, type: 3} + - {fileID: 21300000, guid: ed8fca01dcf5bfc4f86bc063889a5013, type: 3} - {fileID: 21300000, guid: 58f5b79d262f6814bb4ebb44e29efe90, type: 3} + - {fileID: 21300000, guid: e7a0368af3f28b1438c458df61e691c1, type: 3} - {fileID: 21300000, guid: 3fd077b79b3018945961e206b6435268, type: 3} portraitsFace: 1 setSayDialog: {fileID: 0} @@ -956,7 +958,7 @@ MonoBehaviour: m_EditorClassIdentifier: version: 1 scrollPos: {x: 350.5, y: 64} - variablesScrollPos: {x: 0, y: 10} + variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 blockViewHeight: 400 zoom: 1 @@ -1049,6 +1051,18 @@ MonoBehaviour: sherlock hide: john hide:' + clearPrevious: + booleanRef: {fileID: 0} + booleanVal: 1 + waitForInput: + booleanRef: {fileID: 0} + booleanVal: 1 + waitForSeconds: + floatRef: {fileID: 0} + floatVal: 0 + fadeWhenDone: + booleanRef: {fileID: 0} + booleanVal: 1 --- !u!114 &1755499608 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1065,7 +1079,7 @@ MonoBehaviour: serializedVersion: 2 x: 69 y: 70 - width: 120 + width: 80 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1091,6 +1105,7 @@ MonoBehaviour: - {fileID: 1755499635} - {fileID: 1755499638} - {fileID: 1755499607} + suppressAllAutoSelections: 0 --- !u!114 &1755499609 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1104,6 +1119,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1755499608} + suppressBlockAutoSelect: 0 waitForFrames: 1 --- !u!4 &1755499610 Transform: @@ -1418,8 +1434,96 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 6 indentLevel: 0 - variable: {fileID: 1755499622} + anyVar: + variable: {fileID: 1755499622} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 1755499611} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 4 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -1427,11 +1531,47 @@ MonoBehaviour: integerRef: {fileID: 0} integerVal: 0 floatData: - floatRef: {fileID: 1755499611} + floatRef: {fileID: 0} floatVal: 0 stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1755499629 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1445,8 +1585,96 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 7 indentLevel: 0 - variable: {fileID: 1755499622} + anyVar: + variable: {fileID: 1755499622} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 1755499612} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 0 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -1454,11 +1682,47 @@ MonoBehaviour: integerRef: {fileID: 0} integerVal: 0 floatData: - floatRef: {fileID: 1755499612} + floatRef: {fileID: 0} floatVal: 0 stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1755499630 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1486,13 +1750,13 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 15 indentLevel: 0 - function: 4 inValue: floatRef: {fileID: 1755499621} floatVal: 0 outValue: floatRef: {fileID: 1755499630} floatVal: 0 + function: 4 --- !u!114 &1755499632 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1506,8 +1770,96 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 14 indentLevel: 0 - variable: {fileID: 1755499621} + anyVar: + variable: {fileID: 1755499621} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 1755499611} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 5 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -1515,11 +1867,47 @@ MonoBehaviour: integerRef: {fileID: 0} integerVal: 0 floatData: - floatRef: {fileID: 1755499611} + floatRef: {fileID: 0} floatVal: 0 stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1755499633 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1533,8 +1921,96 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 13 indentLevel: 0 - variable: {fileID: 1755499621} + anyVar: + variable: {fileID: 1755499621} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 1755499612} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 0 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -1542,11 +2018,47 @@ MonoBehaviour: integerRef: {fileID: 0} integerVal: 0 floatData: - floatRef: {fileID: 1755499612} + floatRef: {fileID: 0} floatVal: 0 stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1755499634 MonoBehaviour: m_ObjectHideFlags: 2 diff --git a/Assets/FungusExamples/MenuShuffle/MenuShuffle.unity b/Assets/FungusExamples/MenuShuffle/MenuShuffle.unity index 2f53a3b6..28d2305a 100644 --- a/Assets/FungusExamples/MenuShuffle/MenuShuffle.unity +++ b/Assets/FungusExamples/MenuShuffle/MenuShuffle.unity @@ -77,17 +77,20 @@ LightmapSettings: m_PVRDirectSampleCount: 32 m_PVRSampleCount: 500 m_PVRBounces: 2 - m_PVRFiltering: 0 - m_PVRFilteringMode: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 2 m_PVRCulling: 1 m_PVRFilteringGaussRadiusDirect: 1 m_PVRFilteringGaussRadiusIndirect: 5 m_PVRFilteringGaussRadiusAO: 2 - m_PVRFilteringAtrousColorSigma: 1 - m_PVRFilteringAtrousNormalSigma: 1 - m_PVRFilteringAtrousPositionSigma: 1 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 m_LightingDataAsset: {fileID: 0} - m_UseShadowmask: 1 + m_UseShadowmask: 0 --- !u!196 &4 NavMeshSettings: serializedVersion: 2 @@ -107,17 +110,19 @@ NavMeshSettings: manualTileSize: 0 tileSize: 256 accuratePlacement: 0 + debug: + m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1 &205269089 +--- !u!1 &19629321 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110280, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 205269090} - - component: {fileID: 205269092} - - component: {fileID: 205269091} + - component: {fileID: 19629322} + - component: {fileID: 19629324} + - component: {fileID: 19629323} m_Layer: 0 m_Name: Offscreen Right m_TagString: Untagged @@ -125,18 +130,17 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &205269090 +--- !u!224 &19629322 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410278, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 205269089} + m_GameObject: {fileID: 19629321} 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: 1544660787} + m_Father: {fileID: 644145156} m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} @@ -144,13 +148,12 @@ RectTransform: m_AnchoredPosition: {x: 1300, y: -1000} m_SizeDelta: {x: 1000, y: 1000} m_Pivot: {x: 0.5, y: 0} ---- !u!114 &205269091 +--- !u!114 &19629323 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410282, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 205269089} + m_GameObject: {fileID: 19629321} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -172,17 +175,16 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!222 &205269092 +--- !u!222 &19629324 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210276, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 205269089} + m_GameObject: {fileID: 19629321} --- !u!1 &275029862 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -198,8 +200,7 @@ GameObject: --- !u!114 &275029863 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 275029862} m_Enabled: 1 @@ -212,19 +213,19 @@ MonoBehaviour: soundEffect: {fileID: 0} portraits: - {fileID: 21300000, guid: 58bfb145092302e4083ef8a9e4eeb576, type: 3} - - {fileID: 21300000, guid: 820bab66bb5a044ec961ba8ee3b045cc, type: 3} - - {fileID: 21300000, guid: a92b08a118b7d46f59dd091acb2e4102, type: 3} - - {fileID: 21300000, guid: f0a480312d1664a9d9c7749fed3eb1b5, type: 3} - {fileID: 21300000, guid: 03bc547cc0049594bae51f00903eedef, type: 3} - - {fileID: 21300000, guid: ab808050bc535a643afaf4755050339e, type: 3} - {fileID: 21300000, guid: d7af8fdea3ead3c4b8a4e54d014b255d, type: 3} + - {fileID: 21300000, guid: ab808050bc535a643afaf4755050339e, type: 3} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} portraitsFace: 2 setSayDialog: {fileID: 0} description: --- !u!4 &275029864 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 275029862} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} @@ -232,51 +233,49 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 3 + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &534534503 +--- !u!1 &526007203 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 534534504} - - component: {fileID: 534534506} - - component: {fileID: 534534505} + - component: {fileID: 526007204} + - component: {fileID: 526007206} + - component: {fileID: 526007205} m_Layer: 0 - m_Name: Right + m_Name: Left m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &534534504 +--- !u!224 &526007204 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 534534503} + m_GameObject: {fileID: 526007203} 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: 1544660787} - m_RootOrder: 2 + m_Father: {fileID: 644145156} + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 460.43, y: -1000} + m_AnchoredPosition: {x: -460.43, y: -1000} m_SizeDelta: {x: 1000, y: 1000} m_Pivot: {x: 0.5, y: 0} ---- !u!114 &534534505 +--- !u!114 &526007205 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 534534503} + m_GameObject: {fileID: 526007203} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -298,56 +297,224 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!222 &534534506 +--- !u!222 &526007206 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 534534503} ---- !u!1 &599196444 + m_GameObject: {fileID: 526007203} +--- !u!1 &644145155 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110282, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 599196445} - - component: {fileID: 599196447} - - component: {fileID: 599196446} + - component: {fileID: 644145156} + - component: {fileID: 644145160} + - component: {fileID: 644145159} + - component: {fileID: 644145158} + - component: {fileID: 644145157} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &644145156 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 644145155} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 1116007736} + - {fileID: 526007204} + - {fileID: 1130461601} + - {fileID: 1248790852} + - {fileID: 19629322} + m_Father: {fileID: 653651522} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!225 &644145157 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 644145155} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 0 + m_IgnoreParentGroups: 0 +--- !u!114 &644145158 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 644145155} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1600, y: 1200} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 1 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!114 &644145159 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 644145155} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!223 &644145160 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 644145155} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!1 &653651520 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 653651522} + - component: {fileID: 653651521} m_Layer: 0 - m_Name: Left + m_Name: Stage m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &599196445 +--- !u!114 &653651521 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 653651520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6f6478b25a400c642b2dee75f022ab12, type: 3} + m_Name: + m_EditorClassIdentifier: + portraitCanvas: {fileID: 644145160} + dimPortraits: 1 + dimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + fadeDuration: 0.75 + moveDuration: 1 + fadeEaseType: 4 + shiftOffset: {x: 0, y: 0} + defaultPosition: {fileID: 1116007738} + positions: + - {fileID: 526007204} + - {fileID: 1116007736} + - {fileID: 1130461601} + - {fileID: 1248790852} + - {fileID: 19629322} +--- !u!4 &653651522 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 653651520} + 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: + - {fileID: 644145156} + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1116007735 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1116007736} + - component: {fileID: 1116007737} + - component: {fileID: 1116007738} + m_Layer: 0 + m_Name: Middle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1116007736 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410280, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 599196444} + m_GameObject: {fileID: 1116007735} 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: 1544660787} - m_RootOrder: 1 + m_Father: {fileID: 644145156} + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: -460.43, y: -1000} + m_AnchoredPosition: {x: 0, y: -1000} m_SizeDelta: {x: 1000, y: 1000} m_Pivot: {x: 0.5, y: 0} ---- !u!114 &599196446 +--- !u!222 &1116007737 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1116007735} +--- !u!114 &1116007738 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410284, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 599196444} + m_GameObject: {fileID: 1116007735} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -369,56 +536,47 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!222 &599196447 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210278, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 599196444} ---- !u!1 &1085130771 +--- !u!1 &1130461600 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110272, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 1085130772} - - component: {fileID: 1085130774} - - component: {fileID: 1085130773} + - component: {fileID: 1130461601} + - component: {fileID: 1130461603} + - component: {fileID: 1130461602} m_Layer: 0 - m_Name: Offscreen Left + m_Name: Right m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1085130772 +--- !u!224 &1130461601 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410272, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1085130771} + m_GameObject: {fileID: 1130461600} 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: 1544660787} - m_RootOrder: 3 + m_Father: {fileID: 644145156} + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: -1300, y: -1000} + m_AnchoredPosition: {x: 460.43, y: -1000} m_SizeDelta: {x: 1000, y: 1000} m_Pivot: {x: 0.5, y: 0} ---- !u!114 &1085130773 +--- !u!114 &1130461602 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410272, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1085130771} + m_GameObject: {fileID: 1130461600} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -440,13 +598,12 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!222 &1085130774 +--- !u!222 &1130461603 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210272, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1085130771} + m_GameObject: {fileID: 1130461600} --- !u!1 &1226317641 GameObject: m_ObjectHideFlags: 1 @@ -486,133 +643,49 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1290383786 +--- !u!1 &1248790851 GameObject: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 1290383790} - - component: {fileID: 1290383789} - - component: {fileID: 1290383788} - - component: {fileID: 1290383787} + - component: {fileID: 1248790852} + - component: {fileID: 1248790854} + - component: {fileID: 1248790853} m_Layer: 0 - m_Name: EventSystem - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1290383787 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_ForceModuleActive: 0 ---- !u!114 &1290383788 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalAxis: Horizontal - m_VerticalAxis: Vertical - m_SubmitButton: Submit - m_CancelButton: Cancel - m_InputActionsPerSecond: 10 - m_RepeatDelay: 0.5 - m_ForceModuleActive: 0 ---- !u!114 &1290383789 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_FirstSelected: {fileID: 0} - m_sendNavigationEvents: 1 - m_DragThreshold: 5 ---- !u!4 &1290383790 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1290383786} - 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: 6 - m_LocalEulerAnglesHint: {x: 179.999, y: 179.999, z: 179.999} ---- !u!1 &1311069593 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110278, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1311069594} - - component: {fileID: 1311069595} - - component: {fileID: 1311069596} - m_Layer: 0 - m_Name: Middle + m_Name: Offscreen Left m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1311069594 +--- !u!224 &1248790852 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410276, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1311069593} + m_GameObject: {fileID: 1248790851} 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: 1544660787} - m_RootOrder: 0 + m_Father: {fileID: 644145156} + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: -1000} + m_AnchoredPosition: {x: -1300, y: -1000} m_SizeDelta: {x: 1000, y: 1000} m_Pivot: {x: 0.5, y: 0} ---- !u!222 &1311069595 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22210274, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1311069593} ---- !u!114 &1311069596 +--- !u!114 &1248790853 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410280, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1311069593} + m_GameObject: {fileID: 1248790851} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -634,121 +707,12 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 ---- !u!1 &1544660786 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110276, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1544660787} - - component: {fileID: 1544660791} - - component: {fileID: 1544660790} - - component: {fileID: 1544660789} - - component: {fileID: 1544660788} - m_Layer: 5 - m_Name: Canvas - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1544660787 -RectTransform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22410274, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} - m_Children: - - {fileID: 1311069594} - - {fileID: 599196445} - - {fileID: 534534504} - - {fileID: 1085130772} - - {fileID: 205269090} - m_Father: {fileID: 2073331544} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} ---- !u!225 &1544660788 -CanvasGroup: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22510270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_Enabled: 1 - m_Alpha: 1 - m_Interactable: 1 - m_BlocksRaycasts: 0 - m_IgnoreParentGroups: 0 ---- !u!114 &1544660789 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410276, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_UiScaleMode: 1 - m_ReferencePixelsPerUnit: 100 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 1600, y: 1200} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 1 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 ---- !u!114 &1544660790 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410278, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!223 &1544660791 -Canvas: +--- !u!222 &1248790854 +CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 22310270, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1544660786} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 0 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 1 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_AdditionalShaderChannelsFlag: 25 - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_TargetDisplay: 0 + m_GameObject: {fileID: 1248790851} --- !u!1 &1726345438 GameObject: m_ObjectHideFlags: 0 @@ -758,7 +722,6 @@ GameObject: m_Component: - component: {fileID: 1726345443} - component: {fileID: 1726345442} - - component: {fileID: 1726345441} - component: {fileID: 1726345440} - component: {fileID: 1726345439} m_Layer: 0 @@ -776,13 +739,6 @@ AudioListener: m_GameObject: {fileID: 1726345438} m_Enabled: 1 --- !u!124 &1726345440 -Behaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1726345438} - m_Enabled: 1 ---- !u!92 &1726345441 Behaviour: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} @@ -820,11 +776,11 @@ Camera: m_TargetEye: 3 m_HDR: 0 m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 m_ForceIntoRT: 0 m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: 0.022 - m_StereoMirrorMode: 0 --- !u!4 &1726345443 Transform: m_ObjectHideFlags: 0 @@ -841,7 +797,7 @@ Transform: --- !u!1 &1745642867 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -857,8 +813,7 @@ GameObject: --- !u!114 &1745642868 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1745642867} m_Enabled: 1 @@ -870,14 +825,14 @@ MonoBehaviour: nameColor: {r: 1, g: 1, b: 1, a: 1} soundEffect: {fileID: 0} portraits: - - {fileID: 21300000, guid: b9482ea03e69b5a4aa5e7827da354549, type: 3} - - {fileID: 21300000, guid: 7497fd82318972540af8666a234a9685, type: 3} - {fileID: 21300000, guid: 75b6e7c8c9b6b4d40ae30dc671be34b7, type: 3} + - {fileID: 21300000, guid: 7497fd82318972540af8666a234a9685, type: 3} - {fileID: 21300000, guid: 5ba6e5e5e65bc084ba912d2d2d8718df, type: 3} - - {fileID: 21300000, guid: e7a0368af3f28b1438c458df61e691c1, type: 3} - - {fileID: 21300000, guid: ed8fca01dcf5bfc4f86bc063889a5013, type: 3} + - {fileID: 21300000, guid: b9482ea03e69b5a4aa5e7827da354549, type: 3} - {fileID: 21300000, guid: a3710c5af5b436a46b8d0ff4235d1dfe, type: 3} + - {fileID: 21300000, guid: ed8fca01dcf5bfc4f86bc063889a5013, type: 3} - {fileID: 21300000, guid: 58f5b79d262f6814bb4ebb44e29efe90, type: 3} + - {fileID: 21300000, guid: e7a0368af3f28b1438c458df61e691c1, type: 3} - {fileID: 21300000, guid: 3fd077b79b3018945961e206b6435268, type: 3} portraitsFace: 1 setSayDialog: {fileID: 0} @@ -885,7 +840,7 @@ MonoBehaviour: --- !u!4 &1745642869 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1745642867} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} @@ -893,12 +848,12 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 5 + m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1755499605 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: @@ -957,8 +912,7 @@ GameObject: --- !u!114 &1755499606 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} m_Enabled: 1 @@ -967,7 +921,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: version: 1 - scrollPos: {x: 599.9552, y: 235.70175} + scrollPos: {x: 502.9552, y: 140.70175} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 blockViewHeight: 400 @@ -979,9 +933,8 @@ MonoBehaviour: width: 1114 height: 859 selectedBlocks: - - {fileID: 1755499614} - selectedCommands: - - {fileID: 1755499650} + - {fileID: 1755499616} + selectedCommands: [] variables: - {fileID: 1755499646} - {fileID: 1755499645} @@ -1012,8 +965,7 @@ MonoBehaviour: --- !u!114 &1755499608 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} m_Enabled: 1 @@ -1023,9 +975,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -211.53827 - y: 63.510056 - width: 120 + x: -240 + y: 0 + width: 100 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1039,11 +991,11 @@ MonoBehaviour: - {fileID: 1755499632} - {fileID: 1755499611} - {fileID: 1755499607} + suppressAllAutoSelections: 0 --- !u!114 &1755499609 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 11462346, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} m_Enabled: 1 @@ -1052,11 +1004,12 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1755499608} + suppressBlockAutoSelect: 0 waitForFrames: 1 --- !u!4 &1755499610 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1755499605} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} @@ -1064,7 +1017,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1755499611 MonoBehaviour: @@ -1103,9 +1056,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -25.506847 - y: 33.40146 - width: 120 + x: 0 + y: 0 + width: 60 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1116,6 +1069,7 @@ MonoBehaviour: commandList: - {fileID: 1755499631} - {fileID: 1755499613} + suppressAllAutoSelections: 0 --- !u!114 &1755499613 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1149,9 +1103,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -213.08838 - y: 110.851654 - width: 120 + x: -200 + y: 60 + width: 100 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1169,6 +1123,7 @@ MonoBehaviour: - {fileID: 1755499649} - {fileID: 1755499647} - {fileID: 1755499648} + suppressAllAutoSelections: 0 --- !u!114 &1755499615 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1206,9 +1161,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -26.9375 - y: 286.16745 - width: 120 + x: 0 + y: 240 + width: 60 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1219,6 +1174,7 @@ MonoBehaviour: commandList: - {fileID: 1755499618} - {fileID: 1755499617} + suppressAllAutoSelections: 0 --- !u!114 &1755499617 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1263,6 +1219,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1755499619 MonoBehaviour: @@ -1301,9 +1258,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -31.868958 - y: 228.63354 - width: 120 + x: 0 + y: 200 + width: 60 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1314,6 +1271,7 @@ MonoBehaviour: commandList: - {fileID: 1755499622} - {fileID: 1755499621} + suppressAllAutoSelections: 0 --- !u!114 &1755499621 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1358,6 +1316,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1755499623 MonoBehaviour: @@ -1396,9 +1355,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -31.320831 - y: 182.05807 - width: 120 + x: 0 + y: 160 + width: 60 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1409,6 +1368,7 @@ MonoBehaviour: commandList: - {fileID: 1755499626} - {fileID: 1755499625} + suppressAllAutoSelections: 0 --- !u!114 &1755499625 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1453,6 +1413,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1755499627 MonoBehaviour: @@ -1491,9 +1452,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -29.402863 - y: 120.41409 - width: 120 + x: 0 + y: 120 + width: 60 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1504,6 +1465,7 @@ MonoBehaviour: commandList: - {fileID: 1755499630} - {fileID: 1755499629} + suppressAllAutoSelections: 0 --- !u!114 &1755499629 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1548,6 +1510,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1755499631 MonoBehaviour: @@ -1573,6 +1536,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1755499632 MonoBehaviour: @@ -1611,9 +1575,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -23.588982 - y: -17.28334 - width: 120 + x: 0 + y: -40 + width: 60 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1624,6 +1588,7 @@ MonoBehaviour: commandList: - {fileID: 1755499635} - {fileID: 1755499634} + suppressAllAutoSelections: 0 --- !u!114 &1755499634 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1668,6 +1633,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1755499636 MonoBehaviour: @@ -1706,9 +1672,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -27.150684 - y: -84.40664 - width: 120 + x: 0 + y: -80 + width: 60 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1719,6 +1685,7 @@ MonoBehaviour: commandList: - {fileID: 1755499639} - {fileID: 1755499638} + suppressAllAutoSelections: 0 --- !u!114 &1755499638 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1763,6 +1730,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1755499640 MonoBehaviour: @@ -1801,9 +1769,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -34.82194 - y: -140.57092 - width: 120 + x: 0 + y: -120 + width: 60 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1814,6 +1782,7 @@ MonoBehaviour: commandList: - {fileID: 1755499643} - {fileID: 1755499642} + suppressAllAutoSelections: 0 --- !u!114 &1755499642 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1858,6 +1827,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1755499644 MonoBehaviour: @@ -1914,8 +1884,96 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 42 indentLevel: 1 - variable: {fileID: 1755499646} + anyVar: + variable: {fileID: 1755499646} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 0 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -1928,6 +1986,42 @@ MonoBehaviour: stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1755499648 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1954,8 +2048,187 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 40 indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1755499645} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 1755499645} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -1968,6 +2241,42 @@ MonoBehaviour: stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1755499650 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1988,59 +2297,3 @@ MonoBehaviour: maxValue: integerRef: {fileID: 0} integerVal: 3 ---- !u!1 &2073331542 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 110274, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 2073331544} - - component: {fileID: 2073331543} - m_Layer: 0 - m_Name: Stage - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &2073331543 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11410274, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2073331542} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 6f6478b25a400c642b2dee75f022ab12, type: 3} - m_Name: - m_EditorClassIdentifier: - portraitCanvas: {fileID: 1544660791} - dimPortraits: 1 - dimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - fadeDuration: 0.75 - moveDuration: 1 - fadeEaseType: 4 - shiftOffset: {x: 0, y: 0} - defaultPosition: {fileID: 1311069596} - positions: - - {fileID: 599196445} - - {fileID: 1311069594} - - {fileID: 534534504} - - {fileID: 1085130772} - - {fileID: 205269090} ---- !u!4 &2073331544 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2073331542} - 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: - - {fileID: 1544660787} - m_Father: {fileID: 0} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/FungusExamples/MonoBehEvents/SpriteColorChangeFromFungusMouseEvent.cs b/Assets/FungusExamples/MonoBehEvents/SpriteColorChangeFromFungusMouseEvent.cs index 5540c8bf..e914a0f8 100644 --- a/Assets/FungusExamples/MonoBehEvents/SpriteColorChangeFromFungusMouseEvent.cs +++ b/Assets/FungusExamples/MonoBehEvents/SpriteColorChangeFromFungusMouseEvent.cs @@ -1,4 +1,7 @@ -using System.Collections; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/FungusExamples/Playground/Lander.unity b/Assets/FungusExamples/Playground/Lander.unity index af6b7140..59c84890 100644 --- a/Assets/FungusExamples/Playground/Lander.unity +++ b/Assets/FungusExamples/Playground/Lander.unity @@ -13,7 +13,7 @@ OcclusionCullingSettings: --- !u!104 &2 RenderSettings: m_ObjectHideFlags: 0 - serializedVersion: 9 + serializedVersion: 8 m_Fog: 0 m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogMode: 3 @@ -39,7 +39,6 @@ RenderSettings: m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} - m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: m_ObjectHideFlags: 0 @@ -55,10 +54,11 @@ LightmapSettings: m_EnableBakedLightmaps: 0 m_EnableRealtimeLightmaps: 0 m_LightmapEditorSettings: - serializedVersion: 10 + serializedVersion: 9 m_Resolution: 2 m_BakeResolution: 40 - m_AtlasSize: 1024 + m_TextureWidth: 1024 + m_TextureHeight: 1024 m_AO: 0 m_AOMaxDistance: 1 m_CompAOExponent: 1 @@ -323,7 +323,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -827,7 +826,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -907,6 +905,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 510833762} + suppressBlockAutoSelect: 0 waitForFrames: 1 --- !u!114 &510833762 MonoBehaviour: @@ -921,9 +920,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 264 - y: 157 - width: 120 + x: 260 + y: 160 + width: 100 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -933,6 +932,7 @@ MonoBehaviour: eventHandler: {fileID: 510833761} commandList: - {fileID: 510833777} + suppressAllAutoSelections: 0 --- !u!114 &510833763 MonoBehaviour: m_ObjectHideFlags: 2 @@ -945,6 +945,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 510833764} + suppressBlockAutoSelect: 0 message: OnPlayerWin --- !u!114 &510833764 MonoBehaviour: @@ -959,9 +960,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 63 - y: 207 - width: 123 + x: 60 + y: 200 + width: 120 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -974,6 +975,7 @@ MonoBehaviour: - {fileID: 510833778} - {fileID: 510833780} - {fileID: 510833782} + suppressAllAutoSelections: 0 --- !u!114 &510833765 MonoBehaviour: m_ObjectHideFlags: 2 @@ -986,6 +988,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 510833766} + suppressBlockAutoSelect: 0 message: OnPlayerDie --- !u!114 &510833766 MonoBehaviour: @@ -1000,9 +1003,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 63 - y: 102 - width: 121 + x: 60 + y: 100 + width: 120 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -1019,6 +1022,7 @@ MonoBehaviour: - {fileID: 510833773} - {fileID: 510833771} - {fileID: 510833772} + suppressAllAutoSelections: 0 --- !u!114 &510833767 MonoBehaviour: m_ObjectHideFlags: 0 @@ -1042,7 +1046,8 @@ MonoBehaviour: y: 0 width: 0 height: 0 - selectedBlocks: [] + selectedBlocks: + - {fileID: 510833762} selectedCommands: [] variables: - {fileID: 510833776} @@ -1158,8 +1163,187 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 10 indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 4 + anyVar: + variable: {fileID: 510833776} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 4 - variable: {fileID: 510833776} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -1221,14 +1405,102 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 9 indentLevel: 0 - variable: {fileID: 510833776} + anyVar: + variable: {fileID: 510833776} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 1 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 3 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 integerData: integerRef: {fileID: 0} - integerVal: 1 + integerVal: 0 floatData: floatRef: {fileID: 0} floatVal: 0 @@ -1507,7 +1779,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -1849,7 +2120,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -2002,7 +2272,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -2121,8 +2390,10 @@ MonoBehaviour: y: 0 width: 0 height: 0 - selectedBlocks: [] - selectedCommands: [] + selectedBlocks: + - {fileID: 1179951676} + selectedCommands: + - {fileID: 1179951674} variables: - {fileID: 1179951657} - {fileID: 1179951656} @@ -2232,7 +2503,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -2271,7 +2541,7 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1179951648} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -5.39, y: -2.13, z: 0} + m_LocalPosition: {x: -5.39, y: -2.039, z: 0} m_LocalScale: {x: 0.25, y: 0.25, z: 1} m_Children: [] m_Father: {fileID: 0} @@ -2412,6 +2682,7 @@ MonoBehaviour: - {fileID: 1179951658} - {fileID: 1179951664} - {fileID: 1179951686} + suppressAllAutoSelections: 0 --- !u!114 &1179951660 MonoBehaviour: m_ObjectHideFlags: 2 @@ -2425,8 +2696,96 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 4 indentLevel: 1 - variable: {fileID: 1179951657} + anyVar: + variable: {fileID: 1179951657} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 1179951656} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 4 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -2434,7 +2793,7 @@ MonoBehaviour: integerRef: {fileID: 0} integerVal: 0 floatData: - floatRef: {fileID: 1179951656} + floatRef: {fileID: 0} floatVal: 0 stringData: stringRef: {fileID: 0} @@ -2527,6 +2886,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1179951659} + suppressBlockAutoSelect: 0 FireOn: 2 --- !u!114 &1179951664 MonoBehaviour: @@ -2561,8 +2921,96 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 5 indentLevel: 1 - variable: {fileID: 1179951655} + anyVar: + variable: {fileID: 1179951655} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 1179951654} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 4 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -2570,7 +3018,7 @@ MonoBehaviour: integerRef: {fileID: 0} integerVal: 0 floatData: - floatRef: {fileID: 1179951654} + floatRef: {fileID: 0} floatVal: 0 stringData: stringRef: {fileID: 0} @@ -2689,6 +3137,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1179951671} + suppressBlockAutoSelect: 0 message: Reset --- !u!114 &1179951671 MonoBehaviour: @@ -2703,9 +3152,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 158 - y: 83.00001 - width: 120 + x: 160 + y: 80 + width: 80 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -2722,6 +3171,7 @@ MonoBehaviour: - {fileID: 1179951691} - {fileID: 1179951689} - {fileID: 1179951688} + suppressAllAutoSelections: 0 --- !u!114 &1179951672 MonoBehaviour: m_ObjectHideFlags: 2 @@ -2790,6 +3240,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1179951676} + suppressBlockAutoSelect: 0 waitForFrames: 0 --- !u!114 &1179951676 MonoBehaviour: @@ -2804,9 +3255,9 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 1 - y: 84 - width: 120 + x: 0 + y: 80 + width: 80 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -2818,6 +3269,7 @@ MonoBehaviour: - {fileID: 1179951674} - {fileID: 1179951673} - {fileID: 1179951690} + suppressAllAutoSelections: 0 --- !u!114 &1179951677 MonoBehaviour: m_ObjectHideFlags: 2 @@ -2830,9 +3282,11 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1179951681} + suppressBlockAutoSelect: 0 tagFilter: - Finish FireOn: 1 + collisionVar: {fileID: 0} --- !u!114 &1179951678 MonoBehaviour: m_ObjectHideFlags: 2 @@ -2845,9 +3299,11 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1179951679} + suppressBlockAutoSelect: 0 tagFilter: - Ground FireOn: 1 + collisionVar: {fileID: 0} --- !u!114 &1179951679 MonoBehaviour: m_ObjectHideFlags: 2 @@ -2863,7 +3319,7 @@ MonoBehaviour: serializedVersion: 2 x: 297 y: 142 - width: 126 + width: 120 height: 40 tint: {r: 1, g: 1, b: 1, a: 1} useCustomTint: 0 @@ -2877,6 +3333,7 @@ MonoBehaviour: - {fileID: 1179951687} - {fileID: 1179951672} - {fileID: 1179951694} + suppressAllAutoSelections: 0 --- !u!114 &1179951680 MonoBehaviour: m_ObjectHideFlags: 2 @@ -2923,6 +3380,7 @@ MonoBehaviour: - {fileID: 1179951680} - {fileID: 1179951696} - {fileID: 1179951698} + suppressAllAutoSelections: 0 --- !u!114 &1179951682 MonoBehaviour: m_ObjectHideFlags: 2 @@ -3003,11 +3461,190 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 24 indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1179951684} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 1179951684} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} - booleanVal: 1 + booleanVal: 0 integerData: integerRef: {fileID: 0} integerVal: 0 @@ -3079,8 +3716,96 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 23 indentLevel: 1 - variable: {fileID: 1179951684} + anyVar: + variable: {fileID: 1179951684} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 0 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -3142,11 +3867,99 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 22 indentLevel: 0 - variable: {fileID: 1179951684} + anyVar: + variable: {fileID: 1179951684} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 0 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} - booleanVal: 1 + booleanVal: 0 integerData: integerRef: {fileID: 0} integerVal: 0 @@ -3325,11 +4138,190 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 32 indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1179951684} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 1179951684} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} - booleanVal: 1 + booleanVal: 0 integerData: integerRef: {fileID: 0} integerVal: 0 @@ -3388,8 +4380,96 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 34 indentLevel: 1 - variable: {fileID: 1179951684} + anyVar: + variable: {fileID: 1179951684} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 0 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -3451,11 +4531,190 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 35 indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1179951684} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 1179951684} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} - booleanVal: 1 + booleanVal: 0 integerData: integerRef: {fileID: 0} integerVal: 0 @@ -3635,7 +4894,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -3788,7 +5046,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -4016,7 +5273,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -4169,7 +5425,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -4322,7 +5577,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -4462,7 +5716,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: @@ -4628,7 +5881,6 @@ SpriteRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 4294967295 m_Materials: - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} m_StaticBatchInfo: diff --git a/Assets/FungusExamples/TextMeshPro/TMPro Link Default Effects Demo.unity b/Assets/FungusExamples/TextMeshPro/TMPro Link Default Effects Demo.unity new file mode 100644 index 00000000..9d8751b7 --- /dev/null +++ b/Assets/FungusExamples/TextMeshPro/TMPro Link Default Effects Demo.unity @@ -0,0 +1,1712 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &7134312 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7134315} + - component: {fileID: 7134314} + - component: {fileID: 7134313} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &7134313 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7134312} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalAxis: Horizontal + m_VerticalAxis: Vertical + m_SubmitButton: Submit + m_CancelButton: Cancel + m_InputActionsPerSecond: 10 + m_RepeatDelay: 0.5 + m_ForceModuleActive: 0 +--- !u!114 &7134314 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7134312} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!4 &7134315 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7134312} + 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: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &236350854 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 236350855} + - component: {fileID: 236350859} + - component: {fileID: 236350858} + - component: {fileID: 236350857} + - component: {fileID: 236350856} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &236350855 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236350854} + 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: + - {fileID: 609788248} + - {fileID: 1966534498} + m_Father: {fileID: 1343343070} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: -750.0001, y: 0} + m_SizeDelta: {x: 1500, y: 335} + m_Pivot: {x: 0, y: 0} +--- !u!114 &236350856 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236350854} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0b148fe25e99eb48b9724523833bab1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Delegates: + - eventID: 4 + callback: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1343343071} + m_MethodName: SetDialogClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!225 &236350857 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236350854} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &236350858 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236350854} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: e8ab00ef0d9684dcb9deb52811d91218, type: 3} + m_Type: 1 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 0 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &236350859 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236350854} + m_CullTransparentMesh: 0 +--- !u!1 &609788245 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 609788248} + - component: {fileID: 609788247} + - component: {fileID: 609788246} + m_Layer: 5 + m_Name: NameText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &609788246 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609788245} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.25882354, g: 0.25490198, b: 0.2627451, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: bb145366ce7024469a5758b08d31802c, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 50 + m_Alignment: 3 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Character Name +--- !u!222 &609788247 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609788245} + m_CullTransparentMesh: 0 +--- !u!224 &609788248 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609788245} + 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: 236350855} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 586.5, y: -38.369995} + m_SizeDelta: {x: 1106, y: 71} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &789770954 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 789770955} + - component: {fileID: 789770958} + - component: {fileID: 789770957} + m_Layer: 5 + m_Name: Text (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &789770955 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 789770954} + 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: 1400696891} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &789770957 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 789770954} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_outlineColor: + serializedVersion: 2 + rgba: 4278190080 + m_fontSize: 36 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_textAlignment: 257 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_firstOverflowCharacterIndex: -1 + m_linkedTextComponent: {fileID: 0} + m_isLinkedTextComponent: 0 + m_isTextTruncated: 0 + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_ignoreRectMaskCulling: 0 + m_ignoreCulling: 1 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_VertexBufferAutoSizeReduction: 1 + m_firstVisibleCharacter: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_textInfo: + textComponent: {fileID: 789770957} + characterCount: 0 + spriteCount: 0 + spaceCount: 0 + wordCount: 0 + linkCount: 0 + lineCount: 0 + pageCount: 0 + materialCount: 1 + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_spriteAnimator: {fileID: 0} + m_hasFontAssetChanged: 0 + m_subTextObjects: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!222 &789770958 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 789770954} + m_CullTransparentMesh: 0 +--- !u!1 &841670901 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 841670907} + - component: {fileID: 841670906} + - component: {fileID: 841670905} + - component: {fileID: 841670904} + - component: {fileID: 841670903} + - component: {fileID: 841670909} + - component: {fileID: 841670908} + - component: {fileID: 841670902} + - component: {fileID: 841670910} + - component: {fileID: 841670911} + m_Layer: 0 + m_Name: GameObject + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &841670902 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 78c0367bf08d147bd80b5454de50e9d4, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 0 + targetTextObject: {fileID: 789770954} + text: + stringRef: {fileID: 841670908} + stringVal: + description: + _textObjectObsolete: {fileID: 0} +--- !u!114 &841670903 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d65d551a201c94bc79950076ff3eaf2e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + sayDialog: {fileID: 1343343069} +--- !u!114 &841670904 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 841670905} + suppressBlockAutoSelect: 0 + waitForFrames: 1 +--- !u!114 &841670905 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 230 + y: 41 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: New Block + description: + eventHandler: {fileID: 841670904} + commandList: + - {fileID: 841670902} + - {fileID: 841670903} + - {fileID: 841670910} + - {fileID: 841670909} + - {fileID: 841670911} + suppressAllAutoSelections: 0 +--- !u!114 &841670906 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: 37, y: 49} + variablesScrollPos: {x: 0, y: 0} + variablesExpanded: 1 + blockViewHeight: 619 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + selectedBlocks: + - {fileID: 841670905} + selectedCommands: + - {fileID: 841670910} + variables: + - {fileID: 841670908} + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!4 &841670907 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 532.36566, y: 116.14793, z: -200.75} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &841670908 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4580f28dd8581476b810b38eea2f1316, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: anim_text + value: jitter, angry, spooky, + wavey wavey wave, swing, bounce, + excited, unknowable, glow +--- !u!114 &841670909 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 4 + indentLevel: 0 + storyText: I am very off put by this odor. + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &841670910 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 6 + indentLevel: 0 + storyText: '{$anim_text}' + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &841670911 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 7 + indentLevel: 0 + storyText: This is my favorite song. + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!1 &1343343068 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1343343070} + - component: {fileID: 1343343072} + - component: {fileID: 1343343078} + - component: {fileID: 1343343077} + - component: {fileID: 1343343076} + - component: {fileID: 1343343069} + - component: {fileID: 1343343075} + - component: {fileID: 1343343074} + - component: {fileID: 1343343071} + - component: {fileID: 1343343073} + m_Layer: 5 + m_Name: SayDialog + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1343343069 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} + m_Name: + m_EditorClassIdentifier: + fadeDuration: 0.25 + continueButton: {fileID: 1405730584} + dialogCanvas: {fileID: 1343343072} + nameText: {fileID: 609788246} + nameTextGO: {fileID: 0} + storyText: {fileID: 0} + storyTextGO: {fileID: 0} + characterImage: {fileID: 0} + fitTextWithImage: 1 + closeOtherDialogs: 0 +--- !u!224 &1343343070 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 236350855} + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!114 &1343343071 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43b85556abd314f3f870c18c013fdcef, type: 3} + m_Name: + m_EditorClassIdentifier: + clickMode: 1 + nextClickDelay: 0 + cancelEnabled: 1 + ignoreMenuClicks: 1 +--- !u!223 &1343343072 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 1 + m_TargetDisplay: 0 +--- !u!82 &1343343073 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 +--- !u!114 &1343343074 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c4782cf42f2644447b9631f6e522160b, type: 3} + m_Name: + m_EditorClassIdentifier: + volume: 1 + loop: 1 + targetAudioSource: {fileID: 0} + audioMode: 0 + beepSounds: + - {fileID: 8300000, guid: 774486030b696474e8b3cf7f178123da, type: 3} + - {fileID: 8300000, guid: f637c5ce9d10e45c7855ed89bfc6b97e, type: 3} + - {fileID: 8300000, guid: c53b7c20372e444c6bd7f2ac0729bbe2, type: 3} + soundEffect: {fileID: 0} + inputSound: {fileID: 8300000, guid: 14a396b1562834718b2d52b9c4639264, type: 3} +--- !u!114 &1343343075 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 1966534497} + punchObject: {fileID: 236350854} + writingSpeed: 100 + punctuationPause: 0.25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 + forceRichText: 1 + instantComplete: 1 + doReadAheadText: 0 +--- !u!114 &1343343076 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!225 &1343343077 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1343343078 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 32 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1600, y: 1200} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 1 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!1 &1400696887 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1400696891} + - component: {fileID: 1400696890} + - component: {fileID: 1400696889} + - component: {fileID: 1400696888} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1400696888 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1400696887} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &1400696889 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1400696887} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &1400696890 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1400696887} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &1400696891 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1400696887} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 789770955} + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!1 &1405730580 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1405730581} + - component: {fileID: 1405730583} + - component: {fileID: 1405730582} + - component: {fileID: 1405730584} + m_Layer: 5 + m_Name: Continue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1405730581 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1405730580} + 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: + - {fileID: 1498166022} + m_Father: {fileID: 1966534498} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -38.900024, y: 38.074993} + m_SizeDelta: {x: 77.900024, y: 77} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1405730582 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1405730580} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 226248ac6f184e448af731df91b91958, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1405730583 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1405730580} + m_CullTransparentMesh: 0 +--- !u!114 &1405730584 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1405730580} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1405730582} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1343343071} + m_MethodName: SetButtonClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!1 &1498166021 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1498166022} + - component: {fileID: 1498166024} + - component: {fileID: 1498166023} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1498166022 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1498166021} + 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: 1405730581} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1498166023 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1498166021} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!222 &1498166024 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1498166021} + m_CullTransparentMesh: 0 +--- !u!1 &1579967753 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1579967755} + - component: {fileID: 1579967754} + m_Layer: 0 + m_Name: _FungusState + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1579967754 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1579967753} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} + m_Name: + m_EditorClassIdentifier: + selectedFlowchart: {fileID: 841670906} +--- !u!4 &1579967755 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1579967753} + 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: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1883048517 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1883048520} + - component: {fileID: 1883048519} + - component: {fileID: 1883048518} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &1883048518 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1883048517} + m_Enabled: 1 +--- !u!20 &1883048519 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1883048517} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 1 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &1883048520 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1883048517} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + 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!1 &1966534497 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1966534498} + - component: {fileID: 1966534501} + - component: {fileID: 1966534500} + - component: {fileID: 1966534499} + - component: {fileID: 1966534502} + m_Layer: 5 + m_Name: StoryText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1966534498 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1966534497} + 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: + - {fileID: 1405730581} + m_Father: {fileID: 236350855} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 0.78700006} + m_AnchoredPosition: {x: 0, y: 12.5} + m_SizeDelta: {x: -60, y: -55} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1966534499 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1966534497} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: asdfasdfadf + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_outlineColor: + serializedVersion: 2 + rgba: 4278190080 + m_fontSize: 36 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_textAlignment: 257 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 3 + m_firstOverflowCharacterIndex: -1 + m_linkedTextComponent: {fileID: 0} + m_isLinkedTextComponent: 0 + m_isTextTruncated: 0 + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_ignoreRectMaskCulling: 0 + m_ignoreCulling: 1 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_VertexBufferAutoSizeReduction: 1 + m_firstVisibleCharacter: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 110, w: 0} + m_textInfo: + textComponent: {fileID: 1966534499} + characterCount: 11 + spriteCount: 0 + spaceCount: 0 + wordCount: 1 + linkCount: 0 + lineCount: 1 + pageCount: 1 + materialCount: 1 + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_spriteAnimator: {fileID: 0} + m_hasFontAssetChanged: 0 + m_subTextObjects: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!114 &1966534500 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1966534497} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 1150 + m_PreferredHeight: 200 + m_FlexibleWidth: 1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!222 &1966534501 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1966534497} + m_CullTransparentMesh: 0 +--- !u!114 &1966534502 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1966534497} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: beb7176ffd78d904497350708b9f8134, type: 3} + m_Name: + m_EditorClassIdentifier: + dirty: 1 diff --git a/Assets/FungusExamples/TextMeshPro/TMPro Link Default Effects Demo.unity.meta b/Assets/FungusExamples/TextMeshPro/TMPro Link Default Effects Demo.unity.meta new file mode 100644 index 00000000..223f805e --- /dev/null +++ b/Assets/FungusExamples/TextMeshPro/TMPro Link Default Effects Demo.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: cffaf714f3026ad4db01e751fd5fd2a4 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/TextMeshPro/TMPro Link Effects Custom.unity b/Assets/FungusExamples/TextMeshPro/TMPro Link Effects Custom.unity new file mode 100644 index 00000000..cd429e25 --- /dev/null +++ b/Assets/FungusExamples/TextMeshPro/TMPro Link Effects Custom.unity @@ -0,0 +1,1872 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &7134312 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7134315} + - component: {fileID: 7134314} + - component: {fileID: 7134313} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &7134313 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7134312} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalAxis: Horizontal + m_VerticalAxis: Vertical + m_SubmitButton: Submit + m_CancelButton: Cancel + m_InputActionsPerSecond: 10 + m_RepeatDelay: 0.5 + m_ForceModuleActive: 0 +--- !u!114 &7134314 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7134312} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!4 &7134315 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7134312} + 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: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &236350854 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 236350855} + - component: {fileID: 236350859} + - component: {fileID: 236350858} + - component: {fileID: 236350857} + - component: {fileID: 236350856} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &236350855 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236350854} + 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: + - {fileID: 609788248} + - {fileID: 1966534498} + m_Father: {fileID: 1343343070} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: -750.0001, y: 0} + m_SizeDelta: {x: 1500, y: 335} + m_Pivot: {x: 0, y: 0} +--- !u!114 &236350856 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236350854} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0b148fe25e99eb48b9724523833bab1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Delegates: + - eventID: 4 + callback: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1343343071} + m_MethodName: SetDialogClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!225 &236350857 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236350854} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &236350858 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236350854} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: e8ab00ef0d9684dcb9deb52811d91218, type: 3} + m_Type: 1 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 0 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &236350859 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236350854} + m_CullTransparentMesh: 0 +--- !u!1 &609788245 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 609788248} + - component: {fileID: 609788247} + - component: {fileID: 609788246} + m_Layer: 5 + m_Name: NameText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &609788246 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609788245} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.25882354, g: 0.25490198, b: 0.2627451, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: bb145366ce7024469a5758b08d31802c, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 50 + m_Alignment: 3 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Character Name +--- !u!222 &609788247 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609788245} + m_CullTransparentMesh: 0 +--- !u!224 &609788248 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609788245} + 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: 236350855} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 586.5, y: -38.369995} + m_SizeDelta: {x: 1106, y: 71} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &789770954 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 789770955} + - component: {fileID: 789770958} + - component: {fileID: 789770957} + m_Layer: 5 + m_Name: Text (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &789770955 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 789770954} + 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: 1400696891} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &789770957 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 789770954} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: 'shake, shake, shake, sure + + wiggle, wiggle, wiggle, yeah + + wave, wave, wave, alright + + pivot, pivot, pivot, OK + + rainbow! + + going up + + Glowing + +' + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_outlineColor: + serializedVersion: 2 + rgba: 4278190080 + m_fontSize: 36 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_textAlignment: 257 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_firstOverflowCharacterIndex: -1 + m_linkedTextComponent: {fileID: 0} + m_isLinkedTextComponent: 0 + m_isTextTruncated: 0 + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_ignoreRectMaskCulling: 0 + m_ignoreCulling: 1 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_VertexBufferAutoSizeReduction: 1 + m_firstVisibleCharacter: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_textInfo: + textComponent: {fileID: 789770957} + characterCount: 131 + spriteCount: 0 + spaceCount: 20 + wordCount: 20 + linkCount: 7 + lineCount: 7 + pageCount: 1 + materialCount: 1 + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_spriteAnimator: {fileID: 0} + m_hasFontAssetChanged: 0 + m_subTextObjects: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!222 &789770958 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 789770954} + m_CullTransparentMesh: 0 +--- !u!1 &841670901 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 841670907} + - component: {fileID: 841670906} + - component: {fileID: 841670905} + - component: {fileID: 841670904} + - component: {fileID: 841670903} + - component: {fileID: 841670902} + - component: {fileID: 841670908} + - component: {fileID: 841670909} + - component: {fileID: 841670910} + - component: {fileID: 841670911} + - component: {fileID: 841670912} + - component: {fileID: 841670913} + m_Layer: 0 + m_Name: GameObject + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &841670902 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 2 + indentLevel: 0 + storyText: '{link="wave"}pivot, pivot, pivot, OK{/link} Lorem ipsum dolor sit amet, + consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore + magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris + nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit + in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint + occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim + id est laborum.' + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &841670903 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d65d551a201c94bc79950076ff3eaf2e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + sayDialog: {fileID: 1343343069} +--- !u!114 &841670904 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 841670905} + suppressBlockAutoSelect: 0 + waitForFrames: 1 +--- !u!114 &841670905 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 230 + y: 42 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: New Block + description: + eventHandler: {fileID: 841670904} + commandList: + - {fileID: 841670903} + - {fileID: 841670909} + - {fileID: 841670912} + - {fileID: 841670913} + - {fileID: 841670910} + - {fileID: 841670911} + - {fileID: 841670902} + - {fileID: 841670908} + suppressAllAutoSelections: 0 +--- !u!114 &841670906 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: 37, y: 49} + variablesScrollPos: {x: 0, y: 0} + variablesExpanded: 1 + blockViewHeight: 619 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + selectedBlocks: [] + selectedCommands: [] + variables: [] + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!4 &841670907 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 532.36566, y: 116.14793, z: -200.75} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &841670908 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 3 + indentLevel: 0 + storyText: "{link=\"shake\"}shake, shake, \r\nshake, sure{/link}" + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &841670909 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 4 + indentLevel: 0 + storyText: 'shake, shake, shake, sure + + wiggle, wiggle, wiggle, yeah + + wave, wave, wave, alright + + pivot, pivot, pivot, OK + + rainbow! + +' + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &841670910 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 0 + storyText: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod + tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis + nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu + fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in + culpa qui officia deserunt mollit anim id est laborum. + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &841670911 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 6 + indentLevel: 0 + storyText: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod + tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis + nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu + fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in + culpa qui officia deserunt mollit anim id est laborum. + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &841670912 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 7 + indentLevel: 0 + storyText: test{link="shake"}shake{/link}test{link="wiggle"}wiggle{/link} + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &841670913 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 841670901} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 8 + indentLevel: 0 + storyText: 'rainbow! + + going up + + Glowing' + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!1 &1062361822 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1062361824} + - component: {fileID: 1062361823} + m_Layer: 0 + m_Name: AddTMProLinkEffects + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1062361823 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1062361822} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1d3b019791b0794419d9937f571dd578, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!4 &1062361824 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1062361822} + 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: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1343343068 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1343343070} + - component: {fileID: 1343343072} + - component: {fileID: 1343343078} + - component: {fileID: 1343343077} + - component: {fileID: 1343343076} + - component: {fileID: 1343343069} + - component: {fileID: 1343343075} + - component: {fileID: 1343343074} + - component: {fileID: 1343343071} + - component: {fileID: 1343343073} + m_Layer: 5 + m_Name: SayDialog + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1343343069 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} + m_Name: + m_EditorClassIdentifier: + fadeDuration: 0.25 + continueButton: {fileID: 1405730584} + dialogCanvas: {fileID: 1343343072} + nameText: {fileID: 609788246} + nameTextGO: {fileID: 0} + storyText: {fileID: 0} + storyTextGO: {fileID: 0} + characterImage: {fileID: 0} + fitTextWithImage: 1 + closeOtherDialogs: 0 +--- !u!224 &1343343070 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 236350855} + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!114 &1343343071 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43b85556abd314f3f870c18c013fdcef, type: 3} + m_Name: + m_EditorClassIdentifier: + clickMode: 1 + nextClickDelay: 0 + cancelEnabled: 1 + ignoreMenuClicks: 1 +--- !u!223 &1343343072 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 1 + m_TargetDisplay: 0 +--- !u!82 &1343343073 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 +--- !u!114 &1343343074 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c4782cf42f2644447b9631f6e522160b, type: 3} + m_Name: + m_EditorClassIdentifier: + volume: 1 + loop: 1 + targetAudioSource: {fileID: 0} + audioMode: 0 + beepSounds: + - {fileID: 8300000, guid: 774486030b696474e8b3cf7f178123da, type: 3} + - {fileID: 8300000, guid: f637c5ce9d10e45c7855ed89bfc6b97e, type: 3} + - {fileID: 8300000, guid: c53b7c20372e444c6bd7f2ac0729bbe2, type: 3} + soundEffect: {fileID: 0} + inputSound: {fileID: 8300000, guid: 14a396b1562834718b2d52b9c4639264, type: 3} +--- !u!114 &1343343075 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 1966534497} + punchObject: {fileID: 236350854} + writingSpeed: 100 + punctuationPause: 0.25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 + forceRichText: 1 + instantComplete: 1 + doReadAheadText: 0 +--- !u!114 &1343343076 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!225 &1343343077 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1343343078 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1343343068} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 32 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1600, y: 1200} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 1 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!1 &1400696887 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1400696891} + - component: {fileID: 1400696890} + - component: {fileID: 1400696889} + - component: {fileID: 1400696888} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1400696888 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1400696887} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &1400696889 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1400696887} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &1400696890 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1400696887} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &1400696891 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1400696887} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 789770955} + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!1 &1405730580 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1405730581} + - component: {fileID: 1405730583} + - component: {fileID: 1405730582} + - component: {fileID: 1405730584} + m_Layer: 5 + m_Name: Continue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1405730581 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1405730580} + 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: + - {fileID: 1498166022} + m_Father: {fileID: 1966534498} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -38.900024, y: 38.074993} + m_SizeDelta: {x: 77.900024, y: 77} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1405730582 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1405730580} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 226248ac6f184e448af731df91b91958, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1405730583 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1405730580} + m_CullTransparentMesh: 0 +--- !u!114 &1405730584 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1405730580} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1405730582} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1343343071} + m_MethodName: SetButtonClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!1 &1498166021 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1498166022} + - component: {fileID: 1498166024} + - component: {fileID: 1498166023} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1498166022 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1498166021} + 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: 1405730581} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1498166023 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1498166021} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!222 &1498166024 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1498166021} + m_CullTransparentMesh: 0 +--- !u!1 &1579967753 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1579967755} + - component: {fileID: 1579967754} + m_Layer: 0 + m_Name: _FungusState + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1579967754 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1579967753} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} + m_Name: + m_EditorClassIdentifier: + selectedFlowchart: {fileID: 841670906} +--- !u!4 &1579967755 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1579967753} + 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: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1883048517 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1883048520} + - component: {fileID: 1883048519} + - component: {fileID: 1883048518} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &1883048518 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1883048517} + m_Enabled: 1 +--- !u!20 &1883048519 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1883048517} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 1 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &1883048520 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1883048517} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + 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!1 &1966534497 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1966534498} + - component: {fileID: 1966534501} + - component: {fileID: 1966534500} + - component: {fileID: 1966534499} + - component: {fileID: 1966534502} + m_Layer: 5 + m_Name: StoryText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1966534498 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1966534497} + 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: + - {fileID: 1405730581} + m_Father: {fileID: 236350855} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 0.78700006} + m_AnchoredPosition: {x: 0, y: 12.5} + m_SizeDelta: {x: -60, y: -55} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1966534499 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1966534497} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: asdfasdfadf + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_outlineColor: + serializedVersion: 2 + rgba: 4278190080 + m_fontSize: 36 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_textAlignment: 257 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 3 + m_firstOverflowCharacterIndex: -1 + m_linkedTextComponent: {fileID: 0} + m_isLinkedTextComponent: 0 + m_isTextTruncated: 0 + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_ignoreRectMaskCulling: 0 + m_ignoreCulling: 1 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_VertexBufferAutoSizeReduction: 1 + m_firstVisibleCharacter: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 110, w: 0} + m_textInfo: + textComponent: {fileID: 1966534499} + characterCount: 11 + spriteCount: 0 + spaceCount: 0 + wordCount: 1 + linkCount: 0 + lineCount: 1 + pageCount: 1 + materialCount: 1 + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_spriteAnimator: {fileID: 0} + m_hasFontAssetChanged: 0 + m_subTextObjects: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!114 &1966534500 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1966534497} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 1150 + m_PreferredHeight: 200 + m_FlexibleWidth: 1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!222 &1966534501 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1966534497} + m_CullTransparentMesh: 0 +--- !u!114 &1966534502 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1966534497} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: beb7176ffd78d904497350708b9f8134, type: 3} + m_Name: + m_EditorClassIdentifier: + dirty: 1 diff --git a/Assets/FungusExamples/TextMeshPro/TMPro Link Effects Custom.unity.meta b/Assets/FungusExamples/TextMeshPro/TMPro Link Effects Custom.unity.meta new file mode 100644 index 00000000..c410dc25 --- /dev/null +++ b/Assets/FungusExamples/TextMeshPro/TMPro Link Effects Custom.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: df0f727d3fe53fe4e9e9ec53f00cdfe1 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/TextMeshPro/TMProLinkStylingDemo.cs b/Assets/FungusExamples/TextMeshPro/TMProLinkStylingDemo.cs new file mode 100644 index 00000000..d09a0953 --- /dev/null +++ b/Assets/FungusExamples/TextMeshPro/TMProLinkStylingDemo.cs @@ -0,0 +1,72 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine; + +#if UNITY_2018_1_OR_NEWER + +namespace Fungus.Examples +{ + /// + /// Used in TMPro Link Anim Demo, adds a number of sample animation styles. Serves as + /// an example of how you might configure these effects and variations of them in + /// your projects + /// + public class TMProLinkStylingDemo : MonoBehaviour + { + private void Awake() + { + //force clearing and adding our own effects here + TMProLinkAnimLookup.RemoveAll(); + + TMProLinkAnimLookup.AddHelper("shake", new TMProLinkAnimEffects.ShakeEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerCharacter, + offsetScale = Vector2.one * 2, + rotScale = 15 + }); + TMProLinkAnimLookup.AddHelper("wiggle", new TMProLinkAnimEffects.WiggleEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerSection, + offsetScale = Vector2.one * 5 + }); + TMProLinkAnimLookup.AddHelper("wave", new TMProLinkAnimEffects.WaveEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerCharacter, + speed = 10, + indexStep = 0.3f, + scale = 2 + }); + TMProLinkAnimLookup.AddHelper("pivot", new TMProLinkAnimEffects.PivotEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerWord, + speed = 10, + degScale = 15 + }); + TMProLinkAnimLookup.AddHelper("rainbow", new TMProLinkAnimEffects.RainbowEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerCharacter, + speed = 2, + indexStep = 0.1f, + s = 0.8f, + v = 0.8f + }); + TMProLinkAnimLookup.AddHelper("ascend", new TMProLinkAnimEffects.AscendEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerCharacter, + totalStep = 10, + }); + TMProLinkAnimLookup.AddHelper("pulse", new TMProLinkAnimEffects.PulseEffect() + { + mode = TMProLinkAnimEffects.TMPLinkAnimatorMode.PerWord, + speed = 3, + HSVIntensityScale = 0.15f, + hueScale = 0, + saturationScale = 0, + scale = new Vector3(0.05f, 0.05f, 0), + }); + } + } +} + +#endif \ No newline at end of file diff --git a/Assets/FungusExamples/TextMeshPro/TMProLinkStylingDemo.cs.meta b/Assets/FungusExamples/TextMeshPro/TMProLinkStylingDemo.cs.meta new file mode 100644 index 00000000..0171221d --- /dev/null +++ b/Assets/FungusExamples/TextMeshPro/TMProLinkStylingDemo.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1d3b019791b0794419d9937f571dd578 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/TheHunter/TheHunter.unity b/Assets/FungusExamples/TheHunter/TheHunter.unity index 17515c0f..d59d40cc 100644 --- a/Assets/FungusExamples/TheHunter/TheHunter.unity +++ b/Assets/FungusExamples/TheHunter/TheHunter.unity @@ -1,32 +1,33 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!29 &1 -SceneSettings: +OcclusionCullingSettings: m_ObjectHideFlags: 0 - m_PVSData: - m_PVSObjectsArray: [] - m_PVSPortalsArray: [] + serializedVersion: 2 m_OcclusionBakeSettings: smallestOccluder: 5 - smallestHole: .25 + smallestHole: 0.25 backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} --- !u!104 &2 RenderSettings: m_ObjectHideFlags: 0 - serializedVersion: 6 + serializedVersion: 9 m_Fog: 0 - m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogMode: 3 - m_FogDensity: .00999999978 + m_FogDensity: 0.01 m_LinearFogStart: 0 m_LinearFogEnd: 300 - m_AmbientSkyColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} - m_AmbientEquatorColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} - m_AmbientGroundColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} + m_AmbientSkyColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} + m_AmbientEquatorColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} + m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} m_AmbientIntensity: 1 m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} m_SkyboxMaterial: {fileID: 0} - m_HaloStrength: .5 + m_HaloStrength: 0.5 m_FlareStrength: 1 m_FlareFadeSpeed: 3 m_HaloTexture: {fileID: 0} @@ -37,247 +38,280 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} + m_UseRadianceAmbientProbe: 0 --- !u!157 &4 LightmapSettings: m_ObjectHideFlags: 0 - serializedVersion: 5 + serializedVersion: 11 m_GIWorkflowMode: 1 - m_LightmapsMode: 1 m_GISettings: serializedVersion: 2 m_BounceScale: 1 m_IndirectOutputScale: 1 m_AlbedoBoost: 1 - m_TemporalCoherenceThreshold: 1 m_EnvironmentLightingMode: 0 m_EnableBakedLightmaps: 1 m_EnableRealtimeLightmaps: 0 m_LightmapEditorSettings: - serializedVersion: 3 + serializedVersion: 12 m_Resolution: 1 m_BakeResolution: 50 - m_TextureWidth: 1024 - m_TextureHeight: 1024 + m_AtlasSize: 1024 + m_AO: 0 m_AOMaxDistance: 1 - m_Padding: 2 m_CompAOExponent: 0 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 m_TextureCompression: 0 m_FinalGather: 0 + m_FinalGatherFiltering: 1 m_FinalGatherRayCount: 1024 m_ReflectionCompression: 2 - m_LightmapSnapshot: {fileID: 0} - m_RuntimeCPUUsage: 25 + m_MixedBakeMode: 1 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 512 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 0 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 0 --- !u!196 &5 NavMeshSettings: serializedVersion: 2 m_ObjectHideFlags: 0 m_BuildSettings: serializedVersion: 2 - agentRadius: .5 + agentTypeID: 0 + agentRadius: 0.5 agentHeight: 2 agentSlope: 45 - agentClimb: .400000006 + agentClimb: 0.4 ledgeDropHeight: 0 maxJumpAcrossDistance: 0 - accuratePlacement: 0 minRegionArea: 2 - cellSize: .166666657 manualCellSize: 0 + cellSize: 0.16666666 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 m_NavMeshData: {fileID: 0} --- !u!1001 &216100353 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 488519165} m_Modifications: - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: portraits.Array.size - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalPosition.x - value: -377.012329 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalPosition.y - value: -60.5565338 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalRotation.w - value: 1 + - target: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_Name + value: Skipper objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_RootOrder + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: portraits.Array.size value: 1 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: profileSprite value: objectReference: {fileID: 21300000, guid: 3c64e30cbefbe4e768ef68d85c85061e, type: 3} - - target: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_Name - value: Skipper - objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameText value: Skipper objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.r value: .294117659 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.g value: .650980413 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.b value: .949019611 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: typingSound value: objectReference: {fileID: 8300000, guid: 0dc7e509ace954462bc8ab20fcb68d60, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: soundEffect value: objectReference: {fileID: 8300000, guid: 0dc7e509ace954462bc8ab20fcb68d60, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: portraits.Array.data[0] value: objectReference: {fileID: 21300000, guid: 3c64e30cbefbe4e768ef68d85c85061e, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: sayDialogBox value: objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: chooseDialogBox value: objectReference: {fileID: 0} - m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - m_IsPrefabParent: 0 ---- !u!1001 &243271138 -Prefab: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 488519165} - m_Modifications: - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: portraits.Array.size - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalPosition.x value: -377.012329 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalPosition.y value: -60.5565338 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_RootOrder - value: 3 + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: b20518d45890e4be59ba82946f88026c, type: 3} +--- !u!1001 &243271138 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 488519165} + m_Modifications: + - target: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_Name + value: Bear objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: portraits.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: profileSprite value: objectReference: {fileID: 21300000, guid: 62955e2782fd34c5ca3e78712625ae50, type: 3} - - target: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_Name - value: Bear - objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameText value: Badly Drawn Bear objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.r value: .95588237 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.g value: .347840369 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.b value: .168685108 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: typingSound value: objectReference: {fileID: 8300000, guid: 9b3be2062b59848a2bd178f5748b386d, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: soundEffect value: objectReference: {fileID: 8300000, guid: 9b3be2062b59848a2bd178f5748b386d, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: portraits.Array.data[0] value: objectReference: {fileID: 21300000, guid: 62955e2782fd34c5ca3e78712625ae50, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: sayDialogBox value: objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: chooseDialogBox value: objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalPosition.x + value: -377.012329 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalPosition.y + value: -60.5565338 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - m_IsPrefabParent: 0 + m_SourcePrefab: {fileID: 100100000, guid: b20518d45890e4be59ba82946f88026c, type: 3} --- !u!1 &307931410 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 307931411} - - 212: {fileID: 307931412} + - component: {fileID: 307931411} + - component: {fileID: 307931412} m_Layer: 0 m_Name: Shay m_TagString: Untagged @@ -288,259 +322,283 @@ GameObject: --- !u!4 &307931411 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 307931410} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -4.73000002, y: -4.87300014, z: 0} - m_LocalScale: {x: .193553254, y: .193553254, z: .193553254} + m_LocalPosition: {x: -4.73, y: -4.873, z: 0} + m_LocalScale: {x: 0.19355325, y: 0.19355325, z: 0.19355325} m_Children: [] m_Father: {fileID: 2006673389} m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!212 &307931412 SpriteRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 307931410} m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 m_Materials: - - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} - m_SubsetIndices: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 m_StaticBatchRoot: {fileID: 0} - m_UseLightProbes: 0 - m_ReflectionProbeUsage: 1 m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 - m_AutoUVMaxDistance: .5 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 m_AutoUVMaxAngle: 89 m_LightmapParameters: {fileID: 0} m_SortingLayerID: 0 + m_SortingLayer: 0 m_SortingOrder: 2 m_Sprite: {fileID: 21300000, guid: 6b100daff28d04f69a49015f83966425, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 --- !u!1001 &308429316 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 488519165} m_Modifications: - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: portraits.Array.size - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalPosition.x - value: -377.012329 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalPosition.y - value: -60.5565338 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalRotation.z - value: 0 + - target: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_Name + value: Shay objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_LocalRotation.w + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: portraits.Array.size value: 1 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: profileSprite value: objectReference: {fileID: 21300000, guid: f7484a661774243b193bebc6e3ae5120, type: 3} - - target: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_Name - value: Shay - objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameText value: Shay objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.r value: .713235259 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.g value: .405372232 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.b value: .125865042 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: typingSound value: objectReference: {fileID: 8300000, guid: 23e52ab29f28743309c85b6d7bdc8ad6, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: soundEffect value: objectReference: {fileID: 8300000, guid: 23e52ab29f28743309c85b6d7bdc8ad6, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: portraits.Array.data[0] value: objectReference: {fileID: 21300000, guid: f7484a661774243b193bebc6e3ae5120, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: sayDialogBox value: objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: chooseDialogBox value: objectReference: {fileID: 0} - m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - m_IsPrefabParent: 0 ---- !u!1001 &330051470 -Prefab: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 488519165} - m_Modifications: - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: portraits.Array.size - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: translatedName.Array.size - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalPosition.x value: -377.012329 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalPosition.y value: -60.5565338 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: m_RootOrder - value: 0 + value: 2 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: b20518d45890e4be59ba82946f88026c, type: 3} +--- !u!1001 &330051470 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 488519165} + m_Modifications: + - target: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_Name + value: Ciara + objectReference: {fileID: 0} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: portraits.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: translatedName.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: profileSprite value: objectReference: {fileID: 21300000, guid: 05ccd53483a554ca9b31f685fa76154a, type: 3} - - target: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - propertyPath: m_Name - value: Ciara - objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameText value: Ciara objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.r value: .925490201 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.g value: .482352942 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: nameColor.b value: .196078435 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: typingSound value: objectReference: {fileID: 8300000, guid: 124184555ec434aa68814be3bd116c26, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: soundEffect value: objectReference: {fileID: 8300000, guid: 124184555ec434aa68814be3bd116c26, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: portraits.Array.data[0] value: objectReference: {fileID: 21300000, guid: 05ccd53483a554ca9b31f685fa76154a, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: sayDialogBox value: objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: chooseDialogBox value: objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: portraits.Array.data[1] value: objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: portraits.Array.data[2] value: objectReference: {fileID: 21300000, guid: f7484a661774243b193bebc6e3ae5120, type: 3} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: portraitsFace value: 0 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: translatedName.Array.data[0].language value: english objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + - target: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} propertyPath: translatedName.Array.data[0].text value: Ciara objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalPosition.x + value: -377.012329 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalPosition.y + value: -60.5565338 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - m_IsPrefabParent: 0 + m_SourcePrefab: {fileID: 100100000, guid: b20518d45890e4be59ba82946f88026c, type: 3} --- !u!1 &330427398 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 330427400} - - 114: {fileID: 330427399} + - component: {fileID: 330427400} + - component: {fileID: 330427399} m_Layer: 0 m_Name: Sequence m_TagString: Untagged @@ -551,8 +609,9 @@ GameObject: --- !u!114 &330427399 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 330427398} m_Enabled: 1 m_EditorHideFlags: 0 @@ -565,16 +624,20 @@ MonoBehaviour: y: 0 width: 100 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: -1 blockName: New Sequence description: eventHandler: {fileID: 0} commandList: [] + suppressAllAutoSelections: 0 --- !u!4 &330427400 Transform: m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 330427398} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -582,15 +645,17 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &335445526 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 335445527} - - 212: {fileID: 335445528} + - component: {fileID: 335445527} + - component: {fileID: 335445528} m_Layer: 0 m_Name: Skipper m_TagString: Untagged @@ -601,137 +666,186 @@ GameObject: --- !u!4 &335445527 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 335445526} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -5.69899988, y: -4.8920002, z: 0} - m_LocalScale: {x: .200599343, y: .200599343, z: .200599343} + m_LocalPosition: {x: -5.699, y: -4.892, z: 0} + m_LocalScale: {x: 0.20059934, y: 0.20059934, z: 0.20059934} m_Children: [] m_Father: {fileID: 2006673389} m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!212 &335445528 SpriteRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 335445526} m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 m_Materials: - - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} - m_SubsetIndices: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 m_StaticBatchRoot: {fileID: 0} - m_UseLightProbes: 0 - m_ReflectionProbeUsage: 1 m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 - m_AutoUVMaxDistance: .5 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 m_AutoUVMaxAngle: 89 m_LightmapParameters: {fileID: 0} m_SortingLayerID: 0 + m_SortingLayer: 0 m_SortingOrder: 1 m_Sprite: {fileID: 21300000, guid: ed14cc18e1e37449eb670f2613314102, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 --- !u!4 &338947447 stripped Transform: - m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - m_PrefabInternal: {fileID: 308429316} + m_CorrespondingSourceObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, + type: 3} + m_PrefabInstance: {fileID: 308429316} + m_PrefabAsset: {fileID: 0} --- !u!114 &338947448 stripped MonoBehaviour: - m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, - type: 2} - m_PrefabInternal: {fileID: 308429316} + m_CorrespondingSourceObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, + type: 3} + m_PrefabInstance: {fileID: 308429316} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 25fb867d2049d41f597aefdd6b19f598, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!114 &339869593 stripped MonoBehaviour: - m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, - type: 2} - m_PrefabInternal: {fileID: 216100353} + m_CorrespondingSourceObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, + type: 3} + m_PrefabInstance: {fileID: 216100353} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 25fb867d2049d41f597aefdd6b19f598, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!4 &339869594 stripped Transform: - m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - m_PrefabInternal: {fileID: 216100353} + m_CorrespondingSourceObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, + type: 3} + m_PrefabInstance: {fileID: 216100353} + m_PrefabAsset: {fileID: 0} --- !u!1001 &447139369 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 2006673389} m_Modifications: - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} + propertyPath: m_Name + value: WaterView + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.x value: -3.74250031 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.y value: -2.91670036 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_RootOrder value: 3 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - propertyPath: viewSize - value: 1.57525635 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalScale.x value: 1 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalScale.y value: 1 objectReference: {fileID: 0} - - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - propertyPath: m_Name - value: WaterView + - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} + propertyPath: viewSize + value: 1.57525635 objectReference: {fileID: 0} m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_IsPrefabParent: 0 + m_SourcePrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} --- !u!114 &476715957 stripped MonoBehaviour: - m_PrefabParentObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, - type: 2} - m_PrefabInternal: {fileID: 860951967} + m_CorrespondingSourceObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 860951967} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 95c387d3e32404bcc91c60318d766bb1, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!4 &476715958 stripped Transform: - m_PrefabParentObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_PrefabInternal: {fileID: 860951967} + m_CorrespondingSourceObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 860951967} + m_PrefabAsset: {fileID: 0} --- !u!1 &488519164 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 488519165} + - component: {fileID: 488519165} m_Layer: 0 m_Name: Characters m_TagString: Untagged @@ -742,11 +856,12 @@ GameObject: --- !u!4 &488519165 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 488519164} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 213.556229, y: -108.1604, z: 0} + m_LocalPosition: {x: 213.55623, y: -108.1604, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 1712414754} @@ -754,16 +869,18 @@ Transform: - {fileID: 338947447} - {fileID: 686889653} m_Father: {fileID: 0} - m_RootOrder: 1 + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &577549095 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 577549096} - - 212: {fileID: 577549097} + - component: {fileID: 577549096} + - component: {fileID: 577549097} m_Layer: 0 m_Name: Bear m_TagString: Untagged @@ -774,53 +891,79 @@ GameObject: --- !u!4 &577549096 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 577549095} - m_LocalRotation: {x: 0, y: 0, z: .134463325, w: -.990918577} - m_LocalPosition: {x: 1.78999996, y: -.419999987, z: 0} - m_LocalScale: {x: .58894068, y: .58894068, z: .58894068} + m_LocalRotation: {x: 0, y: 0, z: 0.13446333, w: -0.9909186} + m_LocalPosition: {x: 1.79, y: -0.42, z: 0} + m_LocalScale: {x: 0.5889407, y: 0.5889407, z: 0.5889407} m_Children: [] m_Father: {fileID: 1594072535} m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!212 &577549097 SpriteRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 577549095} m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 m_Materials: - - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} - m_SubsetIndices: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 m_StaticBatchRoot: {fileID: 0} - m_UseLightProbes: 0 - m_ReflectionProbeUsage: 1 m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 - m_AutoUVMaxDistance: .5 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 m_AutoUVMaxAngle: 89 m_LightmapParameters: {fileID: 0} m_SortingLayerID: 0 + m_SortingLayer: 0 m_SortingOrder: 1 m_Sprite: {fileID: 21300000, guid: 1844620fa148d4dc89443ca7b33205e1, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 --- !u!1 &648988540 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 648988545} - - 20: {fileID: 648988544} - - 92: {fileID: 648988543} - - 124: {fileID: 648988542} - - 81: {fileID: 648988541} + - component: {fileID: 648988545} + - component: {fileID: 648988544} + - component: {fileID: 648988543} + - component: {fileID: 648988542} + - component: {fileID: 648988541} m_Layer: 0 m_Name: Main Camera m_TagString: MainCamera @@ -831,41 +974,51 @@ GameObject: --- !u!81 &648988541 AudioListener: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 648988540} m_Enabled: 1 --- !u!124 &648988542 Behaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 648988540} m_Enabled: 1 --- !u!92 &648988543 Behaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 648988540} m_Enabled: 1 --- !u!20 &648988544 Camera: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 648988540} m_Enabled: 1 serializedVersion: 2 m_ClearFlags: 1 - m_BackGroundColor: {r: 0, g: 0, b: 0, a: .0196078438} + m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0.019607844} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 m_NormalizedViewPortRect: serializedVersion: 2 x: 0 y: 0 width: 1 height: 1 - near clip plane: .300000012 + near clip plane: 0.3 far clip plane: 1000 field of view: 60 orthographic: 1 @@ -879,231 +1032,257 @@ Camera: m_TargetDisplay: 0 m_TargetEye: 3 m_HDR: 0 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 m_OcclusionCulling: 1 m_StereoConvergence: 10 - m_StereoSeparation: .0219999999 - m_StereoMirrorMode: 0 + m_StereoSeparation: 0.022 --- !u!4 &648988545 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 648988540} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 1, z: -10} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 0 + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &686889652 stripped MonoBehaviour: - m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, - type: 2} - m_PrefabInternal: {fileID: 243271138} + m_CorrespondingSourceObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, + type: 3} + m_PrefabInstance: {fileID: 243271138} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 25fb867d2049d41f597aefdd6b19f598, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!4 &686889653 stripped Transform: - m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - m_PrefabInternal: {fileID: 243271138} + m_CorrespondingSourceObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, + type: 3} + m_PrefabInstance: {fileID: 243271138} + m_PrefabAsset: {fileID: 0} --- !u!114 &700450244 stripped MonoBehaviour: - m_PrefabParentObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, - type: 2} - m_PrefabInternal: {fileID: 1849986066} + m_CorrespondingSourceObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 1849986066} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 95c387d3e32404bcc91c60318d766bb1, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!4 &700450245 stripped Transform: - m_PrefabParentObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_PrefabInternal: {fileID: 1849986066} + m_CorrespondingSourceObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 1849986066} + m_PrefabAsset: {fileID: 0} --- !u!4 &842161035 stripped Transform: - m_PrefabParentObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_PrefabInternal: {fileID: 1208210135} + m_CorrespondingSourceObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 1208210135} + m_PrefabAsset: {fileID: 0} --- !u!114 &842161036 stripped MonoBehaviour: - m_PrefabParentObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, - type: 2} - m_PrefabInternal: {fileID: 1208210135} + m_CorrespondingSourceObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 1208210135} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 95c387d3e32404bcc91c60318d766bb1, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1001 &843188069 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 1594072535} m_Modifications: - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} + propertyPath: m_Name + value: ZoomInView + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.x value: -.362309992 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.y value: -.30814001 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_RootOrder value: 0 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: viewSize value: .647707939 objectReference: {fileID: 0} - - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - propertyPath: m_Name - value: ZoomInView - objectReference: {fileID: 0} m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_IsPrefabParent: 0 + m_SourcePrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} --- !u!1001 &860951967 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 2006673389} m_Modifications: - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} + propertyPath: m_Name + value: IntroView + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.x value: -3.75959992 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.y value: .993300021 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_RootOrder value: 0 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - propertyPath: viewSize - value: 1.56335306 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalScale.x value: 1 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalScale.y value: 1 objectReference: {fileID: 0} - - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - propertyPath: m_Name - value: IntroView + - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} + propertyPath: viewSize + value: 1.56335306 objectReference: {fileID: 0} m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_IsPrefabParent: 0 + m_SourcePrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} --- !u!1001 &1208210135 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 2006673389} m_Modifications: - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} + propertyPath: m_Name + value: CharacterView + objectReference: {fileID: 0} + - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.x value: -4.47079992 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.y value: -4.92350006 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_RootOrder value: 4 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - propertyPath: viewSize - value: 1.21926904 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalScale.x value: 1 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalScale.y value: 1 objectReference: {fileID: 0} - - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - propertyPath: m_Name - value: CharacterView - objectReference: {fileID: 0} - - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - propertyPath: m_IsActive - value: 1 + - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} + propertyPath: viewSize + value: 1.21926904 objectReference: {fileID: 0} m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_IsPrefabParent: 0 + m_SourcePrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} --- !u!1 &1218601917 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 1218601919} - - 212: {fileID: 1218601918} + - component: {fileID: 1218601919} + - component: {fileID: 1218601918} m_Layer: 0 m_Name: WaterfallForest m_TagString: Untagged @@ -1114,50 +1293,76 @@ GameObject: --- !u!212 &1218601918 SpriteRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1218601917} m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 m_Materials: - - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} - m_SubsetIndices: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 m_StaticBatchRoot: {fileID: 0} - m_UseLightProbes: 0 - m_ReflectionProbeUsage: 1 m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 - m_AutoUVMaxDistance: .5 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 m_AutoUVMaxAngle: 89 m_LightmapParameters: {fileID: 0} m_SortingLayerID: 0 + m_SortingLayer: 0 m_SortingOrder: 0 m_Sprite: {fileID: 21300000, guid: abf7ee5b818ac485980005a2e5066fb0, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 --- !u!4 &1218601919 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1218601917} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -3.76632309, y: -3.85818481, z: 0} + m_LocalPosition: {x: -3.766323, y: -3.8581848, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 2006673389} m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1594072534 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 1594072535} - - 212: {fileID: 1594072536} + - component: {fileID: 1594072535} + - component: {fileID: 1594072536} m_Layer: 0 m_Name: DeepForest m_TagString: Untagged @@ -1168,11 +1373,12 @@ GameObject: --- !u!4 &1594072535 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1594072534} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -.319999993, y: -13.6899996, z: 0} + m_LocalPosition: {x: -0.32, y: -13.69, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 2069641430} @@ -1180,196 +1386,246 @@ Transform: - {fileID: 577549096} - {fileID: 700450245} m_Father: {fileID: 0} - m_RootOrder: 3 + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!212 &1594072536 SpriteRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1594072534} m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 m_Materials: - - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} - m_SubsetIndices: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 m_StaticBatchRoot: {fileID: 0} - m_UseLightProbes: 0 - m_ReflectionProbeUsage: 1 m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 - m_AutoUVMaxDistance: .5 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 m_AutoUVMaxAngle: 89 m_LightmapParameters: {fileID: 0} m_SortingLayerID: 0 + m_SortingLayer: 0 m_SortingOrder: 0 m_Sprite: {fileID: 21300000, guid: d3b6d7e5887554602baab879da8171d7, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 --- !u!114 &1628360239 stripped MonoBehaviour: - m_PrefabParentObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, - type: 2} - m_PrefabInternal: {fileID: 1827495415} + m_CorrespondingSourceObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 1827495415} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 95c387d3e32404bcc91c60318d766bb1, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!4 &1628360240 stripped Transform: - m_PrefabParentObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_PrefabInternal: {fileID: 1827495415} + m_CorrespondingSourceObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 1827495415} + m_PrefabAsset: {fileID: 0} --- !u!4 &1712414754 stripped Transform: - m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} - m_PrefabInternal: {fileID: 330051470} + m_CorrespondingSourceObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, + type: 3} + m_PrefabInstance: {fileID: 330051470} + m_PrefabAsset: {fileID: 0} --- !u!114 &1712414755 stripped MonoBehaviour: - m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, - type: 2} - m_PrefabInternal: {fileID: 330051470} + m_CorrespondingSourceObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, + type: 3} + m_PrefabInstance: {fileID: 330051470} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 25fb867d2049d41f597aefdd6b19f598, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!4 &1726080687 stripped Transform: - m_PrefabParentObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_PrefabInternal: {fileID: 447139369} + m_CorrespondingSourceObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 447139369} + m_PrefabAsset: {fileID: 0} --- !u!114 &1726080688 stripped MonoBehaviour: - m_PrefabParentObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, - type: 2} - m_PrefabInternal: {fileID: 447139369} + m_CorrespondingSourceObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 447139369} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 95c387d3e32404bcc91c60318d766bb1, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1001 &1827495415 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 1594072535} m_Modifications: - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} + propertyPath: m_Name + value: ZoomOutView + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.x value: .0196889993 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.y value: .0465729982 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_RootOrder value: 1 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: viewSize value: 2.55771446 objectReference: {fileID: 0} - - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - propertyPath: m_Name - value: ZoomOutView - objectReference: {fileID: 0} m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_IsPrefabParent: 0 + m_SourcePrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} --- !u!1 &1831099566 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100014, guid: 4844148fce0014eedac572d6562c44d0, type: 2} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 100014, guid: 4844148fce0014eedac572d6562c44d0, + type: 2} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 1831099567} - - 114: {fileID: 1831099568} - - 114: {fileID: 1831099569} - - 114: {fileID: 1831099578} - - 114: {fileID: 1831099577} - - 114: {fileID: 1831099576} - - 114: {fileID: 1831099575} - - 114: {fileID: 1831099574} - - 114: {fileID: 1831099573} - - 114: {fileID: 1831099608} - - 114: {fileID: 1831099607} - - 114: {fileID: 1831099606} - - 114: {fileID: 1831099605} - - 114: {fileID: 1831099604} - - 114: {fileID: 1831099599} - - 114: {fileID: 1831099598} - - 114: {fileID: 1831099597} - - 114: {fileID: 1831099596} - - 114: {fileID: 1831099595} - - 114: {fileID: 1831099594} - - 114: {fileID: 1831099593} - - 114: {fileID: 1831099592} - - 114: {fileID: 1831099591} - - 114: {fileID: 1831099590} - - 114: {fileID: 1831099589} - - 114: {fileID: 1831099588} - - 114: {fileID: 1831099587} - - 114: {fileID: 1831099586} - - 114: {fileID: 1831099585} - - 114: {fileID: 1831099584} - - 114: {fileID: 1831099583} - - 114: {fileID: 1831099582} - - 114: {fileID: 1831099581} - - 114: {fileID: 1831099580} - - 114: {fileID: 1831099579} - - 114: {fileID: 1831099645} - - 114: {fileID: 1831099644} - - 114: {fileID: 1831099643} - - 114: {fileID: 1831099642} - - 114: {fileID: 1831099641} - - 114: {fileID: 1831099640} - - 114: {fileID: 1831099639} - - 114: {fileID: 1831099638} - - 114: {fileID: 1831099637} - - 114: {fileID: 1831099636} - - 114: {fileID: 1831099635} - - 114: {fileID: 1831099634} - - 114: {fileID: 1831099633} - - 114: {fileID: 1831099632} - - 114: {fileID: 1831099630} - - 114: {fileID: 1831099629} - - 114: {fileID: 1831099628} - - 114: {fileID: 1831099627} - - 114: {fileID: 1831099626} - - 114: {fileID: 1831099625} - - 114: {fileID: 1831099624} - - 114: {fileID: 1831099623} - - 114: {fileID: 1831099622} - - 114: {fileID: 1831099621} - - 114: {fileID: 1831099620} - - 114: {fileID: 1831099619} - - 114: {fileID: 1831099618} - - 114: {fileID: 1831099617} - - 114: {fileID: 1831099616} - - 114: {fileID: 1831099615} - - 114: {fileID: 1831099614} - - 114: {fileID: 1831099613} - - 114: {fileID: 1831099612} - - 114: {fileID: 1831099611} - - 114: {fileID: 1831099610} - - 114: {fileID: 1831099609} - - 114: {fileID: 1831099654} - - 114: {fileID: 1831099601} - - 114: {fileID: 1831099600} - - 114: {fileID: 1831099572} - - 114: {fileID: 1831099602} + - component: {fileID: 1831099567} + - component: {fileID: 1831099568} + - component: {fileID: 1831099569} + - component: {fileID: 1831099578} + - component: {fileID: 1831099577} + - component: {fileID: 1831099576} + - component: {fileID: 1831099575} + - component: {fileID: 1831099574} + - component: {fileID: 1831099573} + - component: {fileID: 1831099608} + - component: {fileID: 1831099607} + - component: {fileID: 1831099606} + - component: {fileID: 1831099605} + - component: {fileID: 1831099604} + - component: {fileID: 1831099599} + - component: {fileID: 1831099598} + - component: {fileID: 1831099597} + - component: {fileID: 1831099596} + - component: {fileID: 1831099595} + - component: {fileID: 1831099594} + - component: {fileID: 1831099593} + - component: {fileID: 1831099592} + - component: {fileID: 1831099591} + - component: {fileID: 1831099590} + - component: {fileID: 1831099589} + - component: {fileID: 1831099588} + - component: {fileID: 1831099587} + - component: {fileID: 1831099586} + - component: {fileID: 1831099585} + - component: {fileID: 1831099584} + - component: {fileID: 1831099583} + - component: {fileID: 1831099582} + - component: {fileID: 1831099581} + - component: {fileID: 1831099580} + - component: {fileID: 1831099579} + - component: {fileID: 1831099645} + - component: {fileID: 1831099644} + - component: {fileID: 1831099643} + - component: {fileID: 1831099642} + - component: {fileID: 1831099641} + - component: {fileID: 1831099640} + - component: {fileID: 1831099639} + - component: {fileID: 1831099638} + - component: {fileID: 1831099637} + - component: {fileID: 1831099636} + - component: {fileID: 1831099635} + - component: {fileID: 1831099634} + - component: {fileID: 1831099633} + - component: {fileID: 1831099632} + - component: {fileID: 1831099630} + - component: {fileID: 1831099629} + - component: {fileID: 1831099628} + - component: {fileID: 1831099627} + - component: {fileID: 1831099626} + - component: {fileID: 1831099625} + - component: {fileID: 1831099624} + - component: {fileID: 1831099623} + - component: {fileID: 1831099622} + - component: {fileID: 1831099621} + - component: {fileID: 1831099620} + - component: {fileID: 1831099619} + - component: {fileID: 1831099618} + - component: {fileID: 1831099617} + - component: {fileID: 1831099616} + - component: {fileID: 1831099615} + - component: {fileID: 1831099614} + - component: {fileID: 1831099613} + - component: {fileID: 1831099612} + - component: {fileID: 1831099611} + - component: {fileID: 1831099610} + - component: {fileID: 1831099609} + - component: {fileID: 1831099654} + - component: {fileID: 1831099601} + - component: {fileID: 1831099600} + - component: {fileID: 1831099572} + - component: {fileID: 1831099602} + - component: {fileID: 1831099570} m_Layer: 0 m_Name: Flowchart m_TagString: Untagged @@ -1380,42 +1636,45 @@ GameObject: --- !u!4 &1831099567 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 400014, guid: 4844148fce0014eedac572d6562c44d0, type: 2} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 400014, guid: 4844148fce0014eedac572d6562c44d0, + type: 2} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} 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: 4 + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1831099568 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400102, guid: 4844148fce0014eedac572d6562c44d0, + m_CorrespondingSourceObject: {fileID: 11400102, guid: 4844148fce0014eedac572d6562c44d0, type: 2} - m_PrefabInternal: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} m_Name: m_EditorClassIdentifier: - version: 1.0 - scrollPos: {x: 82.0114822, y: 581.36969} + version: 1 + scrollPos: {x: 211.95465, y: 503.6012} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 blockViewHeight: 400 - zoom: .929995656 + zoom: 0.8683652 scrollViewRect: serializedVersion: 2 - x: -810.017578 - y: -920.022339 - width: 1939.01758 - height: 2009.52234 - selectedBlock: {fileID: 1831099608} - selectedCommands: - - {fileID: 1831099604} + x: -810.0176 + y: -920.02234 + width: 1939.0176 + height: 2009.5223 + selectedBlocks: [] + selectedCommands: [] variables: - {fileID: 1831099569} description: 'This is an example of a short Visual Novel / RPG @@ -1426,11 +1685,16 @@ MonoBehaviour: hideComponents: 1 saveSelection: 1 localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart --- !u!114 &1831099569 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1440,11 +1704,38 @@ MonoBehaviour: scope: 0 key: SkipperAngry value: 0 +--- !u!114 &1831099570 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1831099566} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: -50.33911 + y: -629.6912 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 73 + blockName: New Block + description: + eventHandler: {fileID: 0} + commandList: [] + suppressAllAutoSelections: 0 --- !u!114 &1831099572 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1452,15 +1743,18 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 64 - errorMessage: indentLevel: 0 - duration: 8 + _duration: + floatRef: {fileID: 0} + floatVal: 8 targetBlock: {fileID: 1831099599} + durationOLD: 0 --- !u!114 &1831099573 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1468,16 +1762,20 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 4 - errorMessage: indentLevel: 0 targetFlowchart: {fileID: 0} targetBlock: {fileID: 1831099608} + startLabel: + stringRef: {fileID: 0} + stringVal: + startIndex: 0 callMode: 0 --- !u!114 &1831099574 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1485,7 +1783,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 3 - errorMessage: indentLevel: 0 duration: 3 fadeOut: 1 @@ -1493,11 +1790,13 @@ MonoBehaviour: waitUntilFinished: 1 fadeColor: {r: 0, g: 0, b: 0, a: 1} fadeTexture: {fileID: 0} + targetCamera: {fileID: 0} --- !u!114 &1831099575 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1505,15 +1804,19 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 2 - errorMessage: indentLevel: 0 spriteRenderer: {fileID: 335445528} - visible: 0 + _visible: + booleanRef: {fileID: 0} + booleanVal: 0 + affectChildren: 1 + visibleOLD: 0 --- !u!114 &1831099576 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1521,15 +1824,19 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 1 - errorMessage: indentLevel: 0 spriteRenderer: {fileID: 307931412} - visible: 0 + _visible: + booleanRef: {fileID: 0} + booleanVal: 0 + affectChildren: 1 + visibleOLD: 0 --- !u!114 &1831099577 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1537,15 +1844,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 0 - errorMessage: indentLevel: 0 musicClip: {fileID: 8300000, guid: d858bb0968ae746b0a6801434b848b69, type: 3} atTime: 0 + loop: 1 + fadeDuration: 1 --- !u!114 &1831099578 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1554,10 +1863,12 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 112.537018 - y: -520.022339 + x: 112.53702 + y: -520.02234 width: 120 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 65 blockName: Start description: @@ -1568,11 +1879,13 @@ MonoBehaviour: - {fileID: 1831099575} - {fileID: 1831099574} - {fileID: 1831099573} + suppressAllAutoSelections: 0 --- !u!114 &1831099579 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1580,16 +1893,20 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 27 - errorMessage: indentLevel: 0 targetFlowchart: {fileID: 0} targetBlock: {fileID: 1831099637} + startLabel: + stringRef: {fileID: 0} + stringVal: + startIndex: 0 callMode: 0 --- !u!114 &1831099580 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1597,7 +1914,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 26 - errorMessage: indentLevel: 0 variable: {fileID: 1831099569} setOperator: 0 @@ -1613,11 +1929,48 @@ MonoBehaviour: stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1831099581 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1625,7 +1978,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 25 - errorMessage: indentLevel: 0 storyText: 'Oh don''t mind him.{wc} @@ -1641,12 +1993,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099582 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1654,7 +2009,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 24 - errorMessage: indentLevel: 0 storyText: 'Hrmph!{wc} @@ -1668,12 +2022,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099583 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1681,17 +2038,23 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 23 - errorMessage: indentLevel: 0 spriteRenderer: {fileID: 335445528} - duration: 1 - targetColor: {r: 1, g: 1, b: 1, a: 1} + _duration: + floatRef: {fileID: 0} + floatVal: 1 + _targetColor: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} waitUntilFinished: 0 + durationOLD: 0 + targetColorOLD: {r: 0, g: 0, b: 0, a: 0} --- !u!114 &1831099584 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1699,7 +2062,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 22 - errorMessage: indentLevel: 0 storyText: 'Ha ha! Don''t worry, you can join us for dinner.{wc} @@ -1715,12 +2077,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099585 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1728,7 +2093,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 21 - errorMessage: indentLevel: 0 storyText: Um... description: @@ -1740,12 +2104,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099586 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1753,7 +2120,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 20 - errorMessage: indentLevel: 0 storyText: I see! And so I guess you're not hungry either? description: @@ -1765,12 +2131,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099587 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1778,7 +2147,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 19 - errorMessage: indentLevel: 0 storyText: I'm not little and I'm not lost! description: @@ -1790,12 +2158,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099588 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1803,7 +2174,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 18 - errorMessage: indentLevel: 0 storyText: "And what do we have here?{wc}\nThe woods are a dangerous place my little friend.{wc} \nAre you lost?" @@ -1816,12 +2186,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099589 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1829,16 +2202,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 17 - errorMessage: indentLevel: 0 duration: 3 targetView: {fileID: 842161036} waitUntilFinished: 1 + targetCamera: {fileID: 0} --- !u!114 &1831099590 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1846,17 +2220,23 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 16 - errorMessage: indentLevel: 0 spriteRenderer: {fileID: 307931412} - duration: 3 - targetColor: {r: 1, g: 1, b: 1, a: 1} + _duration: + floatRef: {fileID: 0} + floatVal: 3 + _targetColor: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} waitUntilFinished: 0 + durationOLD: 0 + targetColorOLD: {r: 0, g: 0, b: 0, a: 0} --- !u!114 &1831099591 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1864,7 +2244,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 15 - errorMessage: indentLevel: 0 storyText: 'HEY! Is anybody out there?!{wc} @@ -1878,12 +2257,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099592 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1892,10 +2274,12 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 279.201355 - y: -379.533142 + x: 279.20135 + y: -379.53314 width: 120 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 68 blockName: Shout out description: @@ -1914,11 +2298,13 @@ MonoBehaviour: - {fileID: 1831099581} - {fileID: 1831099580} - {fileID: 1831099579} + suppressAllAutoSelections: 0 --- !u!114 &1831099593 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1926,16 +2312,20 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 14 - errorMessage: indentLevel: 0 targetFlowchart: {fileID: 0} targetBlock: {fileID: 1831099645} + startLabel: + stringRef: {fileID: 0} + stringVal: + startIndex: 0 callMode: 0 --- !u!114 &1831099594 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1943,7 +2333,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 13 - errorMessage: indentLevel: 0 storyText: No, I could not!{wc} Now be off with you! description: @@ -1955,12 +2344,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099595 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1968,7 +2360,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 12 - errorMessage: indentLevel: 0 storyText: 'I am not a thief!{wc} @@ -1986,12 +2377,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099596 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -1999,7 +2393,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 11 - errorMessage: indentLevel: 0 storyText: 'Ah ha! I thought I heard a thief skulking about!{wc} @@ -2015,12 +2408,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099597 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2028,16 +2424,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 10 - errorMessage: indentLevel: 0 duration: 3 targetView: {fileID: 842161036} waitUntilFinished: 1 + targetCamera: {fileID: 0} --- !u!114 &1831099598 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2045,17 +2442,23 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 9 - errorMessage: indentLevel: 0 spriteRenderer: {fileID: 335445528} - duration: 3 - targetColor: {r: 1, g: 1, b: 1, a: 1} + _duration: + floatRef: {fileID: 0} + floatVal: 3 + _targetColor: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} waitUntilFinished: 0 + durationOLD: 0 + targetColorOLD: {r: 0, g: 0, b: 0, a: 0} --- !u!114 &1831099599 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2064,10 +2467,12 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 108.729736 - y: -378.268433 - width: 125 + x: 108.72974 + y: -378.26843 + width: 128.30807 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 67 blockName: Check for fish description: @@ -2079,11 +2484,13 @@ MonoBehaviour: - {fileID: 1831099595} - {fileID: 1831099594} - {fileID: 1831099593} + suppressAllAutoSelections: 0 --- !u!114 &1831099600 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2091,7 +2498,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 63 - errorMessage: indentLevel: 0 text: Shout out loud description: @@ -2101,11 +2507,15 @@ MonoBehaviour: booleanRef: {fileID: 0} booleanVal: 1 setMenuDialog: {fileID: 0} + hideThisOption: + booleanRef: {fileID: 0} + booleanVal: 0 --- !u!114 &1831099601 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2113,7 +2523,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 62 - errorMessage: indentLevel: 0 text: Check pool for fish description: @@ -2123,11 +2532,15 @@ MonoBehaviour: booleanRef: {fileID: 0} booleanVal: 1 setMenuDialog: {fileID: 0} + hideThisOption: + booleanRef: {fileID: 0} + booleanVal: 0 --- !u!114 &1831099602 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2135,13 +2548,13 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 72 - errorMessage: indentLevel: 0 --- !u!114 &1831099604 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2149,7 +2562,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 8 - errorMessage: indentLevel: 0 storyText: 'I''m starving! I wonder if there''s any fish in that pool?{wc} @@ -2163,12 +2575,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 0 waitForClick: 0 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099605 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2176,7 +2591,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 7 - errorMessage: indentLevel: 0 storyText: Emerging from the forest, she found herself at a beautiful mountain stream. description: @@ -2188,12 +2602,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099606 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2201,16 +2618,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 6 - errorMessage: indentLevel: 0 duration: 3 targetView: {fileID: 1726080688} waitUntilFinished: 1 + targetCamera: {fileID: 0} --- !u!114 &1831099607 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2218,7 +2636,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 5 - errorMessage: indentLevel: 0 storyText: 'For a day and a night, Ciara fled through the dark forest.{wc} @@ -2235,12 +2652,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099608 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2250,9 +2670,11 @@ MonoBehaviour: nodeRect: serializedVersion: 2 x: 114.038605 - y: -441.890259 + y: -441.89026 width: 120 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 66 blockName: Intro description: @@ -2265,11 +2687,13 @@ MonoBehaviour: - {fileID: 1831099601} - {fileID: 1831099600} - {fileID: 1831099572} + suppressAllAutoSelections: 0 --- !u!114 &1831099609 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2277,7 +2701,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 61 - errorMessage: indentLevel: 0 duration: 2 targetAlpha: 1 @@ -2287,8 +2710,9 @@ MonoBehaviour: --- !u!114 &1831099610 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2296,7 +2720,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 60 - errorMessage: indentLevel: 0 storyText: BURP! description: @@ -2308,12 +2731,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099611 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2321,7 +2747,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 59 - errorMessage: indentLevel: 0 storyText: RAAAAAAAAAARRRRRRRRRR!!!!!! description: @@ -2333,12 +2758,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099612 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2346,16 +2774,16 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 58 - errorMessage: indentLevel: 0 duration: 5 - amount: {x: .200000003, y: .200000003} + amount: {x: 0.2, y: 0.2} waitUntilFinished: 0 --- !u!114 &1831099613 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2363,7 +2791,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 57 - errorMessage: indentLevel: 0 storyText: 'Wait... no! What are you doing!?{wc} @@ -2379,12 +2806,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099614 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2392,7 +2822,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 56 - errorMessage: indentLevel: 0 storyText: RAAAAAARRRRRR!!!!!! description: @@ -2404,12 +2833,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099615 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2417,16 +2849,16 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 55 - errorMessage: indentLevel: 0 - duration: .5 - amount: {x: .200000003, y: .200000003} + duration: 0.5 + amount: {x: 0.2, y: 0.2} waitUntilFinished: 0 --- !u!114 &1831099616 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2434,7 +2866,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 54 - errorMessage: indentLevel: 0 storyText: 'And so, in a tragic twist of fate, everyone was eaten by a badly drawn bear.{wc} @@ -2449,12 +2880,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099617 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2462,7 +2896,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 53 - errorMessage: indentLevel: 0 storyText: RAAAAAARRRRRR! description: @@ -2474,12 +2907,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099618 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2487,16 +2923,16 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 52 - errorMessage: indentLevel: 0 - duration: .5 - amount: {x: .200000003, y: .200000003} + duration: 0.5 + amount: {x: 0.2, y: 0.2} waitUntilFinished: 0 --- !u!114 &1831099619 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2504,7 +2940,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 51 - errorMessage: indentLevel: 0 storyText: Noooooooo! description: @@ -2516,12 +2951,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099620 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2529,7 +2967,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 50 - errorMessage: indentLevel: 0 storyText: Ayyyyyyeeee! description: @@ -2541,12 +2978,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099621 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2554,7 +2994,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 49 - errorMessage: indentLevel: 0 storyText: Aaaaaagh! description: @@ -2566,12 +3005,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099622 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2579,17 +3021,23 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 48 - errorMessage: indentLevel: 0 spriteRenderer: {fileID: 577549097} - duration: 1 - targetColor: {r: 1, g: 1, b: 1, a: 1} + _duration: + floatRef: {fileID: 0} + floatVal: 1 + _targetColor: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} waitUntilFinished: 1 + durationOLD: 0 + targetColorOLD: {r: 0, g: 0, b: 0, a: 0} --- !u!114 &1831099623 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2597,16 +3045,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 47 - errorMessage: indentLevel: 0 duration: 5 targetView: {fileID: 700450244} waitUntilFinished: 0 + targetCamera: {fileID: 0} --- !u!114 &1831099624 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2614,7 +3063,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 46 - errorMessage: indentLevel: 0 storyText: 'Now remember to keep quiet.{wc} @@ -2628,12 +3076,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099625 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2641,16 +3092,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 45 - errorMessage: indentLevel: 0 duration: 5 targetView: {fileID: 1628360239} waitUntilFinished: 1 + targetCamera: {fileID: 0} --- !u!114 &1831099626 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2658,7 +3110,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 44 - errorMessage: indentLevel: 0 duration: 2 fadeOut: 1 @@ -2666,11 +3117,13 @@ MonoBehaviour: waitUntilFinished: 1 fadeColor: {r: 0, g: 0, b: 0, a: 1} fadeTexture: {fileID: 0} + targetCamera: {fileID: 0} --- !u!114 &1831099627 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2678,15 +3131,19 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 43 - errorMessage: indentLevel: 0 spriteRenderer: {fileID: 577549097} - visible: 0 + _visible: + booleanRef: {fileID: 0} + booleanVal: 0 + affectChildren: 1 + visibleOLD: 0 --- !u!114 &1831099628 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2695,10 +3152,12 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 108.608582 - y: -194.124023 + x: 108.60858 + y: -194.12402 width: 120 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 71 blockName: Bear description: @@ -2723,11 +3182,13 @@ MonoBehaviour: - {fileID: 1831099611} - {fileID: 1831099610} - {fileID: 1831099609} + suppressAllAutoSelections: 0 --- !u!114 &1831099629 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2735,16 +3196,20 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 42 - errorMessage: indentLevel: 0 targetFlowchart: {fileID: 0} targetBlock: {fileID: 1831099628} + startLabel: + stringRef: {fileID: 0} + stringVal: + startIndex: 0 callMode: 0 --- !u!114 &1831099630 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2752,17 +3217,23 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 41 - errorMessage: indentLevel: 0 spriteRenderer: {fileID: 335445528} - duration: 1 - targetColor: {r: 1, g: 1, b: 1, a: 0} + _duration: + floatRef: {fileID: 0} + floatVal: 1 + _targetColor: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 0} waitUntilFinished: 1 + durationOLD: 0 + targetColorOLD: {r: 0, g: 0, b: 0, a: 0} --- !u!114 &1831099632 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2770,14 +3241,17 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 39 - errorMessage: indentLevel: 0 - duration: 1 + _duration: + floatRef: {fileID: 0} + floatVal: 1 + durationOLD: 0 --- !u!114 &1831099633 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2785,7 +3259,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 38 - errorMessage: indentLevel: 1 storyText: 'Move it thief! And remember...{wc} @@ -2799,12 +3272,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099634 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2812,7 +3288,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 37 - errorMessage: indentLevel: 0 compareOperator: 0 variable: {fileID: 1831099569} @@ -2828,11 +3303,48 @@ MonoBehaviour: stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1831099635 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2840,17 +3352,23 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 36 - errorMessage: indentLevel: 0 spriteRenderer: {fileID: 307931412} - duration: 1 - targetColor: {r: 1, g: 1, b: 1, a: 0} + _duration: + floatRef: {fileID: 0} + floatVal: 1 + _targetColor: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 0} waitUntilFinished: 1 + durationOLD: 0 + targetColorOLD: {r: 0, g: 0, b: 0, a: 0} --- !u!114 &1831099636 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2858,7 +3376,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 35 - errorMessage: indentLevel: 0 storyText: 'Ok, let''s go get you some food!{wc} @@ -2872,12 +3389,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099637 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2890,6 +3410,8 @@ MonoBehaviour: y: -254.68811 width: 120 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 70 blockName: Exit description: @@ -2903,11 +3425,13 @@ MonoBehaviour: - {fileID: 1831099632} - {fileID: 1831099630} - {fileID: 1831099629} + suppressAllAutoSelections: 0 --- !u!114 &1831099638 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2915,16 +3439,20 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 34 - errorMessage: indentLevel: 0 targetFlowchart: {fileID: 0} targetBlock: {fileID: 1831099637} + startLabel: + stringRef: {fileID: 0} + stringVal: + startIndex: 0 callMode: 0 --- !u!114 &1831099639 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2932,7 +3460,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 33 - errorMessage: indentLevel: 0 variable: {fileID: 1831099569} setOperator: 0 @@ -2948,11 +3475,48 @@ MonoBehaviour: stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1831099640 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2960,7 +3524,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 32 - errorMessage: indentLevel: 0 storyText: Oh yes please! Thank you! description: @@ -2972,12 +3535,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099641 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -2985,7 +3551,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 31 - errorMessage: indentLevel: 0 storyText: 'Oh be quiet Skipper.{wc} @@ -2999,12 +3564,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099642 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3012,7 +3580,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 30 - errorMessage: indentLevel: 0 storyText: What! This is an outrage! Mind your own busin... description: @@ -3024,12 +3591,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099643 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3037,7 +3607,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 29 - errorMessage: indentLevel: 0 storyText: 'What''s all this racket?{wc} @@ -3053,12 +3622,15 @@ MonoBehaviour: extendPrevious: 0 fadeWhenDone: 1 waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099644 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3066,17 +3638,23 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 28 - errorMessage: indentLevel: 0 spriteRenderer: {fileID: 307931412} - duration: 1 - targetColor: {r: 1, g: 1, b: 1, a: 1} + _duration: + floatRef: {fileID: 0} + floatVal: 1 + _targetColor: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} waitUntilFinished: 1 + durationOLD: 0 + targetColorOLD: {r: 0, g: 0, b: 0, a: 0} --- !u!114 &1831099645 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3086,9 +3664,11 @@ MonoBehaviour: nodeRect: serializedVersion: 2 x: 108.621155 - y: -317.003174 + y: -317.00317 width: 120 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 69 blockName: Rescued description: @@ -3101,11 +3681,13 @@ MonoBehaviour: - {fileID: 1831099640} - {fileID: 1831099639} - {fileID: 1831099638} + suppressAllAutoSelections: 0 --- !u!114 &1831099654 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1831099566} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3113,64 +3695,66 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1831099578} + suppressBlockAutoSelect: 0 + waitForFrames: 1 --- !u!1001 &1849986066 -Prefab: +PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 1594072535} m_Modifications: - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} + propertyPath: m_Name + value: BearView + objectReference: {fileID: 0} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.x value: 1.51180005 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.y value: .327270001 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.z value: -.118530907 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_LocalRotation.w value: .99295038 objectReference: {fileID: 0} - - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: m_RootOrder value: 3 objectReference: {fileID: 0} - - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} + - target: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} propertyPath: viewSize value: .321243912 objectReference: {fileID: 0} - - target: {fileID: 100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - propertyPath: m_Name - value: BearView - objectReference: {fileID: 0} m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_IsPrefabParent: 0 + m_SourcePrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 3} --- !u!1 &2006673388 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 2006673389} + - component: {fileID: 2006673389} m_Layer: 0 m_Name: River m_TagString: Untagged @@ -3181,11 +3765,12 @@ GameObject: --- !u!4 &2006673389 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2006673388} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -5.55999947, y: -6.90999985, z: 0} + m_LocalPosition: {x: -5.5599995, y: -6.91, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 476715958} @@ -3195,26 +3780,36 @@ Transform: - {fileID: 842161035} - {fileID: 1218601919} m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!4 &2069641430 stripped Transform: - m_PrefabParentObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} - m_PrefabInternal: {fileID: 843188069} + m_CorrespondingSourceObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 843188069} + m_PrefabAsset: {fileID: 0} --- !u!114 &2069641431 stripped MonoBehaviour: - m_PrefabParentObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, - type: 2} - m_PrefabInternal: {fileID: 843188069} + m_CorrespondingSourceObject: {fileID: 11400000, guid: e0d427add844a4d9faf970a3afa07583, + type: 3} + m_PrefabInstance: {fileID: 843188069} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 95c387d3e32404bcc91c60318d766bb1, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &2142927451 GameObject: m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 2142927453} - - 114: {fileID: 2142927452} + - component: {fileID: 2142927453} + - component: {fileID: 2142927452} m_Layer: 0 m_Name: _FungusState m_TagString: Untagged @@ -3225,8 +3820,9 @@ GameObject: --- !u!114 &2142927452 MonoBehaviour: m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2142927451} m_Enabled: 1 m_EditorHideFlags: 0 @@ -3237,12 +3833,14 @@ MonoBehaviour: --- !u!4 &2142927453 Transform: m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2142927451} 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_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/FungusExamples/Usfxr/UsfxrAudioExample.unity b/Assets/FungusExamples/Usfxr/UsfxrAudioExample.unity index fbe24378..519a8aec 100644 --- a/Assets/FungusExamples/Usfxr/UsfxrAudioExample.unity +++ b/Assets/FungusExamples/Usfxr/UsfxrAudioExample.unity @@ -1,32 +1,33 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!29 &1 -SceneSettings: +OcclusionCullingSettings: m_ObjectHideFlags: 0 - m_PVSData: - m_PVSObjectsArray: [] - m_PVSPortalsArray: [] + serializedVersion: 2 m_OcclusionBakeSettings: smallestOccluder: 5 - smallestHole: .25 + smallestHole: 0.25 backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} --- !u!104 &2 RenderSettings: m_ObjectHideFlags: 0 - serializedVersion: 6 + serializedVersion: 9 m_Fog: 0 - m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogMode: 3 - m_FogDensity: .00999999978 + m_FogDensity: 0.01 m_LinearFogStart: 0 m_LinearFogEnd: 300 - m_AmbientSkyColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} - m_AmbientEquatorColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} - m_AmbientGroundColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} + m_AmbientSkyColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} + m_AmbientEquatorColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} + m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} m_AmbientIntensity: 1 m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} m_SkyboxMaterial: {fileID: 0} - m_HaloStrength: .5 + m_HaloStrength: 0.5 m_FlareStrength: 1 m_FlareFadeSpeed: 3 m_HaloTexture: {fileID: 0} @@ -37,67 +38,116 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} + m_UseRadianceAmbientProbe: 0 --- !u!157 &4 LightmapSettings: m_ObjectHideFlags: 0 - serializedVersion: 5 + serializedVersion: 11 m_GIWorkflowMode: 1 - m_LightmapsMode: 1 m_GISettings: serializedVersion: 2 m_BounceScale: 1 m_IndirectOutputScale: 1 m_AlbedoBoost: 1 - m_TemporalCoherenceThreshold: 1 m_EnvironmentLightingMode: 0 m_EnableBakedLightmaps: 1 m_EnableRealtimeLightmaps: 0 m_LightmapEditorSettings: - serializedVersion: 3 + serializedVersion: 12 m_Resolution: 1 m_BakeResolution: 50 - m_TextureWidth: 1024 - m_TextureHeight: 1024 + m_AtlasSize: 1024 + m_AO: 0 m_AOMaxDistance: 1 - m_Padding: 2 m_CompAOExponent: 0 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 m_TextureCompression: 0 m_FinalGather: 0 + m_FinalGatherFiltering: 1 m_FinalGatherRayCount: 1024 m_ReflectionCompression: 2 - m_LightmapSnapshot: {fileID: 0} - m_RuntimeCPUUsage: 25 + m_MixedBakeMode: 1 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 512 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 0 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 0 --- !u!196 &5 NavMeshSettings: serializedVersion: 2 m_ObjectHideFlags: 0 m_BuildSettings: serializedVersion: 2 - agentRadius: .5 + agentTypeID: 0 + agentRadius: 0.5 agentHeight: 2 agentSlope: 45 - agentClimb: .400000006 + agentClimb: 0.4 ledgeDropHeight: 0 maxJumpAcrossDistance: 0 - accuratePlacement: 0 minRegionArea: 2 - cellSize: .166666657 manualCellSize: 0 + cellSize: 0.16666666 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 m_NavMeshData: {fileID: 0} +--- !u!115 &344033345 +MonoScript: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + serializedVersion: 5 + m_Script: + m_DefaultReferences: {} + m_Icon: {fileID: 0} + m_ExecutionOrder: 0 + m_ClassName: PlayUsfxrSound + m_Namespace: Fungus --- !u!1 &347148955 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 347148960} - - 20: {fileID: 347148959} - - 92: {fileID: 347148958} - - 124: {fileID: 347148957} - - 81: {fileID: 347148956} - - 114: {fileID: 347148961} + - component: {fileID: 347148960} + - component: {fileID: 347148959} + - component: {fileID: 347148957} + - component: {fileID: 347148956} + - component: {fileID: 347148961} m_Layer: 0 m_Name: Main Camera m_TagString: MainCamera @@ -108,41 +158,43 @@ GameObject: --- !u!81 &347148956 AudioListener: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 347148955} m_Enabled: 1 --- !u!124 &347148957 Behaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 347148955} - m_Enabled: 1 ---- !u!92 &347148958 -Behaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 347148955} m_Enabled: 1 --- !u!20 &347148959 Camera: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 347148955} m_Enabled: 1 serializedVersion: 2 m_ClearFlags: 1 - m_BackGroundColor: {r: .192156866, g: .301960796, b: .474509805, a: .0196078438} + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 m_NormalizedViewPortRect: serializedVersion: 2 x: 0 y: 0 width: 1 height: 1 - near clip plane: .300000012 + near clip plane: 0.3 far clip plane: 1000 field of view: 60 orthographic: 1 @@ -156,15 +208,18 @@ Camera: m_TargetDisplay: 0 m_TargetEye: 3 m_HDR: 0 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 m_OcclusionCulling: 1 m_StereoConvergence: 10 - m_StereoSeparation: .0219999999 - m_StereoMirrorMode: 0 + m_StereoSeparation: 0.022 --- !u!4 &347148960 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 347148955} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: -10} @@ -172,11 +227,13 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &347148961 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 347148955} m_Enabled: 1 m_EditorHideFlags: 0 @@ -186,19 +243,19 @@ MonoBehaviour: screenFadeTexture: {fileID: 2800000, guid: f6c7b1f3a78a24703b70c746d8b9c768, type: 3} swipePanIcon: {fileID: 2800000, guid: 41bc737f4dc1b40db872aca00bcd7d4b, type: 3} swipeIconPosition: {x: 1, y: 0} + setCameraZ: 1 cameraZ: -10 - waiting: 0 - swipePanActive: 0 - swipeSpeedMultiplier: 1 + swipeCamera: {fileID: 0} --- !u!1 &1245640432 GameObject: m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 1245640434} - - 114: {fileID: 1245640433} + - component: {fileID: 1245640434} + - component: {fileID: 1245640433} m_Layer: 0 m_Name: _FungusState m_TagString: Untagged @@ -209,8 +266,9 @@ GameObject: --- !u!114 &1245640433 MonoBehaviour: m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1245640432} m_Enabled: 1 m_EditorHideFlags: 0 @@ -221,30 +279,113 @@ MonoBehaviour: --- !u!4 &1245640434 Transform: m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1245640432} 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_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1452360235 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1452360239} + - component: {fileID: 1452360238} + - component: {fileID: 1452360237} + - component: {fileID: 1452360236} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1452360236 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1452360235} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2d49b7c1bcd2e07499844da127be038d, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ForceModuleActive: 0 +--- !u!114 &1452360237 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1452360235} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalAxis: Horizontal + m_VerticalAxis: Vertical + m_SubmitButton: Submit + m_CancelButton: Cancel + m_InputActionsPerSecond: 10 + m_RepeatDelay: 0.5 + m_ForceModuleActive: 0 +--- !u!114 &1452360238 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1452360235} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 5 +--- !u!4 &1452360239 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1452360235} + 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: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1818246741 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - - 4: {fileID: 1818246742} - - 114: {fileID: 1818246743} - - 114: {fileID: 1818246749} - - 114: {fileID: 1818246748} - - 114: {fileID: 1818246747} - - 114: {fileID: 1818246746} - - 114: {fileID: 1818246745} - - 114: {fileID: 1818246744} + - component: {fileID: 1818246742} + - component: {fileID: 1818246743} + - component: {fileID: 1818246749} + - component: {fileID: 1818246744} + - component: {fileID: 1818246748} + - component: {fileID: 1818246747} + - component: {fileID: 1818246746} + - component: {fileID: 1818246745} m_Layer: 0 m_Name: Flowchart m_TagString: Untagged @@ -255,28 +396,31 @@ GameObject: --- !u!4 &1818246742 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1818246741} 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: 1 + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1818246743 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1818246741} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} m_Name: m_EditorClassIdentifier: - version: 1.0 - scrollPos: {x: 352.51593, y: 571.148438} + version: 1 + scrollPos: {x: 352.51593, y: 571.14844} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 blockViewHeight: 400 @@ -287,22 +431,27 @@ MonoBehaviour: y: -889 width: 1187 height: 1416 - selectedBlock: {fileID: 1818246749} - selectedCommands: - - {fileID: 1818246745} + selectedBlocks: [] + selectedCommands: [] variables: [] description: "This scene shows how to use Usfxr to play\nprocedural sound effects. - \nSelect: Window > Generate usfxr Sound Effects\nto edit your own procedural sounds." + \nSelect: Window > Generate usfxr Sound Effects\nto edit your own procedural + sounds." stepPause: 0 colorCommands: 1 hideComponents: 1 saveSelection: 1 localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart --- !u!114 &1818246744 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1818246741} m_Enabled: 1 m_EditorHideFlags: 0 @@ -310,79 +459,94 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1818246749} + suppressBlockAutoSelect: 0 + waitForFrames: 1 --- !u!114 &1818246745 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1818246741} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a3ff412ad89846a47a70a620a222cbf8, type: 3} + m_Script: {fileID: 344033345} m_Name: m_EditorClassIdentifier: - itemId: 3 - errorMessage: + itemId: 8 indentLevel: 0 ParentTransform: {fileID: 0} - SettingsString: 0,.5,,.0259,.3178,.2433,.3,.7694,,,,,,,,,.4286,.673,,,,,,,,1,,,,,, - waitDuration: .25 + _SettingsString: + stringRef: {fileID: 0} + stringVal: 1,.5,,.1749,.0094,.2571,.3,.6665,.2,-.2852,,,,,,,,,,,.2159,.1001,,.1209,-.1511,1,,,,,, + waitDuration: 0.5 + SettingsStringOLD: --- !u!114 &1818246746 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1818246741} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a3ff412ad89846a47a70a620a222cbf8, type: 3} + m_Script: {fileID: 344033345} m_Name: m_EditorClassIdentifier: - itemId: 2 - errorMessage: + itemId: 7 indentLevel: 0 ParentTransform: {fileID: 0} - SettingsString: 1,.5,,.1749,.0094,.2571,.3,.6665,.2,-.2852,,,,,,,,,,,.2159,.1001,,.1209,-.1511,1,,,,,, - waitDuration: .25 + _SettingsString: + stringRef: {fileID: 0} + stringVal: 1,.5,,.142,,.1233,.3,.4328,,,,,,,,,,,,,,,,,,1,,,.1,,, + waitDuration: 0.5 + SettingsStringOLD: --- !u!114 &1818246747 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1818246741} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a3ff412ad89846a47a70a620a222cbf8, type: 3} + m_Script: {fileID: 344033345} m_Name: m_EditorClassIdentifier: - itemId: 1 - errorMessage: + itemId: 6 indentLevel: 0 ParentTransform: {fileID: 0} - SettingsString: 1,.5,,.142,,.1233,.3,.4328,,,,,,,,,,,,,,,,,,1,,,.1,,, - waitDuration: .25 + _SettingsString: + stringRef: {fileID: 0} + stringVal: 0,.5,,.0004,.354,.414,.3,.731,,,,,,,,,,,,,,,,,,1,,,,,, + waitDuration: 0.5 + SettingsStringOLD: --- !u!114 &1818246748 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1818246741} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a3ff412ad89846a47a70a620a222cbf8, type: 3} + m_Script: {fileID: 344033345} m_Name: m_EditorClassIdentifier: - itemId: 0 - errorMessage: + itemId: 5 indentLevel: 0 ParentTransform: {fileID: 0} - SettingsString: 0,.5,,.0004,.354,.414,.3,.731,,,,,,,,,,,,,,,,,,1,,,,,, - waitDuration: .25 + _SettingsString: + stringRef: {fileID: 0} + stringVal: 0,.5,,.0259,.3178,.2433,.3,.7694,,,,,,,,,.4286,.673,,,,,,,,1,,,,,, + waitDuration: 0.5 + SettingsStringOLD: --- !u!114 &1818246749 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1818246741} m_Enabled: 1 m_EditorHideFlags: 0 @@ -391,16 +555,19 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -91 - y: -489 - width: 138 + x: -120 + y: -480 + width: 140 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 4 blockName: Sound Sequence description: eventHandler: {fileID: 1818246744} commandList: - {fileID: 1818246748} - - {fileID: 1818246747} - - {fileID: 1818246746} - {fileID: 1818246745} + - {fileID: 1818246746} + - {fileID: 1818246747} + suppressAllAutoSelections: 0 diff --git a/Assets/FungusExamples/Variables/GlobalCollection.unity b/Assets/FungusExamples/Variables/GlobalCollection.unity new file mode 100644 index 00000000..8bf5259c --- /dev/null +++ b/Assets/FungusExamples/Variables/GlobalCollection.unity @@ -0,0 +1,769 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 9 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &792425321 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 792425323} + - component: {fileID: 792425322} + m_Layer: 0 + m_Name: FloatCol + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &792425322 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 792425321} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f48297b98c3c1414c8e94ebe45883bb1, type: 3} + m_Name: + m_EditorClassIdentifier: + collection: [] +--- !u!4 &792425323 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 792425321} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 312.1175, y: 131.81955, z: -4.4373403} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &843267392 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 843267395} + - component: {fileID: 843267394} + - component: {fileID: 843267393} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &843267393 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 843267392} + m_Enabled: 1 +--- !u!20 &843267394 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 843267392} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 1 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &843267395 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 843267392} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + 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!1 &2060864789 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2060864791} + - component: {fileID: 2060864790} + m_Layer: 0 + m_Name: _FungusState + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &2060864790 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2060864789} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} + m_Name: + m_EditorClassIdentifier: + selectedFlowchart: {fileID: 2066776886} +--- !u!4 &2060864791 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2060864789} + 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: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2066776880 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2066776887} + - component: {fileID: 2066776886} + - component: {fileID: 2066776885} + - component: {fileID: 2066776884} + - component: {fileID: 2066776883} + - component: {fileID: 2066776881} + - component: {fileID: 2066776882} + - component: {fileID: 2066776891} + - component: {fileID: 2066776890} + - component: {fileID: 2066776889} + - component: {fileID: 2066776888} + - component: {fileID: 2066776893} + - component: {fileID: 2066776892} + m_Layer: 0 + m_Name: GameObject + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &2066776881 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 3 + indentLevel: 0 +--- !u!114 &2066776882 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 779fdb236b4ca6343a6d631108388e42, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 1 + target: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 792425321} +--- !u!114 &2066776883 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4511d925e22af8c4a85a568153258f84, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 2 + key: ColVar + value: {fileID: 792425322} +--- !u!114 &2066776884 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 2066776883} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 792425322} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + compareOperator: 0 + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &2066776885 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 280 + y: 100 + width: 160 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: Sustain Collection + description: 'With the collection set the global, we make it dont destroy on load + if it matches our local, meaning we are the first load. + + On subsequent loads the global is already backed by the collection that is don''t + destroy on load.' + eventHandler: {fileID: 2066776888} + commandList: + - {fileID: 2066776884} + - {fileID: 2066776882} + - {fileID: 2066776893} + - {fileID: 2066776892} + - {fileID: 2066776881} + suppressAllAutoSelections: 0 +--- !u!114 &2066776886 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: 125.5, y: 117.5} + variablesScrollPos: {x: 0, y: 0} + variablesExpanded: 1 + blockViewHeight: 400 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + selectedBlocks: + - {fileID: 2066776891} + selectedCommands: [] + variables: + - {fileID: 2066776883} + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!4 &2066776887 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 312.1175, y: 131.81955, z: -4.4373403} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &2066776888 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 2066776885} + suppressBlockAutoSelect: 0 + waitForFrames: 0 +--- !u!114 &2066776889 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9c784b19efbe8424fa879e0d6d883281, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 7 + indentLevel: 0 + loadingImage: {fileID: 0} +--- !u!114 &2066776890 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 000864f8e9e1748a39807861d0e60e29, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 2066776891} + suppressBlockAutoSelect: 0 + keyPressType: 0 + keyCode: 32 +--- !u!114 &2066776891 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 440 + y: 100 + width: 80 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 6 + blockName: Reload + description: + eventHandler: {fileID: 2066776890} + commandList: + - {fileID: 2066776889} + suppressAllAutoSelections: 0 +--- !u!114 &2066776892 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d81be3d7e84da460788dccea95a3313a, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 9 + indentLevel: 1 + _targetGameObject: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 792425321} + destroyInXSeconds: + floatRef: {fileID: 0} + floatVal: 0 + targetGameObjectOLD: {fileID: 0} +--- !u!114 &2066776893 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066776880} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3fa968f01a7f9496bb50e13dfe16760d, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 8 + indentLevel: 0 diff --git a/Assets/FungusExamples/Variables/GlobalCollection.unity.meta b/Assets/FungusExamples/Variables/GlobalCollection.unity.meta new file mode 100644 index 00000000..2e6417b4 --- /dev/null +++ b/Assets/FungusExamples/Variables/GlobalCollection.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a2112bec536a5554cac5490c6579a0a4 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/FungusExamples/Variables/Variables.unity b/Assets/FungusExamples/Variables/Variables.unity index 3b7f8cb4..ae1bf3b7 100644 --- a/Assets/FungusExamples/Variables/Variables.unity +++ b/Assets/FungusExamples/Variables/Variables.unity @@ -1,19 +1,19 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!29 &1 -SceneSettings: +OcclusionCullingSettings: m_ObjectHideFlags: 0 - m_PVSData: - m_PVSObjectsArray: [] - m_PVSPortalsArray: [] + serializedVersion: 2 m_OcclusionBakeSettings: smallestOccluder: 5 smallestHole: 0.25 backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} --- !u!104 &2 RenderSettings: m_ObjectHideFlags: 0 - serializedVersion: 6 + serializedVersion: 8 m_Fog: 0 m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogMode: 3 @@ -25,6 +25,7 @@ RenderSettings: m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} m_AmbientIntensity: 1 m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} m_SkyboxMaterial: {fileID: 0} m_HaloStrength: 0.5 m_FlareStrength: 1 @@ -37,12 +38,12 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} --- !u!157 &4 LightmapSettings: m_ObjectHideFlags: 0 - serializedVersion: 6 + serializedVersion: 11 m_GIWorkflowMode: 1 - m_LightmapsMode: 1 m_GISettings: serializedVersion: 2 m_BounceScale: 1 @@ -53,50 +54,77 @@ LightmapSettings: m_EnableBakedLightmaps: 1 m_EnableRealtimeLightmaps: 0 m_LightmapEditorSettings: - serializedVersion: 3 + serializedVersion: 9 m_Resolution: 1 m_BakeResolution: 50 m_TextureWidth: 1024 m_TextureHeight: 1024 + m_AO: 0 m_AOMaxDistance: 1 - m_Padding: 2 m_CompAOExponent: 0 + m_CompAOExponentDirect: 0 + m_Padding: 2 m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 m_TextureCompression: 0 m_FinalGather: 0 + m_FinalGatherFiltering: 1 m_FinalGatherRayCount: 1024 m_ReflectionCompression: 2 + m_MixedBakeMode: 1 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 m_LightingDataAsset: {fileID: 0} - m_RuntimeCPUUsage: 25 + m_UseShadowmask: 0 --- !u!196 &5 NavMeshSettings: serializedVersion: 2 m_ObjectHideFlags: 0 m_BuildSettings: serializedVersion: 2 + agentTypeID: 0 agentRadius: 0.5 agentHeight: 2 agentSlope: 45 agentClimb: 0.4 ledgeDropHeight: 0 maxJumpAcrossDistance: 0 - accuratePlacement: 0 minRegionArea: 2 - cellSize: 0.16666666 manualCellSize: 0 + cellSize: 0.16666666 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 m_NavMeshData: {fileID: 0} --- !u!1 &614879915 GameObject: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 4: {fileID: 614879920} - - 20: {fileID: 614879919} - - 92: {fileID: 614879918} - - 124: {fileID: 614879917} - - 81: {fileID: 614879916} + - component: {fileID: 614879920} + - component: {fileID: 614879919} + - component: {fileID: 614879918} + - component: {fileID: 614879917} + - component: {fileID: 614879916} m_Layer: 0 m_Name: Main Camera m_TagString: MainCamera @@ -155,10 +183,12 @@ Camera: m_TargetDisplay: 0 m_TargetEye: 3 m_HDR: 0 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: 0.022 - m_StereoMirrorMode: 0 --- !u!4 &614879920 Transform: m_ObjectHideFlags: 0 @@ -171,16 +201,17 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &871863636 GameObject: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 4: {fileID: 871863639} - - 212: {fileID: 871863638} - - 95: {fileID: 871863637} + - component: {fileID: 871863639} + - component: {fileID: 871863638} + - component: {fileID: 871863637} m_Layer: 0 m_Name: TestSprite m_TagString: Untagged @@ -214,27 +245,41 @@ SpriteRenderer: m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 m_Materials: - - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} - m_SubsetIndices: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 m_StaticBatchRoot: {fileID: 0} - m_UseLightProbes: 0 - m_ReflectionProbeUsage: 0 m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 0 m_MinimumChartSize: 4 m_AutoUVMaxDistance: 0.5 m_AutoUVMaxAngle: 89 m_LightmapParameters: {fileID: 0} m_SortingLayerID: 0 + m_SortingLayer: 0 m_SortingOrder: 0 m_Sprite: {fileID: 21300000, guid: 061fcd6caac25954287291fffde7cd2c, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} m_FlipX: 0 m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 --- !u!4 &871863639 Transform: m_ObjectHideFlags: 0 @@ -247,63 +292,64 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1269704314 GameObject: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 4: {fileID: 1269704320} - - 114: {fileID: 1269704319} - - 114: {fileID: 1269704318} - - 114: {fileID: 1269704317} - - 114: {fileID: 1269704316} - - 114: {fileID: 1269704315} - - 114: {fileID: 1269704324} - - 114: {fileID: 1269704325} - - 114: {fileID: 1269704328} - - 114: {fileID: 1269704327} - - 114: {fileID: 1269704326} - - 114: {fileID: 1269704331} - - 114: {fileID: 1269704333} - - 114: {fileID: 1269704341} - - 114: {fileID: 1269704338} - - 114: {fileID: 1269704337} - - 114: {fileID: 1269704342} - - 114: {fileID: 1269704345} - - 114: {fileID: 1269704344} - - 114: {fileID: 1269704343} - - 114: {fileID: 1269704353} - - 114: {fileID: 1269704351} - - 114: {fileID: 1269704350} - - 114: {fileID: 1269704348} - - 114: {fileID: 1269704356} - - 114: {fileID: 1269704355} - - 114: {fileID: 1269704354} - - 114: {fileID: 1269704358} - - 114: {fileID: 1269704352} - - 114: {fileID: 1269704346} - - 114: {fileID: 1269704340} - - 114: {fileID: 1269704339} - - 114: {fileID: 1269704362} - - 114: {fileID: 1269704361} - - 114: {fileID: 1269704360} - - 114: {fileID: 1269704359} - - 114: {fileID: 1269704332} - - 114: {fileID: 1269704330} - - 114: {fileID: 1269704329} - - 114: {fileID: 1269704322} - - 114: {fileID: 1269704321} - - 114: {fileID: 1269704336} - - 114: {fileID: 1269704323} - - 114: {fileID: 1269704335} - - 114: {fileID: 1269704334} - - 114: {fileID: 1269704363} - - 114: {fileID: 1269704349} - - 114: {fileID: 1269704347} - - 114: {fileID: 1269704364} - - 114: {fileID: 1269704357} + - component: {fileID: 1269704320} + - component: {fileID: 1269704319} + - component: {fileID: 1269704318} + - component: {fileID: 1269704317} + - component: {fileID: 1269704316} + - component: {fileID: 1269704315} + - component: {fileID: 1269704324} + - component: {fileID: 1269704325} + - component: {fileID: 1269704328} + - component: {fileID: 1269704327} + - component: {fileID: 1269704326} + - component: {fileID: 1269704331} + - component: {fileID: 1269704333} + - component: {fileID: 1269704341} + - component: {fileID: 1269704338} + - component: {fileID: 1269704337} + - component: {fileID: 1269704342} + - component: {fileID: 1269704345} + - component: {fileID: 1269704344} + - component: {fileID: 1269704343} + - component: {fileID: 1269704353} + - component: {fileID: 1269704351} + - component: {fileID: 1269704350} + - component: {fileID: 1269704348} + - component: {fileID: 1269704356} + - component: {fileID: 1269704355} + - component: {fileID: 1269704354} + - component: {fileID: 1269704358} + - component: {fileID: 1269704352} + - component: {fileID: 1269704346} + - component: {fileID: 1269704340} + - component: {fileID: 1269704339} + - component: {fileID: 1269704362} + - component: {fileID: 1269704361} + - component: {fileID: 1269704360} + - component: {fileID: 1269704359} + - component: {fileID: 1269704332} + - component: {fileID: 1269704330} + - component: {fileID: 1269704329} + - component: {fileID: 1269704322} + - component: {fileID: 1269704321} + - component: {fileID: 1269704336} + - component: {fileID: 1269704323} + - component: {fileID: 1269704335} + - component: {fileID: 1269704334} + - component: {fileID: 1269704363} + - component: {fileID: 1269704349} + - component: {fileID: 1269704347} + - component: {fileID: 1269704364} + - component: {fileID: 1269704357} m_Layer: 0 m_Name: Flowchart m_TagString: Untagged @@ -366,10 +412,12 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 124 - y: -166 - width: 120 + x: 120 + y: -160 + width: 80 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 28 blockName: Test If description: @@ -387,6 +435,7 @@ MonoBehaviour: - {fileID: 1269704327} - {fileID: 1269704321} - {fileID: 1269704362} + suppressAllAutoSelections: 0 --- !u!114 &1269704319 MonoBehaviour: m_ObjectHideFlags: 0 @@ -402,7 +451,7 @@ MonoBehaviour: scrollPos: {x: 258, y: 186} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 - blockViewHeight: 280 + blockViewHeight: 522 zoom: 1 scrollViewRect: serializedVersion: 2 @@ -410,7 +459,8 @@ MonoBehaviour: y: -587 width: 1530 height: 1122 - selectedBlock: {fileID: 1269704358} + selectedBlocks: + - {fileID: 1269704353} selectedCommands: [] variables: - {fileID: 1269704317} @@ -427,7 +477,10 @@ MonoBehaviour: hideComponents: 1 saveSelection: 1 localizationId: + showLineNumbers: 0 hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart --- !u!4 &1269704320 Transform: m_ObjectHideFlags: 0 @@ -440,6 +493,7 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1269704321 MonoBehaviour: m_ObjectHideFlags: 0 @@ -452,7 +506,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 45 - errorMessage: indentLevel: 0 storyText: Test If Complete description: @@ -465,6 +518,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704322 MonoBehaviour: @@ -478,7 +532,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 44 - errorMessage: indentLevel: 1 storyText: Case 4 description: @@ -491,6 +544,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704323 MonoBehaviour: @@ -504,7 +558,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 47 - errorMessage: indentLevel: 0 storyText: Test While Complete description: @@ -517,6 +570,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704324 MonoBehaviour: @@ -530,10 +584,97 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 2 - errorMessage: indentLevel: 0 - variable: {fileID: 1269704317} + anyVar: + variable: {fileID: 1269704317} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 0 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -546,6 +687,42 @@ MonoBehaviour: stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1269704325 MonoBehaviour: m_ObjectHideFlags: 2 @@ -572,10 +749,188 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 7 - errorMessage: indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1269704316} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 5 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 1269704316} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -584,10 +939,46 @@ MonoBehaviour: integerVal: 0 floatData: floatRef: {fileID: 0} - floatVal: 5 + floatVal: 0 stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1269704327 MonoBehaviour: m_ObjectHideFlags: 2 @@ -600,7 +991,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 4 - errorMessage: indentLevel: 0 --- !u!114 &1269704328 MonoBehaviour: @@ -614,13 +1004,191 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 3 - errorMessage: indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1269704317} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 1269704317} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} - booleanVal: 1 + booleanVal: 0 integerData: integerRef: {fileID: 0} integerVal: 0 @@ -630,6 +1198,42 @@ MonoBehaviour: stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1269704329 MonoBehaviour: m_ObjectHideFlags: 0 @@ -642,7 +1246,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 43 - errorMessage: indentLevel: 1 storyText: Case 3 description: @@ -655,6 +1258,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704330 MonoBehaviour: @@ -668,7 +1272,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 42 - errorMessage: indentLevel: 1 storyText: Case 2 description: @@ -681,6 +1284,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704331 MonoBehaviour: @@ -694,10 +1298,188 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 8 - errorMessage: indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 0 + anyVar: + variable: {fileID: 1269704316} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 10 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 0 - variable: {fileID: 1269704316} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -706,10 +1488,46 @@ MonoBehaviour: integerVal: 0 floatData: floatRef: {fileID: 0} - floatVal: 10 + floatVal: 0 stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1269704332 MonoBehaviour: m_ObjectHideFlags: 0 @@ -722,7 +1540,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 41 - errorMessage: indentLevel: 1 storyText: Case 1 description: @@ -735,6 +1552,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704333 MonoBehaviour: @@ -748,7 +1566,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 10 - errorMessage: indentLevel: 0 --- !u!114 &1269704334 MonoBehaviour: @@ -762,7 +1579,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 49 - errorMessage: indentLevel: 0 storyText: Test Labels Complete description: @@ -775,6 +1591,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704335 MonoBehaviour: @@ -788,7 +1605,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 48 - errorMessage: indentLevel: 0 storyText: Jump over this command! description: @@ -801,6 +1617,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704336 MonoBehaviour: @@ -814,7 +1631,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 46 - errorMessage: indentLevel: 1 storyText: 'Count: {$MyInt}' description: @@ -827,6 +1643,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704337 MonoBehaviour: @@ -840,7 +1657,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 12 - errorMessage: indentLevel: 0 --- !u!114 &1269704338 MonoBehaviour: @@ -854,22 +1670,236 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 11 - errorMessage: indentLevel: 0 + anyOrAllConditions: 0 + conditions: + - compareOperator: 2 + anyVar: + variable: {fileID: 1269704325} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 3 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} compareOperator: 2 - variable: {fileID: 1269704325} + anyVar: + variable: {fileID: 0} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 1 integerData: integerRef: {fileID: 0} - integerVal: 3 + integerVal: 0 floatData: floatRef: {fileID: 0} floatVal: 0 stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1269704339 MonoBehaviour: m_ObjectHideFlags: 2 @@ -882,7 +1912,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 36 - errorMessage: indentLevel: 0 text: Test While description: @@ -892,6 +1921,9 @@ MonoBehaviour: booleanRef: {fileID: 0} booleanVal: 1 setMenuDialog: {fileID: 0} + hideThisOption: + booleanRef: {fileID: 0} + booleanVal: 0 --- !u!114 &1269704340 MonoBehaviour: m_ObjectHideFlags: 2 @@ -904,7 +1936,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 35 - errorMessage: indentLevel: 0 text: Test Labels description: @@ -914,6 +1945,9 @@ MonoBehaviour: booleanRef: {fileID: 0} booleanVal: 1 setMenuDialog: {fileID: 0} + hideThisOption: + booleanRef: {fileID: 0} + booleanVal: 0 --- !u!114 &1269704341 MonoBehaviour: m_ObjectHideFlags: 2 @@ -927,10 +1961,12 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 129 - y: -98 - width: 120 + x: 120 + y: -100 + width: 100 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 29 blockName: Test While description: @@ -942,6 +1978,7 @@ MonoBehaviour: - {fileID: 1269704337} - {fileID: 1269704323} - {fileID: 1269704361} + suppressAllAutoSelections: 0 --- !u!114 &1269704342 MonoBehaviour: m_ObjectHideFlags: 2 @@ -954,22 +1991,145 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 15 - errorMessage: indentLevel: 1 - variable: {fileID: 1269704325} + anyVar: + variable: {fileID: 1269704325} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 1 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 2 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 integerData: integerRef: {fileID: 0} - integerVal: 1 + integerVal: 0 floatData: floatRef: {fileID: 0} floatVal: 0 stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1269704343 MonoBehaviour: m_ObjectHideFlags: 2 @@ -982,7 +2142,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 17 - errorMessage: indentLevel: 0 key: My Label --- !u!114 &1269704344 @@ -997,9 +2156,11 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 16 - errorMessage: indentLevel: 0 - targetLabel: {fileID: 1269704343} + _targetLabel: + stringRef: {fileID: 0} + stringVal: My Label + targetLabelOLD: {fileID: 0} --- !u!114 &1269704345 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1013,10 +2174,12 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 124 - y: -39 + x: 120 + y: -40 width: 120 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 30 blockName: Test Labels description: @@ -1027,6 +2190,7 @@ MonoBehaviour: - {fileID: 1269704343} - {fileID: 1269704334} - {fileID: 1269704360} + suppressAllAutoSelections: 0 --- !u!114 &1269704346 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1039,7 +2203,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 34 - errorMessage: indentLevel: 0 text: Test Saving description: @@ -1049,6 +2212,9 @@ MonoBehaviour: booleanRef: {fileID: 0} booleanVal: 1 setMenuDialog: {fileID: 0} + hideThisOption: + booleanRef: {fileID: 0} + booleanVal: 0 --- !u!114 &1269704347 MonoBehaviour: m_ObjectHideFlags: 0 @@ -1061,7 +2227,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 52 - errorMessage: indentLevel: 0 storyText: 'Saved Value: {$MyFloat}' description: @@ -1074,6 +2239,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704348 MonoBehaviour: @@ -1087,7 +2253,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 23 - errorMessage: indentLevel: 0 key: SavedFloat variable: {fileID: 1269704316} @@ -1103,7 +2268,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 51 - errorMessage: indentLevel: 0 storyText: 'Loaded Value: {$MyFloat}' description: @@ -1116,6 +2280,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704350 MonoBehaviour: @@ -1129,10 +2294,97 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 21 - errorMessage: indentLevel: 0 - variable: {fileID: 1269704316} + anyVar: + variable: {fileID: 1269704316} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 2 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} setOperator: 0 + variable: {fileID: 0} booleanData: booleanRef: {fileID: 0} booleanVal: 0 @@ -1141,10 +2393,46 @@ MonoBehaviour: integerVal: 0 floatData: floatRef: {fileID: 0} - floatVal: 2 + floatVal: 0 stringData: stringRef: {fileID: 0} stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &1269704351 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1157,7 +2445,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 20 - errorMessage: indentLevel: 0 key: SavedFloat variable: {fileID: 1269704316} @@ -1173,7 +2460,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 33 - errorMessage: indentLevel: 0 text: Test If description: @@ -1183,6 +2469,9 @@ MonoBehaviour: booleanRef: {fileID: 0} booleanVal: 1 setMenuDialog: {fileID: 0} + hideThisOption: + booleanRef: {fileID: 0} + booleanVal: 0 --- !u!114 &1269704353 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1196,10 +2485,12 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 128 + x: 120 y: 20 width: 120 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 31 blockName: Test Saving description: @@ -1216,6 +2507,7 @@ MonoBehaviour: - {fileID: 1269704349} - {fileID: 1269704364} - {fileID: 1269704359} + suppressAllAutoSelections: 0 --- !u!114 &1269704354 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1228,7 +2520,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 27 - errorMessage: indentLevel: 0 commenterName: commentText: Load the saved MyFloat value from disk and display it @@ -1244,7 +2535,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 26 - errorMessage: indentLevel: 0 commenterName: commentText: Now change the MyFloat value and display it @@ -1260,7 +2550,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 25 - errorMessage: indentLevel: 0 commenterName: commentText: Save the current MyFloat value to disk @@ -1276,6 +2565,8 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 1269704358} + suppressBlockAutoSelect: 0 + waitForFrames: 1 --- !u!114 &1269704358 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1289,10 +2580,12 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: -84 - y: -73 + x: -80 + y: -80 width: 120 height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 itemId: 32 blockName: Show Menu description: @@ -1302,6 +2595,7 @@ MonoBehaviour: - {fileID: 1269704339} - {fileID: 1269704340} - {fileID: 1269704346} + suppressAllAutoSelections: 0 --- !u!114 &1269704359 MonoBehaviour: m_ObjectHideFlags: 2 @@ -1314,10 +2608,13 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 40 - errorMessage: indentLevel: 0 targetFlowchart: {fileID: 0} targetBlock: {fileID: 1269704358} + startLabel: + stringRef: {fileID: 0} + stringVal: + startIndex: 0 callMode: 0 --- !u!114 &1269704360 MonoBehaviour: @@ -1331,10 +2628,13 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 39 - errorMessage: indentLevel: 0 targetFlowchart: {fileID: 0} targetBlock: {fileID: 1269704358} + startLabel: + stringRef: {fileID: 0} + stringVal: + startIndex: 0 callMode: 0 --- !u!114 &1269704361 MonoBehaviour: @@ -1348,10 +2648,13 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 38 - errorMessage: indentLevel: 0 targetFlowchart: {fileID: 0} targetBlock: {fileID: 1269704358} + startLabel: + stringRef: {fileID: 0} + stringVal: + startIndex: 0 callMode: 0 --- !u!114 &1269704362 MonoBehaviour: @@ -1365,10 +2668,13 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 37 - errorMessage: indentLevel: 0 targetFlowchart: {fileID: 0} targetBlock: {fileID: 1269704358} + startLabel: + stringRef: {fileID: 0} + stringVal: + startIndex: 0 callMode: 0 --- !u!114 &1269704363 MonoBehaviour: @@ -1382,7 +2688,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 50 - errorMessage: indentLevel: 0 storyText: 'Current Value: {$MyFloat}' description: @@ -1395,6 +2700,7 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!114 &1269704364 MonoBehaviour: @@ -1408,7 +2714,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: itemId: 53 - errorMessage: indentLevel: 0 storyText: Test Saving Complete description: @@ -1421,16 +2726,17 @@ MonoBehaviour: fadeWhenDone: 1 waitForClick: 1 stopVoiceover: 1 + waitForVO: 0 setSayDialog: {fileID: 0} --- !u!1 &1671111970 GameObject: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 4 + serializedVersion: 5 m_Component: - - 4: {fileID: 1671111972} - - 114: {fileID: 1671111971} + - component: {fileID: 1671111972} + - component: {fileID: 1671111971} m_Layer: 0 m_Name: _FungusState m_TagString: Untagged @@ -1462,3 +2768,4 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Tests/Editor/FungusCollectionTests.cs b/Assets/Tests/Editor/FungusCollectionTests.cs new file mode 100644 index 00000000..dc2fe72b --- /dev/null +++ b/Assets/Tests/Editor/FungusCollectionTests.cs @@ -0,0 +1,373 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using NUnit.Framework; +using System.Collections.Generic; +using System.Linq; +using UnityEngine; + +namespace Fungus.Tests +{ + [TestFixture] + /// + /// It should be no surprise that all of these work, but it is worth confirming there isn't + /// a silly mistake somewhere + /// + public class CollectionTests + { + private Fungus.GameObjectCollection goCol; + private Fungus.IntCollection intColA, intColB; + + [Test] + public void AddRemove() + { + Assert.NotNull(intColA); + Assert.NotNull(intColB); + + const int Items = 10; + const int ItemIndexToRemove = 3; + const int ValueToRemove = 1; + const int ValueToAddUnique = ValueToRemove; + const int ValueToAddDups = ValueToAddUnique; + const int MinBVal = 7; + const int SizeAAfterBRem = Items - (Items - MinBVal); + + //add items ensure indicies match + for (int i = 0; i < Items; i++) + { + //added at expected index + Assert.AreEqual(i, intColA.Add(i)); + //value at index matches expected value + Assert.AreEqual(i, intColA.Get(i)); + } + + //ensure count matches items added + Assert.AreEqual(Items, intColA.Count); + + var valAtRemoveIndex = intColA.GetSafe(ItemIndexToRemove); + intColA.RemoveAt(ItemIndexToRemove); + Assert.AreEqual(Items - 1, intColA.Count); + + intColA.Insert(ItemIndexToRemove, valAtRemoveIndex); + Assert.AreEqual(valAtRemoveIndex, intColA.GetSafe(ItemIndexToRemove)); + + intColA.Remove(ValueToRemove); + Assert.AreEqual(Items - 1, intColA.Count); + + //multiple calls to add unique to get back the value we removed and ensure unique works + for (int i = 0; i < Items; i++) + { + intColA.AddUnique(ValueToAddUnique); + } + Assert.AreEqual(Items, intColA.Count); + + //now add a bunch of dups, so we can remove all of them + for (int i = 0; i < Items; i++) + { + intColA.Add(ValueToAddDups); + } + intColA.RemoveAll(ValueToAddDups); + Assert.AreEqual(Items - 1, intColA.Count); + + //put it back + intColA.Add(ValueToAddDups); + + //now add a bunch of items to the colB and remove all of them from colA + for (int i = MinBVal; i < Items; i++) + { + intColB.Add(i); + } + intColA.RemoveAll(intColB); + Assert.AreEqual(intColA.Count, SizeAAfterBRem);// all of b should be gone + + intColA.Add(intColB.Get(0)); + intColA.AddUnique(intColB);//ensure intColB[0] doesn't double + Assert.AreEqual(intColA.Count, Items);// all of b should be back in there now + + intColA.Add(intColB); + intColA.Unique(); + Assert.IsTrue(intColA.Count == Items); + + intColA.RemoveAll(intColA);//should be equiv to clear + intColB.Clear(); + Assert.AreEqual(intColA.Count, 0); + Assert.AreEqual(intColB.Count, 0); + + intColA.Clear(); + intColB.Clear(); + } + + [Test] + public void Compat() + { + Assert.IsTrue(intColA.IsElementCompatible(7)); + Assert.IsTrue(intColA.IsCollectionCompatible(intColB)); + Assert.IsTrue(intColA.IsCollectionCompatible(new int[] { 1 })); + Assert.IsTrue(intColA.IsCollectionCompatible(new List())); + Assert.IsTrue(intColA.IsCollectionCompatible(new List())); + + Assert.IsFalse(intColA.IsElementCompatible(Vector3.up)); + Assert.IsFalse(intColA.IsCollectionCompatible(goCol)); + Assert.IsFalse(intColA.IsCollectionCompatible(new Color[] { Color.white })); + Assert.IsFalse(intColA.IsCollectionCompatible(new List())); + Assert.IsFalse(intColA.IsCollectionCompatible(new List())); + } + + [Test] + public void Copy() + { + const int Items = 10; + + for (int i = 0; i < Items; i++) + { + intColA.Add(i); + } + + intColB.CopyFrom(intColA); + + for (int i = 0; i < intColA.Count; i++) + { + Assert.AreEqual(intColA[i], intColB[i]); + } + + //test enumerator + var enumer = intColA.GetEnumerator(); + var index = 0; + while (enumer.MoveNext()) + { + Assert.AreEqual(enumer.Current, intColB[index++]); + } + + intColB.Clear(); + intColB.Add(intColA); + + for (int i = 0; i < intColA.Count; i++) + { + Assert.AreEqual(intColA[i], intColB[i]); + } + + intColB.Clear(); + int[] copyDest = new int[intColA.Count]; + intColA.CopyTo(copyDest, 0); + + for (int i = 0; i < intColA.Count; i++) + { + Assert.AreEqual(intColA[i], copyDest[i]); + } + + //now back again + intColA.Clear(); + intColA.CopyFrom(copyDest); + for (int i = 0; i < intColA.Count; i++) + { + Assert.AreEqual(intColA[i], copyDest[i]); + } + + //now lists + intColA.Clear(); + intColA.CopyFrom(copyDest.ToList()); + for (int i = 0; i < intColA.Count; i++) + { + Assert.AreEqual(intColA[i], copyDest[i]); + } + + intColA.Clear(); + intColB.Clear(); + } + + [OneTimeTearDown] + public void DestroyTestObjects() + { + Object.DestroyImmediate(intColA.gameObject); + Object.DestroyImmediate(intColB.gameObject); + Object.DestroyImmediate(goCol.gameObject); + } + + [Test] + public void Exclusive() + { + const int Items = 10; + const int Step = 5; + + for (int i = 0; i < Items; i++) + { + intColA.Add(i); + intColB.Add(i + Step); + } + + intColA.Exclusive(intColB); + + for (int i = 0; i < intColA.Count; i++) + { + Assert.IsTrue(intColA.GetSafe(i) < Step || intColA.GetSafe(i) >= Items); + } + + Assert.AreEqual(intColA.Count, Items); + + intColA.Clear(); + intColB.Clear(); + } + + [Test] + public void Finds() + { + const int Items = 10; + const int TargetItemValue = 5; + const int TargetItemIndex = 5; + const int BItems = 3; + + for (int i = 0; i < Items; i++) + { + intColA.Add(i); + } + + //add a dup, test first and last, remove dup + intColA.Add(TargetItemValue); + Assert.AreEqual(intColA.IndexOf(TargetItemValue), TargetItemIndex); + Assert.IsTrue(intColA.Contains(TargetItemValue)); + Assert.AreEqual(intColA.Occurrences(TargetItemValue), 2); + Assert.AreEqual(intColA.LastIndexOf(TargetItemValue), intColA.Count - 1); + intColA.RemoveAt(intColA.Count - 1); + + //any of, put some in colb + for (int i = 0; i < BItems; i++) + { + intColB.Add(i); + } + Assert.IsTrue(intColA.ContainsAnyOf(intColB)); + + //clear be, put all of in col b + intColB.Clear(); + intColB.Add(intColA); + + //contain ordered + Assert.IsTrue(intColA.ContainsAllOfOrdered(intColB)); + + //shuffle + EnsureShuffledDifferent(intColB); + + //contain ordered must fail + Assert.IsFalse(intColA.ContainsAllOfOrdered(intColB)); + //contain all of must true + Assert.IsTrue(intColA.ContainsAllOf(intColB)); + + intColA.Clear(); + intColB.Clear(); + } + + [Test] + public void GetSet() + { + const int ValueA = 1, ValueB = 2; + intColA.Add(ValueA); + Assert.AreEqual(ValueA, intColA[0]); + Assert.AreEqual(ValueA, intColA.Get(0)); + Assert.AreEqual(ValueA, intColA.GetSafe(0)); + + intColA.Set(0, ValueB); + Assert.AreEqual(ValueB, intColA[0]); + intColA[0] = ValueA; + Assert.AreEqual(ValueA, intColA[0]); + + intColA.Clear(); + intColB.Clear(); + } + + [OneTimeSetUp] + public void InitTestObjects() + { + intColA = new GameObject().AddComponent(); + intColB = new GameObject().AddComponent(); + goCol = new GameObject().AddComponent(); + } + + [Test] + public void Intersection() + { + const int Items = 10; + const int Step = 5; + + for (int i = 0; i < Items; i++) + { + intColA.Add(i); + intColB.Add(i + Step); + } + + intColA.Intersection(intColB); + + for (int i = 0; i < intColA.Count; i++) + { + Assert.IsTrue(intColA.GetSafe(i) >= Step || intColA.GetSafe(i) < Items); + } + + Assert.AreEqual(intColA.Count, Step); + + intColA.Clear(); + intColB.Clear(); + } + + [Test] + public void Size() + { + intColA.Capacity = 10; + + var startCap = intColA.Capacity; + var startCount = intColA.Count; + + intColA.Capacity *= 10; + Assert.Greater(intColA.Capacity, startCap); + startCap = intColA.Capacity; + Assert.AreEqual(startCount, intColA.Count); + intColA.Reserve(intColA.Capacity * 10); + Assert.Greater(intColA.Capacity, startCap); + + intColA.Resize(startCount + 10); + Assert.AreEqual(startCount + 10, intColA.Count); + + intColA.Clear(); + intColB.Clear(); + } + + [Test] + public void Sort() + { + const int Items = 10; + + for (int i = 0; i < Items; i++) + { + intColA.Add(i); + } + + //other tests ensure that all actually works + EnsureShuffledDifferent(intColA); + intColA.Sort(); + + for (int i = 0; i < Items; i++) + { + Assert.AreEqual(i, intColA[i]); + } + + //are they now mirrored + intColA.Reverse(); + for (int i = 0; i < Items; i++) + { + Assert.AreEqual(i, intColA[Items - i - 1]); + } + + intColA.Clear(); + intColB.Clear(); + } + + private void EnsureShuffledDifferent(Fungus.IntCollection col) + { + var startval = col.GetSafe(0); + col.Shuffle(); + //don't let shuffle result in the same seq + if (col.GetSafe(0) == startval) + { + col[0] = col[col.Count - 1]; + col[col.Count - 1] = startval; + } + } + } +} \ No newline at end of file diff --git a/Assets/Tests/Editor/FungusCollectionTests.cs.meta b/Assets/Tests/Editor/FungusCollectionTests.cs.meta new file mode 100644 index 00000000..b090d209 --- /dev/null +++ b/Assets/Tests/Editor/FungusCollectionTests.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9bbcb5dcb608f4841a2e685ace36df11 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Editor/FungusConversationParseTests.cs b/Assets/Tests/Editor/FungusConversationParseTests.cs index a7e77045..a2fab7f4 100644 --- a/Assets/Tests/Editor/FungusConversationParseTests.cs +++ b/Assets/Tests/Editor/FungusConversationParseTests.cs @@ -1,4 +1,7 @@ -using NUnit.Framework; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using NUnit.Framework; using System.Collections.Generic; public class FungusConversationParseTests diff --git a/Assets/Tests/Editor/FungusEditorTests.asmdef b/Assets/Tests/Editor/FungusEditorTests.asmdef new file mode 100644 index 00000000..17460b7e --- /dev/null +++ b/Assets/Tests/Editor/FungusEditorTests.asmdef @@ -0,0 +1,23 @@ +{ + "name": "FungusEditorTests", + "references": [ + "UnityEngine.TestRunner", + "UnityEditor.TestRunner", + "Fungus", + "FungusEditor" + ], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": true, + "precompiledReferences": [ + "nunit.framework.dll" + ], + "autoReferenced": false, + "defineConstraints": [ + "UNITY_INCLUDE_TESTS" + ], + "versionDefines": [] +} \ No newline at end of file diff --git a/Assets/Tests/Editor/FungusEditorTests.asmdef.meta b/Assets/Tests/Editor/FungusEditorTests.asmdef.meta new file mode 100644 index 00000000..0189eec4 --- /dev/null +++ b/Assets/Tests/Editor/FungusEditorTests.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2cfb67c2f5eea424fba8c36f4f754aab +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Editor/FungusPrioritySignalsTest.cs b/Assets/Tests/Editor/FungusPrioritySignalsTest.cs index 8a54946a..a59a31fb 100644 --- a/Assets/Tests/Editor/FungusPrioritySignalsTest.cs +++ b/Assets/Tests/Editor/FungusPrioritySignalsTest.cs @@ -1,89 +1,87 @@ -using UnityEngine; -using UnityEditor; -using UnityEngine.TestTools; -using NUnit.Framework; -using System.Collections; - -public class FungusPrioritySignalsTest { - - private int changeCallCount, startCallCount, endCallCount; - - [Test] - public void CountsAndSignals() - { - Fungus.FungusPrioritySignals.OnFungusPriorityStart += FungusPrioritySignals_OnFungusPriorityStart; - Fungus.FungusPrioritySignals.OnFungusPriorityEnd += FungusPrioritySignals_OnFungusPriorityEnd; - Fungus.FungusPrioritySignals.OnFungusPriorityChange += FungusPrioritySignals_OnFungusPriorityChange; - - Assert.Zero(Fungus.FungusPrioritySignals.CurrentPriorityDepth); - - Fungus.FungusPrioritySignals.DoIncreasePriorityDepth(); - //one start, one change, no end, 1 depth - Assert.AreEqual(0, endCallCount); - Assert.AreEqual(1, startCallCount); - Assert.AreEqual(1, changeCallCount); - Assert.AreEqual(1, Fungus.FungusPrioritySignals.CurrentPriorityDepth); - - - - Fungus.FungusPrioritySignals.DoIncreasePriorityDepth(); - //one start, 2 change, no end, 2 depth - Assert.AreEqual(0, endCallCount); - Assert.AreEqual(1, startCallCount); - Assert.AreEqual(2, changeCallCount); - Assert.AreEqual(2, Fungus.FungusPrioritySignals.CurrentPriorityDepth); - - - Fungus.FungusPrioritySignals.DoIncreasePriorityDepth(); - //one start, 3 change, no end, 3 depth - Assert.AreEqual(0, endCallCount); - Assert.AreEqual(1, startCallCount); - Assert.AreEqual(3, changeCallCount); - Assert.AreEqual(3, Fungus.FungusPrioritySignals.CurrentPriorityDepth); - +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) - Fungus.FungusPrioritySignals.DoDecreasePriorityDepth(); - //one start, 4 change, no end, 2 depth - Assert.AreEqual(0, endCallCount); - Assert.AreEqual(1, startCallCount); - Assert.AreEqual(4, changeCallCount); - Assert.AreEqual(2, Fungus.FungusPrioritySignals.CurrentPriorityDepth); - - - Fungus.FungusPrioritySignals.DoDecreasePriorityDepth(); - Fungus.FungusPrioritySignals.DoDecreasePriorityDepth(); - //one start, 6 change, 1 end, 0 depth - Assert.AreEqual(1, endCallCount); - Assert.AreEqual(1, startCallCount); - Assert.AreEqual(6, changeCallCount); - Assert.AreEqual(0, Fungus.FungusPrioritySignals.CurrentPriorityDepth); - - Fungus.FungusPrioritySignals.OnFungusPriorityStart -= FungusPrioritySignals_OnFungusPriorityStart; - Fungus.FungusPrioritySignals.OnFungusPriorityEnd -= FungusPrioritySignals_OnFungusPriorityEnd; - Fungus.FungusPrioritySignals.OnFungusPriorityChange -= FungusPrioritySignals_OnFungusPriorityChange; - - //unsubbed so all the same - Fungus.FungusPrioritySignals.DoIncreasePriorityDepth(); - Fungus.FungusPrioritySignals.DoDecreasePriorityDepth(); - //one start, 6 change, 1 end, 0 depth - Assert.AreEqual(1, endCallCount); - Assert.AreEqual(1, startCallCount); - Assert.AreEqual(6, changeCallCount); - Assert.AreEqual(0, Fungus.FungusPrioritySignals.CurrentPriorityDepth); - } - - private void FungusPrioritySignals_OnFungusPriorityChange(int previousActiveDepth, int newActiveDepth) - { - changeCallCount++; - } - - private void FungusPrioritySignals_OnFungusPriorityEnd() - { - endCallCount++; - } +using NUnit.Framework; - private void FungusPrioritySignals_OnFungusPriorityStart() +namespace Fungus.Tests +{ + [TestFixture] + public class PrioritySignalsTest { - startCallCount++; + private int changeCallCount, startCallCount, endCallCount; + + [Test] + public void CountsAndSignals() + { + Fungus.FungusPrioritySignals.OnFungusPriorityStart += FungusPrioritySignals_OnFungusPriorityStart; + Fungus.FungusPrioritySignals.OnFungusPriorityEnd += FungusPrioritySignals_OnFungusPriorityEnd; + Fungus.FungusPrioritySignals.OnFungusPriorityChange += FungusPrioritySignals_OnFungusPriorityChange; + + Assert.Zero(Fungus.FungusPrioritySignals.CurrentPriorityDepth); + + Fungus.FungusPrioritySignals.DoIncreasePriorityDepth(); + //one start, one change, no end, 1 depth + Assert.AreEqual(0, endCallCount); + Assert.AreEqual(1, startCallCount); + Assert.AreEqual(1, changeCallCount); + Assert.AreEqual(1, Fungus.FungusPrioritySignals.CurrentPriorityDepth); + + Fungus.FungusPrioritySignals.DoIncreasePriorityDepth(); + //one start, 2 change, no end, 2 depth + Assert.AreEqual(0, endCallCount); + Assert.AreEqual(1, startCallCount); + Assert.AreEqual(2, changeCallCount); + Assert.AreEqual(2, Fungus.FungusPrioritySignals.CurrentPriorityDepth); + + Fungus.FungusPrioritySignals.DoIncreasePriorityDepth(); + //one start, 3 change, no end, 3 depth + Assert.AreEqual(0, endCallCount); + Assert.AreEqual(1, startCallCount); + Assert.AreEqual(3, changeCallCount); + Assert.AreEqual(3, Fungus.FungusPrioritySignals.CurrentPriorityDepth); + + Fungus.FungusPrioritySignals.DoDecreasePriorityDepth(); + //one start, 4 change, no end, 2 depth + Assert.AreEqual(0, endCallCount); + Assert.AreEqual(1, startCallCount); + Assert.AreEqual(4, changeCallCount); + Assert.AreEqual(2, Fungus.FungusPrioritySignals.CurrentPriorityDepth); + + Fungus.FungusPrioritySignals.DoDecreasePriorityDepth(); + Fungus.FungusPrioritySignals.DoDecreasePriorityDepth(); + //one start, 6 change, 1 end, 0 depth + Assert.AreEqual(1, endCallCount); + Assert.AreEqual(1, startCallCount); + Assert.AreEqual(6, changeCallCount); + Assert.AreEqual(0, Fungus.FungusPrioritySignals.CurrentPriorityDepth); + + Fungus.FungusPrioritySignals.OnFungusPriorityStart -= FungusPrioritySignals_OnFungusPriorityStart; + Fungus.FungusPrioritySignals.OnFungusPriorityEnd -= FungusPrioritySignals_OnFungusPriorityEnd; + Fungus.FungusPrioritySignals.OnFungusPriorityChange -= FungusPrioritySignals_OnFungusPriorityChange; + + //unsubbed so all the same + Fungus.FungusPrioritySignals.DoIncreasePriorityDepth(); + Fungus.FungusPrioritySignals.DoDecreasePriorityDepth(); + //one start, 6 change, 1 end, 0 depth + Assert.AreEqual(1, endCallCount); + Assert.AreEqual(1, startCallCount); + Assert.AreEqual(6, changeCallCount); + Assert.AreEqual(0, Fungus.FungusPrioritySignals.CurrentPriorityDepth); + } + + private void FungusPrioritySignals_OnFungusPriorityChange(int previousActiveDepth, int newActiveDepth) + { + changeCallCount++; + } + + private void FungusPrioritySignals_OnFungusPriorityEnd() + { + endCallCount++; + } + + private void FungusPrioritySignals_OnFungusPriorityStart() + { + startCallCount++; + } } -} +} \ No newline at end of file diff --git a/Assets/Tests/Editor/FungusTextVariationSelectionTests.cs b/Assets/Tests/Editor/FungusTextVariationSelectionTests.cs index 52eabd47..64d2937f 100644 --- a/Assets/Tests/Editor/FungusTextVariationSelectionTests.cs +++ b/Assets/Tests/Editor/FungusTextVariationSelectionTests.cs @@ -1,114 +1,118 @@ -using UnityEngine; -using UnityEngine.TestTools; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using NUnit.Framework; -using System.Collections; -public class FungusTextVariationSelectionTests +namespace Fungus.Tests { - [Test] - public void SimpleSequenceSelection() - { - Fungus.TextVariationHandler.ClearHistory(); - - string startingText = @"This is test [a|b|c]"; - string startingTextA = @"This is test a"; - string startingTextB = @"This is test b"; - string startingTextC = @"This is test c"; - - string res = string.Empty; - - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextA); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextB); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextC); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextC); - } - - [Test] - public void SimpleCycleSelection() + [TestFixture] + public class TextVariationSelectionTests { - Fungus.TextVariationHandler.ClearHistory(); - - string startingText = @"This is test [&a|b|c]"; - string startingTextA = @"This is test a"; - string startingTextB = @"This is test b"; - string startingTextC = @"This is test c"; - - string res = string.Empty; - - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextA); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextB); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextC); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextA); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextB); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextC); - } + [Test] + public void SimpleSequenceSelection() + { + Fungus.TextVariationHandler.ClearHistory(); + + string startingText = @"This is test [a|b|c]"; + string startingTextA = @"This is test a"; + string startingTextB = @"This is test b"; + string startingTextC = @"This is test c"; + + string res = string.Empty; + + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextA); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextB); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextC); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextC); + } - [Test] - public void SimpleOnceSelection() - { - Fungus.TextVariationHandler.ClearHistory(); - - string startingText = @"This is test [!a|b|c]"; - string startingTextA = @"This is test a"; - string startingTextB = @"This is test b"; - string startingTextC = @"This is test c"; - string startingTextD = @"This is test "; - - string res = string.Empty; - - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextA); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextB); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextC); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextD); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextD); - } + [Test] + public void SimpleCycleSelection() + { + Fungus.TextVariationHandler.ClearHistory(); + + string startingText = @"This is test [&a|b|c]"; + string startingTextA = @"This is test a"; + string startingTextB = @"This is test b"; + string startingTextC = @"This is test c"; + + string res = string.Empty; + + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextA); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextB); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextC); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextA); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextB); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextC); + } - [Test] - public void NestedSelection() - { - Fungus.TextVariationHandler.ClearHistory(); - - string startingText = @"This is test [a||sub [~a|b]|[!b|[~c|d]]]"; - string startingTextA = @"This is test a"; - string startingTextBlank = @"This is test "; - string startingTextSubA = @"This is test sub a"; - string startingTextSubB = @"This is test sub b"; - string startingTextB = @"This is test b"; - string startingTextC = @"This is test c"; - string startingTextD = @"This is test d"; - - string res = string.Empty; - - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextA); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextBlank); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - if(res != startingTextSubA && res != startingTextSubB) + [Test] + public void SimpleOnceSelection() { - Assert.Fail(); + Fungus.TextVariationHandler.ClearHistory(); + + string startingText = @"This is test [!a|b|c]"; + string startingTextA = @"This is test a"; + string startingTextB = @"This is test b"; + string startingTextC = @"This is test c"; + string startingTextD = @"This is test "; + + string res = string.Empty; + + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextA); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextB); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextC); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextD); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextD); } - res = Fungus.TextVariationHandler.SelectVariations(startingText); - Assert.AreEqual(res, startingTextB); - res = Fungus.TextVariationHandler.SelectVariations(startingText); - if (res != startingTextC && res != startingTextD) + + [Test] + public void NestedSelection() { - Assert.Fail(); + Fungus.TextVariationHandler.ClearHistory(); + + string startingText = @"This is test [a||sub [~a|b]|[!b|[~c|d]]]"; + string startingTextA = @"This is test a"; + string startingTextBlank = @"This is test "; + string startingTextSubA = @"This is test sub a"; + string startingTextSubB = @"This is test sub b"; + string startingTextB = @"This is test b"; + string startingTextC = @"This is test c"; + string startingTextD = @"This is test d"; + + string res = string.Empty; + + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextA); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextBlank); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + if (res != startingTextSubA && res != startingTextSubB) + { + Assert.Fail(); + } + res = Fungus.TextVariationHandler.SelectVariations(startingText); + Assert.AreEqual(res, startingTextB); + res = Fungus.TextVariationHandler.SelectVariations(startingText); + if (res != startingTextC && res != startingTextD) + { + Assert.Fail(); + } } } -} +} \ No newline at end of file diff --git a/Assets/Tests/Editor/GenerateEverythingMenuItem.cs b/Assets/Tests/Editor/GenerateEverythingMenuItem.cs index 78dd23fa..5cd4cd24 100644 --- a/Assets/Tests/Editor/GenerateEverythingMenuItem.cs +++ b/Assets/Tests/Editor/GenerateEverythingMenuItem.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using System.Collections.Generic; using UnityEditor; using UnityEngine; diff --git a/Assets/Tests/Editor/Resources.meta b/Assets/Tests/Editor/Resources.meta new file mode 100644 index 00000000..2e391261 --- /dev/null +++ b/Assets/Tests/Editor/Resources.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 596442f60f094a346b35a34573cba376 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Editor/Resources/FlowTest.prefab b/Assets/Tests/Editor/Resources/FlowTest.prefab new file mode 100644 index 00000000..3ed54544 --- /dev/null +++ b/Assets/Tests/Editor/Resources/FlowTest.prefab @@ -0,0 +1,1387 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2758424169659455326 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7240997158777818336} + - component: {fileID: 3850397277397727160} + - component: {fileID: 7356800416925351087} + - component: {fileID: 87959489459996888} + - component: {fileID: 2954645303775605044} + - component: {fileID: 1899702518119212923} + - component: {fileID: 3087442754994311981} + - component: {fileID: 1238067881879420812} + - component: {fileID: 4606284581858767047} + - component: {fileID: 7621839359048070760} + - component: {fileID: 1326477007613712269} + - component: {fileID: 2387897437584421803} + - component: {fileID: 705025969387883113} + - component: {fileID: 248897192821599427} + - component: {fileID: 6067805584139267306} + - component: {fileID: 1837733036675631282} + - component: {fileID: 3903875137651807250} + - component: {fileID: 1561146365906619590} + - component: {fileID: 7673633067840976455} + - component: {fileID: 2181259217738459905} + - component: {fileID: 4609871670555540586} + - component: {fileID: 177005780822076029} + m_Layer: 0 + m_Name: FlowTests + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &7240997158777818336 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 793, y: 446, 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 &3850397277397727160 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: 0, y: 0} + variablesScrollPos: {x: 0, y: 0} + variablesExpanded: 1 + blockViewHeight: 428 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + selectedBlocks: [] + selectedCommands: [] + variables: + - {fileID: 1899702518119212923} + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!114 &7356800416925351087 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 194 + y: 111 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: NestedIf + description: + eventHandler: {fileID: 0} + commandList: + - {fileID: 87959489459996888} + - {fileID: 4606284581858767047} + - {fileID: 1238067881879420812} + - {fileID: 1326477007613712269} + - {fileID: 6067805584139267306} + - {fileID: 3903875137651807250} + - {fileID: 1837733036675631282} + - {fileID: 2387897437584421803} + - {fileID: 248897192821599427} + - {fileID: 705025969387883113} + - {fileID: 1561146365906619590} + - {fileID: 7673633067840976455} + - {fileID: 177005780822076029} + - {fileID: 4609871670555540586} + - {fileID: 2181259217738459905} + - {fileID: 3087442754994311981} + - {fileID: 7621839359048070760} + - {fileID: 2954645303775605044} + suppressAllAutoSelections: 0 +--- !u!114 &87959489459996888 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + compareOperator: 0 + anyVar: + variable: {fileID: 1899702518119212923} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &2954645303775605044 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 2 + indentLevel: 0 +--- !u!114 &1899702518119212923 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var + value: 1 +--- !u!114 &3087442754994311981 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3fa968f01a7f9496bb50e13dfe16760d, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 3 + indentLevel: 0 +--- !u!114 &1238067881879420812 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 18c5e8d46183346b59f64b820e71f97f, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 4 + indentLevel: 0 + compareOperator: 0 + anyVar: + variable: {fileID: 1899702518119212923} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 1 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &4606284581858767047 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8d1a861c2b31cf8488fd9d576d533474, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 1 + message: + stringRef: {fileID: 0} + stringVal: +--- !u!114 &7621839359048070760 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8d1a861c2b31cf8488fd9d576d533474, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 6 + indentLevel: 1 + message: + stringRef: {fileID: 0} + stringVal: +--- !u!114 &1326477007613712269 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 7 + indentLevel: 1 + anyVar: + variable: {fileID: 1899702518119212923} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 2 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &2387897437584421803 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 18c5e8d46183346b59f64b820e71f97f, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 8 + indentLevel: 0 + compareOperator: 0 + anyVar: + variable: {fileID: 1899702518119212923} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 2 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &705025969387883113 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8d1a861c2b31cf8488fd9d576d533474, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 9 + indentLevel: 1 + message: + stringRef: {fileID: 0} + stringVal: +--- !u!114 &248897192821599427 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ea6e8f632db87477eb750446b28d73a3, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 10 + indentLevel: 1 + commenterName: + commentText: This is here to ensire that the else if is skipped over after the previous + one is found to be true. +--- !u!114 &6067805584139267306 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 11 + indentLevel: 1 + compareOperator: 0 + anyVar: + variable: {fileID: 1899702518119212923} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1837733036675631282 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 12 + indentLevel: 1 +--- !u!114 &3903875137651807250 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ea6e8f632db87477eb750446b28d73a3, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 13 + indentLevel: 2 + commenterName: + commentText: a trap to ensure the end is found not the non matching elif below +--- !u!114 &1561146365906619590 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 14 + indentLevel: 1 + compareOperator: 0 + anyVar: + variable: {fileID: 1899702518119212923} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &7673633067840976455 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 18c5e8d46183346b59f64b820e71f97f, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 15 + indentLevel: 1 + compareOperator: 0 + anyVar: + variable: {fileID: 1899702518119212923} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 2 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &2181259217738459905 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 16 + indentLevel: 1 +--- !u!114 &4609871670555540586 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ea6e8f632db87477eb750446b28d73a3, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 17 + indentLevel: 2 + commenterName: + commentText: also a trap to ensure the if within the elif 1 doesn't find this +--- !u!114 &177005780822076029 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2758424169659455326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8d1a861c2b31cf8488fd9d576d533474, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 18 + indentLevel: 2 + message: + stringRef: {fileID: 0} + stringVal: diff --git a/Assets/Tests/Editor/Resources/FlowTest.prefab.meta b/Assets/Tests/Editor/Resources/FlowTest.prefab.meta new file mode 100644 index 00000000..d165cea6 --- /dev/null +++ b/Assets/Tests/Editor/Resources/FlowTest.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 4bf4a90a4d8ad6846a5e8a697a913a28 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Editor/Resources/LoopTest.prefab b/Assets/Tests/Editor/Resources/LoopTest.prefab new file mode 100644 index 00000000..a957a054 --- /dev/null +++ b/Assets/Tests/Editor/Resources/LoopTest.prefab @@ -0,0 +1,1320 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &5822172677840050586 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5822172677840050619} + - component: {fileID: 5822172677840050618} + - component: {fileID: 5822172677840050621} + - component: {fileID: 5822172677840050620} + - component: {fileID: 5822172677840050623} + - component: {fileID: 5822172677840050622} + - component: {fileID: 5822172677840050609} + - component: {fileID: 5822172677840050608} + - component: {fileID: 5822172677840050611} + - component: {fileID: 5822172677840050610} + - component: {fileID: 5822172677840050613} + - component: {fileID: 5822172677840050600} + - component: {fileID: 5822172677840050603} + - component: {fileID: 5822172677840050602} + - component: {fileID: 5822172677840050605} + - component: {fileID: 5822172677840050604} + - component: {fileID: 5822172677840050607} + - component: {fileID: 5822172677840050606} + - component: {fileID: 5822172677840050593} + - component: {fileID: 5822172677840050592} + - component: {fileID: 5822172677840050594} + - component: {fileID: 5822172677840050597} + - component: {fileID: 5822172677840050596} + - component: {fileID: 5822172677840050599} + - component: {fileID: 5822172677840050587} + - component: {fileID: 7983348174402538734} + - component: {fileID: 8557577880712409359} + - component: {fileID: 4503329534016678598} + - component: {fileID: 1133737071121446639} + m_Layer: 0 + m_Name: LoopTest + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5822172677840050619 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 793, y: 446, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 5822172678259928990} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &5822172677840050618 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: -48, y: -73} + variablesScrollPos: {x: 0, y: 0} + variablesExpanded: 1 + blockViewHeight: 447 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + selectedBlocks: [] + selectedCommands: [] + variables: + - {fileID: 5822172677840050623} + - {fileID: 5822172677840050611} + - {fileID: 5822172677840050587} + - {fileID: 7983348174402538734} + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!114 &5822172677840050621 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 230 + y: 190 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: while loop + description: + eventHandler: {fileID: 0} + commandList: + - {fileID: 5822172677840050620} + - {fileID: 5822172677840050597} + - {fileID: 5822172677840050600} + - {fileID: 5822172677840050602} + - {fileID: 5822172677840050603} + - {fileID: 5822172677840050622} + - {fileID: 5822172677840050609} + - {fileID: 8557577880712409359} + suppressAllAutoSelections: 0 +--- !u!114 &5822172677840050620 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 663c8a7831a104d16ad7078a4dc2bd10, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + compareOperator: 2 + anyVar: + variable: {fileID: 5822172677840050623} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 50 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &5822172677840050623 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: while_counter + value: 0 +--- !u!114 &5822172677840050622 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 2 + indentLevel: 1 + anyVar: + variable: {fileID: 5822172677840050623} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 1 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 2 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &5822172677840050609 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 3 + indentLevel: 0 +--- !u!114 &5822172677840050608 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 236 + y: 245 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 4 + blockName: for loop + description: + eventHandler: {fileID: 0} + commandList: + - {fileID: 5822172677840050610} + - {fileID: 5822172677840050596} + - {fileID: 5822172677840050605} + - {fileID: 5822172677840050607} + - {fileID: 5822172677840050613} + - {fileID: 5822172677840050604} + - {fileID: 4503329534016678598} + suppressAllAutoSelections: 0 +--- !u!114 &5822172677840050611 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: looprange + value: 0 +--- !u!114 &5822172677840050610 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b0eebb5bf2fc1e542a35e2e5332e60d4, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 0 + startingValue: + integerRef: {fileID: 0} + integerVal: 0 + endValue: + integerRef: {fileID: 0} + integerVal: 50 + counter: + integerRef: {fileID: 5822172677840050611} + integerVal: 0 + step: + integerRef: {fileID: 0} + integerVal: 1 +--- !u!114 &5822172677840050613 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 6 + indentLevel: 1 +--- !u!114 &5822172677840050600 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 11 + indentLevel: 1 + compareOperator: 5 + anyVar: + variable: {fileID: 5822172677840050623} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 7983348174402538734} + integerVal: 5 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &5822172677840050603 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 12 + indentLevel: 1 +--- !u!114 &5822172677840050602 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c9b9c7a9785c34fc889da2b3a40344db, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 13 + indentLevel: 2 +--- !u!114 &5822172677840050605 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 14 + indentLevel: 1 + compareOperator: 5 + anyVar: + variable: {fileID: 5822172677840050611} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 7983348174402538734} + integerVal: 5 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &5822172677840050604 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 15 + indentLevel: 0 +--- !u!114 &5822172677840050607 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c9b9c7a9785c34fc889da2b3a40344db, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 16 + indentLevel: 2 +--- !u!114 &5822172677840050606 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 233 + y: 299 + width: 124 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 17 + blockName: int col looper + description: + eventHandler: {fileID: 0} + commandList: + - {fileID: 5822172677840050594} + - {fileID: 5822172677840050593} + - {fileID: 5822172677840050599} + - {fileID: 1133737071121446639} + - {fileID: 5822172677840050592} + suppressAllAutoSelections: 0 +--- !u!114 &5822172677840050593 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1ce547d5384ce3a41b7142cab8ab41dd, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 18 + indentLevel: 0 + collection: + collectionRef: {fileID: 0} + collectionVal: {fileID: 5822172678259928977} + item: {fileID: 5822172677840050587} + curIndex: + integerRef: {fileID: 5822172677840050623} + integerVal: 0 +--- !u!114 &5822172677840050592 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 19 + indentLevel: 0 +--- !u!114 &5822172677840050594 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 21 + indentLevel: 0 + anyVar: + variable: {fileID: 5822172677840050587} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 1 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &5822172677840050597 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: de9232e9295ed476a8cfb707b5c242b9, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 22 + indentLevel: 1 + frameCount: + integerRef: {fileID: 0} + integerVal: 1 +--- !u!114 &5822172677840050596 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: de9232e9295ed476a8cfb707b5c242b9, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 23 + indentLevel: 1 + frameCount: + integerRef: {fileID: 0} + integerVal: 1 +--- !u!114 &5822172677840050599 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: de9232e9295ed476a8cfb707b5c242b9, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 24 + indentLevel: 1 + frameCount: + integerRef: {fileID: 0} + integerVal: 1 +--- !u!114 &5822172677840050587 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: int_item + value: 0 +--- !u!114 &7983348174402538734 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: while_limit + value: 5 +--- !u!114 &8557577880712409359 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 25 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: While loop beyond break count + a: {fileID: 7983348174402538734} + b: {fileID: 5822172677840050623} + method: 0 +--- !u!114 &4503329534016678598 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 26 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: for limit exceeded + a: {fileID: 5822172677840050611} + b: {fileID: 7983348174402538734} + method: 0 +--- !u!114 &1133737071121446639 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172677840050586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 27 + indentLevel: 1 + message: + stringRef: {fileID: 0} + stringVal: for limit exceeded + a: {fileID: 5822172677840050587} + b: {fileID: 5822172677840050623} + method: 0 +--- !u!1 &5822172678259928976 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5822172678259928990} + - component: {fileID: 5822172678259928977} + m_Layer: 0 + m_Name: IntCol + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5822172678259928990 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172678259928976} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -793, y: -446, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 5822172677840050619} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &5822172678259928977 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5822172678259928976} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 221f0f261cfcb8a40b9f79cbc51a9148, type: 3} + m_Name: + m_EditorClassIdentifier: + collection: 0000000001000000020000000300000004000000 diff --git a/Assets/Tests/Editor/Resources/LoopTest.prefab.meta b/Assets/Tests/Editor/Resources/LoopTest.prefab.meta new file mode 100644 index 00000000..ff09eedb --- /dev/null +++ b/Assets/Tests/Editor/Resources/LoopTest.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b63c363344a0bf94296a7280494813e3 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Editor/Resources/VarSetTest.prefab b/Assets/Tests/Editor/Resources/VarSetTest.prefab new file mode 100644 index 00000000..28bf8ef4 --- /dev/null +++ b/Assets/Tests/Editor/Resources/VarSetTest.prefab @@ -0,0 +1,5053 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2665200253896420646 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3515839692517609318} + - component: {fileID: 6236021700895876248} + - component: {fileID: 1370811652421313750} + - component: {fileID: 6694139779669590473} + m_Layer: 0 + m_Name: Cube + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3515839692517609318 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2665200253896420646} + 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: 925070430802974285} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &6236021700895876248 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2665200253896420646} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &1370811652421313750 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2665200253896420646} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!65 &6694139779669590473 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2665200253896420646} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &3282095820723025708 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2074430884284038955} + - component: {fileID: 3275089015837847617} + m_Layer: 0 + m_Name: collection + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2074430884284038955 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3282095820723025708} + 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: 925070430802974285} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &3275089015837847617 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3282095820723025708} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 221f0f261cfcb8a40b9f79cbc51a9148, type: 3} + m_Name: + m_EditorClassIdentifier: + collection: +--- !u!1 &6022724394185640971 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1208704936434436612} + - component: {fileID: 4066486324188773877} + - component: {fileID: 349025186641041854} + m_Layer: 0 + m_Name: col + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1208704936434436612 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6022724394185640971} + 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: 925070430802974285} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &4066486324188773877 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6022724394185640971} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!54 &349025186641041854 +Rigidbody: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6022724394185640971} + serializedVersion: 2 + m_Mass: 1 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 1 + m_IsKinematic: 0 + m_Interpolate: 0 + m_Constraints: 0 + m_CollisionDetection: 0 +--- !u!1 &6381672355547430666 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 925070430802974285} + - component: {fileID: 1043080471272523523} + - component: {fileID: 4189454128208650146} + - component: {fileID: 8805465614666017928} + - component: {fileID: 1828932151346816536} + - component: {fileID: 2261075828735507188} + - component: {fileID: 1915452925065349797} + - component: {fileID: 8564456835187278824} + - component: {fileID: 5320067926591112170} + - component: {fileID: 1088802534794066026} + - component: {fileID: 1163417951521406283} + - component: {fileID: 1399893782281646933} + - component: {fileID: 6548361248272980334} + - component: {fileID: 2914983618718069288} + - component: {fileID: 8530409915774343380} + - component: {fileID: 6493889262705578041} + - component: {fileID: 4330878505238992354} + - component: {fileID: 4554336283830311097} + - component: {fileID: 8554547299414943669} + - component: {fileID: 9136408301822124161} + - component: {fileID: 5885514780426982157} + - component: {fileID: 2995839933451271312} + - component: {fileID: 4665366542711170054} + - component: {fileID: 3931316057658757917} + - component: {fileID: 3004060541595052673} + - component: {fileID: 4142613776352639886} + - component: {fileID: 6392830767839531587} + - component: {fileID: 2828743190546237084} + - component: {fileID: 3327474395627392665} + - component: {fileID: 7802713421411451191} + - component: {fileID: 7316821857205532760} + - component: {fileID: 2997842933218785534} + - component: {fileID: 2539901819628314990} + - component: {fileID: 8990060518578950280} + - component: {fileID: 670469608650659671} + - component: {fileID: 3690031635381408902} + - component: {fileID: 6522387938227322495} + - component: {fileID: 8891110708966318686} + - component: {fileID: 9192236150366343817} + - component: {fileID: 4353931720465701167} + - component: {fileID: 2354223933289237011} + - component: {fileID: 8144354804674754853} + - component: {fileID: 6180029680994114498} + - component: {fileID: 2941452226900196301} + - component: {fileID: 8444328666427257387} + - component: {fileID: 7453874730336948705} + - component: {fileID: 3116736742800406239} + - component: {fileID: 8379622082962960298} + - component: {fileID: 1249734079670282884} + - component: {fileID: 2994228629059441923} + - component: {fileID: 8870837996179087681} + - component: {fileID: 2104670434258827023} + - component: {fileID: 5311998211497219652} + - component: {fileID: 5632239392483222896} + - component: {fileID: 2861589987192766990} + - component: {fileID: 1658843741158537153} + - component: {fileID: 3850217272920484952} + - component: {fileID: 7445773590752646648} + - component: {fileID: 4642638504608297107} + - component: {fileID: 5515409587438433481} + - component: {fileID: 2535924446719479443} + - component: {fileID: 3479139093719299087} + - component: {fileID: 228044566174188518} + - component: {fileID: 1870002413298583146} + - component: {fileID: 2890738806112199048} + - component: {fileID: 4206048282862398113} + - component: {fileID: 1949074941412235246} + - component: {fileID: 5918105693733394473} + - component: {fileID: 7517226242339437583} + - component: {fileID: 5731889244594351661} + - component: {fileID: 2086741297537307650} + - component: {fileID: 5908771292930012404} + - component: {fileID: 3698941547575487838} + - component: {fileID: 2242924798720466773} + - component: {fileID: 5970937822181193779} + - component: {fileID: 4635879941830729739} + - component: {fileID: 3670972813357082933} + - component: {fileID: 6564712718582447754} + - component: {fileID: 4682479787947274061} + - component: {fileID: 6551664974508807472} + - component: {fileID: 4596413317429807857} + - component: {fileID: 1190838057729547322} + - component: {fileID: 3133829767128170705} + - component: {fileID: 7056916285561566233} + - component: {fileID: 4968249184442825332} + - component: {fileID: 7057929335777992866} + - component: {fileID: 4449145138446997486} + - component: {fileID: 7842201147246685270} + - component: {fileID: 4443065927879269325} + - component: {fileID: 7783029232165608715} + - component: {fileID: 8233974089136438695} + - component: {fileID: 2456075333335827845} + - component: {fileID: 3495293335381451495} + - component: {fileID: 1393119562990955083} + m_Layer: 0 + m_Name: VarSetTest + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &925070430802974285 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + 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: + - {fileID: 2074430884284038955} + - {fileID: 6615078105556670448} + - {fileID: 1208704936434436612} + - {fileID: 3515839692517609318} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1043080471272523523 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 1 + scrollPos: {x: 456.48056, y: -1492.4011} + variablesScrollPos: {x: 0, y: 319} + variablesExpanded: 1 + blockViewHeight: 400 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + selectedBlocks: + - {fileID: 2828743190546237084} + selectedCommands: [] + variables: + - {fileID: 4189454128208650146} + - {fileID: 2997842933218785534} + - {fileID: 8805465614666017928} + - {fileID: 8990060518578950280} + - {fileID: 1828932151346816536} + - {fileID: 670469608650659671} + - {fileID: 2261075828735507188} + - {fileID: 3690031635381408902} + - {fileID: 1915452925065349797} + - {fileID: 6180029680994114498} + - {fileID: 8564456835187278824} + - {fileID: 2941452226900196301} + - {fileID: 5320067926591112170} + - {fileID: 1088802534794066026} + - {fileID: 1163417951521406283} + - {fileID: 8444328666427257387} + - {fileID: 1399893782281646933} + - {fileID: 6548361248272980334} + - {fileID: 7453874730336948705} + - {fileID: 2914983618718069288} + - {fileID: 3116736742800406239} + - {fileID: 8530409915774343380} + - {fileID: 8379622082962960298} + - {fileID: 6493889262705578041} + - {fileID: 1249734079670282884} + - {fileID: 4330878505238992354} + - {fileID: 2994228629059441923} + - {fileID: 4554336283830311097} + - {fileID: 8870837996179087681} + - {fileID: 8554547299414943669} + - {fileID: 2104670434258827023} + - {fileID: 9136408301822124161} + - {fileID: 5311998211497219652} + - {fileID: 5885514780426982157} + - {fileID: 5632239392483222896} + - {fileID: 2995839933451271312} + - {fileID: 2861589987192766990} + - {fileID: 4665366542711170054} + - {fileID: 1658843741158537153} + - {fileID: 3931316057658757917} + - {fileID: 5515409587438433481} + - {fileID: 3004060541595052673} + - {fileID: 4642638504608297107} + - {fileID: 4142613776352639886} + - {fileID: 7445773590752646648} + - {fileID: 6392830767839531587} + - {fileID: 3850217272920484952} + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: + showLineNumbers: 0 + hideCommands: [] + luaEnvironment: {fileID: 0} + luaBindingName: flowchart +--- !u!114 &4189454128208650146 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8cbd0c93fbe0e46f78685c33d82bcc7b, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var + value: {fileID: 0} +--- !u!114 &8805465614666017928 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe0d9dc5080b040bd8daff067b407916, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var1 + value: {fileID: 0} +--- !u!114 &1828932151346816536 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5d02d9822eec54c98afe95bb497211b3, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var2 + value: 0 +--- !u!114 &2261075828735507188 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4511d925e22af8c4a85a568153258f84, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var3 + value: {fileID: 0} +--- !u!114 &1915452925065349797 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a3f274bcd518c0647b0d9ce7c8f3ab84, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var4 + value: {fileID: 0} +--- !u!114 &8564456835187278824 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0057f41f38d80eb42994d709097bab6c, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var5 + value: {fileID: 0} +--- !u!114 &5320067926591112170 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 303f39102fa585240b75ba39909c0420, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var6 +--- !u!114 &1088802534794066026 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ab82206607c7ce145899c6dded6ed656, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var7 +--- !u!114 &1163417951521406283 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ea5b85dd356214c4c92b08ec04d89927, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var8 + value: {r: 0, g: 0, b: 0, a: 0} +--- !u!114 &1399893782281646933 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1697e3d2923d7a04992d32e821365308, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var9 +--- !u!114 &6548361248272980334 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 705fa1ac97df74e3a84ff952ffd923f1, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var10 + value: 0 +--- !u!114 &2914983618718069288 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1941e052c0ed4280b25507cd2e6ad8f, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var11 + value: {fileID: 0} +--- !u!114 &8530409915774343380 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var12 + value: 0 +--- !u!114 &6493889262705578041 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76ba6d244396e4c1086b8c3d18f6288b, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var13 + value: {fileID: 0} +--- !u!114 &4330878505238992354 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 92a3ae3fceb40f24db63f0e4085f39cc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var14 + value: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 +--- !u!114 &4554336283830311097 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c0d1ebdecfe2cb147bc3558abb25d154, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var16 + value: {x: 0, y: 0, z: 0, w: 1} +--- !u!114 &8554547299414943669 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5571f032eb722324fac0fc908bc370bc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var17 + value: {fileID: 0} +--- !u!114 &9136408301822124161 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 22ca3b0d4747cfa40806a3521c5f29cf, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var18 + value: {fileID: 0} +--- !u!114 &5885514780426982157 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cf67d97824e8c45c5b26fe72bfef82ed, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var19 + value: {fileID: 0} +--- !u!114 &2995839933451271312 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4580f28dd8581476b810b38eea2f1316, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var20 + value: +--- !u!114 &4665366542711170054 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8eb81208378624d4ba13caaef30d2b62, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var21 + value: {fileID: 0} +--- !u!114 &3931316057658757917 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 633bea14077b44e19956e8113fbac7a4, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var22 + value: {fileID: 0} +--- !u!114 &3004060541595052673 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ebe929c2f37ad4b19ad9d33a77c5064a, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var23 + value: {x: 0, y: 0} +--- !u!114 &4142613776352639886 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4d769ea3513ad47aabf805db5252341d, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var24 + value: {x: 0, y: 0, z: 0} +--- !u!114 &6392830767839531587 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 516fbed763cd80c44835637e64a1da18, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var25 + value: {x: 0, y: 0, z: 0, w: 0} +--- !u!114 &2828743190546237084 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 52.710968 + y: 1651.4011 + width: 120 + height: 40 + tint: {r: 1, g: 1, b: 1, a: 1} + useCustomTint: 0 + itemId: 0 + blockName: VarSets + description: + eventHandler: {fileID: 0} + commandList: + - {fileID: 3327474395627392665} + - {fileID: 7802713421411451191} + - {fileID: 6522387938227322495} + - {fileID: 8891110708966318686} + - {fileID: 9192236150366343817} + - {fileID: 4353931720465701167} + - {fileID: 2354223933289237011} + - {fileID: 8144354804674754853} + - {fileID: 2535924446719479443} + - {fileID: 3479139093719299087} + - {fileID: 228044566174188518} + - {fileID: 1870002413298583146} + - {fileID: 2890738806112199048} + - {fileID: 4206048282862398113} + - {fileID: 1949074941412235246} + - {fileID: 5918105693733394473} + - {fileID: 7517226242339437583} + - {fileID: 5731889244594351661} + - {fileID: 2086741297537307650} + - {fileID: 5908771292930012404} + - {fileID: 3698941547575487838} + - {fileID: 2242924798720466773} + - {fileID: 5970937822181193779} + - {fileID: 4635879941830729739} + - {fileID: 3670972813357082933} + - {fileID: 6564712718582447754} + - {fileID: 4682479787947274061} + - {fileID: 6551664974508807472} + - {fileID: 4596413317429807857} + - {fileID: 1190838057729547322} + - {fileID: 3133829767128170705} + - {fileID: 7056916285561566233} + - {fileID: 4968249184442825332} + - {fileID: 7057929335777992866} + - {fileID: 4449145138446997486} + - {fileID: 7842201147246685270} + - {fileID: 4443065927879269325} + - {fileID: 7783029232165608715} + - {fileID: 8233974089136438695} + - {fileID: 2456075333335827845} + - {fileID: 3495293335381451495} + - {fileID: 1393119562990955083} + suppressAllAutoSelections: 0 +--- !u!114 &3327474395627392665 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + indentLevel: 0 + anyVar: + variable: {fileID: 4189454128208650146} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &7802713421411451191 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 2 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 4189454128208650146} + b: {fileID: 2997842933218785534} + method: 0 +--- !u!95 &7316821857205532760 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 0} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorControllerStateOnDisable: 0 +--- !u!114 &2997842933218785534 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8cbd0c93fbe0e46f78685c33d82bcc7b, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: VarComp + value: {fileID: 7316821857205532760} +--- !u!82 &2539901819628314990 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 1 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 +--- !u!114 &8990060518578950280 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe0d9dc5080b040bd8daff067b407916, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var1Comp + value: {fileID: 2539901819628314990} +--- !u!114 &670469608650659671 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5d02d9822eec54c98afe95bb497211b3, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var2Comp + value: 1 +--- !u!114 &3690031635381408902 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4511d925e22af8c4a85a568153258f84, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var3Comp + value: {fileID: 3275089015837847617} +--- !u!114 &6522387938227322495 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 3 + indentLevel: 0 + anyVar: + variable: {fileID: 8805465614666017928} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &8891110708966318686 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 4 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 8805465614666017928} + b: {fileID: 8990060518578950280} + method: 0 +--- !u!114 &9192236150366343817 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + indentLevel: 0 + anyVar: + variable: {fileID: 1828932151346816536} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 0} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &4353931720465701167 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 6 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 1828932151346816536} + b: {fileID: 670469608650659671} + method: 0 +--- !u!114 &2354223933289237011 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 7 + indentLevel: 0 + anyVar: + variable: {fileID: 2261075828735507188} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 0} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &8144354804674754853 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 8 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 2261075828735507188} + b: {fileID: 3690031635381408902} + method: 0 +--- !u!114 &6180029680994114498 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a3f274bcd518c0647b0d9ce7c8f3ab84, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var4Comp + value: {fileID: 5611524016588629208} +--- !u!114 &2941452226900196301 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0057f41f38d80eb42994d709097bab6c, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var5Comp + value: {fileID: 4066486324188773877} +--- !u!114 &8444328666427257387 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ea5b85dd356214c4c92b08ec04d89927, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var8Comp + value: {r: 1, g: 1, b: 1, a: 1} +--- !u!114 &7453874730336948705 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 705fa1ac97df74e3a84ff952ffd923f1, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var10Comp + value: 3.14 +--- !u!114 &3116736742800406239 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1941e052c0ed4280b25507cd2e6ad8f, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var11Comp + value: {fileID: 3282095820723025708} +--- !u!114 &8379622082962960298 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var12Comp + value: 7 +--- !u!114 &1249734079670282884 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76ba6d244396e4c1086b8c3d18f6288b, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var13Comp + value: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} +--- !u!114 &2994228629059441923 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ecbb345616367420f90d15042808304e, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var15Comp + value: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} +--- !u!114 &8870837996179087681 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c0d1ebdecfe2cb147bc3558abb25d154, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var16Comp + value: {x: 0.70710677, y: 0, z: 0, w: 0.70710677} +--- !u!114 &2104670434258827023 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5571f032eb722324fac0fc908bc370bc, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var17Comp + value: {fileID: 4238428531384644721} +--- !u!114 &5311998211497219652 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 22ca3b0d4747cfa40806a3521c5f29cf, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var18Comp + value: {fileID: 349025186641041854} +--- !u!114 &5632239392483222896 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cf67d97824e8c45c5b26fe72bfef82ed, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var19Comp + value: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} +--- !u!114 &2861589987192766990 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4580f28dd8581476b810b38eea2f1316, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var20Comp + value: hello +--- !u!114 &1658843741158537153 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8eb81208378624d4ba13caaef30d2b62, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var21Comp + value: {fileID: 10912, guid: 0000000000000000f000000000000000, type: 0} +--- !u!114 &3850217272920484952 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 516fbed763cd80c44835637e64a1da18, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var25Comp + value: {x: 1, y: 2, z: 3, w: 4} +--- !u!114 &7445773590752646648 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4d769ea3513ad47aabf805db5252341d, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var24Comp + value: {x: 1, y: 2, z: 3} +--- !u!114 &4642638504608297107 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ebe929c2f37ad4b19ad9d33a77c5064a, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var23Comp + value: {x: 1, y: 2} +--- !u!114 &5515409587438433481 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 633bea14077b44e19956e8113fbac7a4, type: 3} + m_Name: + m_EditorClassIdentifier: + scope: 0 + key: Var22Comp + value: {fileID: 2074430884284038955} +--- !u!114 &2535924446719479443 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 9 + indentLevel: 0 + anyVar: + variable: {fileID: 1915452925065349797} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &3479139093719299087 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 10 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 1915452925065349797} + b: {fileID: 6180029680994114498} + method: 0 +--- !u!114 &228044566174188518 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 11 + indentLevel: 0 + anyVar: + variable: {fileID: 8564456835187278824} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1870002413298583146 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 12 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 8564456835187278824} + b: {fileID: 2941452226900196301} + method: 0 +--- !u!114 &2890738806112199048 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 13 + indentLevel: 0 + anyVar: + variable: {fileID: 1163417951521406283} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 0 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &4206048282862398113 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 14 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 1163417951521406283} + b: {fileID: 8444328666427257387} + method: 0 +--- !u!114 &1949074941412235246 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 15 + indentLevel: 0 + anyVar: + variable: {fileID: 6548361248272980334} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &5918105693733394473 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 16 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 6548361248272980334} + b: {fileID: 7453874730336948705} + method: 0 +--- !u!114 &7517226242339437583 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 17 + indentLevel: 0 + anyVar: + variable: {fileID: 2914983618718069288} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 0 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &5731889244594351661 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 18 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 2914983618718069288} + b: {fileID: 3116736742800406239} + method: 0 +--- !u!114 &2086741297537307650 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 19 + indentLevel: 0 + anyVar: + variable: {fileID: 8530409915774343380} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &5908771292930012404 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 20 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 8530409915774343380} + b: {fileID: 8379622082962960298} + method: 0 +--- !u!114 &3698941547575487838 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 21 + indentLevel: 0 + anyVar: + variable: {fileID: 6493889262705578041} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0, y: 0, z: 0, w: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &2242924798720466773 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 22 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 6493889262705578041} + b: {fileID: 1249734079670282884} + method: 0 +--- !u!114 &5970937822181193779 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 23 + indentLevel: 0 + anyVar: + variable: {fileID: 4554336283830311097} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0.70710677, y: 0, z: 0, w: 0.70710677} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &4635879941830729739 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 24 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 4554336283830311097} + b: {fileID: 8870837996179087681} + method: 0 +--- !u!114 &3670972813357082933 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 25 + indentLevel: 0 + anyVar: + variable: {fileID: 8554547299414943669} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0.70710677, y: 0, z: 0, w: 0.70710677} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 4238428531384644721} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &6564712718582447754 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 26 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 8554547299414943669} + b: {fileID: 2104670434258827023} + method: 0 +--- !u!114 &4682479787947274061 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 27 + indentLevel: 0 + anyVar: + variable: {fileID: 9136408301822124161} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0.70710677, y: 0, z: 0, w: 0.70710677} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 4238428531384644721} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 349025186641041854} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &6551664974508807472 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 28 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 9136408301822124161} + b: {fileID: 5311998211497219652} + method: 0 +--- !u!114 &4596413317429807857 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 29 + indentLevel: 0 + anyVar: + variable: {fileID: 5885514780426982157} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0.70710677, y: 0, z: 0, w: 0.70710677} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 4238428531384644721} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 349025186641041854} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} + stringData: + stringRef: {fileID: 0} + stringVal: + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1190838057729547322 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 30 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 5885514780426982157} + b: {fileID: 5632239392483222896} + method: 0 +--- !u!114 &3133829767128170705 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 31 + indentLevel: 0 + anyVar: + variable: {fileID: 2995839933451271312} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0.70710677, y: 0, z: 0, w: 0.70710677} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 4238428531384644721} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 349025186641041854} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} + stringData: + stringRef: {fileID: 0} + stringVal: hello + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &7056916285561566233 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 32 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 2995839933451271312} + b: {fileID: 2861589987192766990} + method: 0 +--- !u!114 &4968249184442825332 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 33 + indentLevel: 0 + anyVar: + variable: {fileID: 4665366542711170054} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0.70710677, y: 0, z: 0, w: 0.70710677} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 4238428531384644721} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 349025186641041854} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} + stringData: + stringRef: {fileID: 0} + stringVal: hello + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 10912, guid: 0000000000000000f000000000000000, type: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &7057929335777992866 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 34 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 4665366542711170054} + b: {fileID: 1658843741158537153} + method: 0 +--- !u!114 &4449145138446997486 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 35 + indentLevel: 0 + anyVar: + variable: {fileID: 3931316057658757917} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0.70710677, y: 0, z: 0, w: 0.70710677} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 4238428531384644721} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 349025186641041854} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} + stringData: + stringRef: {fileID: 0} + stringVal: hello + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 10912, guid: 0000000000000000f000000000000000, type: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 2074430884284038955} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &7842201147246685270 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 36 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 3931316057658757917} + b: {fileID: 5515409587438433481} + method: 0 +--- !u!114 &4443065927879269325 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 37 + indentLevel: 0 + anyVar: + variable: {fileID: 3004060541595052673} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0.70710677, y: 0, z: 0, w: 0.70710677} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 4238428531384644721} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 349025186641041854} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} + stringData: + stringRef: {fileID: 0} + stringVal: hello + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 10912, guid: 0000000000000000f000000000000000, type: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 2074430884284038955} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 1, y: 2} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &7783029232165608715 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 38 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 3004060541595052673} + b: {fileID: 4642638504608297107} + method: 0 +--- !u!114 &8233974089136438695 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 39 + indentLevel: 0 + anyVar: + variable: {fileID: 4142613776352639886} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0.70710677, y: 0, z: 0, w: 0.70710677} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 4238428531384644721} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 349025186641041854} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} + stringData: + stringRef: {fileID: 0} + stringVal: hello + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 10912, guid: 0000000000000000f000000000000000, type: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 2074430884284038955} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 1, y: 2} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 1, y: 2, z: 3} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 0, y: 0, z: 0, w: 0} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &2456075333335827845 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 40 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 4142613776352639886} + b: {fileID: 7445773590752646648} + method: 0 +--- !u!114 &3495293335381451495 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 41 + indentLevel: 0 + anyVar: + variable: {fileID: 6392830767839531587} + data: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 7316821857205532760} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 2539901819628314990} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 1 + collectionData: + collectionRef: {fileID: 0} + collectionVal: {fileID: 3275089015837847617} + collider2DData: + collider2DRef: {fileID: 0} + collider2DVal: {fileID: 5611524016588629208} + colliderData: + colliderRef: {fileID: 0} + colliderVal: {fileID: 4066486324188773877} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} + floatData: + floatRef: {fileID: 0} + floatVal: 3.14 + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 3282095820723025708} + integerData: + integerRef: {fileID: 0} + integerVal: 7 + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + matrix4x4Data: + matrix4x4Ref: {fileID: 0} + matrix4x4Val: + e00: 0 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 0 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 0 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 0 + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + quaternionData: + quaternionRef: {fileID: 0} + quaternionVal: {x: 0.70710677, y: 0, z: 0, w: 0.70710677} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 4238428531384644721} + rigidbodyData: + rigidbodyRef: {fileID: 0} + rigidbodyVal: {fileID: 349025186641041854} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} + stringData: + stringRef: {fileID: 0} + stringVal: hello + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 10912, guid: 0000000000000000f000000000000000, type: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 2074430884284038955} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 1, y: 2} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 1, y: 2, z: 3} + vector4Data: + vector4Ref: {fileID: 0} + vector4Val: {x: 1, y: 2, z: 3, w: 4} + setOperator: 0 + variable: {fileID: 0} + booleanData: + booleanRef: {fileID: 0} + booleanVal: 0 + integerData: + integerRef: {fileID: 0} + integerVal: 0 + floatData: + floatRef: {fileID: 0} + floatVal: 0 + stringData: + stringRef: {fileID: 0} + stringVal: + animatorData: + animatorRef: {fileID: 0} + animatorVal: {fileID: 0} + audioSourceData: + audioSourceRef: {fileID: 0} + audioSourceVal: {fileID: 0} + colorData: + colorRef: {fileID: 0} + colorVal: {r: 0, g: 0, b: 0, a: 0} + gameObjectData: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} + materialData: + materialRef: {fileID: 0} + materialVal: {fileID: 0} + objectData: + objectRef: {fileID: 0} + objectVal: {fileID: 0} + rigidbody2DData: + rigidbody2DRef: {fileID: 0} + rigidbody2DVal: {fileID: 0} + spriteData: + spriteRef: {fileID: 0} + spriteVal: {fileID: 0} + textureData: + textureRef: {fileID: 0} + textureVal: {fileID: 0} + transformData: + transformRef: {fileID: 0} + transformVal: {fileID: 0} + vector2Data: + vector2Ref: {fileID: 0} + vector2Val: {x: 0, y: 0} + vector3Data: + vector3Ref: {fileID: 0} + vector3Val: {x: 0, y: 0, z: 0} +--- !u!114 &1393119562990955083 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6381672355547430666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c40b126bd148ae743b56bc8c00162589, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 42 + indentLevel: 0 + message: + stringRef: {fileID: 0} + stringVal: + a: {fileID: 6392830767839531587} + b: {fileID: 3850217272920484952} + method: 0 +--- !u!1 &6906713865859834375 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6615078105556670448} + - component: {fileID: 5611524016588629208} + - component: {fileID: 4238428531384644721} + - component: {fileID: 1449818630039283507} + m_Layer: 0 + m_Name: 2dcol + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6615078105556670448 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6906713865859834375} + 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: 925070430802974285} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!61 &5611524016588629208 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6906713865859834375} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_UsedByComposite: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0, y: 0} + oldSize: {x: 0, y: 0} + newSize: {x: 0, y: 0} + adaptiveTilingThreshold: 0 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + serializedVersion: 2 + m_Size: {x: 1, y: 1} + m_EdgeRadius: 0 +--- !u!50 &4238428531384644721 +Rigidbody2D: + serializedVersion: 4 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6906713865859834375} + m_BodyType: 0 + m_Simulated: 1 + m_UseFullKinematicContacts: 0 + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 1 + m_Material: {fileID: 0} + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!212 &1449818630039283507 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6906713865859834375} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 0 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 diff --git a/Assets/Tests/Editor/Resources/VarSetTest.prefab.meta b/Assets/Tests/Editor/Resources/VarSetTest.prefab.meta new file mode 100644 index 00000000..2b9f08a2 --- /dev/null +++ b/Assets/Tests/Editor/Resources/VarSetTest.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 8045e06b2be86d540b0d6d1b37d5e145 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Editor/TestUtils.cs b/Assets/Tests/Editor/TestUtils.cs new file mode 100644 index 00000000..7935133e --- /dev/null +++ b/Assets/Tests/Editor/TestUtils.cs @@ -0,0 +1,62 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +using UnityEngine.Assertions; + +namespace Fungus.EditorUtils +{ + static public class TestUtils + { + /// + /// Loads a prefab from the resources folder, optionally waiting a preset amount of time for it to complete or until says it is done. + /// + /// Name of prefab in the editor resources folder to tunr, expects it to have a flowchart on in + /// that will try to execute at frame 0 + /// if true will run blocks in sequence until all are complete + /// max frames for the test to be allowed to run, will assert if it runs beyond this limit + /// + static public System.Collections.IEnumerator RunPrefabFlowchartTests(string prefabTestName, bool runBlocksManually = true, int maxFramesToComplete = 1000) + { + var resPrefab = UnityEngine.Resources.Load(prefabTestName); + Assert.IsNotNull(resPrefab); + var resTest = UnityEngine.Object.Instantiate(resPrefab); + + //give it a few frames to kick in + yield return null; + yield return null; + yield return null; + + // Use the Assert class to test conditions. + // Use yield to skip a frame. + var f = resTest.GetComponent(); + Assert.IsNotNull(f); + + int frame = 3; + + //ensure there isn't something already doing a job + while (f.HasExecutingBlocks()) + { + frame++; + Assert.IsTrue(frame < maxFramesToComplete); + yield return null; + } + + if (runBlocksManually) + { + var blocks = f.GetComponents(); + foreach (var block in blocks) + { + block.StartExecution(); + while (f.HasExecutingBlocks()) + { + frame++; + Assert.IsTrue(frame < maxFramesToComplete); + yield return null; + } + } + } + + UnityEngine.Object.DestroyImmediate(resTest); + } + } +} \ No newline at end of file diff --git a/Assets/Tests/Editor/TestUtils.cs.meta b/Assets/Tests/Editor/TestUtils.cs.meta new file mode 100644 index 00000000..e9e0acf6 --- /dev/null +++ b/Assets/Tests/Editor/TestUtils.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a508e231ed2a5504cb0125cd7696739e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Editor/TextTagParserTests.cs b/Assets/Tests/Editor/TextTagParserTests.cs index ed677ba1..b10249bb 100644 --- a/Assets/Tests/Editor/TextTagParserTests.cs +++ b/Assets/Tests/Editor/TextTagParserTests.cs @@ -1,220 +1,222 @@ -// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). +// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + using System.Collections.Generic; -using Fungus; #if UNITY_5_3_OR_NEWER using NUnit.Framework; -[TestFixture] -public class TextTagParserTests +namespace Fungus.Tests { - [Test] - public void TextTagParser_Parser() - { - // Parse an example string, generate correct sequence of tags - List tokens = TextTagParser.Tokenize("Words " + - "{b}bold test{/b}" + - "{i}italic test{/i}" + - "{color=red}color test{/color}" + - "{size=30}size test{/size}" + - "{w}{w=0.5}" + - "{wi}{wc}" + - "{wp}{wp=0.5}{/wp}" + - "{c}" + - "{s}{s=60}{/s}" + - "{x}{m=Message}" + - "{vpunch=0.5}" + - "{hpunch=0.5}" + - "{punch=0.5}" + - "{flash=0.5}" + - "{audio=Sound}" + - "{audioloop=Sound}" + - "{audiopause=Sound}" + - "{audiostop=Sound}"); - - int i = 0; - Assert.That(tokens[i].type == TokenType.Words); - Assert.That(tokens[i].paramList[0] == "Words "); - - i++; - Assert.That(tokens[i].type == TokenType.BoldStart); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.Words); - Assert.That(tokens[i].paramList[0] == "bold test"); - - i++; - Assert.That(tokens[i].type == TokenType.BoldEnd); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.ItalicStart); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.Words); - Assert.That(tokens[i].paramList[0] == "italic test"); - - i++; - Assert.That(tokens[i].type == TokenType.ItalicEnd); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.ColorStart); - Assert.That(tokens[i].paramList[0] == "red"); - - i++; - Assert.That(tokens[i].type == TokenType.Words); - Assert.That(tokens[i].paramList[0] == "color test"); - - i++; - Assert.That(tokens[i].type == TokenType.ColorEnd); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.SizeStart); - Assert.That(tokens[i].paramList[0] == "30"); - - i++; - Assert.That(tokens[i].type == TokenType.Words); - Assert.That(tokens[i].paramList[0] == "size test"); - - i++; - Assert.That(tokens[i].type == TokenType.SizeEnd); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.Wait); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.Wait); - Assert.That(tokens[i].paramList[0] == "0.5"); - - i++; - Assert.That(tokens[i].type == TokenType.WaitForInputNoClear); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.WaitForInputAndClear); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.WaitOnPunctuationStart); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.WaitOnPunctuationStart); - Assert.That(tokens[i].paramList[0] == "0.5"); - - i++; - Assert.That(tokens[i].type == TokenType.WaitOnPunctuationEnd); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.Clear); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.SpeedStart); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.SpeedStart); - Assert.That(tokens[i].paramList[0] == "60"); - - i++; - Assert.That(tokens[i].type == TokenType.SpeedEnd); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.Exit); - Assert.That(tokens[i].paramList.Count == 0); - - i++; - Assert.That(tokens[i].type == TokenType.Message); - Assert.That(tokens[i].paramList[0] == "Message"); - - i++; - Assert.That(tokens[i].type == TokenType.VerticalPunch); - Assert.That(tokens[i].paramList[0] == "0.5"); - - i++; - Assert.That(tokens[i].type == TokenType.HorizontalPunch); - Assert.That(tokens[i].paramList[0] == "0.5"); - - i++; - Assert.That(tokens[i].type == TokenType.Punch); - Assert.That(tokens[i].paramList[0] == "0.5"); - - i++; - Assert.That(tokens[i].type == TokenType.Flash); - Assert.That(tokens[i].paramList[0] == "0.5"); - - i++; - Assert.That(tokens[i].type == TokenType.Audio); - Assert.That(tokens[i].paramList[0] == "Sound"); - - i++; - Assert.That(tokens[i].type == TokenType.AudioLoop); - Assert.That(tokens[i].paramList[0] == "Sound"); - - i++; - Assert.That(tokens[i].type == TokenType.AudioPause); - Assert.That(tokens[i].paramList[0] == "Sound"); - - i++; - Assert.That(tokens[i].type == TokenType.AudioStop); - Assert.That(tokens[i].paramList[0] == "Sound"); - - Assert.That(tokens.Count == 34); - } - - [Test] - public void TextTagParser_AudioWaitBug() - { - // Parse an example string, generate correct sequence of tags - List tokens = TextTagParser.Tokenize("Play sound{audio=BeepSound}{w=1} Play loop{audioloop=BeepSound}{w=3} Stop{audiostop=BeepSound}"); - - int i = 0; - Assert.That(tokens[i].type == TokenType.Words); - Assert.That(tokens[i].paramList[0] == "Play sound"); - - i++; - Assert.That(tokens[i].type == TokenType.Audio); - Assert.That(tokens[i].paramList[0] == "BeepSound"); - - i++; - Assert.That(tokens[i].type == TokenType.Wait); - Assert.That(tokens[i].paramList[0] == "1"); - - i++; - Assert.That(tokens[i].type == TokenType.Words); - Assert.That(tokens[i].paramList[0] == " Play loop"); - - i++; - Assert.That(tokens[i].type == TokenType.AudioLoop); - Assert.That(tokens[i].paramList[0] == "BeepSound"); - - i++; - Assert.That(tokens[i].type == TokenType.Wait); - Assert.That(tokens[i].paramList[0] == "3"); - - i++; - Assert.That(tokens[i].type == TokenType.Words); - Assert.That(tokens[i].paramList[0] == " Stop"); - - i++; - Assert.That(tokens[i].type == TokenType.AudioStop); - Assert.That(tokens[i].paramList[0] == "BeepSound"); - - Assert.That(tokens.Count == 8); - } - -} + [TestFixture] + public class TextTagParserTests + { + [Test] + public void TextTagParser_Parser() + { + // Parse an example string, generate correct sequence of tags + List tokens = TextTagParser.Tokenize("Words " + + "{b}bold test{/b}" + + "{i}italic test{/i}" + + "{color=red}color test{/color}" + + "{size=30}size test{/size}" + + "{w}{w=0.5}" + + "{wi}{wc}" + + "{wp}{wp=0.5}{/wp}" + + "{c}" + + "{s}{s=60}{/s}" + + "{x}{m=Message}" + + "{vpunch=0.5}" + + "{hpunch=0.5}" + + "{punch=0.5}" + + "{flash=0.5}" + + "{audio=Sound}" + + "{audioloop=Sound}" + + "{audiopause=Sound}" + + "{audiostop=Sound}"); + + int i = 0; + Assert.That(tokens[i].type == TokenType.Words); + Assert.That(tokens[i].paramList[0] == "Words "); + + i++; + Assert.That(tokens[i].type == TokenType.BoldStart); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.Words); + Assert.That(tokens[i].paramList[0] == "bold test"); + + i++; + Assert.That(tokens[i].type == TokenType.BoldEnd); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.ItalicStart); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.Words); + Assert.That(tokens[i].paramList[0] == "italic test"); + + i++; + Assert.That(tokens[i].type == TokenType.ItalicEnd); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.ColorStart); + Assert.That(tokens[i].paramList[0] == "red"); + + i++; + Assert.That(tokens[i].type == TokenType.Words); + Assert.That(tokens[i].paramList[0] == "color test"); + + i++; + Assert.That(tokens[i].type == TokenType.ColorEnd); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.SizeStart); + Assert.That(tokens[i].paramList[0] == "30"); + + i++; + Assert.That(tokens[i].type == TokenType.Words); + Assert.That(tokens[i].paramList[0] == "size test"); + + i++; + Assert.That(tokens[i].type == TokenType.SizeEnd); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.Wait); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.Wait); + Assert.That(tokens[i].paramList[0] == "0.5"); + + i++; + Assert.That(tokens[i].type == TokenType.WaitForInputNoClear); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.WaitForInputAndClear); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.WaitOnPunctuationStart); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.WaitOnPunctuationStart); + Assert.That(tokens[i].paramList[0] == "0.5"); + + i++; + Assert.That(tokens[i].type == TokenType.WaitOnPunctuationEnd); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.Clear); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.SpeedStart); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.SpeedStart); + Assert.That(tokens[i].paramList[0] == "60"); + + i++; + Assert.That(tokens[i].type == TokenType.SpeedEnd); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.Exit); + Assert.That(tokens[i].paramList.Count == 0); + + i++; + Assert.That(tokens[i].type == TokenType.Message); + Assert.That(tokens[i].paramList[0] == "Message"); + + i++; + Assert.That(tokens[i].type == TokenType.VerticalPunch); + Assert.That(tokens[i].paramList[0] == "0.5"); + + i++; + Assert.That(tokens[i].type == TokenType.HorizontalPunch); + Assert.That(tokens[i].paramList[0] == "0.5"); + + i++; + Assert.That(tokens[i].type == TokenType.Punch); + Assert.That(tokens[i].paramList[0] == "0.5"); + + i++; + Assert.That(tokens[i].type == TokenType.Flash); + Assert.That(tokens[i].paramList[0] == "0.5"); + + i++; + Assert.That(tokens[i].type == TokenType.Audio); + Assert.That(tokens[i].paramList[0] == "Sound"); + + i++; + Assert.That(tokens[i].type == TokenType.AudioLoop); + Assert.That(tokens[i].paramList[0] == "Sound"); + + i++; + Assert.That(tokens[i].type == TokenType.AudioPause); + Assert.That(tokens[i].paramList[0] == "Sound"); + + i++; + Assert.That(tokens[i].type == TokenType.AudioStop); + Assert.That(tokens[i].paramList[0] == "Sound"); + + Assert.That(tokens.Count == 34); + } + + [Test] + public void TextTagParser_AudioWaitBug() + { + // Parse an example string, generate correct sequence of tags + List tokens = TextTagParser.Tokenize("Play sound{audio=BeepSound}{w=1} Play loop{audioloop=BeepSound}{w=3} Stop{audiostop=BeepSound}"); + + int i = 0; + Assert.That(tokens[i].type == TokenType.Words); + Assert.That(tokens[i].paramList[0] == "Play sound"); + + i++; + Assert.That(tokens[i].type == TokenType.Audio); + Assert.That(tokens[i].paramList[0] == "BeepSound"); + + i++; + Assert.That(tokens[i].type == TokenType.Wait); + Assert.That(tokens[i].paramList[0] == "1"); + + i++; + Assert.That(tokens[i].type == TokenType.Words); + Assert.That(tokens[i].paramList[0] == " Play loop"); + + i++; + Assert.That(tokens[i].type == TokenType.AudioLoop); + Assert.That(tokens[i].paramList[0] == "BeepSound"); + + i++; + Assert.That(tokens[i].type == TokenType.Wait); + Assert.That(tokens[i].paramList[0] == "3"); + + i++; + Assert.That(tokens[i].type == TokenType.Words); + Assert.That(tokens[i].paramList[0] == " Stop"); + + i++; + Assert.That(tokens[i].type == TokenType.AudioStop); + Assert.That(tokens[i].paramList[0] == "BeepSound"); + + Assert.That(tokens.Count == 8); + } + } #endif +} \ No newline at end of file diff --git a/Assets/Tests/PlayMode.meta b/Assets/Tests/PlayMode.meta new file mode 100644 index 00000000..8c8097a2 --- /dev/null +++ b/Assets/Tests/PlayMode.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4acdb00a01dd1704b81f757719a28f10 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/PlayMode/FungusPlayModeTest.cs b/Assets/Tests/PlayMode/FungusPlayModeTest.cs new file mode 100644 index 00000000..5e82ab72 --- /dev/null +++ b/Assets/Tests/PlayMode/FungusPlayModeTest.cs @@ -0,0 +1,33 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +#if UNITY_2019_2_OR_NEWER +using NUnit.Framework; +using System.Collections; +using UnityEngine.TestTools; + +namespace Fungus.Tests +{ + [TestFixture] + public class FungusPlayModeTest + { + [UnityTest] + public IEnumerator Looping() + { + yield return EditorUtils.TestUtils.RunPrefabFlowchartTests("LoopTest", true, 200); + } + + [UnityTest] + public IEnumerator ControlFlow() + { + yield return EditorUtils.TestUtils.RunPrefabFlowchartTests("FlowTest", true); + } + + [UnityTest] + public IEnumerator VariableSets() + { + yield return EditorUtils.TestUtils.RunPrefabFlowchartTests("VarSetTest", true); + } + } +} +#endif \ No newline at end of file diff --git a/Assets/Tests/PlayMode/FungusPlayModeTest.cs.meta b/Assets/Tests/PlayMode/FungusPlayModeTest.cs.meta new file mode 100644 index 00000000..406979b1 --- /dev/null +++ b/Assets/Tests/PlayMode/FungusPlayModeTest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3aec7f0c484f05748a734082abc73f7f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/PlayMode/FungusPlayModeTests.asmdef b/Assets/Tests/PlayMode/FungusPlayModeTests.asmdef new file mode 100644 index 00000000..1e1d75d1 --- /dev/null +++ b/Assets/Tests/PlayMode/FungusPlayModeTests.asmdef @@ -0,0 +1,23 @@ +{ + "name": "FungusPlayModeTests", + "references": [ + "UnityEngine.TestRunner", + "UnityEditor.TestRunner", + "Fungus", + "FungusEditor", + "FungusEditorTests" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": true, + "precompiledReferences": [ + "nunit.framework.dll" + ], + "autoReferenced": false, + "defineConstraints": [ + "UNITY_INCLUDE_TESTS" + ], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Assets/Tests/PlayMode/FungusPlayModeTests.asmdef.meta b/Assets/Tests/PlayMode/FungusPlayModeTests.asmdef.meta new file mode 100644 index 00000000..485fc944 --- /dev/null +++ b/Assets/Tests/PlayMode/FungusPlayModeTests.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e2babc96bfd54444191259bf2d0a6377 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/WritingSpeedTest.unity b/Assets/Tests/WritingSpeedTest.unity index 5703fda7..94903426 100644 --- a/Assets/Tests/WritingSpeedTest.unity +++ b/Assets/Tests/WritingSpeedTest.unity @@ -120,6 +120,124 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} +--- !u!1 &258418180 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 258418181} + - component: {fileID: 258418185} + - component: {fileID: 258418184} + - component: {fileID: 258418183} + - component: {fileID: 258418182} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &258418181 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 258418180} + 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: + - {fileID: 630839994} + - {fileID: 1030652738} + - {fileID: 472808368} + m_Father: {fileID: 1470136051} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: -750.0001, y: 0} + m_SizeDelta: {x: 1500, y: 335} + m_Pivot: {x: 0, y: 0} +--- !u!114 &258418182 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 258418180} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0b148fe25e99eb48b9724523833bab1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Delegates: + - eventID: 4 + callback: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1470136052} + m_MethodName: SetDialogClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!225 &258418183 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 258418180} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &258418184 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 258418180} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: e8ab00ef0d9684dcb9deb52811d91218, type: 3} + m_Type: 1 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 0 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &258418185 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 258418180} + m_CullTransparentMesh: 0 --- !u!1 &370263887 GameObject: m_ObjectHideFlags: 1 @@ -162,8 +280,355 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &381215605 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 381215606} + - component: {fileID: 381215609} + - component: {fileID: 381215608} + - component: {fileID: 381215607} + m_Layer: 5 + m_Name: Image + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &381215606 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 381215605} + 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: 1499830308} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -178.5, y: 263.13} + m_SizeDelta: {x: 357, y: 435} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &381215607 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 381215605} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 350 + m_PreferredHeight: 350 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!114 &381215608 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 381215605} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &381215609 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 381215605} + m_CullTransparentMesh: 0 +--- !u!1 &445770323 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 445770324} + - component: {fileID: 445770326} + - component: {fileID: 445770325} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &445770324 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 445770323} + 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: 1137377689} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &445770325 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 445770323} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!222 &445770326 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 445770323} + m_CullTransparentMesh: 0 +--- !u!1 &472808367 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 472808368} + - component: {fileID: 472808370} + - component: {fileID: 472808371} + - component: {fileID: 472808369} + m_Layer: 5 + m_Name: StoryText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &472808368 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 472808367} + 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: + - {fileID: 1542845060} + m_Father: {fileID: 258418181} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 0.78700006} + m_AnchoredPosition: {x: 3, y: 14.130005} + m_SizeDelta: {x: -61, y: -63} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &472808369 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 472808367} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 1150 + m_PreferredHeight: 200 + m_FlexibleWidth: 1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!222 &472808370 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 472808367} + m_CullTransparentMesh: 0 +--- !u!114 &472808371 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 472808367} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: 79197ecfbc3a4294a89ce589dac02cf2, type: 3} + m_FontSize: 45 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 50 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Story text +--- !u!1 &630839993 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 630839994} + - component: {fileID: 630839995} + - component: {fileID: 630839996} + m_Layer: 5 + m_Name: NameText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &630839994 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 630839993} + 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: 258418181} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 586.5, y: -38.369995} + m_SizeDelta: {x: 1106, y: 71} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &630839995 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 630839993} + m_CullTransparentMesh: 0 +--- !u!114 &630839996 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 630839993} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.25882354, g: 0.25490198, b: 0.2627451, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: bb145366ce7024469a5758b08d31802c, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 50 + m_Alignment: 3 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Character Name --- !u!1 &911349655 GameObject: m_ObjectHideFlags: 0 @@ -177,6 +642,9 @@ GameObject: - component: {fileID: 911349658} - component: {fileID: 911349657} - component: {fileID: 911349660} + - component: {fileID: 911349663} + - component: {fileID: 911349662} + - component: {fileID: 911349661} m_Layer: 0 m_Name: GameObject m_TagString: Untagged @@ -208,8 +676,10 @@ MonoBehaviour: y: 0 width: 0 height: 0 - selectedBlocks: [] - selectedCommands: [] + selectedBlocks: + - {fileID: 911349658} + selectedCommands: + - {fileID: 911349661} variables: [] description: stepPause: 0 @@ -235,10 +705,10 @@ MonoBehaviour: m_EditorClassIdentifier: itemId: 1 indentLevel: 0 - storyText: '{s=10}asd fas dfas dfas {s=30}asdfasd fasdfa sdfa s{s=60}asdf asdfa - s asd f{s=120}dfas dfasd fasd fasdf as dfas dfas dfasd fa{s=600}df a sd f a s - dfasdfas dfasdfasdfasdf asd fasdfa sd fa sd fasd fa sdfa sd fa s d fa sd fasdfasd - fas dfasdfa sdfas dfasdfa' + storyText: '{s=10}asd .fas dfas, dfas {s=30}asd.fasd fa,sdfa .sdfa s{s=60}.asdf + asdfa .s, asd f{s=120}dfas dfasd fasd fa,sdf as dfas dfas dfasd fa{s=600}df a + sd f a s ,dfasdfas dfasdfasdfasd.f asd fasd,fa sd fa sd fasd fa sdfa sd fa .s + d fa sd fasdfasd fas dfasd,fa sdfas dfas.dfa' description: character: {fileID: 0} portrait: {fileID: 0} @@ -276,7 +746,11 @@ MonoBehaviour: description: eventHandler: {fileID: 911349660} commandList: + - {fileID: 911349663} - {fileID: 911349657} + - {fileID: 911349662} + - {fileID: 911349661} + suppressAllAutoSelections: 0 --- !u!4 &911349659 Transform: m_ObjectHideFlags: 0 @@ -289,7 +763,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 1 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &911349660 MonoBehaviour: @@ -304,42 +778,503 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: parentBlock: {fileID: 911349658} + suppressBlockAutoSelect: 0 waitForFrames: 1 ---- !u!1 &1382207762 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1382207765} - - component: {fileID: 1382207764} - - component: {fileID: 1382207763} - m_Layer: 0 - m_Name: Main Camera - m_TagString: MainCamera - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!81 &1382207763 -AudioListener: - m_ObjectHideFlags: 0 +--- !u!114 &911349661 +MonoBehaviour: + m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1382207762} + m_GameObject: {fileID: 911349655} m_Enabled: 1 ---- !u!20 &1382207764 -Camera: - m_ObjectHideFlags: 0 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 4 + indentLevel: 0 + storyText: '{s=10}asd .fas dfas, dfas {s=30}asd.fasd fa,sdfa .sdfa s{s=60}.asdf + asdfa .s, asd f{s=120}dfas dfasd fasd fa,sdf as dfas dfas dfasd fa{s=600}df a + sd f a s ,dfasdfas dfasdfasdfasd.f asd fasd,fa sd fa sd fasd fa sdfa sd fa .s + d fa sd fasdfasd fas dfasd,fa sdfas dfas.dfa' + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeWhenDone: 1 + waitForClick: 1 + stopVoiceover: 1 + waitForVO: 0 + setSayDialog: {fileID: 0} +--- !u!114 &911349662 +MonoBehaviour: + m_ObjectHideFlags: 2 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1382207762} + m_GameObject: {fileID: 911349655} m_Enabled: 1 - serializedVersion: 2 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d65d551a201c94bc79950076ff3eaf2e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 3 + indentLevel: 0 + sayDialog: {fileID: 1802548009} +--- !u!114 &911349663 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 911349655} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d65d551a201c94bc79950076ff3eaf2e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 2 + indentLevel: 0 + sayDialog: {fileID: 1470136050} +--- !u!1 &1030652734 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1030652738} + - component: {fileID: 1030652737} + - component: {fileID: 1030652735} + - component: {fileID: 1030652736} + m_Layer: 5 + m_Name: Image + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1030652735 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1030652734} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &1030652736 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1030652734} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 350 + m_PreferredHeight: 350 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!222 &1030652737 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1030652734} + m_CullTransparentMesh: 0 +--- !u!224 &1030652738 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1030652734} + 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: 258418181} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -178.5, y: 263.13} + m_SizeDelta: {x: 357, y: 435} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &1137377688 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1137377689} + - component: {fileID: 1137377692} + - component: {fileID: 1137377691} + - component: {fileID: 1137377690} + m_Layer: 5 + m_Name: Continue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1137377689 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1137377688} + 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: + - {fileID: 445770324} + m_Father: {fileID: 1165661019} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -38.900024, y: 38.074993} + m_SizeDelta: {x: 77.900024, y: 77} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1137377690 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1137377688} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1137377691} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1802548006} + m_MethodName: SetButtonClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &1137377691 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1137377688} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 226248ac6f184e448af731df91b91958, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1137377692 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1137377688} + m_CullTransparentMesh: 0 +--- !u!1 &1165661018 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1165661019} + - component: {fileID: 1165661022} + - component: {fileID: 1165661021} + - component: {fileID: 1165661020} + m_Layer: 5 + m_Name: StoryText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1165661019 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1165661018} + 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: + - {fileID: 1137377689} + m_Father: {fileID: 1499830308} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 0.78700006} + m_AnchoredPosition: {x: 3, y: 14.130005} + m_SizeDelta: {x: -61, y: -63} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1165661020 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1165661018} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: asdfasdfasdfasdfasdfasdf + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_outlineColor: + serializedVersion: 2 + rgba: 4278190080 + m_fontSize: 36 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_textAlignment: 257 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_firstOverflowCharacterIndex: -1 + m_linkedTextComponent: {fileID: 0} + m_isLinkedTextComponent: 0 + m_isTextTruncated: 0 + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_ignoreRectMaskCulling: 0 + m_ignoreCulling: 1 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_VertexBufferAutoSizeReduction: 1 + m_firstVisibleCharacter: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_textInfo: + textComponent: {fileID: 1165661020} + characterCount: 24 + spriteCount: 0 + spaceCount: 0 + wordCount: 1 + linkCount: 0 + lineCount: 1 + pageCount: 1 + materialCount: 1 + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_spriteAnimator: {fileID: 0} + m_hasFontAssetChanged: 0 + m_subTextObjects: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!114 &1165661021 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1165661018} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 1150 + m_PreferredHeight: 200 + m_FlexibleWidth: 1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!222 &1165661022 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1165661018} + m_CullTransparentMesh: 0 +--- !u!1 &1382207762 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1382207765} + - component: {fileID: 1382207764} + - component: {fileID: 1382207763} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &1382207763 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1382207762} + m_Enabled: 1 +--- !u!20 &1382207764 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1382207762} + m_Enabled: 1 + serializedVersion: 2 m_ClearFlags: 1 m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} m_projectionMatrixMode: 1 @@ -388,7 +1323,7 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1674323546 +--- !u!1 &1470136049 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -396,75 +1331,1064 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 1674323550} - - component: {fileID: 1674323549} - - component: {fileID: 1674323548} - - component: {fileID: 1674323547} - m_Layer: 0 - m_Name: EventSystem + - component: {fileID: 1470136051} + - component: {fileID: 1470136053} + - component: {fileID: 1470136059} + - component: {fileID: 1470136058} + - component: {fileID: 1470136057} + - component: {fileID: 1470136050} + - component: {fileID: 1470136056} + - component: {fileID: 1470136055} + - component: {fileID: 1470136052} + - component: {fileID: 1470136054} + m_Layer: 5 + m_Name: SayDialog m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!114 &1674323547 +--- !u!114 &1470136050 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1674323546} + m_GameObject: {fileID: 1470136049} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 2d49b7c1bcd2e07499844da127be038d, type: 3} + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} m_Name: m_EditorClassIdentifier: - m_ForceModuleActive: 0 ---- !u!114 &1674323548 + fadeDuration: 0.25 + continueButton: {fileID: 1542845063} + dialogCanvas: {fileID: 1470136053} + nameText: {fileID: 630839996} + nameTextGO: {fileID: 0} + storyText: {fileID: 472808371} + storyTextGO: {fileID: 0} + characterImage: {fileID: 1030652735} + fitTextWithImage: 1 + closeOtherDialogs: 0 +--- !u!224 &1470136051 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1470136049} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 258418181} + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!114 &1470136052 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1674323546} + m_GameObject: {fileID: 1470136049} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} + m_Script: {fileID: 11500000, guid: 43b85556abd314f3f870c18c013fdcef, type: 3} m_Name: m_EditorClassIdentifier: - m_HorizontalAxis: Horizontal - m_VerticalAxis: Vertical - m_SubmitButton: Submit - m_CancelButton: Cancel - m_InputActionsPerSecond: 10 - m_RepeatDelay: 0.5 - m_ForceModuleActive: 0 ---- !u!114 &1674323549 + clickMode: 1 + nextClickDelay: 0 + cancelEnabled: 1 + ignoreMenuClicks: 1 +--- !u!223 &1470136053 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1470136049} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 1 + m_TargetDisplay: 0 +--- !u!82 &1470136054 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1470136049} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 +--- !u!114 &1470136055 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1674323546} + m_GameObject: {fileID: 1470136049} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Script: {fileID: 11500000, guid: c4782cf42f2644447b9631f6e522160b, type: 3} m_Name: m_EditorClassIdentifier: - m_FirstSelected: {fileID: 0} - m_sendNavigationEvents: 1 - m_DragThreshold: 5 ---- !u!4 &1674323550 -Transform: + volume: 1 + loop: 1 + targetAudioSource: {fileID: 0} + audioMode: 0 + beepSounds: + - {fileID: 8300000, guid: 774486030b696474e8b3cf7f178123da, type: 3} + - {fileID: 8300000, guid: f637c5ce9d10e45c7855ed89bfc6b97e, type: 3} + - {fileID: 8300000, guid: c53b7c20372e444c6bd7f2ac0729bbe2, type: 3} + soundEffect: {fileID: 0} + inputSound: {fileID: 8300000, guid: 14a396b1562834718b2d52b9c4639264, type: 3} +--- !u!114 &1470136056 +MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1674323546} - 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: 3 + m_GameObject: {fileID: 1470136049} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 472808367} + punchObject: {fileID: 258418180} + writingSpeed: 60 + punctuationPause: 0.25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 + forceRichText: 1 + instantComplete: 1 + doReadAheadText: 1 +--- !u!114 &1470136057 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1470136049} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!225 &1470136058 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1470136049} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1470136059 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1470136049} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 32 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1600, y: 1200} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 1 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!1 &1499830303 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1499830308} + - component: {fileID: 1499830307} + - component: {fileID: 1499830306} + - component: {fileID: 1499830305} + - component: {fileID: 1499830304} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1499830304 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1499830303} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0b148fe25e99eb48b9724523833bab1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Delegates: + - eventID: 4 + callback: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1802548006} + m_MethodName: SetDialogClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!225 &1499830305 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1499830303} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1499830306 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1499830303} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: e8ab00ef0d9684dcb9deb52811d91218, type: 3} + m_Type: 1 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 0 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1499830307 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1499830303} + m_CullTransparentMesh: 0 +--- !u!224 &1499830308 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1499830303} + 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: + - {fileID: 1694928999} + - {fileID: 381215606} + - {fileID: 1165661019} + m_Father: {fileID: 1802548014} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: -750.0001, y: 0} + m_SizeDelta: {x: 1500, y: 335} + m_Pivot: {x: 0, y: 0} +--- !u!1 &1542845059 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1542845060} + - component: {fileID: 1542845062} + - component: {fileID: 1542845061} + - component: {fileID: 1542845063} + m_Layer: 5 + m_Name: Continue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1542845060 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1542845059} + 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: + - {fileID: 1771950576} + m_Father: {fileID: 472808368} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -38.900024, y: 38.074993} + m_SizeDelta: {x: 77.900024, y: 77} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1542845061 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1542845059} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 226248ac6f184e448af731df91b91958, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1542845062 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1542845059} + m_CullTransparentMesh: 0 +--- !u!114 &1542845063 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1542845059} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1542845061} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1470136052} + m_MethodName: SetButtonClickedFlag + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!1 &1674323546 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1674323550} + - component: {fileID: 1674323549} + - component: {fileID: 1674323548} + - component: {fileID: 1674323547} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1674323547 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1674323546} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2d49b7c1bcd2e07499844da127be038d, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ForceModuleActive: 0 +--- !u!114 &1674323548 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1674323546} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalAxis: Horizontal + m_VerticalAxis: Vertical + m_SubmitButton: Submit + m_CancelButton: Cancel + m_InputActionsPerSecond: 10 + m_RepeatDelay: 0.5 + m_ForceModuleActive: 0 +--- !u!114 &1674323549 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1674323546} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 5 +--- !u!4 &1674323550 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1674323546} + 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: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1694928998 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1694928999} + - component: {fileID: 1694929001} + - component: {fileID: 1694929000} + m_Layer: 5 + m_Name: NameText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1694928999 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1694928998} + 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: 1499830308} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 586.5, y: -38.369995} + m_SizeDelta: {x: 1106, y: 71} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1694929000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1694928998} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.25882354, g: 0.25490198, b: 0.2627451, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: bb145366ce7024469a5758b08d31802c, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 50 + m_Alignment: 3 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Character Name +--- !u!222 &1694929001 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1694928998} + m_CullTransparentMesh: 0 +--- !u!1 &1771950575 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1771950576} + - component: {fileID: 1771950578} + - component: {fileID: 1771950577} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1771950576 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1771950575} + 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: 1542845060} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1771950577 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1771950575} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!222 &1771950578 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1771950575} + m_CullTransparentMesh: 0 +--- !u!1 &1802548004 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1802548014} + - component: {fileID: 1802548013} + - component: {fileID: 1802548012} + - component: {fileID: 1802548011} + - component: {fileID: 1802548010} + - component: {fileID: 1802548009} + - component: {fileID: 1802548008} + - component: {fileID: 1802548007} + - component: {fileID: 1802548006} + - component: {fileID: 1802548005} + m_Layer: 5 + m_Name: SayDialog TMPro + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!82 &1802548005 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1802548004} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 +--- !u!114 &1802548006 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1802548004} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43b85556abd314f3f870c18c013fdcef, type: 3} + m_Name: + m_EditorClassIdentifier: + clickMode: 1 + nextClickDelay: 0 + cancelEnabled: 1 + ignoreMenuClicks: 1 +--- !u!114 &1802548007 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1802548004} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c4782cf42f2644447b9631f6e522160b, type: 3} + m_Name: + m_EditorClassIdentifier: + volume: 1 + loop: 1 + targetAudioSource: {fileID: 0} + audioMode: 0 + beepSounds: + - {fileID: 8300000, guid: 774486030b696474e8b3cf7f178123da, type: 3} + - {fileID: 8300000, guid: f637c5ce9d10e45c7855ed89bfc6b97e, type: 3} + - {fileID: 8300000, guid: c53b7c20372e444c6bd7f2ac0729bbe2, type: 3} + soundEffect: {fileID: 0} + inputSound: {fileID: 8300000, guid: 14a396b1562834718b2d52b9c4639264, type: 3} +--- !u!114 &1802548008 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1802548004} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 1165661018} + punchObject: {fileID: 1499830303} + writingSpeed: 60 + punctuationPause: 0.25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 + forceRichText: 1 + instantComplete: 1 + doReadAheadText: 1 +--- !u!114 &1802548009 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1802548004} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} + m_Name: + m_EditorClassIdentifier: + fadeDuration: 0.25 + continueButton: {fileID: 1137377690} + dialogCanvas: {fileID: 1802548013} + nameText: {fileID: 1694929000} + nameTextGO: {fileID: 0} + storyText: {fileID: 0} + storyTextGO: {fileID: 0} + characterImage: {fileID: 381215608} + fitTextWithImage: 1 + closeOtherDialogs: 0 +--- !u!114 &1802548010 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1802548004} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!225 &1802548011 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1802548004} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1802548012 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1802548004} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 32 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1600, y: 1200} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 1 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &1802548013 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1802548004} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 1 + m_TargetDisplay: 0 +--- !u!224 &1802548014 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1802548004} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 1499830308} + m_Father: {fileID: 0} + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} diff --git a/Docs/fungus_docs/code_of_conduct.md b/CODE_OF_CONDUCT.md similarity index 76% rename from Docs/fungus_docs/code_of_conduct.md rename to CODE_OF_CONDUCT.md index 1a324d93..298adacd 100644 --- a/Docs/fungus_docs/code_of_conduct.md +++ b/CODE_OF_CONDUCT.md @@ -1,9 +1,9 @@ -# Code of conduct # {#code_of_conduct} +# Code of conduct # TL;DR # Be nice to each other :) -We want an open and respectful community at %Fungus. So we would ask you when communicating (for example, posting on our Forums, Comments or github repository ) to be friendly and helpful. We find, for most people, this is not a problem. Our list of guidelines below is not exhaustive but should give a strong indication of what we consider acceptable community behaviour. +We want an open and respectful community at Fungus. So we would ask you when communicating (for example, posting on our Forums, Comments or github repository ) to be friendly and helpful. We find, for most people, this is not a problem. Our list of guidelines below is not exhaustive but should give a strong indication of what we consider acceptable community behaviour. # Be welcoming # We welcome and support people of all backgrounds and identities. This includes, but is not limited to members of any race, ethnicity, culture, national origin, colour, immigration status, social and economic class, educational level, sex, sexual orientation, gender identity and expression, age, size, family status, political belief, religion, and mental and physical ability. @@ -26,8 +26,8 @@ The following behaviours are not acceptable: - Advocating for, or encouraging, any of the above behaviour. # Assume Good Intentions # -Give people the benefit of the doubt. If you believe they have acted against the code of conduct, please refer them to this document. Remember, although English is the primary language of %Fungus development, that not all members have English as their primary language. +Give people the benefit of the doubt. If you believe they have acted against the code of conduct, please refer them to this document. Remember, although English is the primary language of Fungus development, that not all members have English as their primary language. Thanks to [http://www.apache.org/foundation/policies/conduct.html](http://www.apache.org/foundation/policies/conduct.html) and [https://www.djangoproject.com/conduct](https://www.djangoproject.com/conduct) for inspiration and content. -If you have any questions about these guidelines please contact us. \ No newline at end of file +If you have any questions about these guidelines please contact us. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9003f992..90ff72c5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,6 +4,8 @@ We welcome pull requests from everyone. By contributing to this project, you agr Fork and clone the Fungus repo (see [fork a repo] ) +Switch to the develop branch. + Make sure the tests pass locally (see the project readme for instructions). Make your change. Add tests and/or demo scenes for your change. Make the tests pass locally. @@ -19,8 +21,9 @@ Your pull request will have a better chance of being accepted if you do the foll * Write tests for each change / new feature (not always possible) * Follow our [coding standard] * Write a [good commit message][commit]. +* Target and make changes against the develop branch. -[code of conduct]: https://github.com/snozbot/fungus/wiki/code_of_conduct +[code of conduct]: https://github.com/snozbot/fungus/blob/master/CODE_OF_CONDUCT.md [commit]: http://chris.beams.io/posts/git-commit/ [fork a repo]: https://help.github.com/articles/fork-a-repo/ [fungus license]: https://github.com/FungusGames/Fungus/blob/master/LICENSE diff --git a/Docs/Docs.mdproj b/Docs/Docs.mdproj deleted file mode 100644 index c32914b2..00000000 --- a/Docs/Docs.mdproj +++ /dev/null @@ -1,315 +0,0 @@ - - - - Default - AnyCPU - GenericProject - 8.0.30703 - 2.0 - {759F8A19-D1F3-4AB1-AD0F-38533A0F2BEA} - - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Docs/Doxyfile b/Docs/Doxyfile deleted file mode 100644 index 355f4a7f..00000000 --- a/Docs/Doxyfile +++ /dev/null @@ -1,2493 +0,0 @@ -# Doxyfile 1.8.13 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project. -# -# All text after a double hash (##) is considered a comment and is placed in -# front of the TAG it is preceding. -# -# All text after a single hash (#) is considered a comment and will be ignored. -# The format is: -# TAG = value [value, ...] -# For lists, items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (\" \"). - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# This tag specifies the encoding used for all characters in the config file -# that follow. The default is UTF-8 which is also the encoding used for all text -# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv -# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv -# for the list of possible encodings. -# The default value is: UTF-8. - -DOXYFILE_ENCODING = UTF-8 - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by -# double-quotes, unless you are using Doxywizard) that should identify the -# project for which the documentation is generated. This name is used in the -# title of most generated pages and in a few other places. -# The default value is: My Project. - -PROJECT_NAME = Fungus - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. This -# could be handy for archiving the generated documentation or if some version -# control system is used. - -PROJECT_NUMBER = v3.11.4 - -# Using the PROJECT_BRIEF tag one can provide an optional one line description -# for a project that appears at the top of each page and should give viewer a -# quick idea about the purpose of the project. Keep the description short. - -PROJECT_BRIEF = Documentation - -# With the PROJECT_LOGO tag one can specify a logo or an icon that is included -# in the documentation. The maximum height of the logo should not exceed 55 -# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy -# the logo to the output directory. - -PROJECT_LOGO = /Users/chrisgregan/Documents/GitHub/fungus/Docs/resources/header/logo_small.png - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path -# into which the generated documentation will be written. If a relative path is -# entered, it will be relative to the location where doxygen was started. If -# left blank the current directory will be used. - -OUTPUT_DIRECTORY = ../Build/Docs - -# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- -# directories (in 2 levels) under the output directory of each output format and -# will distribute the generated files over these directories. Enabling this -# option can be useful when feeding doxygen a huge amount of source files, where -# putting all generated files in the same directory would otherwise causes -# performance problems for the file system. -# The default value is: NO. - -CREATE_SUBDIRS = NO - -# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII -# characters to appear in the names of generated files. If set to NO, non-ASCII -# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode -# U+3044. -# The default value is: NO. - -ALLOW_UNICODE_NAMES = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, -# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), -# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, -# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), -# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, -# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, -# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, -# Ukrainian and Vietnamese. -# The default value is: English. - -OUTPUT_LANGUAGE = English - -# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member -# descriptions after the members that are listed in the file and class -# documentation (similar to Javadoc). Set to NO to disable this. -# The default value is: YES. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief -# description of a member or function before the detailed description -# -# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. -# The default value is: YES. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator that is -# used to form the text in various listings. Each string in this list, if found -# as the leading text of the brief description, will be stripped from the text -# and the result, after processing the whole list, is used as the annotated -# text. Otherwise, the brief description is used as-is. If left blank, the -# following values are used ($name is automatically replaced with the name of -# the entity):The $name class, The $name widget, The $name file, is, provides, -# specifies, contains, represents, a, an and the. - -ABBREVIATE_BRIEF = "The $name class" \ - "The $name widget" \ - "The $name file" \ - is \ - provides \ - specifies \ - contains \ - represents \ - a \ - an \ - the - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# doxygen will generate a detailed section even if there is only a brief -# description. -# The default value is: NO. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all -# inherited members of a class in the documentation of that class as if those -# members were ordinary class members. Constructors, destructors and assignment -# operators of the base classes will not be shown. -# The default value is: NO. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path -# before files name in the file list and in the header files. If set to NO the -# shortest path that makes the file name unique will be used -# The default value is: YES. - -FULL_PATH_NAMES = NO - -# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. -# Stripping is only done if one of the specified strings matches the left-hand -# part of the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the path to -# strip. -# -# Note that you can specify absolute paths here, but also relative paths, which -# will be relative from the directory where doxygen is started. -# This tag requires that the tag FULL_PATH_NAMES is set to YES. - -STRIP_FROM_PATH = - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the -# path mentioned in the documentation of a class, which tells the reader which -# header file to include in order to use a class. If left blank only the name of -# the header file containing the class definition is used. Otherwise one should -# specify the list of include paths that are normally passed to the compiler -# using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but -# less readable) file names. This can be useful is your file systems doesn't -# support long names like on DOS, Mac, or CD-ROM. -# The default value is: NO. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the -# first line (until the first dot) of a Javadoc-style comment as the brief -# description. If set to NO, the Javadoc-style will behave just like regular Qt- -# style comments (thus requiring an explicit @brief command for a brief -# description.) -# The default value is: NO. - -JAVADOC_AUTOBRIEF = YES - -# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first -# line (until the first dot) of a Qt-style comment as the brief description. If -# set to NO, the Qt-style will behave just like regular Qt-style comments (thus -# requiring an explicit \brief command for a brief description.) -# The default value is: NO. - -QT_AUTOBRIEF = NO - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a -# multi-line C++ special comment block (i.e. a block of //! or /// comments) as -# a brief description. This used to be the default behavior. The new default is -# to treat a multi-line C++ comment block as a detailed description. Set this -# tag to YES if you prefer the old behavior instead. -# -# Note that setting this tag to YES also means that rational rose comments are -# not recognized any more. -# The default value is: NO. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the -# documentation from any documented member that it re-implements. -# The default value is: YES. - -INHERIT_DOCS = YES - -# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new -# page for each member. If set to NO, the documentation of a member will be part -# of the file/class/namespace that contains it. -# The default value is: NO. - -SEPARATE_MEMBER_PAGES = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen -# uses this value to replace tabs by spaces in code fragments. -# Minimum value: 1, maximum value: 16, default value: 4. - -TAB_SIZE = 4 - -# This tag can be used to specify a number of aliases that act as commands in -# the documentation. An alias has the form: -# name=value -# For example adding -# "sideeffect=@par Side Effects:\n" -# will allow you to put the command \sideeffect (or @sideeffect) in the -# documentation, which will result in a user-defined paragraph with heading -# "Side Effects:". You can put \n's in the value part of an alias to insert -# newlines. - -ALIASES = - -# This tag can be used to specify a number of word-keyword mappings (TCL only). -# A mapping has the form "name=value". For example adding "class=itcl::class" -# will allow you to use the command class in the itcl::class meaning. - -TCL_SUBST = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. For -# instance, some of the names that are used will be different. The list of all -# members will be omitted, etc. -# The default value is: NO. - -OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or -# Python sources only. Doxygen will then generate output that is more tailored -# for that language. For instance, namespaces will be presented as packages, -# qualified scopes will look different, etc. -# The default value is: NO. - -OPTIMIZE_OUTPUT_JAVA = YES - -# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran -# sources. Doxygen will then generate output that is tailored for Fortran. -# The default value is: NO. - -OPTIMIZE_FOR_FORTRAN = NO - -# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL -# sources. Doxygen will then generate output that is tailored for VHDL. -# The default value is: NO. - -OPTIMIZE_OUTPUT_VHDL = NO - -# Doxygen selects the parser to use depending on the extension of the files it -# parses. With this tag you can assign which parser to use for a given -# extension. Doxygen has a built-in mapping, but you can override or extend it -# using this tag. The format is ext=language, where ext is a file extension, and -# language is one of the parsers supported by doxygen: IDL, Java, Javascript, -# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: -# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: -# Fortran. In the later case the parser tries to guess whether the code is fixed -# or free formatted code, this is the default for Fortran type files), VHDL. For -# instance to make doxygen treat .inc files as Fortran files (default is PHP), -# and .f files as C (default is Fortran), use: inc=Fortran f=C. -# -# Note: For files without extension you can use no_extension as a placeholder. -# -# Note that for custom extensions you also need to set FILE_PATTERNS otherwise -# the files are not read by doxygen. - -EXTENSION_MAPPING = - -# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments -# according to the Markdown format, which allows for more readable -# documentation. See http://daringfireball.net/projects/markdown/ for details. -# The output of markdown processing is further processed by doxygen, so you can -# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in -# case of backward compatibilities issues. -# The default value is: YES. - -MARKDOWN_SUPPORT = YES - -# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up -# to that level are automatically included in the table of contents, even if -# they do not have an id attribute. -# Note: This feature currently applies only to Markdown headings. -# Minimum value: 0, maximum value: 99, default value: 0. -# This tag requires that the tag MARKDOWN_SUPPORT is set to YES. - -TOC_INCLUDE_HEADINGS = 0 - -# When enabled doxygen tries to link words that correspond to documented -# classes, or namespaces to their corresponding documentation. Such a link can -# be prevented in individual cases by putting a % sign in front of the word or -# globally by setting AUTOLINK_SUPPORT to NO. -# The default value is: YES. - -AUTOLINK_SUPPORT = YES - -# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want -# to include (a tag file for) the STL sources as input, then you should set this -# tag to YES in order to let doxygen match functions declarations and -# definitions whose arguments contain STL classes (e.g. func(std::string); -# versus func(std::string) {}). This also make the inheritance and collaboration -# diagrams that involve STL classes more complete and accurate. -# The default value is: NO. - -BUILTIN_STL_SUPPORT = NO - -# If you use Microsoft's C++/CLI language, you should set this option to YES to -# enable parsing support. -# The default value is: NO. - -CPP_CLI_SUPPORT = NO - -# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: -# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen -# will parse them like normal C++ but will assume all classes use public instead -# of private inheritance when no explicit protection keyword is present. -# The default value is: NO. - -SIP_SUPPORT = NO - -# For Microsoft's IDL there are propget and propput attributes to indicate -# getter and setter methods for a property. Setting this option to YES will make -# doxygen to replace the get and set methods by a property in the documentation. -# This will only work if the methods are indeed getting or setting a simple -# type. If this is not the case, or you want to show the methods anyway, you -# should set this option to NO. -# The default value is: YES. - -IDL_PROPERTY_SUPPORT = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. -# The default value is: NO. - -DISTRIBUTE_GROUP_DOC = NO - -# If one adds a struct or class to a group and this option is enabled, then also -# any nested class or struct is added to the same group. By default this option -# is disabled and one has to add nested compounds explicitly via \ingroup. -# The default value is: NO. - -GROUP_NESTED_COMPOUNDS = NO - -# Set the SUBGROUPING tag to YES to allow class member groups of the same type -# (for instance a group of public functions) to be put as a subgroup of that -# type (e.g. under the Public Functions section). Set it to NO to prevent -# subgrouping. Alternatively, this can be done per class using the -# \nosubgrouping command. -# The default value is: YES. - -SUBGROUPING = YES - -# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions -# are shown inside the group in which they are included (e.g. using \ingroup) -# instead of on a separate page (for HTML and Man pages) or section (for LaTeX -# and RTF). -# -# Note that this feature does not work in combination with -# SEPARATE_MEMBER_PAGES. -# The default value is: NO. - -INLINE_GROUPED_CLASSES = NO - -# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions -# with only public data fields or simple typedef fields will be shown inline in -# the documentation of the scope in which they are defined (i.e. file, -# namespace, or group documentation), provided this scope is documented. If set -# to NO, structs, classes, and unions are shown on a separate page (for HTML and -# Man pages) or section (for LaTeX and RTF). -# The default value is: NO. - -INLINE_SIMPLE_STRUCTS = NO - -# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or -# enum is documented as struct, union, or enum with the name of the typedef. So -# typedef struct TypeS {} TypeT, will appear in the documentation as a struct -# with name TypeT. When disabled the typedef will appear as a member of a file, -# namespace, or class. And the struct will be named TypeS. This can typically be -# useful for C code in case the coding convention dictates that all compound -# types are typedef'ed and only the typedef is referenced, never the tag name. -# The default value is: NO. - -TYPEDEF_HIDES_STRUCT = NO - -# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This -# cache is used to resolve symbols given their name and scope. Since this can be -# an expensive process and often the same symbol appears multiple times in the -# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small -# doxygen will become slower. If the cache is too large, memory is wasted. The -# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range -# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 -# symbols. At the end of a run doxygen will report the cache usage and suggest -# the optimal cache size from a speed point of view. -# Minimum value: 0, maximum value: 9, default value: 0. - -LOOKUP_CACHE_SIZE = 0 - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in -# documentation are documented, even if no documentation was available. Private -# class members and static file members will be hidden unless the -# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. -# Note: This will also disable the warnings about undocumented members that are -# normally produced when WARNINGS is set to YES. -# The default value is: NO. - -EXTRACT_ALL = YES - -# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will -# be included in the documentation. -# The default value is: NO. - -EXTRACT_PRIVATE = NO - -# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal -# scope will be included in the documentation. -# The default value is: NO. - -EXTRACT_PACKAGE = NO - -# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be -# included in the documentation. -# The default value is: NO. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined -# locally in source files will be included in the documentation. If set to NO, -# only classes defined in header files are included. Does not have any effect -# for Java sources. -# The default value is: YES. - -EXTRACT_LOCAL_CLASSES = NO - -# This flag is only useful for Objective-C code. If set to YES, local methods, -# which are defined in the implementation section but not in the interface are -# included in the documentation. If set to NO, only methods in the interface are -# included. -# The default value is: NO. - -EXTRACT_LOCAL_METHODS = NO - -# If this flag is set to YES, the members of anonymous namespaces will be -# extracted and appear in the documentation as a namespace called -# 'anonymous_namespace{file}', where file will be replaced with the base name of -# the file that contains the anonymous namespace. By default anonymous namespace -# are hidden. -# The default value is: NO. - -EXTRACT_ANON_NSPACES = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all -# undocumented members inside documented classes or files. If set to NO these -# members will be included in the various overviews, but no documentation -# section is generated. This option has no effect if EXTRACT_ALL is enabled. -# The default value is: NO. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. If set -# to NO, these classes will be included in the various overviews. This option -# has no effect if EXTRACT_ALL is enabled. -# The default value is: NO. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend -# (class|struct|union) declarations. If set to NO, these declarations will be -# included in the documentation. -# The default value is: NO. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any -# documentation blocks found inside the body of a function. If set to NO, these -# blocks will be appended to the function's detailed documentation block. -# The default value is: NO. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation that is typed after a -# \internal command is included. If the tag is set to NO then the documentation -# will be excluded. Set it to YES to include the internal documentation. -# The default value is: NO. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file -# names in lower-case letters. If set to YES, upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# and Mac users are advised to set this option to NO. -# The default value is: system dependent. - -CASE_SENSE_NAMES = NO - -# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with -# their full class and namespace scopes in the documentation. If set to YES, the -# scope will be hidden. -# The default value is: NO. - -HIDE_SCOPE_NAMES = NO - -# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will -# append additional text to a page's title, such as Class Reference. If set to -# YES the compound reference will be hidden. -# The default value is: NO. - -HIDE_COMPOUND_REFERENCE= NO - -# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of -# the files that are included by a file in the documentation of that file. -# The default value is: YES. - -SHOW_INCLUDE_FILES = YES - -# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each -# grouped member an include statement to the documentation, telling the reader -# which file to include in order to use the member. -# The default value is: NO. - -SHOW_GROUPED_MEMB_INC = NO - -# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include -# files with double quotes in the documentation rather than with sharp brackets. -# The default value is: NO. - -FORCE_LOCAL_INCLUDES = NO - -# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the -# documentation for inline members. -# The default value is: YES. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the -# (detailed) documentation of file and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. -# The default value is: YES. - -SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief -# descriptions of file, namespace and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. Note that -# this will also influence the order of the classes in the class list. -# The default value is: NO. - -SORT_BRIEF_DOCS = NO - -# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the -# (brief and detailed) documentation of class members so that constructors and -# destructors are listed first. If set to NO the constructors will appear in the -# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. -# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief -# member documentation. -# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting -# detailed member documentation. -# The default value is: NO. - -SORT_MEMBERS_CTORS_1ST = NO - -# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy -# of group names into alphabetical order. If set to NO the group names will -# appear in their defined order. -# The default value is: NO. - -SORT_GROUP_NAMES = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by -# fully-qualified names, including namespaces. If set to NO, the class list will -# be sorted only by class name, not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the alphabetical -# list. -# The default value is: NO. - -SORT_BY_SCOPE_NAME = NO - -# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper -# type resolution of all parameters of a function it will reject a match between -# the prototype and the implementation of a member function even if there is -# only one candidate or it is obvious which candidate to choose by doing a -# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still -# accept a match between prototype and implementation in such cases. -# The default value is: NO. - -STRICT_PROTO_MATCHING = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo -# list. This list is created by putting \todo commands in the documentation. -# The default value is: YES. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test -# list. This list is created by putting \test commands in the documentation. -# The default value is: YES. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug -# list. This list is created by putting \bug commands in the documentation. -# The default value is: YES. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) -# the deprecated list. This list is created by putting \deprecated commands in -# the documentation. -# The default value is: YES. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional documentation -# sections, marked by \if ... \endif and \cond -# ... \endcond blocks. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the -# initial value of a variable or macro / define can have for it to appear in the -# documentation. If the initializer consists of more lines than specified here -# it will be hidden. Use a value of 0 to hide initializers completely. The -# appearance of the value of individual variables and macros / defines can be -# controlled using \showinitializer or \hideinitializer command in the -# documentation regardless of this setting. -# Minimum value: 0, maximum value: 10000, default value: 30. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at -# the bottom of the documentation of classes and structs. If set to YES, the -# list will mention the files that were used to generate the documentation. -# The default value is: YES. - -SHOW_USED_FILES = YES - -# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This -# will remove the Files entry from the Quick Index and from the Folder Tree View -# (if specified). -# The default value is: YES. - -SHOW_FILES = YES - -# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces -# page. This will remove the Namespaces entry from the Quick Index and from the -# Folder Tree View (if specified). -# The default value is: YES. - -SHOW_NAMESPACES = YES - -# The FILE_VERSION_FILTER tag can be used to specify a program or script that -# doxygen should invoke to get the current version for each file (typically from -# the version control system). Doxygen will invoke the program by executing (via -# popen()) the command command input-file, where command is the value of the -# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided -# by doxygen. Whatever the program writes to standard output is used as the file -# version. For an example see the documentation. - -FILE_VERSION_FILTER = - -# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed -# by doxygen. The layout file controls the global structure of the generated -# output files in an output format independent way. To create the layout file -# that represents doxygen's defaults, run doxygen with the -l option. You can -# optionally specify a file name after the option, if omitted DoxygenLayout.xml -# will be used as the name of the layout file. -# -# Note that if you run doxygen from a directory containing a file called -# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE -# tag is left empty. - -LAYOUT_FILE = - -# The CITE_BIB_FILES tag can be used to specify one or more bib files containing -# the reference definitions. This must be a list of .bib files. The .bib -# extension is automatically appended if omitted. This requires the bibtex tool -# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. -# For LaTeX the style of the bibliography can be controlled using -# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the -# search path. See also \cite for info how to create references. - -CITE_BIB_FILES = - -#--------------------------------------------------------------------------- -# Configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated to -# standard output by doxygen. If QUIET is set to YES this implies that the -# messages are off. -# The default value is: NO. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES -# this implies that the warnings are on. -# -# Tip: Turn warnings on while writing the documentation. -# The default value is: YES. - -WARNINGS = YES - -# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate -# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag -# will automatically be disabled. -# The default value is: YES. - -WARN_IF_UNDOCUMENTED = YES - -# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some parameters -# in a documented function, or documenting parameters that don't exist or using -# markup commands wrongly. -# The default value is: YES. - -WARN_IF_DOC_ERROR = YES - -# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that -# are documented, but have no documentation for their parameters or return -# value. If set to NO, doxygen will only warn about wrong or incomplete -# parameter documentation, but not about the absence of documentation. -# The default value is: NO. - -WARN_NO_PARAMDOC = NO - -# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when -# a warning is encountered. -# The default value is: NO. - -WARN_AS_ERROR = NO - -# The WARN_FORMAT tag determines the format of the warning messages that doxygen -# can produce. The string should contain the $file, $line, and $text tags, which -# will be replaced by the file and line number from which the warning originated -# and the warning text. Optionally the format may contain $version, which will -# be replaced by the version of the file (if it could be obtained via -# FILE_VERSION_FILTER) -# The default value is: $file:$line: $text. - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning and error -# messages should be written. If left blank the output is written to standard -# error (stderr). - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# Configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag is used to specify the files and/or directories that contain -# documented source files. You may enter file names like myfile.cpp or -# directories like /usr/src/myproject. Separate the files or directories with -# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING -# Note: If this tag is empty the current directory is searched. - -INPUT = ../Assets/Fungus/Scripts \ - top_pages/fungus_lua.md \ - top_pages/command_reference.md \ - ./ - -# This tag can be used to specify the character encoding of the source files -# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses -# libiconv (or the iconv built into libc) for the transcoding. See the libiconv -# documentation (see: http://www.gnu.org/software/libiconv) for the list of -# possible encodings. -# The default value is: UTF-8. - -INPUT_ENCODING = UTF-8 - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and -# *.h) to filter out the source-files in the directories. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# read by doxygen. -# -# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, -# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, -# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, -# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, -# *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf and *.qsf. - -FILE_PATTERNS = *.c \ - *.cc \ - *.cxx \ - *.cpp \ - *.c++ \ - *.java \ - *.ii \ - *.ixx \ - *.ipp \ - *.i++ \ - *.inl \ - *.idl \ - *.ddl \ - *.odl \ - *.h \ - *.hh \ - *.hxx \ - *.hpp \ - *.h++ \ - *.cs \ - *.d \ - *.php \ - *.php4 \ - *.php5 \ - *.phtml \ - *.inc \ - *.m \ - *.markdown \ - *.md \ - *.mm \ - *.dox \ - *.py \ - *.f90 \ - *.f \ - *.for \ - *.tcl \ - *.vhd \ - *.vhdl \ - *.ucf \ - *.qsf \ - *.as \ - *.js - -# The RECURSIVE tag can be used to specify whether or not subdirectories should -# be searched for input files as well. -# The default value is: NO. - -RECURSIVE = YES - -# The EXCLUDE tag can be used to specify files and/or directories that should be -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. -# -# Note that relative paths are relative to the directory from which doxygen is -# run. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or -# directories that are symbolic links (a Unix file system feature) are excluded -# from the input. -# The default value is: NO. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories for example use the pattern */test/* - -EXCLUDE_PATTERNS = - -# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names -# (namespaces, classes, functions, etc.) that should be excluded from the -# output. The symbol name can be a fully qualified name, a word, or if the -# wildcard * is used, a substring. Examples: ANamespace, AClass, -# AClass::ANamespace, ANamespace::*Test -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories use the pattern */test/* - -EXCLUDE_SYMBOLS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or directories -# that contain example code fragments that are included (see the \include -# command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and -# *.h) to filter out the source-files in the directories. If left blank all -# files are included. - -EXAMPLE_PATTERNS = * - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude commands -# irrespective of the value of the RECURSIVE tag. -# The default value is: NO. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or directories -# that contain images that are to be included in the documentation (see the -# \image command). - -IMAGE_PATH = resources - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command: -# -# -# -# where is the value of the INPUT_FILTER tag, and is the -# name of an input file. Doxygen will then use the output that the filter -# program writes to standard output. If FILTER_PATTERNS is specified, this tag -# will be ignored. -# -# Note that the filter must not add or remove lines; it is applied before the -# code is scanned, but not when the output code is generated. If lines are added -# or removed, the anchors will not be placed correctly. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# properly processed by doxygen. - -INPUT_FILTER = - -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. The filters are a list of the form: pattern=filter -# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how -# filters are used. If the FILTER_PATTERNS tag is empty or if none of the -# patterns match the file name, INPUT_FILTER is applied. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# properly processed by doxygen. - -FILTER_PATTERNS = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will also be used to filter the input files that are used for -# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). -# The default value is: NO. - -FILTER_SOURCE_FILES = NO - -# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file -# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and -# it is also possible to disable source filtering for a specific pattern using -# *.ext= (so without naming a filter). -# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. - -FILTER_SOURCE_PATTERNS = - -# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that -# is part of the input, its contents will be placed on the main page -# (index.html). This can be useful if you have a project on for instance GitHub -# and want to reuse the introduction page also for the doxygen output. - -USE_MDFILE_AS_MAINPAGE = mainpage.md - -#--------------------------------------------------------------------------- -# Configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will be -# generated. Documented entities will be cross-referenced with these sources. -# -# Note: To get rid of all source code in the generated output, make sure that -# also VERBATIM_HEADERS is set to NO. -# The default value is: NO. - -SOURCE_BROWSER = YES - -# Setting the INLINE_SOURCES tag to YES will include the body of functions, -# classes and enums directly into the documentation. -# The default value is: NO. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any -# special comment blocks from generated source code fragments. Normal C, C++ and -# Fortran comments will always remain visible. -# The default value is: YES. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES then for each documented -# function all documented functions referencing it will be listed. -# The default value is: NO. - -REFERENCED_BY_RELATION = NO - -# If the REFERENCES_RELATION tag is set to YES then for each documented function -# all documented entities called/used by that function will be listed. -# The default value is: NO. - -REFERENCES_RELATION = NO - -# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set -# to YES then the hyperlinks from functions in REFERENCES_RELATION and -# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will -# link to the documentation. -# The default value is: YES. - -REFERENCES_LINK_SOURCE = YES - -# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the -# source code will show a tooltip with additional information such as prototype, -# brief description and links to the definition and documentation. Since this -# will make the HTML file larger and loading of large files a bit slower, you -# can opt to disable this feature. -# The default value is: YES. -# This tag requires that the tag SOURCE_BROWSER is set to YES. - -SOURCE_TOOLTIPS = YES - -# If the USE_HTAGS tag is set to YES then the references to source code will -# point to the HTML generated by the htags(1) tool instead of doxygen built-in -# source browser. The htags tool is part of GNU's global source tagging system -# (see http://www.gnu.org/software/global/global.html). You will need version -# 4.8.6 or higher. -# -# To use it do the following: -# - Install the latest version of global -# - Enable SOURCE_BROWSER and USE_HTAGS in the config file -# - Make sure the INPUT points to the root of the source tree -# - Run doxygen as normal -# -# Doxygen will invoke htags (and that will in turn invoke gtags), so these -# tools must be available from the command line (i.e. in the search path). -# -# The result: instead of the source browser generated by doxygen, the links to -# source code will now point to the output of htags. -# The default value is: NO. -# This tag requires that the tag SOURCE_BROWSER is set to YES. - -USE_HTAGS = NO - -# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a -# verbatim copy of the header file for each class for which an include is -# specified. Set to NO to disable this. -# See also: Section \class. -# The default value is: YES. - -VERBATIM_HEADERS = YES - -# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the -# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the -# cost of reduced performance. This can be particularly helpful with template -# rich C++ code for which doxygen's built-in parser lacks the necessary type -# information. -# Note: The availability of this option depends on whether or not doxygen was -# generated with the -Duse-libclang=ON option for CMake. -# The default value is: NO. - -CLANG_ASSISTED_PARSING = NO - -# If clang assisted parsing is enabled you can provide the compiler with command -# line options that you would normally use when invoking the compiler. Note that -# the include paths will already be set by doxygen for the files and directories -# specified with INPUT and INCLUDE_PATH. -# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. - -CLANG_OPTIONS = - -#--------------------------------------------------------------------------- -# Configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all -# compounds will be generated. Enable this if the project contains a lot of -# classes, structs, unions or interfaces. -# The default value is: YES. - -ALPHABETICAL_INDEX = NO - -# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in -# which the alphabetical index list will be split. -# Minimum value: 1, maximum value: 20, default value: 5. -# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all classes will -# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag -# can be used to specify a prefix (or a list of prefixes) that should be ignored -# while generating the index headers. -# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output -# The default value is: YES. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a -# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of -# it. -# The default directory is: html. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_OUTPUT = ./ - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each -# generated HTML page (for example: .htm, .php, .asp). -# The default value is: .html. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a user-defined HTML header file for -# each generated HTML page. If the tag is left blank doxygen will generate a -# standard header. -# -# To get valid HTML the header file that includes any scripts and style sheets -# that doxygen needs, which is dependent on the configuration options used (e.g. -# the setting GENERATE_TREEVIEW). It is highly recommended to start with a -# default header using -# doxygen -w html new_header.html new_footer.html new_stylesheet.css -# YourConfigFile -# and then modify the file new_header.html. See also section "Doxygen usage" -# for information on how to generate the default header that doxygen normally -# uses. -# Note: The header is subject to change so you typically have to regenerate the -# default header when upgrading to a newer version of doxygen. For a description -# of the possible markers and block names see the documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_HEADER = resources/header.html - -# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each -# generated HTML page. If the tag is left blank doxygen will generate a standard -# footer. See HTML_HEADER for more information on how to generate a default -# footer and what special commands can be used inside the footer. See also -# section "Doxygen usage" for information on how to generate the default footer -# that doxygen normally uses. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style -# sheet that is used by each HTML page. It can be used to fine-tune the look of -# the HTML output. If left blank doxygen will generate a default style sheet. -# See also section "Doxygen usage" for information on how to generate the style -# sheet that doxygen normally uses. -# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as -# it is more robust and this tag (HTML_STYLESHEET) will in the future become -# obsolete. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_STYLESHEET = - -# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined -# cascading style sheets that are included after the standard style sheets -# created by doxygen. Using this option one can overrule certain style aspects. -# This is preferred over using HTML_STYLESHEET since it does not replace the -# standard style sheet and is therefore more robust against future updates. -# Doxygen will copy the style sheet files to the output directory. -# Note: The order of the extra style sheet files is of importance (e.g. the last -# style sheet in the list overrules the setting of the previous ones in the -# list). For an example see the documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_EXTRA_STYLESHEET = - -# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or -# other source files which should be copied to the HTML output directory. Note -# that these files will be copied to the base HTML output directory. Use the -# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these -# files. In the HTML_STYLESHEET file, use the file name only. Also note that the -# files will be copied as-is; there are no commands or markers available. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_EXTRA_FILES = resources/training_course/training.png - -# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen -# will adjust the colors in the style sheet and background images according to -# this color. Hue is specified as an angle on a colorwheel, see -# http://en.wikipedia.org/wiki/Hue for more information. For instance the value -# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 -# purple, and 360 is red again. -# Minimum value: 0, maximum value: 359, default value: 220. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_HUE = 220 - -# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors -# in the HTML output. For a value of 0 the output will use grayscales only. A -# value of 255 will produce the most vivid colors. -# Minimum value: 0, maximum value: 255, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_SAT = 100 - -# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the -# luminance component of the colors in the HTML output. Values below 100 -# gradually make the output lighter, whereas values above 100 make the output -# darker. The value divided by 100 is the actual gamma applied, so 80 represents -# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not -# change the gamma. -# Minimum value: 40, maximum value: 240, default value: 80. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_GAMMA = 80 - -# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML -# page will contain the date and time when the page was generated. Setting this -# to YES can help to show when doxygen was last run and thus if the -# documentation is up to date. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_TIMESTAMP = YES - -# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML -# documentation will contain sections that can be hidden and shown after the -# page has loaded. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_DYNAMIC_SECTIONS = NO - -# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries -# shown in the various tree structured indices initially; the user can expand -# and collapse entries dynamically later on. Doxygen will expand the tree to -# such a level that at most the specified number of entries are visible (unless -# a fully collapsed tree already exceeds this amount). So setting the number of -# entries 1 will produce a full collapsed tree by default. 0 is a special value -# representing an infinite number of entries and will result in a full expanded -# tree by default. -# Minimum value: 0, maximum value: 9999, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_INDEX_NUM_ENTRIES = 100 - -# If the GENERATE_DOCSET tag is set to YES, additional index files will be -# generated that can be used as input for Apple's Xcode 3 integrated development -# environment (see: http://developer.apple.com/tools/xcode/), introduced with -# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a -# Makefile in the HTML output directory. Running make will produce the docset in -# that directory and running make install will install the docset in -# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at -# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html -# for more information. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_DOCSET = NO - -# This tag determines the name of the docset feed. A documentation feed provides -# an umbrella under which multiple documentation sets from a single provider -# (such as a company or product suite) can be grouped. -# The default value is: Doxygen generated docs. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_FEEDNAME = "Doxygen generated docs" - -# This tag specifies a string that should uniquely identify the documentation -# set bundle. This should be a reverse domain-name style string, e.g. -# com.mycompany.MyDocSet. Doxygen will append .docset to the name. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_BUNDLE_ID = org.doxygen.Project - -# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify -# the documentation publisher. This should be a reverse domain-name style -# string, e.g. com.mycompany.MyDocSet.documentation. -# The default value is: org.doxygen.Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_PUBLISHER_ID = org.doxygen.Publisher - -# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. -# The default value is: Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_PUBLISHER_NAME = Publisher - -# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three -# additional HTML index files: index.hhp, index.hhc, and index.hhk. The -# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop -# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on -# Windows. -# -# The HTML Help Workshop contains a compiler that can convert all HTML output -# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML -# files are now used as the Windows 98 help format, and will replace the old -# Windows help format (.hlp) on all Windows platforms in the future. Compressed -# HTML files also contain an index, a table of contents, and you can search for -# words in the documentation. The HTML workshop also contains a viewer for -# compressed HTML files. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_HTMLHELP = NO - -# The CHM_FILE tag can be used to specify the file name of the resulting .chm -# file. You can add a path in front of the file if the result should not be -# written to the html output directory. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -CHM_FILE = - -# The HHC_LOCATION tag can be used to specify the location (absolute path -# including file name) of the HTML help compiler (hhc.exe). If non-empty, -# doxygen will try to run the HTML help compiler on the generated index.hhp. -# The file has to be specified with full path. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -HHC_LOCATION = - -# The GENERATE_CHI flag controls if a separate .chi index file is generated -# (YES) or that it should be included in the master .chm file (NO). -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -GENERATE_CHI = NO - -# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) -# and project file content. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -CHM_INDEX_ENCODING = - -# The BINARY_TOC flag controls whether a binary table of contents is generated -# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it -# enables the Previous and Next buttons. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members to -# the table of contents of the HTML help documentation and to the tree view. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -TOC_EXPAND = NO - -# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and -# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that -# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help -# (.qch) of the generated HTML documentation. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_QHP = NO - -# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify -# the file name of the resulting .qch file. The path specified is relative to -# the HTML output folder. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QCH_FILE = - -# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help -# Project output. For more information please see Qt Help Project / Namespace -# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_NAMESPACE = org.doxygen.Project - -# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt -# Help Project output. For more information please see Qt Help Project / Virtual -# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- -# folders). -# The default value is: doc. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_VIRTUAL_FOLDER = doc - -# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom -# filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- -# filters). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_CUST_FILTER_NAME = - -# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the -# custom filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- -# filters). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_CUST_FILTER_ATTRS = - -# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this -# project's filter section matches. Qt Help Project / Filter Attributes (see: -# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_SECT_FILTER_ATTRS = - -# The QHG_LOCATION tag can be used to specify the location of Qt's -# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the -# generated .qhp file. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHG_LOCATION = - -# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be -# generated, together with the HTML files, they form an Eclipse help plugin. To -# install this plugin and make it available under the help contents menu in -# Eclipse, the contents of the directory containing the HTML and XML files needs -# to be copied into the plugins directory of eclipse. The name of the directory -# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. -# After copying Eclipse needs to be restarted before the help appears. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_ECLIPSEHELP = NO - -# A unique identifier for the Eclipse help plugin. When installing the plugin -# the directory name containing the HTML and XML files should also have this -# name. Each documentation set should have its own identifier. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. - -ECLIPSE_DOC_ID = org.doxygen.Project - -# If you want full control over the layout of the generated HTML pages it might -# be necessary to disable the index and replace it with your own. The -# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top -# of each HTML page. A value of NO enables the index and the value YES disables -# it. Since the tabs in the index contain the same information as the navigation -# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -DISABLE_INDEX = NO - -# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index -# structure should be generated to display hierarchical information. If the tag -# value is set to YES, a side panel will be generated containing a tree-like -# index structure (just like the one that is generated for HTML Help). For this -# to work a browser that supports JavaScript, DHTML, CSS and frames is required -# (i.e. any modern browser). Windows users are probably better off using the -# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can -# further fine-tune the look of the index. As an example, the default style -# sheet generated by doxygen has an example that shows how to put an image at -# the root of the tree instead of the PROJECT_NAME. Since the tree basically has -# the same information as the tab index, you could consider setting -# DISABLE_INDEX to YES when enabling this option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_TREEVIEW = YES - -# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that -# doxygen will group on one line in the generated HTML documentation. -# -# Note that a value of 0 will completely suppress the enum values from appearing -# in the overview section. -# Minimum value: 0, maximum value: 20, default value: 4. -# This tag requires that the tag GENERATE_HTML is set to YES. - -ENUM_VALUES_PER_LINE = 4 - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used -# to set the initial width (in pixels) of the frame in which the tree is shown. -# Minimum value: 0, maximum value: 1500, default value: 250. -# This tag requires that the tag GENERATE_HTML is set to YES. - -TREEVIEW_WIDTH = 250 - -# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to -# external symbols imported via tag files in a separate window. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -EXT_LINKS_IN_WINDOW = NO - -# Use this tag to change the font size of LaTeX formulas included as images in -# the HTML documentation. When you change the font size after a successful -# doxygen run you need to manually remove any form_*.png images from the HTML -# output directory to force them to be regenerated. -# Minimum value: 8, maximum value: 50, default value: 10. -# This tag requires that the tag GENERATE_HTML is set to YES. - -FORMULA_FONTSIZE = 10 - -# Use the FORMULA_TRANPARENT tag to determine whether or not the images -# generated for formulas are transparent PNGs. Transparent PNGs are not -# supported properly for IE 6.0, but are supported on all modern browsers. -# -# Note that when changing this option you need to delete any form_*.png files in -# the HTML output directory before the changes have effect. -# The default value is: YES. -# This tag requires that the tag GENERATE_HTML is set to YES. - -FORMULA_TRANSPARENT = YES - -# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see -# http://www.mathjax.org) which uses client side Javascript for the rendering -# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX -# installed or if you want to formulas look prettier in the HTML output. When -# enabled you may also need to install MathJax separately and configure the path -# to it using the MATHJAX_RELPATH option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -USE_MATHJAX = NO - -# When MathJax is enabled you can set the default output format to be used for -# the MathJax output. See the MathJax site (see: -# http://docs.mathjax.org/en/latest/output.html) for more details. -# Possible values are: HTML-CSS (which is slower, but has the best -# compatibility), NativeMML (i.e. MathML) and SVG. -# The default value is: HTML-CSS. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_FORMAT = HTML-CSS - -# When MathJax is enabled you need to specify the location relative to the HTML -# output directory using the MATHJAX_RELPATH option. The destination directory -# should contain the MathJax.js script. For instance, if the mathjax directory -# is located at the same level as the HTML output directory, then -# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax -# Content Delivery Network so you can quickly see the result without installing -# MathJax. However, it is strongly recommended to install a local copy of -# MathJax from http://www.mathjax.org before deployment. -# The default value is: http://cdn.mathjax.org/mathjax/latest. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest - -# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax -# extension names that should be enabled during MathJax rendering. For example -# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_EXTENSIONS = - -# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces -# of code that will be used on startup of the MathJax code. See the MathJax site -# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an -# example see the documentation. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_CODEFILE = - -# When the SEARCHENGINE tag is enabled doxygen will generate a search box for -# the HTML output. The underlying search engine uses javascript and DHTML and -# should work on any modern browser. Note that when using HTML help -# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) -# there is already a search function so this one should typically be disabled. -# For large projects the javascript based search engine can be slow, then -# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to -# search using the keyboard; to jump to the search box use + S -# (what the is depends on the OS and browser, but it is typically -# , /