Ver Fonte

模型载入修改

vene há 2 meses atrás
pai
commit
d04e917cfd

+ 2 - 1
assets/model_scene/Model/prefab/Build01.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "bbdc97a6-6fbd-4597-9dee-1d8779354e7a@75825",
+      "__uuid__": "4e95dc91-457a-4efd-933b-9b69a8dbeaa4@75825",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "06t5EVzAlQ/KU3fChoJwnN",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/Build02.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "ad423838-806d-4787-895f-fdb4a2bdcd31@f8c45",
+      "__uuid__": "41690100-e05b-41e0-af03-c593bb1eeb4f@f8c45",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "53e7cAetFXfa7ySwGGrSsO",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/Build03.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "88445b04-76cc-400c-856f-8af1ea1f3713@54021",
+      "__uuid__": "2e7fff83-9b06-4767-991d-1ee5a2318939@54021",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "3a7CMpXaFefLeCZQkPOQ4a",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/Build04.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "e08c1012-4e74-4da4-8736-f86b6a08f1f9@8a4f7",
+      "__uuid__": "4dc778a0-06b6-4880-89c6-965e6db04153@8a4f7",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "60n8ubHsVVCY3YKAkF6Ahi",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/Build05.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "9b534248-03b9-491c-8485-5a00e10882a8@bfcbd",
+      "__uuid__": "035f8fac-8e13-4aca-83c9-c259b07e0aee@bfcbd",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "c7zjxJOP9fGbpd/1IQgzIt",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/Build06.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "93826347-bbde-4d1a-b0e4-47d8c79efce1@b2f9b",
+      "__uuid__": "f940793a-15ae-434b-986c-0d9beb984d6a@b2f9b",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "3aNkEJkTVWTqBtAjuhfQ9G",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/Build07.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "5ea43e0c-eeb3-44ae-b8bb-9b03d326d4ec@e826d",
+      "__uuid__": "5a7b42ec-1aa2-4349-a3ac-e9f5e5fd8e29@e826d",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "82bFZwUQleFYfKuJSLTJx3",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/Build08.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "fdecd361-81fb-45da-a6c1-e20dabec362c@e182f",
+      "__uuid__": "0b8310aa-0552-4430-bb37-0d82d96c1ca6@e182f",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "9c0BVO1K1UQo38BkN2Ybf/",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/Build09.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "2655fb74-a2e4-4be2-addd-c8c742d0fe5b@4b0c8",
+      "__uuid__": "dce7638b-0210-4328-90aa-0b4397db3754@4b0c8",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "ddvHPsg0tWvavD9d9s5w6S",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/Build10.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "d9632355-fd17-4e3a-afc8-04da0d481888@e3a88",
+      "__uuid__": "1fec9258-f451-4822-b067-424425b23ba1@e3a88",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "c6qDwixeVSdo1j655vmhpK",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/Build11.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "2b7cf927-8b39-4ce9-93e8-6879c0e7c08b@d3fbd",
+      "__uuid__": "7ce9fa5e-7e61-4f38-993c-cab7b3cb240e@d3fbd",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "62PqJipd1SYo0znGIObdxJ",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/car1.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "86665f61-5ca6-495b-b9f5-652ed25d3af6@81124",
+      "__uuid__": "ec3b2584-4447-48a9-8bf9-e8c3196884a4@81124",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "efEy10YkFUrIK1sJpvMrkw",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/car2.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "7ff553cd-33b0-4f38-8b89-2eb9844284cc@a49be",
+      "__uuid__": "8e46ee99-b4db-42a3-90a4-2cf01639ded2@a49be",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "b4BUKSJeZRuIXBdjR1xcMW",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 2 - 1
assets/model_scene/Model/prefab/ta.prefab

@@ -126,7 +126,7 @@
       "__id__": 5
     },
     "_mesh": {
-      "__uuid__": "abb6e9c6-ae12-4cb4-85ac-8ae0cc8099b5@520a7",
+      "__uuid__": "c501f6ef-c32d-4bb6-9908-748b686a362a@05761",
       "__expectedType__": "cc.Mesh"
     },
     "_shadowCastingMode": 1,
