@@ -17,7 +17,7 @@ public static class ModBuildInfo {
1717 public const string Name = "DesktopCamera" ;
1818 public const string Author = "nitro." ;
1919 public const string Company = null ;
20- public const string Version = "1.0.7 " ;
20+ public const string Version = "1.0.8 " ;
2121 public const string DownloadLink = "https://github.com/nitrog0d/DesktopCamera/releases/latest/download/DesktopCamera.dll" ;
2222 public const string GameDeveloper = "VRChat" ;
2323 public const string Game = "VRChat" ;
@@ -180,7 +180,8 @@ private IEnumerator Setup() {
180180 }
181181 switchPinButton . setText ( "Cycle Pin\n <color=#845bff>" + pin + "</color>" ) ;
182182 // Eventually change this to the same way I do the other buttons, I suppose it changes every VRChat update so yeah as soon as possible please Lucas...
183- VRCUtils . GetUserCameraController ( ) . Method_Public_Void_Int32_3 ( newPin ) ;
183+ // It seemed that setting method to '3' made clicking on pins button crash the game
184+ VRCUtils . GetUserCameraController ( ) . Method_Public_Void_Int32_0 ( newPin ) ;
184185 }
185186 } ) ) ;
186187
@@ -294,7 +295,8 @@ private IEnumerator Setup() {
294295 button . setAction ( ( Action ) ( ( ) => {
295296 if ( Settings . cameraEnabled ) {
296297 // Eventually change this to the same way I do the other buttons, I suppose it changes every VRChat update so yeah as soon as possible please Lucas...
297- VRCUtils . GetUserCameraController ( ) . Method_Public_Void_Int32_0 ( filter . Value ) ;
298+ // Setting method to '0' makes the filter not work for some reason [thanks to my friend for helping me with this]
299+ VRCUtils . GetUserCameraController ( ) . Method_Public_Void_Int32_4 ( filter . Value ) ;
298300 }
299301 } ) ) ;
300302 position ++ ;
0 commit comments