Skip to content

Commit 968011b

Browse files
committed
removed culling mask changes
1 parent 7fad0f1 commit 968011b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/MyCameraPlugin.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public MyCameraPlugin()
9797
// The pluginCameraHelper is provided to you to help you with Player/Camera related operations.
9898
public void OnActivate(PluginCameraHelper helper)
9999
{
100-
helper.behaviour.manager.camera.behaviour.mainCamera.cullingMask |= 1 << 9;
100+
//helper.behaviour.manager.camera.behaviour.mainCamera.cullingMask |= 1 << 9;
101101
//helper.behaviour.manager.camera.behaviour.mainCamera.cullingMask &= ~(1 << 9);
102102
Application.logMessageReceived += LogError;
103103

@@ -378,7 +378,7 @@ public void OnDeactivate()
378378
{
379379
Log("Camera plugin OnDeactivate.");
380380
beatSaberStatus.shutDown();
381-
_helper.behaviour.manager.camera.behaviour.mainCamera.cullingMask &= ~(1 << 9);
381+
//_helper.behaviour.manager.camera.behaviour.mainCamera.cullingMask &= ~(1 << 9);
382382
logStream.Close();
383383
}
384384

0 commit comments

Comments
 (0)