Back to API Reference
Interface

ISelectableEntity

abstract

A selectable-owned UI entity. The owner is available for the whole attached lifetime, allowing implementations to use Unity UI, native platform UI, or any other presentation mechanism.

Remarks

Implementations assigned in the inspector are managed references: use a serializable managed class, not a UnityEngine.Object. Derive from SelectableEntity for the standard lifetime.

Implementations(4)

Types that implement ISelectableEntity.

public UniTextSelectable Owner{ get }

The selectable this entity is currently attached to, or while detached.

public abstract void Attach()

Attaches the entity to its complete owner before the entity can be used.

public abstract void Detach()

Ends the current attachment and releases owner-specific state.