Class ObjectSelector
VisualElement used to provide a consistent UI for selecting an object referenced by error messages.
public sealed class ObjectSelector : VisualElement
- Inheritance
-
ObjectSelector
Methods
TryCreate(ErrorReport, ObjectReference, out ObjectSelector)
Attempt to resolve an ObjectReference to a unity object and create a UI to display it.
public static bool TryCreate(ErrorReport report, ObjectReference reference, out ObjectSelector selector)
Parameters
report
ErrorReportError report this selector is referencing (used to find the avatar root)
reference
ObjectReferenceObject reference to represent
selector
ObjectSelectorThe ObjectSelector to be created