Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

ICanvasElement

Namespace: UnityEngine.UI

/

Description

This is an element that can live on a Canvas.

Variables

transform Get the transform associated with the ICanvasElement.

Functions

IsDestroyed Return true if the element is considered destroyed.
Rebuild Rebuild the element for the given stage.