AndroidPluginBT3Dof.cs 952 B

123456789101112131415161718192021222324252627
  1. using UnityEngine;
  2. namespace SC.XR.Unity.Module_InputSystem.InputDeviceGC.BT3Dof {
  3. public class AndroidPluginBT3Dof : AndroidPluginBase {
  4. private static AndroidJavaClass mClassBT3DofManager = null;
  5. internal static AndroidJavaClass ClassBT3DofManager {
  6. get {
  7. if(mClassBT3DofManager == null) {
  8. mClassBT3DofManager = GetAndroidJavaClass("com.invision.handshank.SDKHandShankManager");
  9. }
  10. return mClassBT3DofManager;
  11. }
  12. }
  13. private static AndroidJavaObject mBT3DofManager = null;
  14. internal static AndroidJavaObject BT3DofManager {
  15. get {
  16. if(mBT3DofManager == null) {
  17. mBT3DofManager = ClassFunctionCallStatic<AndroidJavaObject>(ClassBT3DofManager, "getSDKHandShankManager", Context);
  18. }
  19. return mBT3DofManager;
  20. }
  21. }
  22. }
  23. }