AndroidPluginKS.cs 900 B

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