@@ -186,6 +186,7 @@
       "__id__": 0
     },
     "fileId": "a4iPd9cBZXvJFXwtNxAO5S",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 7 - 6
assets/model_scene/Model/prefab/whitehouse.prefab

@@ -79,7 +79,7 @@
       "__id__": 2
     },
     "asset": {
-      "__uuid__": "8fb71244-bfe7-4381-9507-984ab65002e6@636de",
+      "__uuid__": "507739fa-1ef5-4b0a-9af3-c7f4fd3b9d75@636de",
       "__expectedType__": "cc.Prefab"
     },
     "fileId": "75luo2sHlQ1KMi245vyjD1",
@@ -90,7 +90,7 @@
   },
   {
     "__type__": "cc.PrefabInstance",
-    "fileId": "38D/AKbX9OVohjjuiYJmHg",
+    "fileId": "96ApPGlM1JVqnwqz2jiCRB",
     "prefabRootNode": {
       "__id__": 1
     },
@@ -214,7 +214,7 @@
       "__id__": 12
     },
     "asset": {
-      "__uuid__": "26183621-0c50-4c71-940a-c285d66cf9b4@37f0c",
+      "__uuid__": "859a5180-7f6a-4d80-b7b2-2d9a465d17c4@37f0c",
       "__expectedType__": "cc.Prefab"
     },
     "fileId": "3ajlgairNQybSC1WC9Qwu1",
@@ -225,7 +225,7 @@
   },
   {
     "__type__": "cc.PrefabInstance",
-    "fileId": "1aQz+pIWVEuJ0vaQy9HB+p",
+    "fileId": "b3SmI8HSVPda5yCLKjs+Pn",
     "prefabRootNode": {
       "__id__": 1
     },
@@ -349,7 +349,7 @@
       "__id__": 22
     },
     "asset": {
-      "__uuid__": "308f1fd7-e8b0-421b-b5d2-1006df204046@1771d",
+      "__uuid__": "fdaf78f6-99c1-4cd3-8d1b-d9046c72ba20@1771d",
       "__expectedType__": "cc.Prefab"
     },
     "fileId": "57KDnMjbpQuL5LOGKS7lPO",
@@ -360,7 +360,7 @@
   },
   {
     "__type__": "cc.PrefabInstance",
-    "fileId": "43ZSDJWW9PFrh5lj/kdtdk",
+    "fileId": "66xxP8V4NJ+4n48vnXkpYQ",
     "prefabRootNode": {
       "__id__": 1
     },
@@ -476,6 +476,7 @@
       "__id__": 0
     },
     "fileId": "4aIn0GW/pEWotYsJwbj7V9",
+    "instance": null,
     "targetOverrides": null,
     "nestedPrefabInstanceRoots": [
       {

+ 40 - 182
assets/model_scene/scene.scene

@@ -32,7 +32,7 @@
     "_active": true,
     "_components": [],
     "_prefab": {
-      "__id__": 190
+      "__id__": 179
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -63,7 +63,7 @@
     },
     "autoReleaseAssets": false,
     "_globals": {
-      "__id__": 191
+      "__id__": 180
     },
     "_id": "ca2c3635-7e94-4602-b1eb-136ddb147d5f"
   },
@@ -420,7 +420,7 @@
         "__id__": 163
       },
       {
-        "__id__": 173
+        "__id__": 171
       }
     ],
     "_active": true,
@@ -2428,19 +2428,18 @@
       "__id__": 163
     },
     "asset": {
-      "__uuid__": "7d73f4a9-9eed-410d-86dd-846d594cb91e",
+      "__uuid__": "f22b4686-9e9f-4b8b-8c0c-d217bc7cfe23",
       "__expectedType__": "cc.Prefab"
     },
-    "fileId": "a4iPd9cBZXvJFXwtNxAO5S",
+    "fileId": "4aIn0GW/pEWotYsJwbj7V9",
     "instance": {
       "__id__": 165
     },
