SW 중심대학 OSS GIT 서버
박건태, 이승준, 고기완, 이준호
새로운 배포
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.
|
|
#if UNITY_INPUT_SYSTEM
using UnityEngine.InputSystem;using UnityEngine.InputSystem.Layouts;using UnityEngine.InputSystem.XR;using UnityEngine.XR;using UnityEngine.XR.ARSubsystems;
using Inputs = UnityEngine.InputSystem.InputSystem;
#if UNITY_EDITOR
using UnityEditor;#endif
namespace UnityEngine.XR.ARKit{#if UNITY_EDITOR
[InitializeOnLoad]#endif
public class InputLayoutLoader {#if UNITY_EDITOR
static InputLayoutLoader() { RegisterLayouts(); }#endif
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)] static void RegisterLayouts() { Inputs.RegisterLayout<HandheldARInputDevice>( matches: new InputDeviceMatcher() .WithInterface(XRUtilities.InterfaceMatchAnyVersion) .WithProduct("(ARKit)") ); } }}#endif
|