Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine.UI
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseRegistry which maps a Graphic to the canvas it belongs to.
instance | Singleton instance. |
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. |