Method | Description | |
---|---|---|
Get ( |
Finds the associated InspectedType for the given type.
|
|
IsSerializedByFullInspector ( |
Returns true if the given property should be serialized. This assumes that the property is r/w! |
|
IsSerializedByUnity ( |
Returns true if the given type can be serialized by Unity. This function is conservative and may not return true if the type can be serialized by unity. However, it will *not* return true if the type cannot be serialized by unity.
|
|
ResetCacheForTesting ( ) : void |
Reset the cached set of metadata. Should only be used in tests, as this will significantly impact performance.
|
Method | Description | |
---|---|---|
IsPrimitiveSkippedByUnity ( |
Returns true if the primitive is *not* serialized by Unity
|
|
IsSimpleTypeThatUnityCanSerialize ( |
A simple type is a type that is either primitive, a string, or a non-generic non-abstract class composed of other simple types.
|
public static Get ( |
||
type | The type to find the type metadata for. | |
return |
public static IsSerializedByFullInspector ( |
||
property | ||
return | bool |
public static IsSerializedByUnity ( |
||
property | ||
return | bool |
public static ResetCacheForTesting ( ) : void | ||
return | void |