Merge branch 'master' of https://git.steelants.cz/GJP/GlobalGameJam-2021
This commit is contained in:
commit
6527a621df
@ -1,5 +1,326 @@
|
|||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &792308148
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 792308149}
|
||||||
|
- component: {fileID: 792308151}
|
||||||
|
- component: {fileID: 792308150}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Text
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &792308149
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 792308148}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: -0.0518}
|
||||||
|
m_LocalScale: {x: 0.001, y: 0.001, z: 0.001}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 6441971479791151469}
|
||||||
|
m_RootOrder: 2
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0.27810016}
|
||||||
|
m_SizeDelta: {x: 200, y: 100}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &792308151
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 792308148}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &792308150
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 792308148}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 30
|
||||||
|
m_FontStyle: 1
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 2
|
||||||
|
m_MaxSize: 200
|
||||||
|
m_Alignment: 1
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: Advice 1
|
||||||
|
--- !u!1 &1318320529
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1318320530}
|
||||||
|
- component: {fileID: 1318320532}
|
||||||
|
- component: {fileID: 1318320531}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Text (1)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1318320530
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1318320529}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: -0.0518}
|
||||||
|
m_LocalScale: {x: 0.001, y: 0.001, z: 0.001}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 6441971479791151469}
|
||||||
|
m_RootOrder: 3
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0.2404}
|
||||||
|
m_SizeDelta: {x: 200, y: 100}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &1318320532
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1318320529}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &1318320531
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1318320529}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 24
|
||||||
|
m_FontStyle: 1
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 2
|
||||||
|
m_MaxSize: 200
|
||||||
|
m_Alignment: 0
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: Some stupid advice!
|
||||||
|
--- !u!1 &1437810451
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1437810452}
|
||||||
|
- component: {fileID: 1437810455}
|
||||||
|
- component: {fileID: 1437810454}
|
||||||
|
- component: {fileID: 1437810453}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Canvas
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1437810452
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1437810451}
|
||||||
|
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: 6441971479791151469}
|
||||||
|
m_Father: {fileID: 7094923891560833917}
|
||||||
|
m_RootOrder: 3
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0, y: 0}
|
||||||
|
--- !u!223 &1437810455
|
||||||
|
Canvas:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1437810451}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 3
|
||||||
|
m_RenderMode: 1
|
||||||
|
m_Camera: {fileID: 7094923890942819436}
|
||||||
|
m_PlaneDistance: 0.3
|
||||||
|
m_PixelPerfect: 0
|
||||||
|
m_ReceivesEvents: 1
|
||||||
|
m_OverrideSorting: 0
|
||||||
|
m_OverridePixelPerfect: 0
|
||||||
|
m_SortingBucketNormalizedSize: 0
|
||||||
|
m_AdditionalShaderChannelsFlag: 0
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
m_TargetDisplay: 0
|
||||||
|
--- !u!114 &1437810454
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1437810451}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UiScaleMode: 0
|
||||||
|
m_ReferencePixelsPerUnit: 100
|
||||||
|
m_ScaleFactor: 1
|
||||||
|
m_ReferenceResolution: {x: 800, y: 600}
|
||||||
|
m_ScreenMatchMode: 0
|
||||||
|
m_MatchWidthOrHeight: 0
|
||||||
|
m_PhysicalUnit: 3
|
||||||
|
m_FallbackScreenDPI: 96
|
||||||
|
m_DefaultSpriteDPI: 96
|
||||||
|
m_DynamicPixelsPerUnit: 1
|
||||||
|
--- !u!114 &1437810453
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1437810451}
|
||||||
|
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!1 &1541222973
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1541222974}
|
||||||
|
- component: {fileID: 1541222976}
|
||||||
|
- component: {fileID: 1541222975}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: EventSystem
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &1541222974
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1541222973}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: -0.5, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 7094923891560833917}
|
||||||
|
m_RootOrder: 2
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!114 &1541222976
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1541222973}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_FirstSelected: {fileID: 0}
|
||||||
|
m_sendNavigationEvents: 1
|
||||||
|
m_DragThreshold: 10
|
||||||
|
--- !u!114 &1541222975
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1541222973}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_HorizontalAxis: Horizontal
|
||||||
|
m_VerticalAxis: Vertical
|
||||||
|
m_SubmitButton: Submit
|
||||||
|
m_CancelButton: Cancel
|
||||||
|
m_InputActionsPerSecond: 10
|
||||||
|
m_RepeatDelay: 0.5
|
||||||
|
m_ForceModuleActive: 0
|
||||||
--- !u!1 &1650025558977010888
|
--- !u!1 &1650025558977010888
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -92,6 +413,84 @@ Light:
|
|||||||
m_UseBoundingSphereOverride: 0
|
m_UseBoundingSphereOverride: 0
|
||||||
m_ShadowRadius: 0
|
m_ShadowRadius: 0
|
||||||
m_ShadowAngle: 0
|
m_ShadowAngle: 0
|
||||||
|
--- !u!1 &4869701797812787012
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 137593933723264058}
|
||||||
|
- component: {fileID: 4620469347047786324}
|
||||||
|
- component: {fileID: 5284267314048906043}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Text (2)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &137593933723264058
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4869701797812787012}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: -0.0518}
|
||||||
|
m_LocalScale: {x: 0.001, y: 0.001, z: 0.001}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 6441971479791151469}
|
||||||
|
m_RootOrder: 4
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0.1013, y: 0.131}
|
||||||
|
m_SizeDelta: {x: 300, y: 100}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &4620469347047786324
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4869701797812787012}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &5284267314048906043
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4869701797812787012}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 16
|
||||||
|
m_FontStyle: 1
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 0
|
||||||
|
m_MaxSize: 200
|
||||||
|
m_Alignment: 0
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: Click E or move to go back.
|
||||||
--- !u!1 &7094923890942819438
|
--- !u!1 &7094923890942819438
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -269,6 +668,8 @@ Transform:
|
|||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 7094923890942819435}
|
- {fileID: 7094923890942819435}
|
||||||
- {fileID: 7552584426519275258}
|
- {fileID: 7552584426519275258}
|
||||||
|
- {fileID: 1541222974}
|
||||||
|
- {fileID: 1437810452}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
@ -281,7 +682,7 @@ Rigidbody:
|
|||||||
m_GameObject: {fileID: 7094923891560833857}
|
m_GameObject: {fileID: 7094923891560833857}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Mass: 70
|
m_Mass: 70
|
||||||
m_Drag: 0
|
m_Drag: 0.05
|
||||||
m_AngularDrag: 0.05
|
m_AngularDrag: 0.05
|
||||||
m_UseGravity: 1
|
m_UseGravity: 1
|
||||||
m_IsKinematic: 0
|
m_IsKinematic: 0
|
||||||
@ -336,7 +737,10 @@ MonoBehaviour:
|
|||||||
actualHealth: 100
|
actualHealth: 100
|
||||||
onGround: 1
|
onGround: 1
|
||||||
activeAbility: 00000000
|
activeAbility: 00000000
|
||||||
PowerPrefabs: []
|
PowerPrefabs:
|
||||||
|
- {fileID: 200189416050843931, guid: 3ddcad8db762bdf41b5b49fff6fb6a3b, type: 3}
|
||||||
|
- {fileID: 2644881069278570743, guid: 94642d7ef8c97e544af1d5ca3596a37f, type: 3}
|
||||||
|
- {fileID: 7945524436670112111, guid: 2d077f1b027540045b6833e51a067855, type: 3}
|
||||||
dashPower: 40
|
dashPower: 40
|
||||||
dashTime: 0.2
|
dashTime: 0.2
|
||||||
--- !u!95 &7009705026125325791
|
--- !u!95 &7009705026125325791
|
||||||
@ -370,6 +774,191 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: d6a0240c7e91f1644908b3c8bb8d9c96, type: 3}
|
m_Script: {fileID: 11500000, guid: d6a0240c7e91f1644908b3c8bb8d9c96, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
--- !u!1001 &6840056972152884870
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 1437810452}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 1000.0002
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 1000.00037
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 1000.00037
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: -251.00008
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 80.00037
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -5477749408508380018, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 10
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -5477749408508380018, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 10
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -5477749408508380018, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 10
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -5477749408508380018, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -5477749408508380018, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -5477749408508380018, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0.7072302
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -5477749408508380018, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0.7069834
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -5477749408508380018, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: -89.98
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -5477749408508380018, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 180
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -2484921068739079471, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 10
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -2484921068739079471, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 10
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -2484921068739079471, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 10
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -2484921068739079471, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -2484921068739079471, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -2484921068739079471, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0.7072302
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -2484921068739079471, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0.7069834
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -2484921068739079471, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: -89.98
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -2484921068739079471, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 180
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 919132149155446097, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Sign
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 919132149155446097, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 2784c771a437b7e4cb23176a2e7c3ee3, type: 3}
|
||||||
|
--- !u!4 &6441971479791151469 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 2784c771a437b7e4cb23176a2e7c3ee3,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 6840056972152884870}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!1001 &8023887280909926673
|
--- !u!1001 &8023887280909926673
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -454,9 +1043,9 @@ PrefabInstance:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 79e5e296c19565d4ab4fc1de8b8d570f, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 79e5e296c19565d4ab4fc1de8b8d570f, type: 3}
|
||||||
--- !u!1 &7177606588354821184 stripped
|
--- !u!4 &3702002265141173024 stripped
|
||||||
GameObject:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 79e5e296c19565d4ab4fc1de8b8d570f,
|
m_CorrespondingSourceObject: {fileID: -2577548232221058511, guid: 79e5e296c19565d4ab4fc1de8b8d570f,
|
||||||
type: 3}
|
type: 3}
|
||||||
m_PrefabInstance: {fileID: 8023887280909926673}
|
m_PrefabInstance: {fileID: 8023887280909926673}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
@ -466,9 +1055,9 @@ Transform:
|
|||||||
type: 3}
|
type: 3}
|
||||||
m_PrefabInstance: {fileID: 8023887280909926673}
|
m_PrefabInstance: {fileID: 8023887280909926673}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!4 &3702002265141173024 stripped
|
--- !u!1 &7177606588354821184 stripped
|
||||||
Transform:
|
GameObject:
|
||||||
m_CorrespondingSourceObject: {fileID: -2577548232221058511, guid: 79e5e296c19565d4ab4fc1de8b8d570f,
|
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 79e5e296c19565d4ab4fc1de8b8d570f,
|
||||||
type: 3}
|
type: 3}
|
||||||
m_PrefabInstance: {fileID: 8023887280909926673}
|
m_PrefabInstance: {fileID: 8023887280909926673}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
222
Assets/Prefabs/Sign.prefab
Normal file
222
Assets/Prefabs/Sign.prefab
Normal file
@ -0,0 +1,222 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &4155107550089608892
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1300815627686137182}
|
||||||
|
- component: {fileID: 8541401974869020574}
|
||||||
|
- component: {fileID: 3291927773485791029}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Cylinder.001
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &1300815627686137182
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4155107550089608892}
|
||||||
|
m_LocalRotation: {x: 0, y: 0.7072302, z: 0.7069834, w: 0}
|
||||||
|
m_LocalPosition: {x: -0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 25, y: 25, z: 25}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 5189304429820737636}
|
||||||
|
m_RootOrder: 1
|
||||||
|
m_LocalEulerAnglesHint: {x: -89.98, y: 180, z: 0}
|
||||||
|
--- !u!33 &8541401974869020574
|
||||||
|
MeshFilter:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4155107550089608892}
|
||||||
|
m_Mesh: {fileID: -7387706064836869012, guid: 2784c771a437b7e4cb23176a2e7c3ee3, type: 3}
|
||||||
|
--- !u!23 &3291927773485791029
|
||||||
|
MeshRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4155107550089608892}
|
||||||
|
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: 670224309865224971, guid: 2784c771a437b7e4cb23176a2e7c3ee3, type: 3}
|
||||||
|
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!1 &4850319959489979102
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5189304429820737636}
|
||||||
|
- component: {fileID: 5732701482242678666}
|
||||||
|
- component: {fileID: 5732701482242678669}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Sign
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &5189304429820737636
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4850319959489979102}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 1.299, y: 0, z: 0.913}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 8968279225545941761}
|
||||||
|
- {fileID: 1300815627686137182}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!65 &5732701482242678666
|
||||||
|
BoxCollider:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4850319959489979102}
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_IsTrigger: 1
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Size: {x: 0.8, y: 1, z: 1}
|
||||||
|
m_Center: {x: 0, y: 0, z: -0.913}
|
||||||
|
--- !u!114 &5732701482242678669
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4850319959489979102}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c7be605e9d134b742b0269485b577d6a, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
objectType: 2
|
||||||
|
detailSign: {fileID: 0}
|
||||||
|
--- !u!1 &4900697133632204267
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8968279225545941761}
|
||||||
|
- component: {fileID: 398827915274556831}
|
||||||
|
- component: {fileID: 8110672917134526784}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Cube
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &8968279225545941761
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4900697133632204267}
|
||||||
|
m_LocalRotation: {x: 0, y: 0.7072302, z: 0.7069834, w: 0}
|
||||||
|
m_LocalPosition: {x: -0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 25, y: 25, z: 25}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 5189304429820737636}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: -89.98, y: 180, z: 0}
|
||||||
|
--- !u!33 &398827915274556831
|
||||||
|
MeshFilter:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4900697133632204267}
|
||||||
|
m_Mesh: {fileID: -5495902117074765545, guid: 2784c771a437b7e4cb23176a2e7c3ee3, type: 3}
|
||||||
|
--- !u!23 &8110672917134526784
|
||||||
|
MeshRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4900697133632204267}
|
||||||
|
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: 670224309865224971, guid: 2784c771a437b7e4cb23176a2e7c3ee3, type: 3}
|
||||||
|
- {fileID: 2100000, guid: 49025a60961b95a43986697748175308, 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
|
7
Assets/Prefabs/Sign.prefab.meta
Normal file
7
Assets/Prefabs/Sign.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c6f393d12d7dd6b43a2ec2840cb89b97
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -121,6 +121,80 @@ NavMeshSettings:
|
|||||||
debug:
|
debug:
|
||||||
m_Flags: 0
|
m_Flags: 0
|
||||||
m_NavMeshData: {fileID: 0}
|
m_NavMeshData: {fileID: 0}
|
||||||
|
--- !u!1001 &91642793
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 3881240002875110222, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: powerUnit
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8426673075699058389, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: SkillCube
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9203772316689128559, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9203772316689128559, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 8.49
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9203772316689128559, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 2.11
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9203772316689128559, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9203772316689128559, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9203772316689128559, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9203772316689128559, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9203772316689128559, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9203772316689128559, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9203772316689128559, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9203772316689128559, guid: a81c7869040fbef4f8d5acf2c1499c42,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: a81c7869040fbef4f8d5acf2c1499c42, type: 3}
|
||||||
--- !u!1 &253619331
|
--- !u!1 &253619331
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -226,10 +300,15 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: PushPullCube
|
value: PushPullCube
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7120608647080996502, guid: 597897b562955934fae65d62e0a8e3cd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Mass
|
||||||
|
value: 200
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7120608647080996506, guid: 597897b562955934fae65d62e0a8e3cd,
|
- target: {fileID: 7120608647080996506, guid: 597897b562955934fae65d62e0a8e3cd,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 4
|
value: 7
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7120608647080996506, guid: 597897b562955934fae65d62e0a8e3cd,
|
- target: {fileID: 7120608647080996506, guid: 597897b562955934fae65d62e0a8e3cd,
|
||||||
type: 3}
|
type: 3}
|
||||||
@ -283,6 +362,144 @@ PrefabInstance:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 597897b562955934fae65d62e0a8e3cd, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 597897b562955934fae65d62e0a8e3cd, type: 3}
|
||||||
|
--- !u!1001 &488560107
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 2445808756126767684, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: HideSpikes
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4248534433455483926, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4248534433455483926, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 1.3399206
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4248534433455483926, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4248534433455483926, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0.055500984
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4248534433455483926, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4248534433455483926, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4248534433455483926, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4248534433455483926, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4248534433455483926, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4248534433455483926, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4248534433455483926, guid: 474f8c28a83eb5f428704b0e53c4e039,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 474f8c28a83eb5f428704b0e53c4e039, type: 3}
|
||||||
|
--- !u!1001 &515298013
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 8810309419999466072, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8810309419999466072, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 7.016
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8810309419999466072, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8810309419999466072, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8810309419999466072, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8810309419999466072, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8810309419999466072, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8810309419999466072, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8810309419999466072, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8810309419999466072, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8810309419999466072, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8810309419999466073, guid: 75a5dff38607d264bbf318173d359a5e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Saw
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 75a5dff38607d264bbf318173d359a5e, type: 3}
|
||||||
--- !u!1001 &822020710
|
--- !u!1001 &822020710
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -295,10 +512,15 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: PushPullCube (1)
|
value: PushPullCube (1)
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7120608647080996502, guid: 597897b562955934fae65d62e0a8e3cd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Mass
|
||||||
|
value: 200
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7120608647080996506, guid: 597897b562955934fae65d62e0a8e3cd,
|
- target: {fileID: 7120608647080996506, guid: 597897b562955934fae65d62e0a8e3cd,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 5
|
value: 8
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7120608647080996506, guid: 597897b562955934fae65d62e0a8e3cd,
|
- target: {fileID: 7120608647080996506, guid: 597897b562955934fae65d62e0a8e3cd,
|
||||||
type: 3}
|
type: 3}
|
||||||
@ -352,6 +574,12 @@ PrefabInstance:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 597897b562955934fae65d62e0a8e3cd, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 597897b562955934fae65d62e0a8e3cd, type: 3}
|
||||||
|
--- !u!1 &952701062 stripped
|
||||||
|
GameObject:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 5921576287932412887, guid: e4d82994b58b7304b91c915c597b71f8,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 6840056971477016067}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!1 &964739489
|
--- !u!1 &964739489
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -442,8 +670,77 @@ Transform:
|
|||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 2
|
m_RootOrder: 11
|
||||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||||
|
--- !u!1001 &1158902025
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 8224448297729827164, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8224448297729827164, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 3.813418
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8224448297729827164, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 2.95
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8224448297729827164, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8224448297729827164, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8224448297729827164, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8224448297729827164, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8224448297729827164, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8224448297729827164, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8224448297729827164, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8224448297729827164, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8224448297729827165, guid: 08d7423eab725344da0bad3b29f907dd,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: SawRiding
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 08d7423eab725344da0bad3b29f907dd, type: 3}
|
||||||
--- !u!1001 &2549885454013026912
|
--- !u!1001 &2549885454013026912
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -454,7 +751,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 1593063039033634447, guid: 2d077f1b027540045b6833e51a067855,
|
- target: {fileID: 1593063039033634447, guid: 2d077f1b027540045b6833e51a067855,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 8
|
value: 12
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 1593063039033634447, guid: 2d077f1b027540045b6833e51a067855,
|
- target: {fileID: 1593063039033634447, guid: 2d077f1b027540045b6833e51a067855,
|
||||||
type: 3}
|
type: 3}
|
||||||
@ -528,7 +825,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 8833996703784759035, guid: 3ddcad8db762bdf41b5b49fff6fb6a3b,
|
- target: {fileID: 8833996703784759035, guid: 3ddcad8db762bdf41b5b49fff6fb6a3b,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 6
|
value: 9
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 8833996703784759035, guid: 3ddcad8db762bdf41b5b49fff6fb6a3b,
|
- target: {fileID: 8833996703784759035, guid: 3ddcad8db762bdf41b5b49fff6fb6a3b,
|
||||||
type: 3}
|
type: 3}
|
||||||
@ -597,7 +894,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 6695479724104099607, guid: 94642d7ef8c97e544af1d5ca3596a37f,
|
- target: {fileID: 6695479724104099607, guid: 94642d7ef8c97e544af1d5ca3596a37f,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 7
|
value: 10
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 6695479724104099607, guid: 94642d7ef8c97e544af1d5ca3596a37f,
|
- target: {fileID: 6695479724104099607, guid: 94642d7ef8c97e544af1d5ca3596a37f,
|
||||||
type: 3}
|
type: 3}
|
||||||
@ -651,6 +948,80 @@ PrefabInstance:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 94642d7ef8c97e544af1d5ca3596a37f, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 94642d7ef8c97e544af1d5ca3596a37f, type: 3}
|
||||||
|
--- !u!1001 &5732701482027561366
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4850319959489979102, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Sign
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5189304429820737636, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 13
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5189304429820737636, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 1.299
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5189304429820737636, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5189304429820737636, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0.913
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5189304429820737636, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5189304429820737636, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5189304429820737636, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5189304429820737636, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5189304429820737636, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5189304429820737636, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5189304429820737636, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5732701482242678669, guid: c6f393d12d7dd6b43a2ec2840cb89b97,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: detailSign
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 952701062}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: c6f393d12d7dd6b43a2ec2840cb89b97, type: 3}
|
||||||
--- !u!1001 &6840056971477016067
|
--- !u!1001 &6840056971477016067
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -663,33 +1034,10 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: Player
|
value: Player
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: PowerPrefabs.Array.size
|
|
||||||
value: 3
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: PowerPrefabs.Array.data[0]
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 200189416050843931, guid: 3ddcad8db762bdf41b5b49fff6fb6a3b,
|
|
||||||
type: 3}
|
|
||||||
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: PowerPrefabs.Array.data[1]
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 2644881069278570743, guid: 94642d7ef8c97e544af1d5ca3596a37f,
|
|
||||||
type: 3}
|
|
||||||
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: PowerPrefabs.Array.data[2]
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 7945524436670112111, guid: 2d077f1b027540045b6833e51a067855,
|
|
||||||
type: 3}
|
|
||||||
- target: {fileID: 7094923891560833917, guid: e4d82994b58b7304b91c915c597b71f8,
|
- target: {fileID: 7094923891560833917, guid: e4d82994b58b7304b91c915c597b71f8,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 1
|
value: 5
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7094923891560833917, guid: e4d82994b58b7304b91c915c597b71f8,
|
- target: {fileID: 7094923891560833917, guid: e4d82994b58b7304b91c915c597b71f8,
|
||||||
type: 3}
|
type: 3}
|
||||||
@ -741,6 +1089,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_LocalEulerAnglesHint.z
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7094923891560833918, guid: e4d82994b58b7304b91c915c597b71f8,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Drag
|
||||||
|
value: 0.05
|
||||||
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: e4d82994b58b7304b91c915c597b71f8, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: e4d82994b58b7304b91c915c597b71f8, type: 3}
|
||||||
--- !u!1001 &8125994354024151814
|
--- !u!1001 &8125994354024151814
|
||||||
@ -753,7 +1106,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 8125994354137083922, guid: 0d7691d0b9091aa4dba16f262d8daf1b,
|
- target: {fileID: 8125994354137083922, guid: 0d7691d0b9091aa4dba16f262d8daf1b,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 3
|
value: 6
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 8125994354137083922, guid: 0d7691d0b9091aa4dba16f262d8daf1b,
|
- target: {fileID: 8125994354137083922, guid: 0d7691d0b9091aa4dba16f262d8daf1b,
|
||||||
type: 3}
|
type: 3}
|
||||||
|
4172
Assets/Scenes/MainMenu.unity
Normal file
4172
Assets/Scenes/MainMenu.unity
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Scenes/MainMenu.unity.meta
Normal file
7
Assets/Scenes/MainMenu.unity.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 33d54f39f74b30b4dbb8d638a1d5c9b4
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -2,13 +2,16 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
|
using UnityEngine.Networking;
|
||||||
|
using System.Collections;
|
||||||
|
using TMPro;
|
||||||
|
|
||||||
public class MainMenu : MonoBehaviour
|
public class MainMenu : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
public TMPro.TextMeshProUGUI ScoreText;
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
@ -24,7 +27,8 @@ public class MainMenu : MonoBehaviour
|
|||||||
|
|
||||||
public void Credits()
|
public void Credits()
|
||||||
{
|
{
|
||||||
|
StartCoroutine(GetText("dev.steelants.cz/GGJ2021/GeorgeJones/Server/api.php"));
|
||||||
|
ScoreText.text = "test";
|
||||||
}
|
}
|
||||||
|
|
||||||
public void QuitGame()
|
public void QuitGame()
|
||||||
@ -32,4 +36,18 @@ public class MainMenu : MonoBehaviour
|
|||||||
Debug.Log("Quit");
|
Debug.Log("Quit");
|
||||||
Application.Quit();
|
Application.Quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
IEnumerator GetText(string uri) {
|
||||||
|
UnityWebRequest www = UnityWebRequest.Get(uri);
|
||||||
|
yield return www.SendWebRequest();
|
||||||
|
|
||||||
|
if(www.isNetworkError || www.isHttpError) {
|
||||||
|
Debug.Log(www.error);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
// Show results as text
|
||||||
|
Debug.Log(www.downloadHandler.text);
|
||||||
|
ScoreText.text = www.downloadHandler.text;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,35 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class ObjectManager : MonoBehaviour
|
public class ObjectManager : MonoBehaviour
|
||||||
{
|
{
|
||||||
public enum ObjectType {Nothing, PushPull, Drag};
|
public enum ObjectType {Nothing, PushPull, Sign};
|
||||||
public ObjectType objectType = ObjectType.Nothing;
|
public ObjectType objectType = ObjectType.Nothing;
|
||||||
private Rigidbody rigidBody;
|
private Rigidbody rigidBody;
|
||||||
private MeshRenderer meshRenderer;
|
private MeshRenderer meshRenderer;
|
||||||
private PlayerManager playerManager;
|
private PlayerManager playerManager;
|
||||||
private bool interact = false;
|
private bool interact = false;
|
||||||
|
public GameObject detailSign;
|
||||||
|
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
|
{
|
||||||
|
if (objectType == ObjectType.Sign) {
|
||||||
|
MeshRenderer[] meshR = GetComponentsInChildren<MeshRenderer>();
|
||||||
|
if (meshR[0].materials[1] != null) {
|
||||||
|
meshRenderer = meshR[0];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
meshRenderer = meshR[1];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
meshRenderer = GetComponent<MeshRenderer>();
|
meshRenderer = GetComponent<MeshRenderer>();
|
||||||
|
}
|
||||||
meshRenderer.materials[1].SetFloat ("_Outline", 0.0f);
|
meshRenderer.materials[1].SetFloat ("_Outline", 0.0f);
|
||||||
meshRenderer.materials[1].SetColor("_OutlineColor", new Color(0.5276349f, 0.5566038f, 0.118147f));
|
meshRenderer.materials[1].SetColor("_OutlineColor", new Color(0.5276349f, 0.5566038f, 0.118147f));
|
||||||
rigidBody = GetComponent<Rigidbody>();
|
rigidBody = GetComponent<Rigidbody>();
|
||||||
@ -43,6 +57,18 @@ public class ObjectManager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (objectType == ObjectType.Sign)
|
||||||
|
{
|
||||||
|
if (Input.GetKeyUp(KeyCode.E) && !detailSign.activeSelf)
|
||||||
|
{
|
||||||
|
detailSign.SetActive(true);
|
||||||
|
}
|
||||||
|
else if (!playerManager.onGround || Input.GetAxisRaw("Horizontal") != 0 || (Input.GetKeyUp(KeyCode.E) && detailSign.activeSelf))
|
||||||
|
{
|
||||||
|
detailSign.SetActive(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -61,6 +87,28 @@ public class ObjectManager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void OnTriggerEnter(Collider other)
|
||||||
|
{
|
||||||
|
if (other.gameObject.tag == "Player")
|
||||||
|
{
|
||||||
|
if (objectType == ObjectType.Sign)
|
||||||
|
{
|
||||||
|
playerManager = other.gameObject.GetComponent<PlayerManager>();
|
||||||
|
meshRenderer.materials[1].SetFloat("_Outline", 2.5f);
|
||||||
|
interact = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnTriggerExit(Collider other)
|
||||||
|
{
|
||||||
|
if (other.gameObject.tag == "Player")
|
||||||
|
{
|
||||||
|
meshRenderer.materials[1].SetFloat("_Outline", 0.0f);
|
||||||
|
interact = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void OnCollisionStay(Collision collision)
|
private void OnCollisionStay(Collision collision)
|
||||||
{
|
{
|
||||||
if (collision.gameObject.tag == "Player")
|
if (collision.gameObject.tag == "Player")
|
||||||
|
@ -35,8 +35,10 @@ public class PlayerManager : MonoBehaviour
|
|||||||
private float saveRunSpeed;
|
private float saveRunSpeed;
|
||||||
private float saveJump;
|
private float saveJump;
|
||||||
private Vector3 saveSize;
|
private Vector3 saveSize;
|
||||||
|
private Vector3 saveNewSize;
|
||||||
private Vector3 savePosition;
|
private Vector3 savePosition;
|
||||||
private Vector3 saveCameraPosition;
|
private Vector3 saveCameraPosition;
|
||||||
|
private float savePower;
|
||||||
|
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
@ -48,9 +50,7 @@ public class PlayerManager : MonoBehaviour
|
|||||||
saveSpeed = speed;
|
saveSpeed = speed;
|
||||||
saveRunSpeed = runSpeed;
|
saveRunSpeed = runSpeed;
|
||||||
saveJump = jump;
|
saveJump = jump;
|
||||||
saveSize = playerAnimator.transform.localScale;
|
saveSize = transform.localScale;
|
||||||
savePosition = playerAnimator.transform.localPosition;
|
|
||||||
saveCameraPosition = Camera.main.transform.localPosition;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
@ -58,9 +58,9 @@ public class PlayerManager : MonoBehaviour
|
|||||||
{
|
{
|
||||||
if (Input.GetKeyDown(KeyCode.Escape))
|
if (Input.GetKeyDown(KeyCode.Escape))
|
||||||
{
|
{
|
||||||
Application.Quit(0);
|
SceneManager.LoadScene("MainMenu");
|
||||||
}
|
}
|
||||||
if (actualHealth <= 0)
|
if (actualHealth <= 0 || gameObject.transform.position.y < -400.0f)
|
||||||
{
|
{
|
||||||
playerAnimator.Play("Die");
|
playerAnimator.Play("Die");
|
||||||
}
|
}
|
||||||
@ -88,10 +88,17 @@ public class PlayerManager : MonoBehaviour
|
|||||||
if (startEating)
|
if (startEating)
|
||||||
{
|
{
|
||||||
float stepSmaller = 0.8f * Time.deltaTime;
|
float stepSmaller = 0.8f * Time.deltaTime;
|
||||||
|
if (powerCubeManager != null) {
|
||||||
powerCubeManager.transform.localScale = Vector3.Slerp(powerCubeManager.transform.localScale, new Vector3(0.01f, 0.01f, 0.01f), stepSmaller);
|
powerCubeManager.transform.localScale = Vector3.Slerp(powerCubeManager.transform.localScale, new Vector3(0.01f, 0.01f, 0.01f), stepSmaller);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (actualPowerTimes[0] != 0f && actualPowerTimes[0] > Time.time)
|
||||||
|
{
|
||||||
|
transform.localScale = Vector3.Slerp(transform.localScale, saveNewSize, 1 * Time.deltaTime);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void FixedUpdate()
|
private void FixedUpdate()
|
||||||
{
|
{
|
||||||
Jump();
|
Jump();
|
||||||
@ -285,25 +292,23 @@ public class PlayerManager : MonoBehaviour
|
|||||||
actualPowerTimes[powerType.GetHashCode() - 1] = Time.time + powerTime;
|
actualPowerTimes[powerType.GetHashCode() - 1] = Time.time + powerTime;
|
||||||
if (powerType == PowerCubeManager.PowerType.Bigger)
|
if (powerType == PowerCubeManager.PowerType.Bigger)
|
||||||
{
|
{
|
||||||
saveSize = playerAnimator.transform.localScale;
|
saveSize = transform.localScale;
|
||||||
savePosition = playerAnimator.transform.localPosition;
|
savePower = power;
|
||||||
saveCameraPosition = Camera.main.transform.localPosition;
|
saveNewSize = new Vector3(
|
||||||
|
transform.localScale.x + savePower,
|
||||||
playerAnimator.transform.localScale = new Vector3(
|
transform.localScale.y + savePower,
|
||||||
playerAnimator.transform.localScale.x + power,
|
transform.localScale.z + savePower
|
||||||
playerAnimator.transform.localScale.y + power,
|
|
||||||
playerAnimator.transform.localScale.z + power
|
|
||||||
);
|
|
||||||
playerAnimator.transform.localPosition = new Vector3(
|
|
||||||
playerAnimator.transform.localPosition.x,
|
|
||||||
playerAnimator.transform.localPosition.y + power * 2,
|
|
||||||
playerAnimator.transform.localPosition.z
|
|
||||||
);
|
|
||||||
Camera.main.transform.localPosition = new Vector3(
|
|
||||||
Camera.main.transform.localPosition.x,
|
|
||||||
Camera.main.transform.localPosition.y,
|
|
||||||
Camera.main.transform.localPosition.z - power * 2
|
|
||||||
);
|
);
|
||||||
|
/*transform.localScale = new Vector3(
|
||||||
|
transform.localScale.x + power,
|
||||||
|
transform.localScale.y + power,
|
||||||
|
transform.localScale.z + power
|
||||||
|
);*/
|
||||||
|
/*transform.localPosition = new Vector3(
|
||||||
|
transform.localPosition.x,
|
||||||
|
transform.localPosition.y + power * 2,
|
||||||
|
transform.localPosition.z
|
||||||
|
);*/
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (powerType == PowerCubeManager.PowerType.Faster)
|
else if (powerType == PowerCubeManager.PowerType.Faster)
|
||||||
@ -327,11 +332,11 @@ public class PlayerManager : MonoBehaviour
|
|||||||
{
|
{
|
||||||
if (actualPowerTimes[0] != 0f && actualPowerTimes[0] < Time.time)
|
if (actualPowerTimes[0] != 0f && actualPowerTimes[0] < Time.time)
|
||||||
{
|
{
|
||||||
playerAnimator.transform.localScale = saveSize;
|
transform.localScale = Vector3.Slerp(transform.localScale, saveSize, 1 * Time.deltaTime);
|
||||||
playerAnimator.transform.localPosition = savePosition;
|
if (transform.localScale == saveSize) {
|
||||||
Camera.main.transform.localPosition = saveCameraPosition;
|
|
||||||
actualPowerTimes[0] = 0f;
|
actualPowerTimes[0] = 0f;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (actualPowerTimes[1] != 0f && actualPowerTimes[1] < Time.time)
|
if (actualPowerTimes[1] != 0f && actualPowerTimes[1] < Time.time)
|
||||||
{
|
{
|
||||||
speed = saveSpeed;
|
speed = saveSpeed;
|
||||||
@ -354,9 +359,9 @@ public class PlayerManager : MonoBehaviour
|
|||||||
dubleJump = true;
|
dubleJump = true;
|
||||||
dash = false;
|
dash = false;
|
||||||
}
|
}
|
||||||
powerCubeManager = other.gameObject.GetComponent<PowerCubeManager>();
|
if (other.gameObject.GetComponent<PowerCubeManager>() != null)
|
||||||
if (powerCubeManager != null)
|
|
||||||
{
|
{
|
||||||
|
powerCubeManager = other.gameObject.GetComponent<PowerCubeManager>();
|
||||||
interact = true;
|
interact = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,18 @@ public class PowerCubeManager : MonoBehaviour
|
|||||||
|
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
|
if (powerType == PowerType.DubleJump)
|
||||||
|
{
|
||||||
|
GetComponentInChildren<MeshRenderer>().material.color = Color.cyan;
|
||||||
|
}
|
||||||
|
if (powerType == PowerType.PushPull)
|
||||||
|
{
|
||||||
|
GetComponentInChildren<MeshRenderer>().material.color = Color.yellow;
|
||||||
|
}
|
||||||
|
if (powerType == PowerType.Dash)
|
||||||
|
{
|
||||||
|
GetComponentInChildren<MeshRenderer>().material.color = Color.white;
|
||||||
|
}
|
||||||
if (powerType == PowerType.Bigger) {
|
if (powerType == PowerType.Bigger) {
|
||||||
GetComponentInChildren<MeshRenderer>().material.color = Color.blue;
|
GetComponentInChildren<MeshRenderer>().material.color = Color.blue;
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Shader "Outlined/Silhouette Only" {
|
Shader "Outlined/Silhouette Only" {
|
||||||
Properties{
|
Properties{
|
||||||
_OutlineColor("Outline Color", Color) = (0,0,0,1)
|
_OutlineColor("Outline Color", Color) = (0,0,0,1)
|
||||||
_Outline("Outline width", Range(0.0, 1)) = .005
|
_Outline("Outline width", Range(0.0, 10.0)) = .005
|
||||||
}
|
}
|
||||||
|
|
||||||
CGINCLUDE
|
CGINCLUDE
|
||||||
|
@ -5,10 +5,19 @@ EditorBuildSettings:
|
|||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Scenes:
|
m_Scenes:
|
||||||
|
- enabled: 1
|
||||||
|
path: Assets/Scenes/MainMenu.unity
|
||||||
|
guid: 33d54f39f74b30b4dbb8d638a1d5c9b4
|
||||||
- enabled: 1
|
- enabled: 1
|
||||||
path: Assets/Scenes/Vasek.unity
|
path: Assets/Scenes/Vasek.unity
|
||||||
guid: 127deaeaf7712824f83ee4cba639e023
|
guid: 127deaeaf7712824f83ee4cba639e023
|
||||||
- enabled: 0
|
- enabled: 1
|
||||||
|
path: Assets/Scenes/Level 2.unity
|
||||||
|
guid: 3ff2402a6d1a5b1459781b37d0f8e1c7
|
||||||
|
- enabled: 1
|
||||||
|
path: Assets/Scenes/Level 3.unity
|
||||||
|
guid: 7d7146aedfcd48445bb0d44a485249b2
|
||||||
|
- enabled: 1
|
||||||
path: Assets/Scenes/Filip.unity
|
path: Assets/Scenes/Filip.unity
|
||||||
guid: 326dea585e0ea574389529eaae8a0ab4
|
guid: 326dea585e0ea574389529eaae8a0ab4
|
||||||
m_configObjects: {}
|
m_configObjects: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user