/// <summary> /// The GetCurrentControllerType method returns the current used ControllerType based on the SDK and headset being used. /// </summary> /// <returns>The ControllerType based on the SDK and headset being used.</returns> public static SDK_BaseController.ControllerType GetCurrentControllerType() { return(VRTK_SDK_Bridge.GetCurrentControllerType()); }
/// <summary> /// The GetCurrentControllerType method returns the current used ControllerType based on the SDK and headset being used. /// </summary> /// <param name="controllerReference">The reference to the controller to get type of.</param> /// <returns>The ControllerType based on the SDK and headset being used.</returns> public static SDK_BaseController.ControllerType GetCurrentControllerType(VRTK_ControllerReference controllerReference = null) { return(VRTK_SDK_Bridge.GetCurrentControllerType(controllerReference)); }