Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
805 B

  1. // Ximmerse Defines|SDK_Ximmerse|001
  2. namespace VRTK
  3. {
  4. /// <summary>
  5. /// Handles all the scripting define symbols for the Ximmerse SDK.
  6. /// </summary>
  7. public static class SDK_XimmerseDefines
  8. {
  9. /// <summary>
  10. /// The scripting define symbol for the Ximmerse SDK.
  11. /// </summary>
  12. public const string ScriptingDefineSymbol = SDK_ScriptingDefineSymbolPredicateAttribute.RemovableSymbolPrefix + "SDK_XIMMERSE";
  13. [SDK_ScriptingDefineSymbolPredicate(ScriptingDefineSymbol, "Standalone")]
  14. [SDK_ScriptingDefineSymbolPredicate(ScriptingDefineSymbol, "Android")]
  15. private static bool IsXimmerseAvailable()
  16. {
  17. return VRTK_SharedMethods.GetTypeUnknownAssembly("Ximmerse.InputSystem.XDevicePlugin") != null;
  18. }
  19. }
  20. }