1
0

HmdLeanController.cs 444 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using Tracking;
  4. using UnityEngine;
  5. using UnityEngine.XR;
  6. using Valve.VR;
  7. namespace Controller.Lean
  8. {
  9. public class HmdLeanController: MonoBehaviour, ILeanController
  10. {
  11. public float LeanAngle => cameraTracker.LeanRotation;
  12. public CameraTracker cameraTracker;
  13. private void Start()
  14. {
  15. }
  16. private void Update()
  17. {
  18. }
  19. }
  20. }