Méthode | 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.
|
Méthode | 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. | |
Résultat |
public static IsSerializedByFullInspector ( |
||
property | ||
Résultat | bool |
public static IsSerializedByUnity ( |
||
property | ||
Résultat | bool |
public static ResetCacheForTesting ( ) : void | ||
Résultat | void |