Пример #1
0
 private static bool IsAvatarAvailable()
 {
     return((SDK_OculusDefines.IsUtilitiesVersion1120OrNewer() || SDK_OculusDefines.IsUtilitiesVersion1110OrOlder()) && VRTK_SharedMethods.GetTypeUnknownAssembly("OvrAvatar") != null);
 }
Пример #2
0
        private static bool IsUtilitiesVersion1110OrOlder()
        {
            Version oculusWrapperVersion = SDK_OculusDefines.GetOculusWrapperVersion();

            return(oculusWrapperVersion != null && oculusWrapperVersion < new Version(1, 12, 0));
        }