Skip to content

Commit b781171

Browse files
committed
Scene refinements.
1 parent 208e448 commit b781171

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

LowLevel/Sandbox/Assets/Scenes/Benchmark/LargeWorld/LargeWorld.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ private void OnEnable()
3939
m_SandboxManager.SceneResetAction = SetupScene;
4040

4141
// Set Overrides.
42+
m_SandboxManager.SetOverrideColorShapeState(false);
4243
m_SandboxManager.SetOverrideDrawOptions(overridenOptions: PhysicsWorld.DrawOptions.AllJoints, fixedOptions: PhysicsWorld.DrawOptions.Off);
4344
m_CameraManipulator.DisableManipulators = true;
4445

@@ -58,6 +59,7 @@ private void OnEnable()
5859
private void OnDisable()
5960
{
6061
// Reset overrides.
62+
m_SandboxManager.ResetOverrideColorShapeState();
6163
m_SandboxManager.ResetOverrideDrawOptions();
6264
m_CameraManipulator.DisableManipulators = false;
6365
}

LowLevel/Sandbox/Assets/Scenes/Collision/CharacterMover/CharacterMover.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ private void OnEnable()
7575
m_SandboxManager.SceneResetAction = SetupScene;
7676

7777
// Set Overrides.
78+
m_SandboxManager.SetOverrideColorShapeState(false);
7879
m_SandboxManager.SetOverrideDrawOptions(overridenOptions: PhysicsWorld.DrawOptions.AllJoints, fixedOptions: PhysicsWorld.DrawOptions.Off);
7980

8081
// Reset Option State.
@@ -103,6 +104,7 @@ private void OnDisable()
103104
PhysicsEvents.PreSimulate -= CharacterMove;
104105

105106
// Reset overrides.
107+
m_SandboxManager.ResetOverrideColorShapeState();
106108
m_SandboxManager.ResetOverrideDrawOptions();
107109
m_CameraManipulator.DisableManipulators = false;
108110
}

LowLevel/Sandbox/Assets/URP/UniversalRenderPipelineGlobalSettings.asset

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,7 @@ MonoBehaviour:
6565
- rid: 3844551955710476546
6666
- rid: 3844551955710476547
6767
m_RuntimeSettings:
68-
m_List:
69-
- rid: 3844551955710476519
70-
- rid: 3844551955710476521
71-
- rid: 3844551955710476523
72-
- rid: 3844551955710476527
73-
- rid: 3844551955710476529
74-
- rid: 3844551955710476530
75-
- rid: 3844551955710476533
76-
- rid: 3844551955710476536
77-
- rid: 3844551955710476539
78-
- rid: 3844551955710476540
79-
- rid: 3844551955710476541
80-
- rid: 3844551955710476544
68+
m_List: []
8169
m_AssetVersion: 9
8270
m_ObsoleteDefaultVolumeProfile: {fileID: 0}
8371
m_RenderingLayerNames:
@@ -263,6 +251,9 @@ MonoBehaviour:
263251
m_DefaultLitMaterial: {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
264252
m_DefaultUnlitMaterial: {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
265253
m_DefaultMaskMaterial: {fileID: 2100000, guid: 15d0c3709176029428a0da2f8cecf0b5, type: 2}
254+
m_DefaultMesh2DLitMaterial: {fileID: 2100000, guid: 9452ae1262a74094f8a68013fbcd1834, type: 2}
255+
m_DefaultRenderAs2DMaterial: {fileID: 2100000, guid: b697f6a938056384e968ccf6527dac83, type: 2}
256+
m_RenderAs2DFlatteningShader: {fileID: 4800000, guid: 74659692f6350ba46b88180d9c826630, type: 3}
266257
- rid: 3844551955710476530
267258
type: {class: UniversalRenderPipelineRuntimeXRResources, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
268259
data:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
m_EditorVersion: 6000.3.0a5
2-
m_EditorVersionWithRevision: 6000.3.0a5 (73f4f3ae70ca)
2+
m_EditorVersionWithRevision: 6000.3.0a5 (634d97cb170d)

0 commit comments

Comments
 (0)