parent
84f274725e
commit
34a3976d2f
14 changed files with 1461 additions and 40 deletions
@ -0,0 +1,195 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &7041796185663956342 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 7041796185663956338} |
||||||
|
- component: {fileID: 7041796185663956341} |
||||||
|
- component: {fileID: 7041796185663956336} |
||||||
|
- component: {fileID: 8059693774009316043} |
||||||
|
- component: {fileID: 7041796185663956339} |
||||||
|
- component: {fileID: 7041796185663956337} |
||||||
|
- component: {fileID: 7286884547159090166} |
||||||
|
- component: {fileID: 8029731608843643848} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Ball |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &7041796185663956338 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7041796185663956342} |
||||||
|
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_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_RootOrder: 0 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!212 &7041796185663956341 |
||||||
|
SpriteRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7041796185663956342} |
||||||
|
m_Enabled: 1 |
||||||
|
m_CastShadows: 0 |
||||||
|
m_ReceiveShadows: 0 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 0 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 1 |
||||||
|
m_SelectedEditorRenderState: 0 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: 0 |
||||||
|
m_Sprite: {fileID: 21300000, guid: 47e353a78c92b9838963e533e37462e5, type: 3} |
||||||
|
m_Color: {r: 0.6415094, g: 0.30562478, b: 0.30562478, a: 1} |
||||||
|
m_FlipX: 0 |
||||||
|
m_FlipY: 0 |
||||||
|
m_DrawMode: 0 |
||||||
|
m_Size: {x: 2.56, y: 2.56} |
||||||
|
m_AdaptiveModeThreshold: 0.5 |
||||||
|
m_SpriteTileMode: 0 |
||||||
|
m_WasSpriteAssigned: 1 |
||||||
|
m_MaskInteraction: 0 |
||||||
|
m_SpriteSortPoint: 0 |
||||||
|
--- !u!114 &7041796185663956336 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7041796185663956342} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 267dfd77302043669cc125190ddfb575, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
--- !u!114 &8059693774009316043 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7041796185663956342} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: e96cb6065543e43c4a752faaa1468eb1, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
SyncPositionX: 1 |
||||||
|
SyncPositionY: 1 |
||||||
|
SyncPositionZ: 1 |
||||||
|
SyncRotAngleX: 1 |
||||||
|
SyncRotAngleY: 1 |
||||||
|
SyncRotAngleZ: 1 |
||||||
|
SyncScaleX: 1 |
||||||
|
SyncScaleY: 1 |
||||||
|
SyncScaleZ: 1 |
||||||
|
PositionThreshold: 0.001 |
||||||
|
RotAngleThreshold: 0.01 |
||||||
|
ScaleThreshold: 0.01 |
||||||
|
InLocalSpace: 0 |
||||||
|
Interpolate: 1 |
||||||
|
--- !u!114 &7041796185663956339 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7041796185663956342} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
GlobalObjectIdHash: 951099334 |
||||||
|
AlwaysReplicateAsRoot: 0 |
||||||
|
DontDestroyWithOwner: 0 |
||||||
|
AutoObjectParentSync: 1 |
||||||
|
--- !u!58 &7041796185663956337 |
||||||
|
CircleCollider2D: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7041796185663956342} |
||||||
|
m_Enabled: 1 |
||||||
|
m_Density: 1 |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_UsedByEffector: 0 |
||||||
|
m_UsedByComposite: 0 |
||||||
|
m_Offset: {x: 0, y: 0} |
||||||
|
serializedVersion: 2 |
||||||
|
m_Radius: 0.25 |
||||||
|
--- !u!50 &7286884547159090166 |
||||||
|
Rigidbody2D: |
||||||
|
serializedVersion: 4 |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7041796185663956342} |
||||||
|
m_BodyType: 0 |
||||||
|
m_Simulated: 1 |
||||||
|
m_UseFullKinematicContacts: 0 |
||||||
|
m_UseAutoMass: 1 |
||||||
|
m_Mass: 0.19634955 |
||||||
|
m_LinearDrag: 0 |
||||||
|
m_AngularDrag: 0.05 |
||||||
|
m_GravityScale: 0 |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_Interpolate: 0 |
||||||
|
m_SleepingMode: 1 |
||||||
|
m_CollisionDetection: 0 |
||||||
|
m_Constraints: 0 |
||||||
|
--- !u!114 &8029731608843643848 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7041796185663956342} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 80d7c879794dfda4687da0e400131852, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
@ -0,0 +1,11 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!62 &6200000 |
||||||
|
PhysicsMaterial2D: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_Name: Bouncing |
||||||
|
friction: 0 |
||||||
|
bounciness: 1 |
@ -0,0 +1,216 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &5402279313309450415 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 5402279313309450413} |
||||||
|
- component: {fileID: 5402279313309450414} |
||||||
|
- component: {fileID: 5402279313309450412} |
||||||
|
- component: {fileID: 1666507220592599477} |
||||||
|
- component: {fileID: 1287955658} |
||||||
|
- component: {fileID: 1287955657} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Player |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &5402279313309450413 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5402279313309450415} |
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||||
|
m_LocalScale: {x: 4, y: 1, z: 1} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_RootOrder: 0 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!212 &5402279313309450414 |
||||||
|
SpriteRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5402279313309450415} |
||||||
|
m_Enabled: 1 |
||||||
|
m_CastShadows: 0 |
||||||
|
m_ReceiveShadows: 0 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 0 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 1 |
||||||
|
m_SelectedEditorRenderState: 0 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: 0 |
||||||
|
m_Sprite: {fileID: -2413806693520163455, guid: a86470a33a6bf42c4b3595704624658b, type: 3} |
||||||
|
m_Color: {r: 1, g: 0.54467595, b: 0, a: 1} |
||||||
|
m_FlipX: 0 |
||||||
|
m_FlipY: 0 |
||||||
|
m_DrawMode: 0 |
||||||
|
m_Size: {x: 1, y: 1} |
||||||
|
m_AdaptiveModeThreshold: 0.5 |
||||||
|
m_SpriteTileMode: 0 |
||||||
|
m_WasSpriteAssigned: 1 |
||||||
|
m_MaskInteraction: 0 |
||||||
|
m_SpriteSortPoint: 0 |
||||||
|
--- !u!114 &5402279313309450412 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5402279313309450415} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: e96cb6065543e43c4a752faaa1468eb1, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
SyncPositionX: 1 |
||||||
|
SyncPositionY: 1 |
||||||
|
SyncPositionZ: 1 |
||||||
|
SyncRotAngleX: 1 |
||||||
|
SyncRotAngleY: 1 |
||||||
|
SyncRotAngleZ: 1 |
||||||
|
SyncScaleX: 1 |
||||||
|
SyncScaleY: 1 |
||||||
|
SyncScaleZ: 1 |
||||||
|
PositionThreshold: 0.001 |
||||||
|
RotAngleThreshold: 0.01 |
||||||
|
ScaleThreshold: 0.01 |
||||||
|
InLocalSpace: 0 |
||||||
|
Interpolate: 1 |
||||||
|
--- !u!60 &1666507220592599477 |
||||||
|
PolygonCollider2D: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5402279313309450415} |
||||||
|
m_Enabled: 1 |
||||||
|
m_Density: 1 |
||||||
|
m_Material: {fileID: 6200000, guid: 2d231bbc8208f52c797c91aa2030f60f, type: 2} |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_UsedByEffector: 0 |
||||||
|
m_UsedByComposite: 0 |
||||||
|
m_Offset: {x: 0, y: 0} |
||||||
|
m_SpriteTilingProperty: |
||||||
|
border: {x: 0, y: 0, z: 0, w: 0} |
||||||
|
pivot: {x: 0.5, y: 0.5} |
||||||
|
oldSize: {x: 1, y: 1} |
||||||
|
newSize: {x: 1, y: 1} |
||||||
|
adaptiveTilingThreshold: 0.5 |
||||||
|
drawMode: 0 |
||||||
|
adaptiveTiling: 0 |
||||||
|
m_AutoTiling: 0 |
||||||
|
m_Points: |
||||||
|
m_Paths: |
||||||
|
- - {x: 0.07769512, y: 0.48959255} |
||||||
|
- {x: -0.0012524575, y: 0.49665928} |
||||||
|
- {x: -0.07263627, y: 0.49400043} |
||||||
|
- {x: -0.15234375, y: 0.47265625} |
||||||
|
- {x: -0.22255954, y: 0.44318295} |
||||||
|
- {x: -0.29296875, y: 0.40234375} |
||||||
|
- {x: -0.34777647, y: 0.3533802} |
||||||
|
- {x: -0.40234375, y: 0.29296875} |
||||||
|
- {x: -0.4367497, y: 0.23835087} |
||||||
|
- {x: -0.47265625, y: 0.15234375} |
||||||
|
- {x: -0.48305663, y: 0.11670399} |
||||||
|
- {x: -0.49476454, y: 0.050439835} |
||||||
|
- {x: -0.49564582, y: 0.020850182} |
||||||
|
- {x: -0.49582514, y: -0.020039558} |
||||||
|
- {x: -0.4916248, y: -0.06787586} |
||||||
|
- {x: -0.48282516, y: -0.11522102} |
||||||
|
- {x: -0.47265625, y: -0.15234375} |
||||||
|
- {x: -0.44339067, y: -0.22507} |
||||||
|
- {x: -0.40234375, y: -0.29296875} |
||||||
|
- {x: -0.3491057, y: -0.3549738} |
||||||
|
- {x: -0.29296875, y: -0.40234375} |
||||||
|
- {x: -0.22167481, y: -0.4452963} |
||||||
|
- {x: -0.15234375, y: -0.47265625} |
||||||
|
- {x: -0.07007347, y: -0.49577236} |
||||||
|
- {x: 0, y: -0.5} |
||||||
|
- {x: 0.08312563, y: -0.4915352} |
||||||
|
- {x: 0.15234375, y: -0.47265625} |
||||||
|
- {x: 0.22586307, y: -0.44487286} |
||||||
|
- {x: 0.29296875, y: -0.40234375} |
||||||
|
- {x: 0.3528148, y: -0.35042953} |
||||||
|
- {x: 0.40234375, y: -0.29296875} |
||||||
|
- {x: 0.43940634, y: -0.23136902} |
||||||
|
- {x: 0.45904493, y: -0.18834782} |
||||||
|
- {x: 0.47265625, y: -0.15234375} |
||||||
|
- {x: 0.48268673, y: -0.11542511} |
||||||
|
- {x: 0.49256375, y: -0.06293583} |
||||||
|
- {x: 0.49749509, y: 0.0016698837} |
||||||
|
- {x: 0.49538845, y: 0.04973793} |
||||||
|
- {x: 0.4866397, y: 0.106570244} |
||||||
|
- {x: 0.47265625, y: 0.15234375} |
||||||
|
- {x: 0.45948133, y: 0.19455719} |
||||||
|
- {x: 0.4361129, y: 0.24171734} |
||||||
|
- {x: 0.40234375, y: 0.29296875} |
||||||
|
- {x: 0.3540154, y: 0.34922886} |
||||||
|
- {x: 0.29296875, y: 0.40234375} |
||||||
|
- {x: 0.23607399, y: 0.43893242} |
||||||
|
- {x: 0.15234375, y: 0.47265625} |
||||||
|
--- !u!114 &1287955658 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5402279313309450415} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b045411c168541488d756b99a27aab04, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
--- !u!114 &1287955657 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5402279313309450415} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
GlobalObjectIdHash: 951099334 |
||||||
|
AlwaysReplicateAsRoot: 0 |
||||||
|
DontDestroyWithOwner: 0 |
||||||
|
AutoObjectParentSync: 1 |
@ -0,0 +1,903 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!29 &1 |
||||||
|
OcclusionCullingSettings: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
serializedVersion: 2 |
||||||
|
m_OcclusionBakeSettings: |
||||||
|
smallestOccluder: 5 |
||||||
|
smallestHole: 0.25 |
||||||
|
backfaceThreshold: 100 |
||||||
|
m_SceneGUID: 00000000000000000000000000000000 |
||||||
|
m_OcclusionCullingData: {fileID: 0} |
||||||
|
--- !u!104 &2 |
||||||
|
RenderSettings: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
serializedVersion: 9 |
||||||
|
m_Fog: 0 |
||||||
|
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} |
||||||
|
m_FogMode: 3 |
||||||
|
m_FogDensity: 0.01 |
||||||
|
m_LinearFogStart: 0 |
||||||
|
m_LinearFogEnd: 300 |
||||||
|
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} |
||||||
|
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} |
||||||
|
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} |
||||||
|
m_AmbientIntensity: 1 |
||||||
|
m_AmbientMode: 3 |
||||||
|
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} |
||||||
|
m_SkyboxMaterial: {fileID: 0} |
||||||
|
m_HaloStrength: 0.5 |
||||||
|
m_FlareStrength: 1 |
||||||
|
m_FlareFadeSpeed: 3 |
||||||
|
m_HaloTexture: {fileID: 0} |
||||||
|
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
m_DefaultReflectionMode: 0 |
||||||
|
m_DefaultReflectionResolution: 128 |
||||||
|
m_ReflectionBounces: 1 |
||||||
|
m_ReflectionIntensity: 1 |
||||||
|
m_CustomReflection: {fileID: 0} |
||||||
|
m_Sun: {fileID: 0} |
||||||
|
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} |
||||||
|
m_UseRadianceAmbientProbe: 0 |
||||||
|
--- !u!157 &3 |
||||||
|
LightmapSettings: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
serializedVersion: 12 |
||||||
|
m_GIWorkflowMode: 1 |
||||||
|
m_GISettings: |
||||||
|
serializedVersion: 2 |
||||||
|
m_BounceScale: 1 |
||||||
|
m_IndirectOutputScale: 1 |
||||||
|
m_AlbedoBoost: 1 |
||||||
|
m_EnvironmentLightingMode: 0 |
||||||
|
m_EnableBakedLightmaps: 0 |
||||||
|
m_EnableRealtimeLightmaps: 0 |
||||||
|
m_LightmapEditorSettings: |
||||||
|
serializedVersion: 12 |
||||||
|
m_Resolution: 2 |
||||||
|
m_BakeResolution: 40 |
||||||
|
m_AtlasSize: 1024 |
||||||
|
m_AO: 0 |
||||||
|
m_AOMaxDistance: 1 |
||||||
|
m_CompAOExponent: 1 |
||||||
|
m_CompAOExponentDirect: 0 |
||||||
|
m_ExtractAmbientOcclusion: 0 |
||||||
|
m_Padding: 2 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_LightmapsBakeMode: 1 |
||||||
|
m_TextureCompression: 1 |
||||||
|
m_FinalGather: 0 |
||||||
|
m_FinalGatherFiltering: 1 |
||||||
|
m_FinalGatherRayCount: 256 |
||||||
|
m_ReflectionCompression: 2 |
||||||
|
m_MixedBakeMode: 2 |
||||||
|
m_BakeBackend: 1 |
||||||
|
m_PVRSampling: 1 |
||||||
|
m_PVRDirectSampleCount: 32 |
||||||
|
m_PVRSampleCount: 512 |
||||||
|
m_PVRBounces: 2 |
||||||
|
m_PVREnvironmentSampleCount: 256 |
||||||
|
m_PVREnvironmentReferencePointCount: 2048 |
||||||
|
m_PVRFilteringMode: 1 |
||||||
|
m_PVRDenoiserTypeDirect: 1 |
||||||
|
m_PVRDenoiserTypeIndirect: 1 |
||||||
|
m_PVRDenoiserTypeAO: 1 |
||||||
|
m_PVRFilterTypeDirect: 0 |
||||||
|
m_PVRFilterTypeIndirect: 0 |
||||||
|
m_PVRFilterTypeAO: 0 |
||||||
|
m_PVREnvironmentMIS: 1 |
||||||
|
m_PVRCulling: 1 |
||||||
|
m_PVRFilteringGaussRadiusDirect: 1 |
||||||
|
m_PVRFilteringGaussRadiusIndirect: 5 |
||||||
|
m_PVRFilteringGaussRadiusAO: 2 |
||||||
|
m_PVRFilteringAtrousPositionSigmaDirect: 0.5 |
||||||
|
m_PVRFilteringAtrousPositionSigmaIndirect: 2 |
||||||
|
m_PVRFilteringAtrousPositionSigmaAO: 1 |
||||||
|
m_ExportTrainingData: 0 |
||||||
|
m_TrainingDataDestination: TrainingData |
||||||
|
m_LightProbeSampleCountMultiplier: 4 |
||||||
|
m_LightingDataAsset: {fileID: 0} |
||||||
|
m_LightingSettings: {fileID: 0} |
||||||
|
--- !u!196 &4 |
||||||
|
NavMeshSettings: |
||||||
|
serializedVersion: 2 |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_BuildSettings: |
||||||
|
serializedVersion: 2 |
||||||
|
agentTypeID: 0 |
||||||
|
agentRadius: 0.5 |
||||||
|
agentHeight: 2 |
||||||
|
agentSlope: 45 |
||||||
|
agentClimb: 0.4 |
||||||
|
ledgeDropHeight: 0 |
||||||
|
maxJumpAcrossDistance: 0 |
||||||
|
minRegionArea: 2 |
||||||
|
manualCellSize: 0 |
||||||
|
cellSize: 0.16666667 |
||||||
|
manualTileSize: 0 |
||||||
|
tileSize: 256 |
||||||
|
accuratePlacement: 0 |
||||||
|
maxJobWorkers: 0 |
||||||
|
preserveTilesOutsideBounds: 0 |
||||||
|
debug: |
||||||
|
m_Flags: 0 |
||||||
|
m_NavMeshData: {fileID: 0} |
||||||
|
--- !u!1 &132613872 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 132613873} |
||||||
|
- component: {fileID: 132613874} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Left |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &132613873 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 132613872} |
||||||
|
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_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 948416251} |
||||||
|
m_RootOrder: 2 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!68 &132613874 |
||||||
|
EdgeCollider2D: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 132613872} |
||||||
|
m_Enabled: 1 |
||||||
|
m_Density: 1 |
||||||
|
m_Material: {fileID: 6200000, guid: 2d231bbc8208f52c797c91aa2030f60f, type: 2} |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_UsedByEffector: 0 |
||||||
|
m_UsedByComposite: 0 |
||||||
|
m_Offset: {x: 0, y: 0} |
||||||
|
m_EdgeRadius: 0 |
||||||
|
m_Points: |
||||||
|
- {x: -10, y: -15} |
||||||
|
- {x: -10, y: 15} |
||||||
|
m_AdjacentStartPoint: {x: 0, y: 0} |
||||||
|
m_AdjacentEndPoint: {x: 0, y: 0} |
||||||
|
m_UseAdjacentStartPoint: 0 |
||||||
|
m_UseAdjacentEndPoint: 0 |
||||||
|
--- !u!1 &202025795 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 202025797} |
||||||
|
- component: {fileID: 202025796} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Background |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!212 &202025796 |
||||||
|
SpriteRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 202025795} |
||||||
|
m_Enabled: 1 |
||||||
|
m_CastShadows: 0 |
||||||
|
m_ReceiveShadows: 0 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 0 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 1 |
||||||
|
m_SelectedEditorRenderState: 0 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: -2 |
||||||
|
m_Sprite: {fileID: 7482667652216324306, guid: 311925a002f4447b3a28927169b83ea6, type: 3} |
||||||
|
m_Color: {r: 0.21698111, g: 0.21698111, b: 0.21698111, a: 1} |
||||||
|
m_FlipX: 0 |
||||||
|
m_FlipY: 0 |
||||||
|
m_DrawMode: 0 |
||||||
|
m_Size: {x: 1, y: 1} |
||||||
|
m_AdaptiveModeThreshold: 0.5 |
||||||
|
m_SpriteTileMode: 0 |
||||||
|
m_WasSpriteAssigned: 1 |
||||||
|
m_MaskInteraction: 0 |
||||||
|
m_SpriteSortPoint: 0 |
||||||
|
--- !u!4 &202025797 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 202025795} |
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||||
|
m_LocalScale: {x: 20, y: 40, z: 1} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_RootOrder: 5 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!1 &338338487 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 338338489} |
||||||
|
- component: {fileID: 338338488} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Playground |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!212 &338338488 |
||||||
|
SpriteRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 338338487} |
||||||
|
m_Enabled: 1 |
||||||
|
m_CastShadows: 0 |
||||||
|
m_ReceiveShadows: 0 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 0 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 1 |
||||||
|
m_SelectedEditorRenderState: 0 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: -1 |
||||||
|
m_Sprite: {fileID: 7482667652216324306, guid: 311925a002f4447b3a28927169b83ea6, type: 3} |
||||||
|
m_Color: {r: 0.22628158, g: 0.28601155, b: 0.4245283, a: 1} |
||||||
|
m_FlipX: 0 |
||||||
|
m_FlipY: 0 |
||||||
|
m_DrawMode: 0 |
||||||
|
m_Size: {x: 1, y: 1} |
||||||
|
m_AdaptiveModeThreshold: 0.5 |
||||||
|
m_SpriteTileMode: 0 |
||||||
|
m_WasSpriteAssigned: 1 |
||||||
|
m_MaskInteraction: 0 |
||||||
|
m_SpriteSortPoint: 0 |
||||||
|
--- !u!4 &338338489 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 338338487} |
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||||
|
m_LocalScale: {x: 20, y: 30, z: 1} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_RootOrder: 4 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!1001 &844814161 |
||||||
|
PrefabInstance: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
serializedVersion: 2 |
||||||
|
m_Modification: |
||||||
|
m_TransformParent: {fileID: 0} |
||||||
|
m_Modifications: |
||||||
|
- target: {fileID: 1287955657, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: GlobalObjectIdHash |
||||||
|
value: 1155120388 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_RootOrder |
||||||
|
value: 6 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalPosition.x |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalPosition.y |
||||||
|
value: -15 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalPosition.z |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalRotation.w |
||||||
|
value: 1 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalRotation.x |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalRotation.y |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalRotation.z |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalEulerAnglesHint.x |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalEulerAnglesHint.y |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalEulerAnglesHint.z |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450415, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_Name |
||||||
|
value: Player |
||||||
|
objectReference: {fileID: 0} |
||||||
|
m_RemovedComponents: [] |
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
--- !u!1 &948416250 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 948416251} |
||||||
|
- component: {fileID: 948416252} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Border |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &948416251 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 948416250} |
||||||
|
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_ConstrainProportionsScale: 0 |
||||||
|
m_Children: |
||||||
|
- {fileID: 2069256771} |
||||||
|
- {fileID: 1100318145} |
||||||
|
- {fileID: 132613873} |
||||||
|
- {fileID: 1462314554} |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_RootOrder: 3 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &948416252 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 948416250} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 572c5b8dd6a94b3585befaa50a883755, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
x1: -10 |
||||||
|
x2: 10 |
||||||
|
y1: -15 |
||||||
|
y2: 15 |
||||||
|
playGround: {fileID: 338338489} |
||||||
|
--- !u!1 &1100318144 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 1100318145} |
||||||
|
- component: {fileID: 1100318146} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Bottom |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &1100318145 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1100318144} |
||||||
|
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_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 948416251} |
||||||
|
m_RootOrder: 1 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!68 &1100318146 |
||||||
|
EdgeCollider2D: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1100318144} |
||||||
|
m_Enabled: 1 |
||||||
|
m_Density: 1 |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IsTrigger: 1 |
||||||
|
m_UsedByEffector: 0 |
||||||
|
m_UsedByComposite: 0 |
||||||
|
m_Offset: {x: 0, y: 0} |
||||||
|
m_EdgeRadius: 0 |
||||||
|
m_Points: |
||||||
|
- {x: -10, y: 15} |
||||||
|
- {x: 10, y: 15} |
||||||
|
m_AdjacentStartPoint: {x: 0, y: 0} |
||||||
|
m_AdjacentEndPoint: {x: 0, y: 0} |
||||||
|
m_UseAdjacentStartPoint: 0 |
||||||
|
m_UseAdjacentEndPoint: 0 |
||||||
|
--- !u!1 &1462314553 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 1462314554} |
||||||
|
- component: {fileID: 1462314555} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Right |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &1462314554 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1462314553} |
||||||
|
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_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 948416251} |
||||||
|
m_RootOrder: 3 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!68 &1462314555 |
||||||
|
EdgeCollider2D: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1462314553} |
||||||
|
m_Enabled: 1 |
||||||
|
m_Density: 1 |
||||||
|
m_Material: {fileID: 6200000, guid: 2d231bbc8208f52c797c91aa2030f60f, type: 2} |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_UsedByEffector: 0 |
||||||
|
m_UsedByComposite: 0 |
||||||
|
m_Offset: {x: 0, y: 0} |
||||||
|
m_EdgeRadius: 0 |
||||||
|
m_Points: |
||||||
|
- {x: 10, y: -15} |
||||||
|
- {x: 10, y: 15} |
||||||
|
m_AdjacentStartPoint: {x: 0, y: 0} |
||||||
|
m_AdjacentEndPoint: {x: 0, y: 0} |
||||||
|
m_UseAdjacentStartPoint: 0 |
||||||
|
m_UseAdjacentEndPoint: 0 |
||||||
|
--- !u!1001 &1497269263 |
||||||
|
PrefabInstance: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
serializedVersion: 2 |
||||||
|
m_Modification: |
||||||
|
m_TransformParent: {fileID: 0} |
||||||
|
m_Modifications: |
||||||
|
- target: {fileID: 7041796185663956338, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_RootOrder |
||||||
|
value: 1 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956338, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_LocalPosition.x |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956338, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_LocalPosition.y |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956338, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_LocalPosition.z |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956338, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_LocalRotation.w |
||||||
|
value: 1 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956338, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_LocalRotation.x |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956338, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_LocalRotation.y |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956338, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_LocalRotation.z |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956338, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_LocalEulerAnglesHint.x |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956338, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_LocalEulerAnglesHint.y |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956338, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_LocalEulerAnglesHint.z |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956339, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: GlobalObjectIdHash |
||||||
|
value: 290977249 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 7041796185663956342, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
propertyPath: m_Name |
||||||
|
value: Ball |
||||||
|
objectReference: {fileID: 0} |
||||||
|
m_RemovedComponents: [] |
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
--- !u!1 &1698696474 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 1698696477} |
||||||
|
- component: {fileID: 1698696476} |
||||||
|
- component: {fileID: 1698696475} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Pixel Perfect Camera |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!114 &1698696475 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1698696474} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 6a160d838ff8b4b4693ac20007e008c7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
m_AssetsPPU: 20 |
||||||
|
m_RefResolutionX: 400 |
||||||
|
m_RefResolutionY: 800 |
||||||
|
m_UpscaleRT: 0 |
||||||
|
m_PixelSnapping: 0 |
||||||
|
m_CropFrameX: 1 |
||||||
|
m_CropFrameY: 1 |
||||||
|
m_StretchFill: 1 |
||||||
|
--- !u!20 &1698696476 |
||||||
|
Camera: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1698696474} |
||||||
|
m_Enabled: 1 |
||||||
|
serializedVersion: 2 |
||||||
|
m_ClearFlags: 1 |
||||||
|
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} |
||||||
|
m_projectionMatrixMode: 1 |
||||||
|
m_GateFitMode: 2 |
||||||
|
m_FOVAxisMode: 0 |
||||||
|
m_SensorSize: {x: 36, y: 24} |
||||||
|
m_LensShift: {x: 0, y: 0} |
||||||
|
m_FocalLength: 50 |
||||||
|
m_NormalizedViewPortRect: |
||||||
|
serializedVersion: 2 |
||||||
|
x: 0 |
||||||
|
y: 0 |
||||||
|
width: 1 |
||||||
|
height: 1 |
||||||
|
near clip plane: 0.3 |
||||||
|
far clip plane: 1000 |
||||||
|
field of view: 60 |
||||||
|
orthographic: 1 |
||||||
|
orthographic size: 5 |
||||||
|
m_Depth: 0 |
||||||
|
m_CullingMask: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 4294967295 |
||||||
|
m_RenderingPath: -1 |
||||||
|
m_TargetTexture: {fileID: 0} |
||||||
|
m_TargetDisplay: 0 |
||||||
|
m_TargetEye: 3 |
||||||
|
m_HDR: 1 |
||||||
|
m_AllowMSAA: 1 |
||||||
|
m_AllowDynamicResolution: 0 |
||||||
|
m_ForceIntoRT: 0 |
||||||
|
m_OcclusionCulling: 1 |
||||||
|
m_StereoConvergence: 10 |
||||||
|
m_StereoSeparation: 0.022 |
||||||
|
--- !u!4 &1698696477 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1698696474} |
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||||
|
m_LocalPosition: {x: 0, y: 0, z: -1} |
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_RootOrder: 0 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!1001 &1740903482 |
||||||
|
PrefabInstance: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
serializedVersion: 2 |
||||||
|
m_Modification: |
||||||
|
m_TransformParent: {fileID: 0} |
||||||
|
m_Modifications: |
||||||
|
- target: {fileID: 1287955657, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: GlobalObjectIdHash |
||||||
|
value: 1663989227 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_RootOrder |
||||||
|
value: 7 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalPosition.x |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalPosition.y |
||||||
|
value: 15 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalPosition.z |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalRotation.w |
||||||
|
value: 1 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalRotation.x |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalRotation.y |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalRotation.z |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalEulerAnglesHint.x |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalEulerAnglesHint.y |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450413, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_LocalEulerAnglesHint.z |
||||||
|
value: 0 |
||||||
|
objectReference: {fileID: 0} |
||||||
|
- target: {fileID: 5402279313309450415, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
propertyPath: m_Name |
||||||
|
value: Player (1) |
||||||
|
objectReference: {fileID: 0} |
||||||
|
m_RemovedComponents: [] |
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 32b3bb87d3699d314ace59ddb1674875, type: 3} |
||||||
|
--- !u!1 &2069256770 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 2069256771} |
||||||
|
- component: {fileID: 2069256772} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Top |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &2069256771 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 2069256770} |
||||||
|
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_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 948416251} |
||||||
|
m_RootOrder: 0 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!68 &2069256772 |
||||||
|
EdgeCollider2D: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 2069256770} |
||||||
|
m_Enabled: 1 |
||||||
|
m_Density: 1 |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IsTrigger: 1 |
||||||
|
m_UsedByEffector: 0 |
||||||
|
m_UsedByComposite: 0 |
||||||
|
m_Offset: {x: 0, y: 0} |
||||||
|
m_EdgeRadius: 0 |
||||||
|
m_Points: |
||||||
|
- {x: -10, y: -15} |
||||||
|
- {x: 10, y: -15} |
||||||
|
m_AdjacentStartPoint: {x: 0, y: 0} |
||||||
|
m_AdjacentEndPoint: {x: 0, y: 0} |
||||||
|
m_UseAdjacentStartPoint: 0 |
||||||
|
m_UseAdjacentEndPoint: 0 |
||||||
|
--- !u!1 &2109945866 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 2109945868} |
||||||
|
- component: {fileID: 2109945867} |
||||||
|
- component: {fileID: 2109945869} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: GameManager |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!114 &2109945867 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 2109945866} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 52712ba5190f247fcab14f6d688872ba, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
ballPrefab: {fileID: 7041796185663956342, guid: d67d5f2db5f0b3d9d8298731f423a9b6, type: 3} |
||||||
|
--- !u!4 &2109945868 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 2109945866} |
||||||
|
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_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_RootOrder: 2 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &2109945869 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 2109945866} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
GlobalObjectIdHash: 1210836354 |
||||||
|
AlwaysReplicateAsRoot: 0 |
||||||
|
DontDestroyWithOwner: 0 |
||||||
|
AutoObjectParentSync: 1 |
@ -0,0 +1,32 @@ |
|||||||
|
using System; |
||||||
|
using JetBrains.Annotations; |
||||||
|
using UnityEngine; |
||||||
|
|
||||||
|
[ExecuteInEditMode] |
||||||
|
public class BorderSize : MonoBehaviour { |
||||||
|
public float x1, x2, y1, y2; |
||||||
|
|
||||||
|
private EdgeCollider2D top, bottom, left, right; |
||||||
|
public Transform playGround; |
||||||
|
|
||||||
|
private void OnEnable() { |
||||||
|
top = transform.Find("Top").GetComponent<EdgeCollider2D>(); |
||||||
|
bottom = transform.Find("Bottom").GetComponent<EdgeCollider2D>(); |
||||||
|
left = transform.Find("Left").GetComponent<EdgeCollider2D>(); |
||||||
|
right = transform.Find("Right").GetComponent<EdgeCollider2D>(); |
||||||
|
} |
||||||
|
|
||||||
|
private void Update() { |
||||||
|
Vector2 v1 = new Vector2(x1, y1); |
||||||
|
Vector2 v2 = new Vector2(x2, y1); |
||||||
|
Vector2 v3 = new Vector2(x1, y2); |
||||||
|
Vector2 v4 = new Vector2(x2, y2); |
||||||
|
top.points = new[] {v1, v2}; |
||||||
|
bottom.points = new[] {v3, v4}; |
||||||
|
left.points = new[] {v1, v3}; |
||||||
|
right.points = new[] {v2, v4}; |
||||||
|
|
||||||
|
playGround.localPosition = new Vector3((x2 + x1) / 2, (y2 + y1) / 2, 0); |
||||||
|
playGround.localScale = new Vector3(x2 - x1, y2 - y1, 1); |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,8 @@ |
|||||||
|
using Unity.Netcode; |
||||||
|
using UnityEngine; |
||||||
|
|
||||||
|
namespace Game { |
||||||
|
public class Ball : NetworkBehaviour { |
||||||
|
|
||||||
|
} |
||||||
|
} |
@ -0,0 +1,20 @@ |
|||||||
|
using System; |
||||||
|
using Unity.Netcode; |
||||||
|
using Unity.VisualScripting; |
||||||
|
using UnityEngine; |
||||||
|
using Object = UnityEngine.Object; |
||||||
|
|
||||||
|
namespace Game { |
||||||
|
public class GameManager : NetworkBehaviour { |
||||||
|
|
||||||
|
public Object ballPrefab; |
||||||
|
|
||||||
|
private void Start() { |
||||||
|
//var ball = Instantiate(ballPrefab, Vector2.zero, Quaternion.identity).GetComponent<Ball>(); |
||||||
|
var ball = FindObjectOfType(typeof(Ball)); |
||||||
|
var rb = ball.GetComponent<Rigidbody2D>(); |
||||||
|
rb.velocity = new Vector2(0, 10); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
} |
@ -0,0 +1,23 @@ |
|||||||
|
using System; |
||||||
|
using Unity.Netcode; |
||||||
|
using UnityEngine; |
||||||
|
using UnityEngine.InputSystem; |
||||||
|
|
||||||
|
namespace Game { |
||||||
|
public class Player : NetworkBehaviour { |
||||||
|
private void FixedUpdate() { |
||||||
|
Vector2 add = Vector2.zero; |
||||||
|
|
||||||
|
var keyboard = Keyboard.current; |
||||||
|
if (keyboard.aKey.isPressed) { |
||||||
|
add.x -= 1; |
||||||
|
} |
||||||
|
|
||||||
|
if (keyboard.dKey.isPressed) { |
||||||
|
add.x += 1; |
||||||
|
} |
||||||
|
|
||||||
|
transform.Translate(add / 10f); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,45 @@ |
|||||||
|
using UnityEngine; |
||||||
|
using UnityEngine.SceneManagement; |
||||||
|
using UnityEngine.UIElements; |
||||||
|
|
||||||
|
public class MenuUI : MonoBehaviour { |
||||||
|
|
||||||
|
private VisualElement root; |
||||||
|
|
||||||
|
private VisualElement mainMenu, playMenu, settingsMenu; |
||||||
|
|
||||||
|
private void OnEnable() { |
||||||
|
root = GetComponent<UIDocument>().rootVisualElement; |
||||||
|
|
||||||
|
mainMenu = root.Q("main_menu"); |
||||||
|
playMenu = root.Q("play_menu"); |
||||||
|
settingsMenu = root.Q("settings_menu"); |
||||||
|
|
||||||
|
mainMenu.Q("btn_play").RegisterCallback<ClickEvent>(PlayPressed); |
||||||
|
mainMenu.Q("btn_settings").RegisterCallback<ClickEvent>(SettingsPressed); |
||||||
|
|
||||||
|
playMenu.Q("btn_find").RegisterCallback<ClickEvent>(FindPressed); |
||||||
|
playMenu.Q("btn_bot").RegisterCallback<ClickEvent>(BotPressed); |
||||||
|
|
||||||
|
PlayPressed(null); |
||||||
|
BotPressed(null); |
||||||
|
} |
||||||
|
|
||||||
|
private void PlayPressed(ClickEvent evt) { |
||||||
|
mainMenu.style.display = DisplayStyle.None; |
||||||
|
playMenu.style.display = DisplayStyle.Flex; |
||||||
|
} |
||||||
|
|
||||||
|
private void SettingsPressed(ClickEvent evt) { |
||||||
|
mainMenu.style.display = DisplayStyle.None; |
||||||
|
settingsMenu.style.display = DisplayStyle.Flex; |
||||||
|
} |
||||||
|
|
||||||
|
private void FindPressed(ClickEvent evt) { |
||||||
|
Debug.Log("Start finding online opponent"); |
||||||
|
} |
||||||
|
|
||||||
|
private void BotPressed(ClickEvent evt) { |
||||||
|
SceneManager.LoadScene("Game"); |
||||||
|
} |
||||||
|
} |
After Width: | Height: | Size: 5.9 KiB |
@ -1,38 +0,0 @@ |
|||||||
using UnityEngine; |
|
||||||
using UnityEngine.UIElements; |
|
||||||
|
|
||||||
namespace UI_Toolkit { |
|
||||||
public class Menu : MonoBehaviour { |
|
||||||
|
|
||||||
private VisualElement root; |
|
||||||
|
|
||||||
private VisualElement mainMenu, playMenu, settingsMenu; |
|
||||||
|
|
||||||
private void OnEnable() { |
|
||||||
root = GetComponent<UIDocument>().rootVisualElement; |
|
||||||
|
|
||||||
mainMenu = root.Q("main_menu"); |
|
||||||
playMenu = root.Q("play_menu"); |
|
||||||
settingsMenu = root.Q("settings_menu"); |
|
||||||
|
|
||||||
mainMenu.Q("btn_play").RegisterCallback<ClickEvent>(PlayPressed); |
|
||||||
mainMenu.Q("btn_settings").RegisterCallback<ClickEvent>(SettingsPressed); |
|
||||||
|
|
||||||
playMenu.Q("btn_find").RegisterCallback<ClickEvent>(FindPressed); |
|
||||||
} |
|
||||||
|
|
||||||
private void PlayPressed(ClickEvent evt) { |
|
||||||
mainMenu.style.display = DisplayStyle.None; |
|
||||||
playMenu.style.display = DisplayStyle.Flex; |
|
||||||
} |
|
||||||
|
|
||||||
private void SettingsPressed(ClickEvent evt) { |
|
||||||
mainMenu.style.display = DisplayStyle.None; |
|
||||||
settingsMenu.style.display = DisplayStyle.Flex; |
|
||||||
} |
|
||||||
|
|
||||||
private void FindPressed(ClickEvent evt) { |
|
||||||
Debug.Log("Start finding online opponent"); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue