fix light issue and dispose IPC after wacvr closed

This commit is contained in:
xpeng
2022-11-08 21:23:25 +01:00
parent 1db320fa5d
commit a7ce4f3900
8 changed files with 1772 additions and 4 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ public class Config
public int TouchSampleRate = 3;
public int HandTrackingMode = 1;
public float Threshold = 0.3f;
public bool TouchPanelAirWall = false;
public bool TouchAirWall = false;
public bool UseIPCLighting = true;
public bool UseIPCTouch = true;
public float LightStrength = 1.35f;
@@ -171,6 +171,7 @@ public class ConfigManager : MonoBehaviour
{
foreach (var configPanelComponent in _configPanelComponents)
{
Debug.Log(configPanelComponent.ConfigKeyName);
var componentObject = configPanelComponent.Widget;
if (componentObject.GetComponent<TMP_Dropdown>() != null)
{