Commit 7a3797d3 authored by taitue2000's avatar taitue2000

update

parent 0ca315ba
fileFormatVersion: 2
guid: 9d8ff8cc2c7c6ee41a32611637b53b45
timeCreated: 1715247515
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: 476097be91b616449863e30fb3f6c12a
guid: ff9b4a4d52f3bd44d93d618bc931b99b
timeCreated: 1715247515
licenseType: Free
DefaultImporter:
......
......@@ -266,7 +266,6 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 218}
- component: {fileID: 665}
- component: {fileID: 512}
m_Layer: 5
m_Name: HUD
......@@ -1271,7 +1270,6 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 275}
- component: {fileID: 679}
- component: {fileID: 521}
m_Layer: 0
m_Name: Ambient
......@@ -1290,8 +1288,9 @@ GameObject:
m_Component:
- component: {fileID: 276}
- component: {fileID: 1922766835}
- component: {fileID: 1922766836}
m_Layer: 0
m_Name: Game
m_Name: GameManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
......@@ -1603,7 +1602,8 @@ GameObject:
- component: {fileID: 544}
- component: {fileID: 511}
- component: {fileID: 525}
- component: {fileID: 686}
- component: {fileID: 343425378}
- component: {fileID: 343425379}
m_Layer: 0
m_Name: Camera
m_TagString: MainCamera
......@@ -3563,7 +3563,7 @@ Transform:
- {fileID: 241}
- {fileID: 285}
m_Father: {fileID: 0}
m_RootOrder: 0
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: -0, z: -0}
--- !u!4 &204
Transform:
......@@ -4714,12 +4714,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 75}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: -0.03, y: 0.67, z: 58.079998}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Children:
- {fileID: 1831626879}
m_Father: {fileID: 0}
m_RootOrder: 14
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &277
Transform:
......@@ -4884,7 +4885,7 @@ Transform:
- {fileID: 289}
- {fileID: 293}
m_Father: {fileID: 0}
m_RootOrder: 15
m_RootOrder: 14
m_LocalEulerAnglesHint: {x: 0, y: -0, z: -0}
--- !u!4 &287
Transform:
......@@ -5020,12 +5021,12 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 94}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.3, z: 61.5}
m_LocalPosition: {x: -0.03, y: 0.67, z: 58.079998}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 16
m_RootOrder: 15
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &296
Transform:
......@@ -5792,11 +5793,11 @@ Camera:
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
near clip plane: 0.1
far clip plane: 5000
field of view: 60.9
orthographic: 0
orthographic size: 100
orthographic size: 10
m_Depth: -1
m_CullingMask:
serializedVersion: 2
......@@ -9855,7 +9856,7 @@ AudioListener:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 94}
m_Enabled: 1
m_Enabled: 0
--- !u!82 &512
AudioSource:
m_ObjectHideFlags: 0
......@@ -12130,7 +12131,7 @@ RectTransform:
m_Children:
- {fileID: 590}
m_Father: {fileID: 0}
m_RootOrder: 17
m_RootOrder: 16
m_LocalEulerAnglesHint: {x: 0, y: -0, z: -0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
......@@ -13501,18 +13502,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 74270d9599131d386a9599b01b92aa57, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &665
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 17}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ff3631d33392a41c5956eeffc2c21cd7, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &666
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -13609,18 +13598,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 15c1fa6b745f22320cb65ac7cf10fa0f, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &679
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 74}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2c42d41479158e2015d3af4e2d1ca799, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &681
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -13681,18 +13658,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 74270d9599131d386a9599b01b92aa57, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &686
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 94}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d3282e0241bdea0f7b71064100ce6e69, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &687
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -14646,7 +14611,7 @@ MonoBehaviour:
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 665}
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName:
m_MethodName: OnPauseButtonClick
m_Mode: 1
......@@ -14770,7 +14735,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 19
m_RootOrder: 17
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &189694715
MonoBehaviour:
......@@ -14796,6 +14761,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 660a1e873021b9441b86c228c2d82489, type: 3}
m_Name:
m_EditorClassIdentifier:
type: 0
--- !u!114 &244175955
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -14811,75 +14777,52 @@ MonoBehaviour:
GoalCheckImage: {fileID: 920652798}
Goal: {fileID: 21300000, guid: 435c3ab2e2176ee4384dc2d8178b4881, type: 3}
Miss: {fileID: 21300000, guid: 394c17a539f67264d8587fc2e157af4d, type: 3}
--- !u!1001 &523925173
PrefabInstance:
--- !u!114 &343425378
MonoBehaviour:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1919735957407625, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_Name
value: Brazil
objectReference: {fileID: 0}
- target: {fileID: 1919735957407625, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4524785931294378, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 4524785931294378, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_LocalPosition.x
value: -1.6
objectReference: {fileID: 0}
- target: {fileID: 4524785931294378, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4524785931294378, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_LocalPosition.z
value: 67.5
objectReference: {fileID: 0}
- target: {fileID: 4524785931294378, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4524785931294378, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4524785931294378, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4524785931294378, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4524785931294378, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4524785931294378, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4524785931294378, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: -0
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 114095644104762679, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 1919735957407625, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
insertIndex: -1
addedObject: {fileID: 854337654}
m_SourcePrefab: {fileID: 100100000, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 94}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c9717514b15d95045b3547ec1c20f2aa, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &343425379
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 94}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 72ece51f2901e7445ab60da3685d6b5f, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ShowDebugText: 0
m_ShowCameraFrustum: 1
m_IgnoreTimeScale: 0
m_WorldUpOverride: {fileID: 0}
m_UpdateMethod: 2
m_BlendUpdateMethod: 1
m_DefaultBlend:
m_Style: 1
m_Time: 2
m_CustomCurve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_CustomBlends: {fileID: 0}
m_CameraCutEvent:
m_PersistentCalls:
m_Calls: []
m_CameraActivatedEvent:
m_PersistentCalls:
m_Calls: []
--- !u!1 &700738181 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1187662189311978, guid: ffbcaebaca9a6c8469ccafdbb3f7effb, type: 3}
......@@ -14912,7 +14855,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4989668131915113, guid: ffbcaebaca9a6c8469ccafdbb3f7effb, type: 3}
propertyPath: m_RootOrder
value: 2
value: 3
objectReference: {fileID: 0}
- target: {fileID: 4989668131915113, guid: ffbcaebaca9a6c8469ccafdbb3f7effb, type: 3}
propertyPath: m_LocalPosition.x
......@@ -14954,34 +14897,28 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
- target: {fileID: 65689696572426695, guid: ffbcaebaca9a6c8469ccafdbb3f7effb, type: 3}
propertyPath: m_Size.x
value: 0.71365213
objectReference: {fileID: 0}
- target: {fileID: 65689696572426695, guid: ffbcaebaca9a6c8469ccafdbb3f7effb, type: 3}
propertyPath: m_Size.z
value: 1.0059509
objectReference: {fileID: 0}
- target: {fileID: 65689696572426695, guid: ffbcaebaca9a6c8469ccafdbb3f7effb, type: 3}
propertyPath: m_Center.x
value: 0.01696591
objectReference: {fileID: 0}
- target: {fileID: 65689696572426695, guid: ffbcaebaca9a6c8469ccafdbb3f7effb, type: 3}
propertyPath: m_Center.z
value: -0.24702454
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 114205816953086336, guid: ffbcaebaca9a6c8469ccafdbb3f7effb, type: 3}
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: ffbcaebaca9a6c8469ccafdbb3f7effb, type: 3}
--- !u!1 &854337649 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1919735957407625, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
m_PrefabInstance: {fileID: 523925173}
m_PrefabAsset: {fileID: 0}
--- !u!95 &854337652 stripped
Animator:
m_CorrespondingSourceObject: {fileID: 95887242522737392, guid: ed1bb5248b4cb8e4c8300770f3beebbc, type: 3}
m_PrefabInstance: {fileID: 523925173}
m_PrefabAsset: {fileID: 0}
--- !u!114 &854337654
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 854337649}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 98680934bc51a4d4aabd301a3f681139, type: 3}
m_Name:
m_EditorClassIdentifier:
animator: {fileID: 854337652}
--- !u!114 &888556047
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -14994,6 +14931,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 660a1e873021b9441b86c228c2d82489, type: 3}
m_Name:
m_EditorClassIdentifier:
type: 0
--- !u!1 &920652796
GameObject:
m_ObjectHideFlags: 0
......@@ -15099,6 +15037,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 660a1e873021b9441b86c228c2d82489, type: 3}
m_Name:
m_EditorClassIdentifier:
type: 1
--- !u!1001 &1177430807
PrefabInstance:
m_ObjectHideFlags: 0
......@@ -15111,6 +15050,10 @@ PrefabInstance:
propertyPath: m_Name
value: Target
objectReference: {fileID: 0}
- target: {fileID: 1286563872466426, guid: 70430a6454a899b428496b22cc71ef9f, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4990836039036296, guid: 70430a6454a899b428496b22cc71ef9f, type: 3}
propertyPath: m_RootOrder
value: 9
......@@ -15160,6 +15103,16 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 70430a6454a899b428496b22cc71ef9f, type: 3}
--- !u!1 &1192054249 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4883589541318923803, guid: 8e465731fa16eeb4ca6a98ccda85b540, type: 3}
m_PrefabInstance: {fileID: 3772912616119693489}
m_PrefabAsset: {fileID: 0}
--- !u!96 &1192054252 stripped
TrailRenderer:
m_CorrespondingSourceObject: {fileID: 7377919326324182189, guid: 8e465731fa16eeb4ca6a98ccda85b540, type: 3}
m_PrefabInstance: {fileID: 3772912616119693489}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1290117216
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -15172,6 +15125,51 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 660a1e873021b9441b86c228c2d82489, type: 3}
m_Name:
m_EditorClassIdentifier:
type: 0
--- !u!1 &1831626878
GameObject:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1831626879}
- component: {fileID: 1831626880}
m_Layer: 0
m_Name: cm
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1831626879
Transform:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1831626878}
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: 276}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1831626880
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1831626878}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ac0b09e7857660247b1477e93731de29, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1922766835
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -15184,108 +15182,49 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d4d1fcad27449024eb00dd0aa17bcbe2, type: 3}
m_Name:
m_EditorClassIdentifier:
BallPrefabs: {fileID: 4883589541318923803, guid: 8e465731fa16eeb4ca6a98ccda85b540, type: 3}
BallPrefabs: {fileID: 1192054249}
LookAtTarget: {fileID: 112386852}
goalkeeperAnimator: {fileID: 700738184}
MainCamera: {fileID: 340}
--- !u!1001 &2076054379
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1635665205728860, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_Name
value: Ball 01 (1)
objectReference: {fileID: 0}
- target: {fileID: 1635665205728860, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4864636961794413, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_RootOrder
value: 18
objectReference: {fileID: 0}
- target: {fileID: 4864636961794413, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4864636961794413, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_LocalPosition.y
value: 0.2
objectReference: {fileID: 0}
- target: {fileID: 4864636961794413, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_LocalPosition.z
value: 70.729
objectReference: {fileID: 0}
- target: {fileID: 4864636961794413, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4864636961794413, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4864636961794413, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4864636961794413, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4864636961794413, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4864636961794413, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4864636961794413, guid: e546a42ad54c856479124015d68bea76, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 114703068511323562, guid: e546a42ad54c856479124015d68bea76, type: 3}
- {fileID: 114452077861034449, guid: e546a42ad54c856479124015d68bea76, type: 3}
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 1635665205728860, guid: e546a42ad54c856479124015d68bea76, type: 3}
insertIndex: -1
addedObject: {fileID: 2076054381}
m_SourcePrefab: {fileID: 100100000, guid: e546a42ad54c856479124015d68bea76, type: 3}
--- !u!1 &2076054380 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1635665205728860, guid: e546a42ad54c856479124015d68bea76, type: 3}
m_PrefabInstance: {fileID: 2076054379}
m_PrefabAsset: {fileID: 0}
--- !u!114 &2076054381
--- !u!114 &1922766836
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2076054380}
m_GameObject: {fileID: 75}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 147cc62dcbe839645929ac2eb74dab2e, type: 3}
m_Script: {fileID: 11500000, guid: 45e653bab7fb20e499bda25e1b646fea, type: 3}
m_Name:
m_EditorClassIdentifier:
startPos: {x: 0, y: 0}
endPos: {x: 0, y: 0}
direction: {x: 0, y: 0}
touchTimeStart: 0
touchTimeFinish: 0
timeInterval: 0
throwForceInXandY: 1
throwForceInZ: 50
ballAudio: {fileID: 0}
Catch: {fileID: 0}
Kick: {fileID: 0}
m_ExcludedPropertiesInInspector:
- m_Script
m_LockStageInInspector:
m_StreamingVersion: 20170927
m_Priority: 10
m_StandbyUpdate: 2
m_LookAt: {fileID: 0}
m_Follow: {fileID: 3772912616119693490}
m_Lens:
FieldOfView: 60.9
OrthographicSize: 10
NearClipPlane: 0.1
FarClipPlane: 5000
Dutch: 0
ModeOverride: 0
LensShift: {x: 0, y: 0}
GateFit: 2
FocusDistance: 10
m_SensorSize: {x: 1, y: 1}
m_Transitions:
m_BlendHint: 0
m_InheritPosition: 0
m_OnCameraLive:
m_PersistentCalls:
m_Calls: []
m_LegacyBlendHint: 0
m_ComponentOwner: {fileID: 1831626879}
--- !u!1001 &3772912616119693489
PrefabInstance:
m_ObjectHideFlags: 0
......@@ -15296,7 +15235,7 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 3356243047183431711, guid: 8e465731fa16eeb4ca6a98ccda85b540, type: 3}
propertyPath: m_RootOrder
value: 1
value: 2
objectReference: {fileID: 0}
- target: {fileID: 3356243047183431711, guid: 8e465731fa16eeb4ca6a98ccda85b540, type: 3}
propertyPath: m_LocalPosition.x
......@@ -15342,6 +15281,10 @@ PrefabInstance:
propertyPath: m_Name
value: Ball 01
objectReference: {fileID: 0}
- target: {fileID: 9011647792280496888, guid: 8e465731fa16eeb4ca6a98ccda85b540, type: 3}
propertyPath: train
value:
objectReference: {fileID: 1192054252}
- target: {fileID: 9011647792280496888, guid: 8e465731fa16eeb4ca6a98ccda85b540, type: 3}
propertyPath: goalKeeper
value:
......@@ -15351,3 +15294,8 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 8e465731fa16eeb4ca6a98ccda85b540, type: 3}
--- !u!4 &3772912616119693490 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 3356243047183431711, guid: 8e465731fa16eeb4ca6a98ccda85b540, type: 3}
m_PrefabInstance: {fileID: 3772912616119693489}
m_PrefabAsset: {fileID: 0}
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: c6546786ce4fe134db3b35d17ba43cda
timeCreated: 1715247515
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: 5ebc3e0dc1d87f14f8821f62880619ee
timeCreated: 1715247515
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -4,13 +4,18 @@ using UnityEngine;
public class BallCheckOut : MonoBehaviour
{
[SerializeField] int type = 0;
private void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.CompareTag("Ball"))
{
if (GetComponent<AudioSource>() != null)
GetComponent<AudioSource>().Play();
if (type == 1)
{
GameManager.intance.MainCamera.GetComponent<ShakeCamera>().PlayCameraShake(0.4f);
}
}
}
}
......@@ -19,6 +19,7 @@ public class BallController : MonoBehaviour
[SerializeField] AudioClip Catch;
[SerializeField] AudioClip Kick;
[SerializeField] TrailRenderer train;
Rigidbody rb;
void Start()
......@@ -32,9 +33,7 @@ public class BallController : MonoBehaviour
void Update()
{
if (!isCanShot) return;
//if (isSelected)
//{
//PlayerDataReceiver.intance.SendItemData(gameObject.name, gameObject.transform.position.ToString(), gameObject.transform.rotation.ToString(), gameObject.transform.localScale.ToString());
if (Input.GetMouseButtonDown(0))
{
// Ghi lại thời gian khi chuột được nhấn và vị trí ban đầu
......@@ -53,6 +52,9 @@ public class BallController : MonoBehaviour
// Lấy vị trí chuột khi được thả ra
endPos = Input.mousePosition;
//endPos = Camera.main.ScreenToWorldPoint(new Vector3(endPos.x, endPos.y, Camera.main.transform.position.y));
//startPos = Camera.main.ScreenToWorldPoint(new Vector3(startPos.x, startPos.y, Camera.main.transform.position.y));
//endPos.
//float a = Mathf.Clamp(endPos.y, 0, 600f);
//endPos = new Vector3(endPos.x, a, endPos.y);
......@@ -64,8 +66,10 @@ public class BallController : MonoBehaviour
//direction = new Vector2(a, b);
// Thêm lực cho rigidbody của đối tượng 3D dựa trên hướng và lực ném
rb.isKinematic = false;
// rb.isKinematic = false;
rb.AddForce(-direction.x * throwForceInXandY, -direction.y * throwForceInXandY, throwForceInZ / timeInterval);
isCanShot = false;
ballAudio.PlayOneShot(Kick);
// Hủy đối tượng sau 3 giây
......@@ -106,19 +110,25 @@ public class BallController : MonoBehaviour
transform.position = Vector3.zero;
gameObject.SetActive(false);
//transform.position.vecto
rb.velocity = Vector3.zero;
rb.angularVelocity = Vector3.zero;
train.enabled= false;
//Debug.Log(transform.position);
GameManager.intance.SetUpGame();
isCanShot = true;
}
public void OpenTrain()
{
train.enabled = true;
}
private void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.CompareTag("Player"))
{
//ballAudio.clip = Catch;
ballAudio.PlayOneShot(Catch);
}
......
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GKController : MonoBehaviour
{
void Start()
{
}
void Update()
{
}
}
fileFormatVersion: 2
guid: b437b8220d533674ebd24538ba19b703
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
......@@ -23,14 +23,22 @@ public class GameManager : MonoBehaviour
offset = MainCamera.transform.position - BallPrefabs.transform.position;
}
public void SetUpGame()
{
MainCamera.transform.position = new Vector3 ( Random.Range(-14f,14f),1.3f,Random.Range(55, 70));
{
//MainCamera.transform.position = new Vector3 ( Random.Range(-14f,14f),1.3f,Random.Range(55, 65));
MainCamera.transform.position = new Vector3(0, 1.3f, 61.5f);
MainCamera.transform.LookAt(LookAtTarget.transform);
goalkeeperAnimator.gameObject.transform.LookAt(BallPrefabs.transform);
goalkeeperAnimator.Play("Idle");
//goalkeeperAnimator.gameObject.transform.LookAt(BallPrefabs.transform);
Vector3 ballPosition = MainCamera.transform.position - MainCamera.transform.forward * offset.z + MainCamera.transform.up * offset.y;
ballPosition = new Vector3(ballPosition.x, 0.2f, ballPosition.z);
//Instantiate(BallPrefabs, MainCamera.transform.position - offset, Quaternion.identity);
Instantiate(BallPrefabs, ballPosition, Quaternion.identity);
//Instantiate(BallPrefabs, ballPosition, Quaternion.identity);
//Instantiate(BallPrefabs, new Vector3 (MainCamera.transform.position.x - offset.x , 0.2f, MainCamera.transform.position.z - offset.z), Quaternion.identity);
//new Vector3(0, 0.2f, 68.38f);
BallPrefabs.transform.position = ballPosition;
BallPrefabs.SetActive(true);
BallPrefabs.GetComponent<BallController>().OpenTrain();
}
}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShakeCamera : MonoBehaviour
{
float shakeDuration = 1f;
float shakeMagnitude = 0.2f;
Vector3 initialPosition;
void Start()
{
initialPosition = transform.position;
}
public void PlayCameraShake(float shakeTime)
{
shakeDuration = shakeTime;
StartCoroutine(ShakeCameraAction());
}
IEnumerator ShakeCameraAction()
{
float elapsedTime = 0;
while (elapsedTime < shakeDuration)
{
transform.position = initialPosition + (Vector3)Random.insideUnitCircle * shakeMagnitude;
elapsedTime += Time.deltaTime;
yield return new WaitForEndOfFrame();
}
transform.position = initialPosition;
}
}
fileFormatVersion: 2
guid: c9717514b15d95045b3547ec1c20f2aa
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
......@@ -12,6 +12,7 @@ public class VarCheckGoal : MonoBehaviour
Score++;
GetComponent<AudioSource>().Play();
BackGroundView.intance.ShowCheckImage(true);
GameManager.intance.MainCamera.GetComponent<ShakeCamera>().PlayCameraShake(1f);
}
}
}
{
"dependencies": {
"com.unity.cinemachine": "2.9.7",
"com.unity.collab-proxy": "2.3.1",
"com.unity.feature.development": "1.0.1",
"com.unity.textmeshpro": "3.0.8",
......
{
"dependencies": {
"com.unity.cinemachine": {
"version": "2.9.7",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.1.31"
},
"url": "https://packages.unity.com"
},
"com.unity.collab-proxy": {
"version": "2.3.1",
"depth": 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment