اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


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

C++
generic <typename T>
public ref class InspectorGenericFields

Type Parameters

T
Inheritance
InspectorGenericFields<T>

Constructors

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

منتج الإصدارات
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0