Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResourceEntryContext

Carries the state and callbacks a ResourceEntryDrawer needs while it builds a value cell.
Read time 1 minuteLast updated 7 days ago

Definition

public sealed class ResourceEntryContext

Remarks

The window creates one of these per cell and passes it to ResourceEntryDrawer.CreateCell. Bind a field to ResourceEntryContext.EntryProperty for free undo and redo when it is set; otherwise edit the entry directly and call ResourceEntryContext.MarkDirty. Call ResourceEntryContext.Rebuild after a change that alters the row's structure.
Additional Resources: ResourceEntryDrawer

Properties

Property

Description

EntryPropertyThe serialized array element for this entry, for binding, or
null
when it is unavailable.
MarkDirtyMarks the table dirty after a value change made outside a serialized-property binding.
RebuildRebuilds the tree after a change to the entry's structure.
TableThe table whose locale value this cell edits.