예제 #1
0
 /// <summary>
 /// Attempt to update or install necessary XR software. Will only be called if
 /// <see cref="XRSessionSubsystemDescriptor.supportsInstall"/> is true.
 /// </summary>
 /// <returns></returns>
 public virtual Promise <SessionInstallationStatus> InstallAsync()
 {
     return(Promise <SessionInstallationStatus> .CreateResolvedPromise(SessionInstallationStatus.ErrorInstallNotSupported));
 }
예제 #2
0
 /// <summary>
 /// Get the session's availability, such as whether the platform supports XR.
 /// </summary>
 /// <returns>A <see cref="Promise{T}"/> that the caller can yield on until availability is determined.</returns>
 public virtual Promise <SessionAvailability> GetAvailabilityAsync()
 {
     return(Promise <SessionAvailability> .CreateResolvedPromise(SessionAvailability.None));
 }