更新场景的功能

HDRP
Yogi 2025-01-03 19:47:49 +08:00
parent 4fdf301780
commit 6dc60591b8
9 changed files with 4681 additions and 3734 deletions

8
Assets/Prefab.meta Normal file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0c88817b9903a72478cc469c346afaec
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

4035
Assets/Prefab/Main.prefab Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: fbd98df1f6ab257439fff069ae185281
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -119,17 +119,59 @@ NavMeshSettings:
debug: debug:
m_Flags: 0 m_Flags: 0
m_NavMeshData: {fileID: 0} m_NavMeshData: {fileID: 0}
--- !u!1 &210032
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 210033}
m_Layer: 0
m_Name: "\u540E\u4FDD\u9669\u6760"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &210033
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 210032}
serializedVersion: 2
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: 1540446846}
m_Father: {fileID: 222850956}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &9042250 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3}
m_PrefabInstance: {fileID: 2116140151}
m_PrefabAsset: {fileID: 0}
--- !u!4 &9042251 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3}
m_PrefabInstance: {fileID: 2116140151}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &64427778 --- !u!1001 &64427778
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
serializedVersion: 3 serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 892934426}
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: 31f1d24b2bcf73344ab6f799c2556281, type: 3} - target: {fileID: -8679921383154817045, guid: 31f1d24b2bcf73344ab6f799c2556281, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: -0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 31f1d24b2bcf73344ab6f799c2556281, type: 3} - target: {fileID: -8679921383154817045, guid: 31f1d24b2bcf73344ab6f799c2556281, type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
@ -184,6 +226,16 @@ PrefabInstance:
m_AddedGameObjects: [] m_AddedGameObjects: []
m_AddedComponents: [] m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 31f1d24b2bcf73344ab6f799c2556281, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 31f1d24b2bcf73344ab6f799c2556281, type: 3}
--- !u!1 &129506267 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 31f1d24b2bcf73344ab6f799c2556281, type: 3}
m_PrefabInstance: {fileID: 64427778}
m_PrefabAsset: {fileID: 0}
--- !u!4 &129506270 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 31f1d24b2bcf73344ab6f799c2556281, type: 3}
m_PrefabInstance: {fileID: 64427778}
m_PrefabAsset: {fileID: 0}
--- !u!1 &203844586 --- !u!1 &203844586
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -305,6 +357,158 @@ Transform:
m_Children: [] m_Children: []
m_Father: {fileID: 604712594} m_Father: {fileID: 604712594}
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1 &222850955
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 222850956}
m_Layer: 0
m_Name: "\u6839\u8282\u70B9(\u63A7\u5236\u5168\u8F66\u65CB\u8F6C)"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &222850956
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 222850955}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0.99844563, z: 0, w: -0.05573427}
m_LocalPosition: {x: -0.069253154, y: 0, z: -1.8558981}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 906534800}
- {fileID: 892934426}
- {fileID: 1535066784}
- {fileID: 210033}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: -186.39, z: 0}
--- !u!1001 &495605761
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 162263565986933577, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: "config.Cars.Array.data[0].\u8F66\u8F86\u57FA\u7840\u7269\u4F53"
value:
objectReference: {fileID: 9042250}
- target: {fileID: 162263565986933577, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: "config.Cars.Array.data[0].\u8F66\u8F86\u7EC4\u4EF6.Array.data[0].\u8F66\u8F86\u7EC4\u4EF6\u5408\u96C6.Array.data[0].\u7269\u4F53"
value:
objectReference: {fileID: 671910645}
- target: {fileID: 162263565986933577, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: "config.Cars.Array.data[0].\u8F66\u8F86\u7EC4\u4EF6.Array.data[0].\u8F66\u8F86\u7EC4\u4EF6\u5408\u96C6.Array.data[1].\u7269\u4F53"
value:
objectReference: {fileID: 129506267}
- target: {fileID: 162263565986933577, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: "config.Cars.Array.data[0].\u8F66\u8F86\u7EC4\u4EF6.Array.data[1].\u8F66\u8F86\u7EC4\u4EF6\u5408\u96C6.Array.data[0].\u7269\u4F53"
value:
objectReference: {fileID: 1540446843}
- target: {fileID: 162263565986933577, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: "config.Cars.Array.data[0].\u8F66\u8F86\u7EC4\u4EF6.Array.data[2].\u8F66\u8F86\u7EC4\u4EF6\u5408\u96C6.Array.data[0].\u7269\u4F53"
value:
objectReference: {fileID: 830810941}
- target: {fileID: 162263565986933577, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: "config.Cars.Array.data[0].\u8F66\u8F86\u7EC4\u4EF6.Array.data[2].\u8F66\u8F86\u7EC4\u4EF6\u5408\u96C6.Array.data[1].\u7269\u4F53"
value:
objectReference: {fileID: 1906412885}
- target: {fileID: 3068149285083595345, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3068149285083595345, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3133778685458182650, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_Name
value: Main
objectReference: {fileID: 0}
- target: {fileID: 3579278319193455115, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_Value
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4467637909231862192, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4467637909231862192, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_AnchoredPosition.x
value: -0.00003194809
objectReference: {fileID: 0}
- target: {fileID: 4467637909231862192, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_AnchoredPosition.y
value: -0.00000333786
objectReference: {fileID: 0}
- target: {fileID: 8726575655474810633, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8726575655474810633, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8726575655474810633, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8726575655474810633, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8726575655474810633, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8726575655474810633, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8726575655474810633, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8726575655474810633, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8726575655474810633, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8726575655474810633, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9129790278974995004, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9129790278974995004, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9129790278974995004, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: fbd98df1f6ab257439fff069ae185281, type: 3}
--- !u!1 &604712593 --- !u!1 &604712593
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -370,6 +574,16 @@ Transform:
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &671910645 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3}
m_PrefabInstance: {fileID: 1186574435}
m_PrefabAsset: {fileID: 0}
--- !u!4 &671910646 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3}
m_PrefabInstance: {fileID: 1186574435}
m_PrefabAsset: {fileID: 0}
--- !u!1 &820603230 --- !u!1 &820603230
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -456,6 +670,81 @@ Transform:
m_Children: [] m_Children: []
m_Father: {fileID: 604712594} m_Father: {fileID: 604712594}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &830810941 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 910cb36a8f2043d409234097562f7eca, type: 3}
m_PrefabInstance: {fileID: 1963991070}
m_PrefabAsset: {fileID: 0}
--- !u!4 &830810942 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 910cb36a8f2043d409234097562f7eca, type: 3}
m_PrefabInstance: {fileID: 1963991070}
m_PrefabAsset: {fileID: 0}
--- !u!1 &892934425
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 892934426}
m_Layer: 0
m_Name: "\u524D\u4FDD\u9669\u6760"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &892934426
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 892934425}
serializedVersion: 2
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: 671910646}
- {fileID: 129506270}
m_Father: {fileID: 222850956}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &906534799
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 906534800}
m_Layer: 0
m_Name: "\u8F66\u8F86Body"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &906534800
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 906534799}
serializedVersion: 2
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: 9042251}
m_Father: {fileID: 222850956}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &961739749 --- !u!1 &961739749
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -677,7 +966,7 @@ PrefabInstance:
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
serializedVersion: 3 serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 892934426}
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3} - target: {fileID: -8679921383154817045, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
@ -697,15 +986,15 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3} - target: {fileID: -8679921383154817045, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3}
propertyPath: m_LocalRotation.x propertyPath: m_LocalRotation.x
value: 0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3} - target: {fileID: -8679921383154817045, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: 0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3} - target: {fileID: -8679921383154817045, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
value: 0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3} - target: {fileID: -8679921383154817045, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3}
propertyPath: m_LocalEulerAnglesHint.x propertyPath: m_LocalEulerAnglesHint.x
@ -729,7 +1018,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3} - target: {fileID: 919132149155446097, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3}
propertyPath: m_IsActive propertyPath: m_IsActive
value: 0 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5663966955503773455, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3} - target: {fileID: 5663966955503773455, guid: 21c6f09d2b80cd04ba4bb5540224aa0e, type: 3}
propertyPath: 'm_Materials.Array.data[1]' propertyPath: 'm_Materials.Array.data[1]'
@ -762,11 +1051,11 @@ PrefabInstance:
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
serializedVersion: 3 serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 1535066784}
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: 95d86b6e33ee1ab4798d67096c62f76a, type: 3} - target: {fileID: -8679921383154817045, guid: 95d86b6e33ee1ab4798d67096c62f76a, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: -0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 95d86b6e33ee1ab4798d67096c62f76a, type: 3} - target: {fileID: -8679921383154817045, guid: 95d86b6e33ee1ab4798d67096c62f76a, type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
@ -907,17 +1196,60 @@ MeshFilter:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1468052971} m_GameObject: {fileID: 1468052971}
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &1535066783
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1535066784}
m_Layer: 0
m_Name: "\u5927\u706F"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1535066784
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1535066783}
serializedVersion: 2
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: 830810942}
- {fileID: 1906412888}
m_Father: {fileID: 222850956}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1540446843 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3}
m_PrefabInstance: {fileID: 1652725360}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1540446846 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3}
m_PrefabInstance: {fileID: 1652725360}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1652725360 --- !u!1001 &1652725360
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
serializedVersion: 3 serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 210033}
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3} - target: {fileID: -8679921383154817045, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: -0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3} - target: {fileID: -8679921383154817045, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
@ -937,7 +1269,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3} - target: {fileID: -8679921383154817045, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: 0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3} - target: {fileID: -8679921383154817045, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
@ -972,13 +1304,23 @@ PrefabInstance:
m_AddedGameObjects: [] m_AddedGameObjects: []
m_AddedComponents: [] m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 6aeeac55740feed428bc1f82627a01c3, type: 3}
--- !u!1 &1906412885 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 95d86b6e33ee1ab4798d67096c62f76a, type: 3}
m_PrefabInstance: {fileID: 1321346164}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1906412888 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 95d86b6e33ee1ab4798d67096c62f76a, type: 3}
m_PrefabInstance: {fileID: 1321346164}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1963991070 --- !u!1001 &1963991070
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
serializedVersion: 3 serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 1535066784}
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: 910cb36a8f2043d409234097562f7eca, type: 3} - target: {fileID: -8679921383154817045, guid: 910cb36a8f2043d409234097562f7eca, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
@ -998,15 +1340,15 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 910cb36a8f2043d409234097562f7eca, type: 3} - target: {fileID: -8679921383154817045, guid: 910cb36a8f2043d409234097562f7eca, type: 3}
propertyPath: m_LocalRotation.x propertyPath: m_LocalRotation.x
value: 0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 910cb36a8f2043d409234097562f7eca, type: 3} - target: {fileID: -8679921383154817045, guid: 910cb36a8f2043d409234097562f7eca, type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: 0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 910cb36a8f2043d409234097562f7eca, type: 3} - target: {fileID: -8679921383154817045, guid: 910cb36a8f2043d409234097562f7eca, type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
value: 0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 910cb36a8f2043d409234097562f7eca, type: 3} - target: {fileID: -8679921383154817045, guid: 910cb36a8f2043d409234097562f7eca, type: 3}
propertyPath: m_LocalEulerAnglesHint.x propertyPath: m_LocalEulerAnglesHint.x
@ -1030,7 +1372,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 910cb36a8f2043d409234097562f7eca, type: 3} - target: {fileID: 919132149155446097, guid: 910cb36a8f2043d409234097562f7eca, type: 3}
propertyPath: m_IsActive propertyPath: m_IsActive
value: 0 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1907952456968857379, guid: 910cb36a8f2043d409234097562f7eca, type: 3} - target: {fileID: 1907952456968857379, guid: 910cb36a8f2043d409234097562f7eca, type: 3}
propertyPath: m_Enabled propertyPath: m_Enabled
@ -1063,7 +1405,7 @@ PrefabInstance:
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
serializedVersion: 3 serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 906534800}
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3} - target: {fileID: -8679921383154817045, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
@ -1083,15 +1425,15 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3} - target: {fileID: -8679921383154817045, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3}
propertyPath: m_LocalRotation.x propertyPath: m_LocalRotation.x
value: 0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3} - target: {fileID: -8679921383154817045, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: 0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3} - target: {fileID: -8679921383154817045, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
value: 0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3} - target: {fileID: -8679921383154817045, guid: b61a2b8197bf8734882f3767aa216bd0, type: 3}
propertyPath: m_LocalEulerAnglesHint.x propertyPath: m_LocalEulerAnglesHint.x
@ -1247,9 +1589,5 @@ SceneRoots:
- {fileID: 668196392} - {fileID: 668196392}
- {fileID: 1160234427} - {fileID: 1160234427}
- {fileID: 604712594} - {fileID: 604712594}
- {fileID: 2116140151} - {fileID: 222850956}
- {fileID: 1963991070} - {fileID: 495605761}
- {fileID: 64427778}
- {fileID: 1321346164}
- {fileID: 1186574435}
- {fileID: 1652725360}

