Преглед на файлове

Updated prefabs to follow new pattern that colliders require a rigid body (#218)

Signed-off-by: moraaar <[email protected]>
moraaar преди 2 години
родител
ревизия
2c84827ffb

+ 16 - 0
Levels/MultiplayerScriptingSample/MultiplayerScriptingSample.prefab

@@ -153,6 +153,10 @@
                     "$type": "EditorInspectorComponent",
                     "Id": 16919232076966545697
                 },
+                "Component_[2960678723173417090]": {
+                    "$type": "EditorStaticRigidBodyComponent",
+                    "Id": 2960678723173417090
+                },
                 "Component_[5182430712893438093]": {
                     "$type": "EditorMaterialComponent",
                     "Id": 5182430712893438093
@@ -611,6 +615,10 @@
                     "$type": "EditorOnlyEntityComponent",
                     "Id": 4359509050153721746
                 },
+                "Component_[4943889438335863246]": {
+                    "$type": "EditorStaticRigidBodyComponent",
+                    "Id": 4943889438335863246
+                },
                 "Component_[5426140991145363755]": {
                     "$type": "EditorLockComponent",
                     "Id": 5426140991145363755
@@ -675,6 +683,10 @@
                     "$type": "EditorVisibilityComponent",
                     "Id": 11533263361782952832
                 },
+                "Component_[1172507344006396694]": {
+                    "$type": "EditorStaticRigidBodyComponent",
+                    "Id": 1172507344006396694
+                },
                 "Component_[2379775448271128582]": {
                     "$type": "EditorEntitySortComponent",
                     "Id": 2379775448271128582
@@ -914,6 +926,10 @@
                     "$type": "EditorDisabledCompositionComponent",
                     "Id": 7477730162211838733
                 },
+                "Component_[9012462486346722248]": {
+                    "$type": "EditorStaticRigidBodyComponent",
+                    "Id": 9012462486346722248
+                },
                 "Component_[9017206101099697396]": {
                     "$type": "GenericComponentWrapper",
                     "Id": 9017206101099697396,

+ 8 - 5
Levels/SampleBase/SampleBase.prefab

@@ -1006,6 +1006,10 @@
             "Id": "Entity_[412839637138]",
             "Name": "Ground",
             "Components": {
+                "Component_[11010496959374222323]": {
+                    "$type": "EditorStaticRigidBodyComponent",
+                    "Id": 11010496959374222323
+                },
                 "Component_[14576502551830180300]": {
                     "$type": "EditorColliderComponent",
                     "Id": 14576502551830180300,
@@ -1021,11 +1025,6 @@
                                     "Name": "Entire object"
                                 }
                             ]
-                        },
-                        "MaterialSelection": {
-                            "MaterialIds": [
-                                {}
-                            ]
                         }
                     },
                     "ShapeConfiguration": {
@@ -1190,6 +1189,10 @@
                     "$type": "EditorPendingCompositionComponent",
                     "Id": 13545070526863732984
                 },
+                "Component_[17214965729815923865]": {
+                    "$type": "EditorStaticRigidBodyComponent",
+                    "Id": 17214965729815923865
+                },
                 "Component_[2917092960552172245]": {
                     "$type": "EditorVisibilityComponent",
                     "Id": 2917092960552172245

+ 4 - 5
Levels/SpawningPerfTest/SpawningPerfTest.prefab

@@ -324,11 +324,6 @@
                                     "Name": "Entire object"
                                 }
                             ]
-                        },
-                        "MaterialSelection": {
-                            "MaterialIds": [
-                                {}
-                            ]
                         }
                     },
                     "ShapeConfiguration": {
@@ -366,6 +361,10 @@
                     "$type": "EditorOnlyEntityComponent",
                     "Id": 8118181039276487398
                 },
+                "Component_[8934621788354185078]": {
+                    "$type": "EditorStaticRigidBodyComponent",
+                    "Id": 8934621788354185078
+                },
                 "Component_[9189909764215270515]": {
                     "$type": "EditorLockComponent",
                     "Id": 9189909764215270515