ControllerShortcutSettingData.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using UnityEngine;
  3. public static class ControllerShortcutSettingData
  4. {
  5. public static ControllerShortcutSettingData.OvrControllerShortcutConfig config
  6. {
  7. get
  8. {
  9. return ControllerShortcutSettingData.m_Config;
  10. }
  11. }
  12. private static ControllerShortcutSettingData.OvrControllerShortcutConfig m_Config = new ControllerShortcutSettingData.OvrControllerShortcutConfig();
  13. public class OvrControllerShortcutConfig : ISerializationCallbackReceiver
  14. {
  15. public bool isDirectMode { get; set; }
  16. public bool isEveryShowMode { get; set; }
  17. public float maintainPelvisPosition { get; set; }
  18. public float bodyPosStiffness { get; set; }
  19. public float bodyRotStiffness { get; set; }
  20. public float chestRotationWeight { get; set; }
  21. public float selfCameraFOV { get; set; }
  22. public bool use1TrackerForHead { get; set; }
  23. public bool use23TrackerForFoot { get; set; }
  24. public bool use12TrackerForFoot { get; set; }
  25. public void OnAfterDeserialize()
  26. {
  27. }
  28. public void OnBeforeSerialize()
  29. {
  30. }
  31. }
  32. }