public static bool IsAssignableFrom(ref System.Type current, ref System.Type toCompare) { #if (UNITY_WINRT && !UNITY_EDITOR) return(Reflection.IsAssignableFrom(current, toCompare)); #else return(current.IsAssignableFrom(toCompare)); #endif }
public static MemberInfo[] GetMembers(ref System.Type type) { #if (UNITY_WINRT && !UNITY_EDITOR) return(Reflection.GetMembers(type)); #else return(type.GetMembers()); #endif }
public static bool IsValueType(ref System.Type type) { #if (UNITY_WINRT && !UNITY_EDITOR) return(Reflection.IsValueType(type)); #else return(type.IsValueType); #endif }
public static System.Type GetBaseType(ref System.Type type) { #if (UNITY_WINRT && !UNITY_EDITOR) return(Reflection.GetBaseType(type)); #else return(type.BaseType); #endif }
public static FieldInfo GetField(ref System.Type type, string name) { #if (UNITY_WINRT && !UNITY_EDITOR) return(Reflection.GetField(type, name)); #else return(type.GetField(name)); #endif }