Documentation

Unity Engine

Unity Engine

OnViewBuilt()

Called once, after the condition's built-in UI is fully constructed.
Read time 1 minuteLast updated 2 months ago

Definition

public virtual void OnViewBuilt()

Remarks

This is the recommended entry point for allocating custom UI and adding it to IConditionView.Root. It fires exactly once per view instance, so any element allocated here can be safely cached in a field.