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.

GraphicRegistry

Namespace: UnityEngine.UI

Description

Registry which maps a Graphic to the canvas it belongs to.

Static Variables

instance Singleton instance.

Static Functions

GetGraphicsForCanvas Return a list of Graphics that are registered on the Canvas.
RegisterGraphicForCanvas Store a link between the given canvas and graphic in the registry.
UnregisterGraphicForCanvas Deregister the given Graphic from a Canvas.