private static bool IsAvatarAvailable() { return((SDK_OculusDefines.IsUtilitiesVersion1120OrNewer() || SDK_OculusDefines.IsUtilitiesVersion1110OrOlder()) && VRTK_SharedMethods.GetTypeUnknownAssembly("OvrAvatar") != null); }
private static bool IsUtilitiesVersion1110OrOlder() { Version oculusWrapperVersion = SDK_OculusDefines.GetOculusWrapperVersion(); return(oculusWrapperVersion != null && oculusWrapperVersion < new Version(1, 12, 0)); }