Back to API Reference
Class
SelectableEntity
abstract
Implements:ISelectableEntity
Base implementation of the selectable entity lifetime. Override the protected hooks to bind and release owner-specific state; serialized configuration remains available between attachments.
Derived Types(2)
Types that inherit from SelectableEntity.
CC
NativeMagnifier
Presents the platform's own text magnifier: android.widget.Magnifier on Android and the system text loupe on iOS, each shaped, sized, zoomed and animated by the running system — so the loupe matches the device's current text-selection look instead of imitating it.
PrefabSelectionHandles
Presents the Unity-UI selection and insertion handles from a prefab shared through the touch overlay: its own prefab or, while that is empty, the project default (UniTextSettings.SelectionHandlesPrefab). The managed entity remains owned by one selectable while the prefab instance is resolved lazily and can be shared by multiple fields.
public UniTextSelectable Owner{ get }The selectable this entity is currently attached to, or null while detached.
public void Attach(UniTextSelectable value)Attaches the entity to its complete owner before the entity can be used.
protected virtual void ValidateAttachment(UniTextSelectable value)Validates serialized configuration before the owner becomes observable.
Runs after Owner is assigned.
Runs before Owner is cleared.
protected UniTextSelectable RequireOwner()Returns the current owner or fails when an operation is invoked outside the attached lifetime.