File diff suppressed because it is too large Load Diff

View File

@ -16,6 +16,7 @@ public class Main : MonoBehaviour
/// 当前部件集合索引 /// 当前部件集合索引
/// </summary> /// </summary>
private int currentCarComponentConfigIndex = -1; private int currentCarComponentConfigIndex = -1;
public int GetCurrentCarComponentConfigIndex => currentCarComponentConfigIndex; public int GetCurrentCarComponentConfigIndex => currentCarComponentConfigIndex;
/// <summary> /// <summary>
@ -43,6 +44,22 @@ public class Main : MonoBehaviour
} }
} }
[Button]
public void ResetCurrentCar()
{
for (var index = 0; index < this.CurrentCar..Count; index++)
{
var carComponentConfig = this.CurrentCar.[index];
carComponentConfig.SelectComponentIndex = 0;
for (var j = 0; j < carComponentConfig..Count; j++)
{
carComponentConfig.[j]..SetActive(j == 0);
}
}
SwitchComponent(0);
}
[Button] [Button]
public void PrevCar() public void PrevCar()
{ {

View File

@ -20,6 +20,11 @@ public class GamePanel : MonoBehaviour
[SerializeField] private SearchView searchView; [SerializeField] private SearchView searchView;
public void ResetCurrentComponent()
{
var btns = selectComponentParent.GetComponentsInChildren<UberButton>();
btns[0].SetHold(true);
}
private void Awake() private void Awake()
{ {
@ -38,11 +43,6 @@ public class GamePanel : MonoBehaviour
}); });
} }
private string ParseToSearchStringsFunc(object obj)
{
return "";
}
private void OnCarComponentConfigChanged(CarComponentConfig config) private void OnCarComponentConfigChanged(CarComponentConfig config)
{ {
selectComponentParent.DestroyChildren(); selectComponentParent.DestroyChildren();

View File

@ -43,7 +43,7 @@ MonoBehaviour:
m_ProbeVolumeSHBands: 1 m_ProbeVolumeSHBands: 1
m_MainLightRenderingMode: 1 m_MainLightRenderingMode: 1
m_MainLightShadowsSupported: 1 m_MainLightShadowsSupported: 1
m_MainLightShadowmapResolution: 2048 m_MainLightShadowmapResolution: 8192
m_AdditionalLightsRenderingMode: 1 m_AdditionalLightsRenderingMode: 1
m_AdditionalLightsPerObjectLimit: 4 m_AdditionalLightsPerObjectLimit: 4
m_AdditionalLightShadowsSupported: 1 m_AdditionalLightShadowsSupported: 1
@ -53,12 +53,12 @@ MonoBehaviour:
m_AdditionalLightsShadowResolutionTierHigh: 1024 m_AdditionalLightsShadowResolutionTierHigh: 1024
m_ReflectionProbeBlending: 1 m_ReflectionProbeBlending: 1
m_ReflectionProbeBoxProjection: 1 m_ReflectionProbeBoxProjection: 1
m_ShadowDistance: 50 m_ShadowDistance: 100
m_ShadowCascadeCount: 4 m_ShadowCascadeCount: 4
m_Cascade2Split: 0.25 m_Cascade2Split: 0.26081893
m_Cascade3Split: {x: 0.1, y: 0.3} m_Cascade3Split: {x: 0.103, y: 0.999}
m_Cascade4Split: {x: 0.12299999, y: 0.2926, z: 0.53599995} m_Cascade4Split: {x: 0.14253648, y: 0.43771046, z: 0.72278345}
m_CascadeBorder: 0.107758604 m_CascadeBorder: 0.51497984
m_ShadowDepthBias: 0.1 m_ShadowDepthBias: 0.1
m_ShadowNormalBias: 0.5 m_ShadowNormalBias: 0.5
m_AnyShadowsSupported: 1 m_AnyShadowsSupported: 1

File diff suppressed because one or more lines are too long