Table of Contents

Class ObjectSelector

Namespace
nadena.dev.ndmf.ui

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 ErrorReport

Error report this selector is referencing (used to find the avatar root)

reference ObjectReference

Object reference to represent

selector ObjectSelector

The ObjectSelector to be created

Returns

bool