-    "targetOverrides": null,
-    "nestedPrefabInstanceRoots": null
+    "targetOverrides": null
   },
   {
     "__type__": "cc.PrefabInstance",
-    "fileId": "05Nw5AZr5PuazoUy8toVm2",
+    "fileId": "bamwndhRpKvKRfhR43Mgc5",
     "prefabRootNode": null,
     "mountedChildren": [],
     "mountedComponents": [],
@@ -2456,9 +2455,6 @@
       },
       {
         "__id__": 170
-      },
-      {
-        "__id__": 171
       }
     ],
     "removedComponents": []
@@ -2471,12 +2467,12 @@
     "propertyPath": [
       "_name"
     ],
-    "value": "ta"
+    "value": "whitehouse"
   },
   {
     "__type__": "cc.TargetInfo",
     "localID": [
-      "a4iPd9cBZXvJFXwtNxAO5S"
+      "4aIn0GW/pEWotYsJwbj7V9"
     ]
   },
   {
@@ -2489,9 +2485,9 @@
     ],
     "value": {
       "__type__": "cc.Vec3",
-      "x": -13.991,
+      "x": 22.401,
       "y": 0,
-      "z": -22.939
+      "z": -31.372
     }
   },
   {
@@ -2525,25 +2521,6 @@
       "z": 0
     }
   },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 172
-    },
-    "propertyPath": [
-      "_mesh"
-    ],
-    "value": {
-      "__uuid__": "c501f6ef-c32d-4bb6-9908-748b686a362a@05761",
-      "__expectedType__": "cc.Mesh"
-    }
-  },
-  {
-    "__type__": "cc.TargetInfo",
-    "localID": [
-      "6dJm+EqcBbr4fwWDMkSLwg"
-    ]
-  },
   {
     "__type__": "cc.Node",
     "_objFlags": 0,
@@ -2551,61 +2528,44 @@
       "__id__": 15
     },
     "_prefab": {
-      "__id__": 174
+      "__id__": 172
     },
     "__editorExtras__": {}
   },
   {
     "__type__": "cc.PrefabInfo",
     "root": {
-      "__id__": 173
+      "__id__": 171
     },
     "asset": {
-      "__uuid__": "f22b4686-9e9f-4b8b-8c0c-d217bc7cfe23",
+      "__uuid__": "7d73f4a9-9eed-410d-86dd-846d594cb91e",
       "__expectedType__": "cc.Prefab"
     },
-    "fileId": "4aIn0GW/pEWotYsJwbj7V9",
+    "fileId": "a4iPd9cBZXvJFXwtNxAO5S",
     "instance": {
-      "__id__": 175
+      "__id__": 173
     },
-    "targetOverrides": null
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
   },
   {
     "__type__": "cc.PrefabInstance",
-    "fileId": "bamwndhRpKvKRfhR43Mgc5",
+    "fileId": "d2gXgW2h1C5ptrslgzx1zp",
     "prefabRootNode": null,
     "mountedChildren": [],
     "mountedComponents": [],
     "propertyOverrides": [
       {
-        "__id__": 176
-      },
-      {
-        "__id__": 178
-      },
-      {
-        "__id__": 179
-      },
-      {
-        "__id__": 180
+        "__id__": 174
       },
       {
-        "__id__": 181
-      },
-      {
-        "__id__": 183
-      },
-      {
-        "__id__": 185
-      },
-      {
-        "__id__": 187
+        "__id__": 176
       },
       {
-        "__id__": 188
+        "__id__": 177
       },
       {
-        "__id__": 189
+        "__id__": 178
       }
     ],
     "removedComponents": []
@@ -2613,38 +2573,38 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 177
+      "__id__": 175
     },
     "propertyPath": [
       "_name"
     ],
