Wrapper class for managing layout rebuilding of CanvasElement.
InheritanceLayoutRebuilder
Namespace: UnityEngine.UI Assembly: UnityEngine.UI.dll Syntaxpublic class LayoutRebuilder : ICanvasElement
Properties transform
Get the transform associated with the ICanvasElement.
Declarationpublic Transform transform { get; }
Property Value Methods Equals(object)
Does the passed rebuilder point to the same CanvasElement.
Declarationpublic override bool Equals(object obj)
Parameters Type Name Description object obj
The other object to compare
Returns Type Description boolAre they equal
Overrides ForceRebuildLayoutImmediate(RectTransform)Forces an immediate rebuild of the layout element and child layout elements affected by the calculations.
Declarationpublic static void ForceRebuildLayoutImmediate(RectTransform layoutRoot)
Parameters Type Name Description RectTransform layoutRoot
The layout element to perform the layout rebuild on.
GetHashCode() Declarationpublic override int GetHashCode()
Returns Overrides GraphicUpdateComplete()
Callback sent when this ICanvasElement has completed Graphic rebuild.
Declarationpublic void GraphicUpdateComplete()
IsDestroyed()
Has the native representation of this LayoutRebuilder been destroyed?
Declarationpublic bool IsDestroyed()
Returns LayoutComplete()
Callback sent when this ICanvasElement has completed layout.
Declarationpublic void LayoutComplete()
MarkLayoutForRebuild(RectTransform)
Mark the given RectTransform as needing it's layout to be recalculated during the next layout pass.
Declarationpublic static void MarkLayoutForRebuild(RectTransform rect)
Parameters Rebuild(CanvasUpdate)
Rebuild the element for the given stage.
Declarationpublic void Rebuild(CanvasUpdate executing)
Parameters Type Name Description CanvasUpdate executing
The current CanvasUpdate stage being rebuild.
ToString() Declarationpublic override string ToString()
Returns Overrides Implements
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4