Skip to content

Commit

Permalink
Support for game version 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Snow1226 committed Mar 26, 2020
1 parent 6d087b7 commit 079818d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CameraPlus/TransparentWallsPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class TransparentWallsPatch
public static int WallLayerMask = 25;
private static void Postfix(ref ObstacleController __instance)
{
Camera.main.cullingMask |= (1 << TransparentWallsPatch.WallLayerMask);//Enables HMD bits because layer 26 is masked by default
Camera.main.cullingMask |= (1 << TransparentWallsPatch.WallLayerMask);//Enables HMD bits because layer 25 is masked by default
Renderer mesh = __instance.gameObject?.GetComponentInChildren<Renderer>(false);
if (mesh?.gameObject)
{
Expand Down

0 comments on commit 079818d

Please sign in to comment.