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.

26 lines
858 B

  1. // HyperealVR Defines|SDK_HyperealVR|001
  2. namespace VRTK
  3. {
  4. using System;
  5. using System.Reflection;
  6. /// <summary>
  7. /// Handles all the scripting define symbols for the Hypereal SDK.
  8. /// </summary>
  9. public static class SDK_HyperealVRDefines
  10. {
  11. /// <summary>
  12. /// The scripting define symbol for the Hypereal SDK.
  13. /// </summary>
  14. public const string ScriptingDefineSymbol = SDK_ScriptingDefineSymbolPredicateAttribute.RemovableSymbolPrefix +
  15. "SDK_HYPEREALVR";
  16. private const string BuildTargetGroupName = "Standalone";
  17. [SDK_ScriptingDefineSymbolPredicate(ScriptingDefineSymbol, BuildTargetGroupName)]
  18. private static bool IsHyperealVRAvailable()
  19. {
  20. return VRTK_SharedMethods.GetTypeUnknownAssembly("Hypereal.HyperealApi") != null;
  21. }
  22. }
  23. }