diff --git a/Assets/Prefabs/QuitButton.prefab b/Assets/Prefabs/QuitButton.prefab new file mode 100644 index 0000000..b97343b --- /dev/null +++ b/Assets/Prefabs/QuitButton.prefab @@ -0,0 +1,297 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &4483513897253455860 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4483513897253455863} + - component: {fileID: 4483513897253455849} + - component: {fileID: 4483513897253455862} + 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 &4483513897253455863 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4483513897253455860} + 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: 4483513898449016681} + 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 &4483513897253455849 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4483513897253455860} + m_CullTransparentMesh: 0 +--- !u!114 &4483513897253455862 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4483513897253455860} + 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_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: Quit + 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: 4281479730 + m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_outlineColor: + serializedVersion: 2 + rgba: 4278190080 + m_fontSize: 14 + m_fontSizeBase: 14 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 1 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + 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} + parentLinkedComponent: {fileID: 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_ignoreCulling: 1 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 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: 4483513897253455862} + characterCount: 4 + 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_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &4483513898449016694 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4483513898449016681} + - component: {fileID: 4483513898449016685} + - component: {fileID: 4483513898449016682} + - component: {fileID: 4483513898449016683} + - component: {fileID: 4483513898449016680} + m_Layer: 5 + m_Name: QuitButton + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4483513898449016681 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4483513898449016694} + 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: 4483513897253455863} + m_Father: {fileID: 0} + 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: 241, y: 217} + m_SizeDelta: {x: 45.21103, y: 22.513783} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4483513898449016685 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4483513898449016694} + m_CullTransparentMesh: 0 +--- !u!114 &4483513898449016682 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4483513898449016694} + 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_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + 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!114 &4483513898449016683 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4483513898449016694} + 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: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 4483513898449016682} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 4483513898449016680} + m_TargetAssemblyTypeName: QuitButton, Assembly-CSharp + m_MethodName: OnClick + 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: 1 +--- !u!114 &4483513898449016680 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4483513898449016694} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f0835cb6a58a974e9c244a883831148, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/Assets/Prefabs/QuitButton.prefab.meta b/Assets/Prefabs/QuitButton.prefab.meta new file mode 100644 index 0000000..06ec897 --- /dev/null +++ b/Assets/Prefabs/QuitButton.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: aabe1272484cb854c83684905301115e +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/UI Canvas.prefab b/Assets/Prefabs/UI Canvas.prefab new file mode 100644 index 0000000..d16ddf7 --- /dev/null +++ b/Assets/Prefabs/UI Canvas.prefab @@ -0,0 +1,231 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &7676054076861618604 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3573294271472257189} + - component: {fileID: 7873443118975756592} + - component: {fileID: 3457312543365819850} + - component: {fileID: 391241850857440087} + m_Layer: 5 + m_Name: UI Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3573294271472257189 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7676054076861618604} + 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: 8951148461285736829} + 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 &7873443118975756592 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7676054076861618604} + 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!114 &3457312543365819850 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7676054076861618604} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1280, y: 720} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!114 &391241850857440087 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7676054076861618604} + 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!1001 &4755935601938404884 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 3573294271472257189} + m_Modifications: + - target: {fileID: 4483513897253455862, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_textInfo.characterCount + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 4483513897253455862, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_textInfo.wordCount + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4483513897253455862, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_textInfo.lineCount + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4483513897253455862, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_textInfo.pageCount + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_AnchoredPosition.x + value: 586 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_AnchoredPosition.y + value: 324 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_SizeDelta.x + value: 45.21103 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_SizeDelta.y + value: 22.513783 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalScale.x + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalScale.y + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_LocalScale.z + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4483513898449016694, guid: aabe1272484cb854c83684905301115e, type: 3} + propertyPath: m_Name + value: QuitButton + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: aabe1272484cb854c83684905301115e, type: 3} +--- !u!224 &8951148461285736829 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 4483513898449016681, guid: aabe1272484cb854c83684905301115e, type: 3} + m_PrefabInstance: {fileID: 4755935601938404884} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Prefabs/UI Canvas.prefab.meta b/Assets/Prefabs/UI Canvas.prefab.meta new file mode 100644 index 0000000..0b1db71 --- /dev/null +++ b/Assets/Prefabs/UI Canvas.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2643a6d9012d0db4cb374583d157ac59 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Level01.unity b/Assets/Scenes/Level01.unity index ee812fe..1570e54 100644 --- a/Assets/Scenes/Level01.unity +++ b/Assets/Scenes/Level01.unity @@ -215,7 +215,7 @@ RectTransform: m_Children: - {fileID: 798988757} m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} @@ -272,7 +272,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &798988756 GameObject: @@ -528,7 +528,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_RootOrder - value: 3 + value: 4 objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -613,3 +613,100 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 6a3d807853691ff4aa4b7e5d77f8c8b7, type: 3} +--- !u!1001 &7503564352795143781 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7676054076861618604, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Name + value: UI Canvas + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} diff --git a/Assets/Scenes/Level02.unity b/Assets/Scenes/Level02.unity index 2438a43..21276ae 100644 --- a/Assets/Scenes/Level02.unity +++ b/Assets/Scenes/Level02.unity @@ -214,7 +214,7 @@ RectTransform: m_LocalScale: {x: 0.013245033, y: 0.013245033, z: 0.013245033} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} @@ -271,7 +271,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1414392687 GameObject: @@ -376,7 +376,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_RootOrder - value: 3 + value: 4 objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -461,3 +461,116 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 6a3d807853691ff4aa4b7e5d77f8c8b7, type: 3} +--- !u!1001 &1878264894 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7676054076861618604, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Name + value: UI Canvas + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.characterCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.wordCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.lineCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.pageCount + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} diff --git a/Assets/Scenes/Tutorial01.unity b/Assets/Scenes/Tutorial01.unity index 5dc9d8f..9b6e3ac 100644 --- a/Assets/Scenes/Tutorial01.unity +++ b/Assets/Scenes/Tutorial01.unity @@ -216,7 +216,7 @@ RectTransform: - {fileID: 523453470} - {fileID: 962568405} m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} @@ -443,6 +443,119 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 523453469} m_CullTransparentMesh: 0 +--- !u!1001 &832198736 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7676054076861618604, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Name + value: UI Canvas + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.characterCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.wordCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.lineCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.pageCount + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} --- !u!1 &962568404 GameObject: m_ObjectHideFlags: 0 @@ -700,7 +813,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_RootOrder - value: 3 + value: 4 objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -774,5 +887,5 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Scenes/Tutorial02.unity b/Assets/Scenes/Tutorial02.unity index 422744e..2948c2f 100644 --- a/Assets/Scenes/Tutorial02.unity +++ b/Assets/Scenes/Tutorial02.unity @@ -217,13 +217,126 @@ RectTransform: - {fileID: 1546661447} - {fileID: 1751110671} m_Father: {fileID: 0} - m_RootOrder: 2 + 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: 1.77, y: 1.57} m_SizeDelta: {x: 803.99994, y: 453} m_Pivot: {x: 0.5, y: 0.5} +--- !u!1001 &190834302 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7676054076861618604, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Name + value: UI Canvas + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.characterCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.wordCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.lineCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.pageCount + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} --- !u!1 &233425626 GameObject: m_ObjectHideFlags: 0 @@ -274,7 +387,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &368510779 PrefabInstance: @@ -440,7 +553,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_RootOrder - value: 3 + value: 4 objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_LocalEulerAnglesHint.x diff --git a/Assets/Scenes/TutorialAnd.unity b/Assets/Scenes/TutorialAnd.unity index 3da13de..254c1e9 100644 --- a/Assets/Scenes/TutorialAnd.unity +++ b/Assets/Scenes/TutorialAnd.unity @@ -215,7 +215,7 @@ RectTransform: m_Children: - {fileID: 798988757} m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} @@ -272,7 +272,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &798988756 GameObject: @@ -533,7 +533,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_RootOrder - value: 3 + value: 4 objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -618,3 +618,116 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 6a3d807853691ff4aa4b7e5d77f8c8b7, type: 3} +--- !u!1001 &1659722877 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7676054076861618604, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Name + value: UI Canvas + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.characterCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.wordCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.lineCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.pageCount + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} diff --git a/Assets/Scenes/TutorialNot.unity b/Assets/Scenes/TutorialNot.unity index 98997d3..d83cf31 100644 --- a/Assets/Scenes/TutorialNot.unity +++ b/Assets/Scenes/TutorialNot.unity @@ -215,7 +215,7 @@ RectTransform: m_Children: - {fileID: 798988757} m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} @@ -426,7 +426,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1414392687 GameObject: @@ -531,7 +531,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_RootOrder - value: 3 + value: 4 objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -555,6 +555,119 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} +--- !u!1001 &1516681216 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7676054076861618604, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Name + value: UI Canvas + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.characterCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.wordCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.lineCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.pageCount + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} --- !u!1001 &1627713794 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/TutorialOr.unity b/Assets/Scenes/TutorialOr.unity index f5f657f..eb93dd1 100644 --- a/Assets/Scenes/TutorialOr.unity +++ b/Assets/Scenes/TutorialOr.unity @@ -215,7 +215,7 @@ RectTransform: m_Children: - {fileID: 798988757} m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} @@ -428,8 +428,121 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &1400510115 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3573294271472257189, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7676054076861618604, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_Name + value: UI Canvas + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.characterCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.wordCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.lineCount + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8951148462238192098, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} + propertyPath: m_textInfo.pageCount + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2643a6d9012d0db4cb374583d157ac59, type: 3} --- !u!1 &1414392687 GameObject: m_ObjectHideFlags: 0 @@ -533,7 +646,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_RootOrder - value: 3 + value: 4 objectReference: {fileID: 0} - target: {fileID: 1464170633690750341, guid: 37c11e0a46ad85f4a96f5708619338f2, type: 3} propertyPath: m_LocalEulerAnglesHint.x diff --git a/Assets/Scripts/QuitButton.cs b/Assets/Scripts/QuitButton.cs new file mode 100644 index 0000000..997599f --- /dev/null +++ b/Assets/Scripts/QuitButton.cs @@ -0,0 +1,22 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEditor; +using UnityEngine; + +public class QuitButton : MonoBehaviour +{ + public static void OnClick() + { + if (Application.isEditor) + { + Debug.Log("In standalone builds, that would quit the game."); +#if UNITY_EDITOR + EditorApplication.ExitPlaymode(); +#endif + } + else + { + Application.Quit(); + } + } +} diff --git a/Assets/Scripts/QuitButton.cs.meta b/Assets/Scripts/QuitButton.cs.meta new file mode 100644 index 0000000..b455d5a --- /dev/null +++ b/Assets/Scripts/QuitButton.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5f0835cb6a58a974e9c244a883831148 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: