Class InspectorGenericFields<T>
A set of Inspector fields for setting up properties in a
component that can be automatically rendered in a custom inspector
Inheritance
InspectorGenericFields<T>
Assembly: cs.temp.dll.dll
public class InspectorGenericFields<T>
Type Parameters
Methods
Searches through a class for InspectorField tags creates properties that can be serialized and
automatically rendered in a custom inspector
Declaration
public static List<InspectorPropertySetting> GetSettings(T source)
Parameters
Type |
Name |
Description |
T |
source |
|
Returns
Searches through a class for InspectorField tags creates properties that can be serialized and
automatically rendered in a custom inspector
Declaration
public static List<InspectorPropertySetting> GetSettings(T source)
Parameters
Type |
Name |
Description |
T |
source |
|
Returns
Copies values from Inspector PropertySettings to an instantiated class on start,
helps overcome polymorphism limitations of serialization
Declaration
public static void LoadSettings(T target, List<InspectorPropertySetting> settings)
Parameters
Copies values from Inspector PropertySettings to an instantiated class on start,
helps overcome polymorphism limitations of serialization
Declaration
public static void LoadSettings(T target, List<InspectorPropertySetting> settings)
Parameters