Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ICanvasElement

interface in UnityEngine.UI

Description

This is an element that can live on a Canvas.

Variables

transformGet the transform associated with the ICanvasElement.

Public Functions

GraphicUpdateCompleteCallback sent when this ICanvasElement has completed Graphic rebuild.
IsDestroyedReturn true if the element is considered destroyed. Used if the native representation has been destroyed.
LayoutCompleteCallback sent when this ICanvasElement has completed layout.
RebuildRebuild the element for the given stage.