mirror of
https://github.com/Steffo99/keep-everything-alive.git
synced 2024-11-25 02:34:18 +00:00
Commit a lot of stuff again
This commit is contained in:
parent
3778625c83
commit
c627226692
27 changed files with 1497 additions and 260 deletions
22
Assets/Fonts/digital dark system.ttf.meta
Normal file
22
Assets/Fonts/digital dark system.ttf.meta
Normal file
|
@ -0,0 +1,22 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f3d61e225906aac41b45ccd42e0cdb35
|
||||
TrueTypeFontImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
fontName: digital dark system
|
||||
fontNames:
|
||||
- digital dark system
|
||||
fallbackFontReferences: []
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
||||
ascentCalculationMode: 1
|
||||
useLegacyBoundsCalculation: 0
|
||||
shouldRoundAdvanceValue: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -7,8 +7,8 @@ Material:
|
|||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: New Material
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_Name: Static
|
||||
m_Shader: {fileID: 4800000, guid: 472330b51ec898e46b710c6a3ec6e16a, type: 3}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
|
@ -56,6 +56,7 @@ Material:
|
|||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _Brightness: 0.17
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
|
@ -65,6 +66,7 @@ Material:
|
|||
- _GlossyReflections: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _Multiplier: 11111.1
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
8
Assets/Prefabs/Microgames.meta
Normal file
8
Assets/Prefabs/Microgames.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: af045399ce4f74f4e9ee400b79384cd7
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
47
Assets/Prefabs/Microgames/Test Microgame 2.prefab
Normal file
47
Assets/Prefabs/Microgames/Test Microgame 2.prefab
Normal file
|
@ -0,0 +1,47 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &3737699630308377815
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3737699630308377814}
|
||||
- component: {fileID: -1447348138257578213}
|
||||
m_Layer: 0
|
||||
m_Name: Test Microgame 2
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &3737699630308377814
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3737699630308377815}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 580.0571, y: 316.83972, z: -219.125}
|
||||
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 &-1447348138257578213
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3737699630308377815}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a2f6067f11d26b446b444ebbc8c54b50, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
microgameName: TESTATA
|
||||
startingTime: 4
|
7
Assets/Prefabs/Microgames/Test Microgame 2.prefab.meta
Normal file
7
Assets/Prefabs/Microgames/Test Microgame 2.prefab.meta
Normal file
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4b285685b4a4a4c49ab075aaecba236e
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
47
Assets/Prefabs/Microgames/Test Microgame.prefab
Normal file
47
Assets/Prefabs/Microgames/Test Microgame.prefab
Normal file
|
@ -0,0 +1,47 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &3737699630308377815
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3737699630308377814}
|
||||
- component: {fileID: 1798768979100361691}
|
||||
m_Layer: 0
|
||||
m_Name: Test Microgame
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &3737699630308377814
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3737699630308377815}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 580.0571, y: 316.83972, z: -219.125}
|
||||
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 &1798768979100361691
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3737699630308377815}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a2f6067f11d26b446b444ebbc8c54b50, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
microgameName: TESTER
|
||||
startingTime: 4
|
7
Assets/Prefabs/Microgames/Test Microgame.prefab.meta
Normal file
7
Assets/Prefabs/Microgames/Test Microgame.prefab.meta
Normal file
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 630cd222aaffefe4cb13161eeca7bf03
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
96
Assets/Prefabs/UI/Static Background.prefab
Normal file
96
Assets/Prefabs/UI/Static Background.prefab
Normal file
|
@ -0,0 +1,96 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &5804266078435074427
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5804266078435074431}
|
||||
- component: {fileID: 5804266078435074430}
|
||||
- component: {fileID: 5804266078435074429}
|
||||
- component: {fileID: 5804266078435074428}
|
||||
m_Layer: 0
|
||||
m_Name: Static Background
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5804266078435074431
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5804266078435074427}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 20, y: 15, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!33 &5804266078435074430
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5804266078435074427}
|
||||
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!23 &5804266078435074429
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5804266078435074427}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 2
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: b4af61c42369efc41910c37847912923, type: 2}
|
||||
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!64 &5804266078435074428
|
||||
MeshCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5804266078435074427}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 4
|
||||
m_Convex: 0
|
||||
m_CookingOptions: 30
|
||||
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
|
7
Assets/Prefabs/UI/Static Background.prefab.meta
Normal file
7
Assets/Prefabs/UI/Static Background.prefab.meta
Normal file
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: bb65950cd5f10a448b1ecd42a3814aeb
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -28,8 +28,7 @@ RectTransform:
|
|||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 5975627601604633840}
|
||||
- {fileID: 2375294738568543451}
|
||||
- {fileID: 1456536980738473027}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
@ -50,9 +49,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: b6be74c25dc4be24589a9f33539949b6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
empty: {fileID: 8451133771192635742}
|
||||
full: {fileID: 8427290562657036284}
|
||||
--- !u!1 &963904147944082092
|
||||
--- !u!1 &2446418358487178256
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
|
@ -60,28 +57,28 @@ GameObject:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5975627601604633840}
|
||||
- component: {fileID: 4146300627105324292}
|
||||
- component: {fileID: 8451133771192635742}
|
||||
- component: {fileID: 4269304347599248008}
|
||||
- component: {fileID: 1009562441120091580}
|
||||
- component: {fileID: 4476338095320994774}
|
||||
m_Layer: 5
|
||||
m_Name: Empty
|
||||
m_Name: Background
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &5975627601604633840
|
||||
--- !u!224 &4269304347599248008
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 963904147944082092}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_GameObject: {fileID: 2446418358487178256}
|
||||
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: 6450387887428008748}
|
||||
m_Father: {fileID: 1456536980738473027}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
|
@ -89,24 +86,24 @@ RectTransform:
|
|||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4146300627105324292
|
||||
--- !u!222 &1009562441120091580
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 963904147944082092}
|
||||
m_GameObject: {fileID: 2446418358487178256}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!114 &8451133771192635742
|
||||
--- !u!114 &4476338095320994774
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 963904147944082092}
|
||||
m_GameObject: {fileID: 2446418358487178256}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
|
@ -115,14 +112,17 @@ MonoBehaviour:
|
|||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Texture: {fileID: 0}
|
||||
m_UVRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
--- !u!1 &6929631955942318384
|
||||
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!1 &4494579965938649343
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
|
@ -130,53 +130,53 @@ GameObject:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2375294738568543451}
|
||||
- component: {fileID: 7951719699899721909}
|
||||
- component: {fileID: 8427290562657036284}
|
||||
- component: {fileID: 5258333842059966781}
|
||||
- component: {fileID: 4565938636818273371}
|
||||
- component: {fileID: 3739562038838820684}
|
||||
m_Layer: 5
|
||||
m_Name: Full
|
||||
m_Name: Fill
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &2375294738568543451
|
||||
--- !u!224 &5258333842059966781
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6929631955942318384}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_GameObject: {fileID: 4494579965938649343}
|
||||
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: 6450387887428008748}
|
||||
m_RootOrder: 1
|
||||
m_Father: {fileID: 537175952211344181}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 10, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &7951719699899721909
|
||||
--- !u!222 &4565938636818273371
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6929631955942318384}
|
||||
m_GameObject: {fileID: 4494579965938649343}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!114 &8427290562657036284
|
||||
--- !u!114 &3739562038838820684
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6929631955942318384}
|
||||
m_GameObject: {fileID: 4494579965938649343}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
|
@ -185,10 +185,150 @@ MonoBehaviour:
|
|||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Texture: {fileID: 0}
|
||||
m_UVRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
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!1 &7587541779407325812
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 537175952211344181}
|
||||
m_Layer: 5
|
||||
m_Name: Fill Area
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &537175952211344181
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7587541779407325812}
|
||||
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: 5258333842059966781}
|
||||
m_Father: {fileID: 1456536980738473027}
|
||||
m_RootOrder: 1
|
||||
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!1 &8493536145583593601
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1456536980738473027}
|
||||
- component: {fileID: 3900124812833585103}
|
||||
- component: {fileID: 3439256421474806595}
|
||||
m_Layer: 5
|
||||
m_Name: Slider
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1456536980738473027
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8493536145583593601}
|
||||
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: 4269304347599248008}
|
||||
- {fileID: 537175952211344181}
|
||||
m_Father: {fileID: 6450387887428008748}
|
||||
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 &3900124812833585103
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8493536145583593601}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 67db9e8f0e2ae9c40bc1e2b64352a6b4, 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: 0
|
||||
m_TargetGraphic: {fileID: 0}
|
||||
m_FillRect: {fileID: 5258333842059966781}
|
||||
m_HandleRect: {fileID: 0}
|
||||
m_Direction: 0
|
||||
m_MinValue: 0
|
||||
m_MaxValue: 1
|
||||
m_WholeNumbers: 0
|
||||
m_Value: 1
|
||||
m_OnValueChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
--- !u!114 &3439256421474806595
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8493536145583593601}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: b6be74c25dc4be24589a9f33539949b6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
|
|
|
@ -1,5 +1,95 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &182637521
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 182637522}
|
||||
- component: {fileID: 182637524}
|
||||
- component: {fileID: 182637523}
|
||||
- component: {fileID: 182637525}
|
||||
m_Layer: 5
|
||||
m_Name: Microgame Panel
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &182637522
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 182637521}
|
||||
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: 62263835697235544}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 1, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &182637524
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 182637521}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!114 &182637523
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 182637521}
|
||||
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: 75c9cbfd49e877c468331f81fc132714, type: 3}
|
||||
m_FontSize: 50
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 1
|
||||
m_MinSize: 5
|
||||
m_MaxSize: 50
|
||||
m_Alignment: 4
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: TEXT
|
||||
--- !u!114 &182637525
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 182637521}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d018469007e919d4d90cb08c6e810721, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &1475586331092748119
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -29,6 +119,7 @@ RectTransform:
|
|||
m_Children:
|
||||
- {fileID: 1475586332062904172}
|
||||
- {fileID: 1475586332177117422}
|
||||
- {fileID: 62263835697235544}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
@ -101,13 +192,13 @@ MonoBehaviour:
|
|||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_FontData:
|
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_FontSize: 84
|
||||
m_Font: {fileID: 12800000, guid: 75c9cbfd49e877c468331f81fc132714, type: 3}
|
||||
m_FontSize: 50
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 8
|
||||
m_MinSize: 5
|
||||
m_MaxSize: 84
|
||||
m_Alignment: 3
|
||||
m_Alignment: 5
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
|
@ -149,7 +240,7 @@ RectTransform:
|
|||
m_AnchorMin: {x: 1, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 240, y: 0}
|
||||
m_SizeDelta: {x: 295, y: 0}
|
||||
m_Pivot: {x: 1, y: 0.5}
|
||||
--- !u!222 &1475586332177117420
|
||||
CanvasRenderer:
|
||||
|
@ -178,16 +269,52 @@ MonoBehaviour:
|
|||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_FontData:
|
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_FontSize: 84
|
||||
m_Font: {fileID: 12800000, guid: 75c9cbfd49e877c468331f81fc132714, type: 3}
|
||||
m_FontSize: 50
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 8
|
||||
m_MinSize: 5
|
||||
m_MaxSize: 84
|
||||
m_Alignment: 5
|
||||
m_Alignment: 3
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: ALIVE
|
||||
--- !u!1 &3876737460387516449
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 62263835697235544}
|
||||
m_Layer: 5
|
||||
m_Name: Wheel Options
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &62263835697235544
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3876737460387516449}
|
||||
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: 182637522}
|
||||
m_Father: {fileID: 1475586331092748118}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: -27.5, y: 0}
|
||||
m_SizeDelta: {x: -565, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
|
|
|
@ -121,89 +121,31 @@ NavMeshSettings:
|
|||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &548149269 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 903729140753789854, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 903729141283580811}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!224 &548149270 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 903729141283580811}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &610904312
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 610904313}
|
||||
- component: {fileID: 610904315}
|
||||
- component: {fileID: 610904314}
|
||||
m_Layer: 5
|
||||
m_Name: Alive
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &610904313
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 610904312}
|
||||
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: 1686871873}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 240, y: 0}
|
||||
m_Pivot: {x: 1, y: 0.5}
|
||||
--- !u!114 &610904314
|
||||
--- !u!114 &548149272
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 610904312}
|
||||
m_GameObject: {fileID: 548149269}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: fed311aa263b18f4388ee281b1c72764, 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: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_FontSize: 84
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 8
|
||||
m_MaxSize: 84
|
||||
m_Alignment: 5
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: ALIVE
|
||||
--- !u!222 &610904315
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 610904312}
|
||||
m_CullTransparentMesh: 0
|
||||
displayWhen: 0
|
||||
--- !u!1 &706082052
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -294,11 +236,12 @@ RectTransform:
|
|||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||
m_Children:
|
||||
- {fileID: 548149270}
|
||||
- {fileID: 3121501029723249966}
|
||||
- {fileID: 548149270}
|
||||
- {fileID: 1842189697}
|
||||
- {fileID: 1686871873}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 1
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
|
@ -369,9 +312,9 @@ Transform:
|
|||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &783873914
|
||||
--- !u!1 &914644880
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
|
@ -379,45 +322,45 @@ GameObject:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 783873915}
|
||||
- component: {fileID: 783873917}
|
||||
- component: {fileID: 783873916}
|
||||
- component: {fileID: 914644881}
|
||||
- component: {fileID: 914644883}
|
||||
- component: {fileID: 914644882}
|
||||
m_Layer: 5
|
||||
m_Name: Keep
|
||||
m_Name: Background
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &783873915
|
||||
--- !u!224 &914644881
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 783873914}
|
||||
m_GameObject: {fileID: 914644880}
|
||||
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: 1686871873}
|
||||
m_RootOrder: 0
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 240, y: 0}
|
||||
m_Pivot: {x: 0, y: 0.5}
|
||||
--- !u!114 &783873916
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: -27.5, y: -0.00068665}
|
||||
m_SizeDelta: {x: 100, y: 208.49422}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &914644882
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 783873914}
|
||||
m_GameObject: {fileID: 914644880}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
|
@ -426,65 +369,74 @@ MonoBehaviour:
|
|||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_FontData:
|
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_FontSize: 84
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 8
|
||||
m_MaxSize: 84
|
||||
m_Alignment: 3
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: KEEP
|
||||
--- !u!222 &783873917
|
||||
m_Sprite: {fileID: 21300000, guid: 8775703ca5803e342869809d245f6553, 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 &914644883
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 783873914}
|
||||
m_GameObject: {fileID: 914644880}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!1 &1686871872
|
||||
--- !u!1 &1686871872 stripped
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 1475586331092748119, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 1475586331571591191}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1686871873}
|
||||
m_Layer: 5
|
||||
m_Name: Wheel Panel
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1686871873
|
||||
--- !u!224 &1686871873 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 1475586331571591191}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &1686871874
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1686871872}
|
||||
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: 783873915}
|
||||
- {fileID: 610904313}
|
||||
m_Father: {fileID: 706082056}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 1, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: -320, y: 634}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fed311aa263b18f4388ee281b1c72764, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
displayWhen: 2
|
||||
--- !u!1 &1842189696 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 386012858326575855, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 3646290606250593900}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!224 &1842189697 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 3646290606250593900}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &1842189699
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1842189696}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fed311aa263b18f4388ee281b1c72764, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
displayWhen: 1
|
||||
--- !u!1001 &742014443134654871
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -494,20 +446,24 @@ PrefabInstance:
|
|||
m_Modifications:
|
||||
- target: {fileID: 519420031, guid: e2bb5f24fc04fd94fa7d6f04c3713df6, type: 3}
|
||||
propertyPath: m_BackGroundColor.r
|
||||
value: 0.1792453
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 519420031, guid: e2bb5f24fc04fd94fa7d6f04c3713df6, type: 3}
|
||||
propertyPath: m_BackGroundColor.g
|
||||
value: 0.1792453
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 519420031, guid: e2bb5f24fc04fd94fa7d6f04c3713df6, type: 3}
|
||||
propertyPath: m_BackGroundColor.b
|
||||
value: 0.1792453
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 519420031, guid: e2bb5f24fc04fd94fa7d6f04c3713df6, type: 3}
|
||||
propertyPath: m_BackGroundColor.a
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 519420031, guid: e2bb5f24fc04fd94fa7d6f04c3713df6, type: 3}
|
||||
propertyPath: m_ClearFlags
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 742014442006323160, guid: e2bb5f24fc04fd94fa7d6f04c3713df6,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
|
@ -546,7 +502,7 @@ PrefabInstance:
|
|||
- target: {fileID: 742014442006323160, guid: e2bb5f24fc04fd94fa7d6f04c3713df6,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 742014442006323160, guid: e2bb5f24fc04fd94fa7d6f04c3713df6,
|
||||
type: 3}
|
||||
|
@ -563,6 +519,23 @@ PrefabInstance:
|
|||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 742014442006323161, guid: e2bb5f24fc04fd94fa7d6f04c3713df6,
|
||||
type: 3}
|
||||
propertyPath: microgames.Array.size
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 742014442006323161, guid: e2bb5f24fc04fd94fa7d6f04c3713df6,
|
||||
type: 3}
|
||||
propertyPath: microgames.Array.data[0]
|
||||
value:
|
||||
objectReference: {fileID: 1798768979100361691, guid: 630cd222aaffefe4cb13161eeca7bf03,
|
||||
type: 3}
|
||||
- target: {fileID: 742014442006323161, guid: e2bb5f24fc04fd94fa7d6f04c3713df6,
|
||||
type: 3}
|
||||
propertyPath: microgames.Array.data[1]
|
||||
value:
|
||||
objectReference: {fileID: -1447348138257578213, guid: 4b285685b4a4a4c49ab075aaecba236e,
|
||||
type: 3}
|
||||
- target: {fileID: 742014442006323162, guid: e2bb5f24fc04fd94fa7d6f04c3713df6,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
|
@ -620,7 +593,7 @@ PrefabInstance:
|
|||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
|
@ -640,12 +613,12 @@ PrefabInstance:
|
|||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 16
|
||||
value: -12
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -16
|
||||
value: -12
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
|
@ -655,12 +628,12 @@ PrefabInstance:
|
|||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 100
|
||||
value: 60
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
|
@ -670,7 +643,7 @@ PrefabInstance:
|
|||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
|
@ -680,7 +653,7 @@ PrefabInstance:
|
|||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 903729140753789853, guid: 05cacb7278bee4f4e80876f7f0dd4d4a,
|
||||
type: 3}
|
||||
|
@ -694,12 +667,426 @@ PrefabInstance:
|
|||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 05cacb7278bee4f4e80876f7f0dd4d4a, type: 3}
|
||||
--- !u!1001 &1475586331571591191
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 706082056}
|
||||
m_Modifications:
|
||||
- target: {fileID: 62263835697235544, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: -26.999985
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 62263835697235544, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: -610.0005
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 25
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: -250
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 634
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748118, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748119, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Wheel Area
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1475586331092748119, guid: 83b3c042c2cf3ce4fafc6b3346509ad9,
|
||||
type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 83b3c042c2cf3ce4fafc6b3346509ad9, type: 3}
|
||||
--- !u!1 &3121501029723249965 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 4957884999417998574, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 8042371781856047555}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!224 &3121501029723249966 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 8042371781856047555}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &3121501029723249967
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3121501029723249965}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 68e459f5818c0884ca089d91defc1409, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &3121501029723249969
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3121501029723249965}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fed311aa263b18f4388ee281b1c72764, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
displayWhen: 0
|
||||
--- !u!1001 &3646290606250593900
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 706082056}
|
||||
m_Modifications:
|
||||
- target: {fileID: 386012858326575855, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Time Panel
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 386012858326575855, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2375294738568543451, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2375294738568543451, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2375294738568543451, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5258333842059966781, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5258333842059966781, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5975627601604633840, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5975627601604633840, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5975627601604633840, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5975627601604633840, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 12
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: -24
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 60
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6527954791001967706, guid: f55c76379fd1c594b9b5138efc539234,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents:
|
||||
- {fileID: 8451133771192635742, guid: f55c76379fd1c594b9b5138efc539234, type: 3}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: f55c76379fd1c594b9b5138efc539234, type: 3}
|
||||
--- !u!1001 &5804266076916140296
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 5804266078435074427, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Static Background
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074427, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: bb65950cd5f10a448b1ecd42a3814aeb, type: 3}
|
||||
--- !u!1001 &8042371781856047555
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -707,6 +1094,28 @@ PrefabInstance:
|
|||
m_Modification:
|
||||
m_TransformParent: {fileID: 706082056}
|
||||
m_Modifications:
|
||||
- target: {fileID: 943358899, guid: fe08badedad41a140a1f9181fb76a976, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Text
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 943358901, guid: fe08badedad41a140a1f9181fb76a976, type: 3}
|
||||
propertyPath: m_FontData.m_Font
|
||||
value:
|
||||
objectReference: {fileID: 12800000, guid: 75c9cbfd49e877c468331f81fc132714,
|
||||
type: 3}
|
||||
- target: {fileID: 943358901, guid: fe08badedad41a140a1f9181fb76a976, type: 3}
|
||||
propertyPath: m_FontData.m_FontSize
|
||||
value: 30
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 943358901, guid: fe08badedad41a140a1f9181fb76a976, type: 3}
|
||||
propertyPath: m_FontData.m_MinSize
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1511648626, guid: fe08badedad41a140a1f9181fb76a976, type: 3}
|
||||
propertyPath: m_Sprite
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: bbf043ba8a6f2c341ad9db4d7e0f4b0a,
|
||||
type: 3}
|
||||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
|
@ -745,7 +1154,7 @@ PrefabInstance:
|
|||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
|
@ -765,12 +1174,12 @@ PrefabInstance:
|
|||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: -16
|
||||
value: 12
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -16
|
||||
value: -12
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
|
@ -780,12 +1189,12 @@ PrefabInstance:
|
|||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 100
|
||||
value: 60
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
|
@ -795,7 +1204,7 @@ PrefabInstance:
|
|||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
|
@ -805,7 +1214,7 @@ PrefabInstance:
|
|||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4957884999417998573, guid: fe08badedad41a140a1f9181fb76a976,
|
||||
type: 3}
|
||||
|
|
|
@ -75,27 +75,29 @@ public class GameController : MonoBehaviour
|
|||
|
||||
public List<MicrogameController> microgames;
|
||||
private MicrogameController currentMicrogame;
|
||||
public delegate void OnMicrogameStartHandler(MicrogameController newMicrogame);
|
||||
public event OnMicrogameStartHandler OnMicrogameStart;
|
||||
public delegate void OnMicrogameEndHandler(MicrogameController endedMicrogame);
|
||||
public event OnMicrogameEndHandler OnMicrogameEnd;
|
||||
public delegate void OnMicrogameCreateHandler(MicrogameController newMicrogame);
|
||||
public event OnMicrogameCreateHandler OnMicrogameCreate;
|
||||
public delegate void OnMicrogameDestroyHandler(MicrogameController endedMicrogame);
|
||||
public event OnMicrogameDestroyHandler OnMicrogameDestroy;
|
||||
public MicrogameController CurrentMicrogame {
|
||||
get {
|
||||
return currentMicrogame;
|
||||
}
|
||||
set {
|
||||
OnMicrogameTimeLeftChange?.Invoke(CurrentMicrogame?.TimeLeft, value?.TimeLeft);
|
||||
|
||||
if(CurrentMicrogame != null) {
|
||||
OnMicrogameEnd?.Invoke(CurrentMicrogame);
|
||||
OnMicrogameDestroy?.Invoke(CurrentMicrogame);
|
||||
CurrentMicrogame.OnTimeLeftChange -= PropagateTimeLeftChange;
|
||||
CurrentMicrogame.OnMicrogameEnd -= OnMicrogameEnd;
|
||||
Destroy(CurrentMicrogame.gameObject);
|
||||
}
|
||||
if(value != null) {
|
||||
currentMicrogame = Instantiate(value.gameObject, transform).GetComponent<MicrogameController>();
|
||||
CurrentMicrogame.OnTimeLeftChange += PropagateTimeLeftChange;
|
||||
OnMicrogameStart?.Invoke(CurrentMicrogame);
|
||||
CurrentMicrogame.OnMicrogameEnd += OnMicrogameEnd;
|
||||
OnMicrogameCreate?.Invoke(CurrentMicrogame);
|
||||
}
|
||||
|
||||
OnMicrogameTimeLeftChange?.Invoke(CurrentMicrogame?.TimeLeft, value?.TimeLeft);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -105,6 +107,54 @@ public class GameController : MonoBehaviour
|
|||
OnMicrogameTimeLeftChange?.Invoke(previous, current);
|
||||
}
|
||||
|
||||
private void OnMicrogameEnd(MicrogameController microgame) {
|
||||
Debug.Assert(microgame != null);
|
||||
if(microgame.MicrogameResults()) {
|
||||
Score += 1;
|
||||
}
|
||||
else {
|
||||
Lives -= 1;
|
||||
}
|
||||
CurrentMicrogame = null;
|
||||
StartCoroutine("SpinTheWheel");
|
||||
}
|
||||
|
||||
private MicrogameController displayedMicrogame;
|
||||
|
||||
public delegate void OnDisplayedMicrogameChangeHandler(MicrogameController previous, MicrogameController current);
|
||||
public event OnDisplayedMicrogameChangeHandler OnDisplayedMicrogameChange;
|
||||
public MicrogameController DisplayedMicrogame {
|
||||
get {
|
||||
return displayedMicrogame;
|
||||
}
|
||||
set {
|
||||
OnDisplayedMicrogameChange?.Invoke(displayedMicrogame, value);
|
||||
displayedMicrogame = value;
|
||||
}
|
||||
}
|
||||
|
||||
[Header("Wheel Settings")]
|
||||
public float wheelSelectionDelay = 0.1f;
|
||||
public float wheelSelectionTime = 2f;
|
||||
public float wheelDisplayTime = 2f;
|
||||
|
||||
IEnumerator SpinTheWheel() {
|
||||
float timePassed = 0f;
|
||||
while(timePassed < wheelSelectionTime) {
|
||||
DisplayedMicrogame = GetRandomMicrogame();
|
||||
yield return new WaitForSeconds(wheelSelectionDelay);
|
||||
timePassed += wheelSelectionDelay;
|
||||
}
|
||||
DisplayedMicrogame = GetRandomMicrogame();
|
||||
yield return new WaitForSeconds(wheelDisplayTime);
|
||||
CurrentMicrogame = DisplayedMicrogame;
|
||||
}
|
||||
|
||||
public MicrogameController GetRandomMicrogame() {
|
||||
Debug.Assert(microgames.Count > 0);
|
||||
return microgames.PickRandom();
|
||||
}
|
||||
|
||||
private void Awake() {
|
||||
camera = Camera.main;
|
||||
}
|
||||
|
@ -117,19 +167,7 @@ public class GameController : MonoBehaviour
|
|||
CurrentMicrogame = null;
|
||||
// Notify the TimePanel of the starting status
|
||||
OnMicrogameTimeLeftChange?.Invoke(null, null);
|
||||
}
|
||||
|
||||
private void CheckMicrogameResults(MicrogameController microgame) {
|
||||
Debug.Assert(microgame != null);
|
||||
if(microgame.MicrogameResults()) {
|
||||
Score += 1;
|
||||
}
|
||||
else {
|
||||
Lives -= 1;
|
||||
}
|
||||
}
|
||||
|
||||
private MicrogameController GetRandomMicrogame() {
|
||||
return microgames.PickRandom();
|
||||
StartCoroutine("SpinTheWheel");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,8 +4,11 @@ using UnityEngine;
|
|||
|
||||
public abstract class MicrogameController : MonoBehaviour
|
||||
{
|
||||
[BeforeStart]
|
||||
public string microgameName = "[UNSET]";
|
||||
[BeforeStart]
|
||||
public float startingTime = 4f;
|
||||
|
||||
public delegate void OnTimeLeftChangeHandler(float previous, float current);
|
||||
public event OnTimeLeftChangeHandler OnTimeLeftChange;
|
||||
private float timeLeft;
|
||||
|
@ -16,18 +19,34 @@ public abstract class MicrogameController : MonoBehaviour
|
|||
set {
|
||||
OnTimeLeftChange?.Invoke(TimeLeft, value);
|
||||
timeLeft = value;
|
||||
if(timeLeft <= 0) {
|
||||
End();
|
||||
}
|
||||
}
|
||||
}
|
||||
public float TimeFraction {
|
||||
get {
|
||||
return timeLeft / startingTime;
|
||||
}
|
||||
}
|
||||
|
||||
public float TimeFraction {
|
||||
get {
|
||||
return startingTime / timeLeft;
|
||||
}
|
||||
}
|
||||
public delegate void OnMicrogameStartHandler(MicrogameController microgame);
|
||||
public event OnMicrogameStartHandler OnMicrogameStart;
|
||||
public delegate void OnMicrogameEndHandler(MicrogameController microgame);
|
||||
public event OnMicrogameEndHandler OnMicrogameEnd;
|
||||
|
||||
public abstract bool MicrogameResults();
|
||||
|
||||
private void Start() {
|
||||
timeLeft = startingTime;
|
||||
OnMicrogameStart?.Invoke(this);
|
||||
}
|
||||
|
||||
private void End() {
|
||||
OnMicrogameEnd?.Invoke(this);
|
||||
}
|
||||
|
||||
private void Update() {
|
||||
TimeLeft = Mathf.Clamp(TimeLeft - Time.deltaTime, 0, Mathf.Infinity);
|
||||
TimeLeft -= Time.deltaTime;
|
||||
}
|
||||
}
|
||||
|
|
10
Assets/Scripts/Microgame/TestMicrogame.cs
Normal file
10
Assets/Scripts/Microgame/TestMicrogame.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class TestMicrogame : MicrogameController
|
||||
{
|
||||
public override bool MicrogameResults() {
|
||||
return true;
|
||||
}
|
||||
}
|
11
Assets/Scripts/Microgame/TestMicrogame.cs.meta
Normal file
11
Assets/Scripts/Microgame/TestMicrogame.cs.meta
Normal file
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a2f6067f11d26b446b444ebbc8c54b50
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
37
Assets/Scripts/UI/DisplayOnly.cs
Normal file
37
Assets/Scripts/UI/DisplayOnly.cs
Normal file
|
@ -0,0 +1,37 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
|
||||
public enum DisplayOptions {
|
||||
ALWAYS,
|
||||
ONLY_DURING_MICROGAMES,
|
||||
ONLY_DURING_WHEEL,
|
||||
NEVER
|
||||
}
|
||||
|
||||
public class DisplayOnly : MonoBehaviour
|
||||
{
|
||||
public DisplayOptions displayWhen;
|
||||
|
||||
private GameController gameController;
|
||||
|
||||
private void Awake() {
|
||||
gameController = GameObject.FindGameObjectWithTag("GameController").GetComponent<GameController>();
|
||||
}
|
||||
|
||||
private void Start() {
|
||||
gameController.OnMicrogameCreate += OnMicrogameCreate;
|
||||
gameController.OnMicrogameDestroy += OnMicrogameDestroy;
|
||||
gameObject.SetActive(displayWhen == DisplayOptions.ALWAYS || displayWhen == DisplayOptions.ONLY_DURING_WHEEL);
|
||||
}
|
||||
|
||||
private void OnMicrogameCreate(MicrogameController microgame) {
|
||||
gameObject.SetActive(displayWhen == DisplayOptions.ALWAYS || displayWhen == DisplayOptions.ONLY_DURING_MICROGAMES);
|
||||
}
|
||||
|
||||
private void OnMicrogameDestroy(MicrogameController microgame) {
|
||||
gameObject.SetActive(displayWhen == DisplayOptions.ALWAYS || displayWhen == DisplayOptions.ONLY_DURING_WHEEL);
|
||||
}
|
||||
}
|
11
Assets/Scripts/UI/DisplayOnly.cs.meta
Normal file
11
Assets/Scripts/UI/DisplayOnly.cs.meta
Normal file
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: fed311aa263b18f4388ee281b1c72764
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
23
Assets/Scripts/UI/MicrogamePanel.cs
Normal file
23
Assets/Scripts/UI/MicrogamePanel.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class MicrogamePanel : MonoBehaviour
|
||||
{
|
||||
private GameController gameController;
|
||||
private Text text;
|
||||
|
||||
private void Awake() {
|
||||
gameController = GameObject.FindGameObjectWithTag("GameController").GetComponent<GameController>();
|
||||
text = GetComponent<Text>();
|
||||
}
|
||||
|
||||
private void Start() {
|
||||
gameController.OnDisplayedMicrogameChange += OnDisplayedMicrogameChange;
|
||||
}
|
||||
|
||||
private void OnDisplayedMicrogameChange(MicrogameController previous, MicrogameController current) {
|
||||
text.text = current.microgameName;
|
||||
}
|
||||
}
|
11
Assets/Scripts/UI/MicrogamePanel.cs.meta
Normal file
11
Assets/Scripts/UI/MicrogamePanel.cs.meta
Normal file
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d018469007e919d4d90cb08c6e810721
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -10,7 +10,7 @@ public class ScorePanel : MonoBehaviour
|
|||
|
||||
private void Awake() {
|
||||
gameController = GameObject.FindGameObjectWithTag("GameController").GetComponent<GameController>();
|
||||
text = GetComponent<Text>();
|
||||
text = GetComponentInChildren<Text>();
|
||||
}
|
||||
|
||||
private void Start() {
|
||||
|
|
|
@ -3,18 +3,15 @@ using System.Collections.Generic;
|
|||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
|
||||
public class TimePanel : MonoBehaviour
|
||||
{
|
||||
private GameController gameController;
|
||||
|
||||
[Header("References")]
|
||||
[BeforeStart]
|
||||
public RawImage empty;
|
||||
[BeforeStart]
|
||||
public RawImage full;
|
||||
private Slider slider;
|
||||
|
||||
private void Awake() {
|
||||
gameController = GameObject.FindGameObjectWithTag("GameController").GetComponent<GameController>();
|
||||
slider = GetComponentInChildren<Slider>();
|
||||
}
|
||||
|
||||
private void Start() {
|
||||
|
@ -23,15 +20,7 @@ public class TimePanel : MonoBehaviour
|
|||
|
||||
private void OnMicrogameTimeLeftChange(float? previous, float? current) {
|
||||
if(current.HasValue) {
|
||||
empty.enabled = true;
|
||||
full.enabled = true;
|
||||
|
||||
Rect emptyRect = empty.rectTransform.rect;
|
||||
full.rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, emptyRect.x * gameController.CurrentMicrogame.TimeFraction);
|
||||
}
|
||||
else {
|
||||
empty.enabled = false;
|
||||
full.enabled = false;
|
||||
slider.value = gameController.CurrentMicrogame.TimeFraction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
{
|
||||
Properties
|
||||
{
|
||||
_Brightness ("Brightness", Range(0.0, 1.0)) = 0.1
|
||||
_Multiplier ("Multiplier", Float) = 11111.1
|
||||
}
|
||||
SubShader
|
||||
{
|
||||
|
@ -16,6 +18,9 @@
|
|||
|
||||
#include "UnityCG.cginc"
|
||||
|
||||
float _Brightness;
|
||||
float _Multiplier;
|
||||
|
||||
struct appdata
|
||||
{
|
||||
float4 vertex : POSITION;
|
||||
|
@ -39,13 +44,13 @@
|
|||
sampler2D _MainTex;
|
||||
|
||||
float random(float2 coordinates) {
|
||||
return frac(sin(dot(coordinates, float2(231.231f, _Time.y))) * 11111.1f);
|
||||
return frac(sin(dot(coordinates, float2(_Time.x + 1, _Time.y + 1))) * _Multiplier);
|
||||
}
|
||||
|
||||
float4 frag (v2f i) : SV_Target
|
||||
{
|
||||
float r = random(i.vertex.xy);
|
||||
return float4(r, r, r, 1.0f);
|
||||
float r = random(i.vertex.xy) * _Brightness;
|
||||
return float4(r, r, r, 1.0);
|
||||
}
|
||||
ENDCG
|
||||
}
|
||||
|
|
128
Assets/Sprites/column.png.meta
Normal file
128
Assets/Sprites/column.png.meta
Normal file
|
@ -0,0 +1,128 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8775703ca5803e342869809d245f6553
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 11
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 518
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
applyGammaDecoding: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -31,7 +31,7 @@ TextureImporter:
|
|||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
filterMode: 0
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
wrapU: 1
|
||||
|
@ -45,7 +45,7 @@ TextureImporter:
|
|||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spritePixelsToUnits: 8
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
|
@ -71,6 +71,42 @@ TextureImporter:
|
|||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
|
|
|
@ -12,7 +12,7 @@ UnityConnectSettings:
|
|||
m_TestInitMode: 0
|
||||
CrashReportingSettings:
|
||||
m_EventUrl: https://perf-events.cloud.unity3d.com
|
||||
m_Enabled: 0
|
||||
m_Enabled: 1
|
||||
m_LogBufferSize: 10
|
||||
m_CaptureEditorExceptions: 1
|
||||
UnityPurchasingSettings:
|
||||
|
|
Loading…
Reference in a new issue