123456789101112131415161718192021222324252627282930313233343536373839404142 |
-
- using SC.XR.Unity.Module_Device;
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class API_Module_Device {
- public static GSXRDevice Current {
- get {
- return Module_Device.getInstance.Current;
- }
- }
- public static bool IsGSXRAndroidDevice {
- get {
- if (API_GSXR_Slam.plugin is GSXRPluginAndroid ) {
- return true;
- }
- return false;
- }
- }
- public static bool IsGSXRWinDevice {
- get {
- if (API_GSXR_Slam.plugin is GSXRPluginWin) {
- return true;
- }
- return false;
- }
- }
- public static bool IsOtherDevice {
- get {
- if (API_GSXR_Slam.plugin is GSXRPluginOther) {
- return true;
- }
- return false;
- }
- }
- }
|