mirror of
https://github.com/xiaopeng12138/MaiDXR.git
synced 2024-11-23 19:40:57 +01:00
fix hand position saving issue
This commit is contained in:
parent
6a40a8fbf5
commit
e5ddb1fe6f
@ -49,19 +49,19 @@ public class PlayerSettingManager : MonoBehaviour
|
||||
}
|
||||
public void GetHandPositionX()
|
||||
{
|
||||
if (JsonConfig.HasKey("HandPosition"))
|
||||
if (JsonConfig.HasKey("HandPositionX"))
|
||||
Slider.value = (float)JsonConfig.GetDouble("HandPositionX");
|
||||
SetHandPositionX(Slider.value);
|
||||
}
|
||||
public void GetHandPositionY()
|
||||
{
|
||||
if (JsonConfig.HasKey("HandPosition"))
|
||||
if (JsonConfig.HasKey("HandPositionY"))
|
||||
Slider.value = (float)JsonConfig.GetDouble("HandPositionY");
|
||||
SetHandPositionY(Slider.value);
|
||||
}
|
||||
public void GetHandPositionZ()
|
||||
{
|
||||
if (JsonConfig.HasKey("HandPosition"))
|
||||
if (JsonConfig.HasKey("HandPositionZ"))
|
||||
Slider.value = (float)JsonConfig.GetDouble("HandPositionZ");
|
||||
SetHandPositionZ(Slider.value);
|
||||
}
|
||||
|
@ -168,6 +168,9 @@ PlayerSettings:
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: -6018045015233401694, guid: 3999ab811e936714280a476b3a032d86, type: 2}
|
||||
- {fileID: 6536100391545742739, guid: 55d1ec7a4296de343b6d3bb6f9a19731, type: 2}
|
||||
metroInputSource: 0
|
||||
wsaTransparentSwapchain: 0
|
||||
m_HolographicPauseOnTrackingLoss: 1
|
||||
|
Loading…
Reference in New Issue
Block a user