-    "value": "whitehouse"
+    "value": "ta"
   },
   {
     "__type__": "cc.TargetInfo",
     "localID": [
-      "4aIn0GW/pEWotYsJwbj7V9"
+      "a4iPd9cBZXvJFXwtNxAO5S"
     ]
   },
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 177
+      "__id__": 175
     },
     "propertyPath": [
       "_lpos"
     ],
     "value": {
       "__type__": "cc.Vec3",
-      "x": 22.401,
+      "x": -13.991,
       "y": 0,
-      "z": -31.372
+      "z": -22.939
     }
   },
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 177
+      "__id__": 175
     },
     "propertyPath": [
       "_lrot"
@@ -2660,7 +2620,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 177
+      "__id__": 175
     },
     "propertyPath": [
       "_euler"
@@ -2672,108 +2632,6 @@
       "z": 0
     }
   },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 182
-    },
-    "propertyPath": [
-      "_materials",
-      "0"
-    ],
-    "value": {
-      "__uuid__": "5f43d61f-9d59-4517-8603-fe418dc149d7",
-      "__expectedType__": "cc.Material"
-    }
-  },
-  {
-    "__type__": "cc.TargetInfo",
-    "localID": [
-      "43ZSDJWW9PFrh5lj/kdtdk",
-      "beWd1qbCldr4NAkCN7xR5X"
-    ]
-  },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 184
-    },
-    "propertyPath": [
-      "_materials",
-      "0"
-    ],
-    "value": {
-      "__uuid__": "5f43d61f-9d59-4517-8603-fe418dc149d7",
-      "__expectedType__": "cc.Material"
-    }
-  },
-  {
-    "__type__": "cc.TargetInfo",
-    "localID": [
-      "1aQz+pIWVEuJ0vaQy9HB+p",
-      "afiSyzIw9exLlFAQqfv12g"
-    ]
-  },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 186
-    },
-    "propertyPath": [
-      "_materials",
-      "0"
-    ],
-    "value": {
-      "__uuid__": "5f43d61f-9d59-4517-8603-fe418dc149d7",
-      "__expectedType__": "cc.Material"
-    }
-  },
-  {
-    "__type__": "cc.TargetInfo",
-    "localID": [
-      "38D/AKbX9OVohjjuiYJmHg",
-      "bbzFURwJlRk785DRlj9ipr"
-    ]
-  },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 186
-    },
-    "propertyPath": [
-      "_mesh"
-    ],
-    "value": {
-      "__uuid__": "507739fa-1ef5-4b0a-9af3-c7f4fd3b9d75@da4a5",
-      "__expectedType__": "cc.Mesh"
-    }
-  },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 184
-    },
-    "propertyPath": [
-      "_mesh"
-    ],
-    "value": {
-      "__uuid__": "859a5180-7f6a-4d80-b7b2-2d9a465d17c4@93068",
-      "__expectedType__": "cc.Mesh"
-    }
-  },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 182
-    },
-    "propertyPath": [
-      "_mesh"
-    ],
-    "value": {
-      "__uuid__": "fdaf78f6-99c1-4cd3-8d1b-d9046c72ba20@ab16c",
-      "__expectedType__": "cc.Mesh"
-    }
-  },
   {
     "__type__": "cc.PrefabInfo",
     "root": null,
@@ -2831,35 +2689,35 @@
         "__id__": 163
       },
       {
-        "__id__": 173
+        "__id__": 171
       }
     ]
   },
   {
     "__type__": "cc.SceneGlobals",
     "ambient": {
-      "__id__": 192
+      "__id__": 181
     },
     "shadows": {
-      "__id__": 193
+      "__id__": 182
     },
     "_skybox": {
-      "__id__": 194
+      "__id__": 183
     },
     "fog": {
-      "__id__": 195
+      "__id__": 184
     },
     "octree": {
-      "__id__": 196
+      "__id__": 185
     },
     "skin": {
-      "__id__": 197
+      "__id__": 186
     },
     "lightProbeInfo": {
-      "__id__": 198
+      "__id__": 187
     },
     "postSettings": {
-      "__id__": 199
+      "__id__": 188
     },
     "bakedWithStationaryMainLight": false,
     "bakedWithHighpLightmap": false