Editar

Compartir a través de


InspectorGenericFields<T> Class

Definition

A set of Inspector fields for setting up properties in a component that can be automatically rendered in a custom inspector

generic <typename T>
public ref class InspectorGenericFields
public class InspectorGenericFields<T>
type InspectorGenericFields<'T> = class
Public Class InspectorGenericFields(Of T)

Type Parameters

T
Inheritance
InspectorGenericFields<T>

Constructors

InspectorGenericFields<T>()

Methods

GetSettings(T)

Searches through a class for InspectorField tags creates properties that can be serialized and automatically rendered in a custom inspector

LoadSettings(T, List<InspectorPropertySetting>)

Copies values from Inspector PropertySettings to an instantiated class on start, helps overcome polymorphism limitations of serialization

Applies to