Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

LayoutRebuilder

class in UnityEngine.UI


Implements interfaces:ICanvasElement

Description

Wrapper class for managing layout rebuilding of CanvasElement.

Properties

transformSee ICanvasElement.

Public Methods

EqualsDoes the passed rebuilder point to the same CanvasElement.
GraphicUpdateCompleteSee ICanvasElement.GraphicUpdateComplete.
IsDestroyedHas the native representation of this LayoutRebuilder been destroyed?
LayoutCompleteSee ICanvasElement.LayoutComplete.
RebuildSee ICanvasElement.Rebuild.

Static Methods

ForceRebuildLayoutImmediateForces an immediate rebuild of the layout element and child layout elements affected by the calculations.
MarkLayoutForRebuildMark the given RectTransform as needing it's layout to be recalculated during the next layout pass.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答