public override bool Initialize() { // Send the settings over to the native plugin VarjoSettings settings = GetSettings(); settings.UpdateSettings(); CreateSubsystem <XRDisplaySubsystemDescriptor, XRDisplaySubsystem>(s_DisplaySubsystemDescriptors, "VarjoDisplay"); CreateSubsystem <XRInputSubsystemDescriptor, XRInputSubsystem>(s_InputSubsystemDescriptors, "VarjoInput"); return(true); }
public void Awake() { s_Settings = this; s_Settings.UpdateSettings(); }