(this Type type)
| 26 | } |
| 27 | |
| 28 | public static bool IsPrimitive(this Type type) |
| 29 | { |
| 30 | #if !UNITY_WSA || UNITY_EDITOR |
| 31 | return type.IsPrimitive; |
| 32 | #else |
| 33 | return type.GetTypeInfo().IsPrimitive; |
| 34 | #endif |
| 35 | } |
| 36 | |
| 37 | public static bool IsAbstract(this Type type) |
| 38 | { |