C# Class UnityEngine.UI.GraphicRegistry

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

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
GetGraphicsForCanvas ( Canvas canvas ) : IList

Return a list of Graphics that are registered on the Canvas.

RegisterGraphicForCanvas ( Canvas c, Graphic graphic ) : void

Store a link between the given canvas and graphic in the registry.

UnregisterGraphicForCanvas ( Canvas c, Graphic graphic ) : void

Deregister the given Graphic from a Canvas.

Méthodes protégées

Méthode Description
GraphicRegistry ( ) : System

Method Details

GetGraphicsForCanvas() public static méthode

Return a list of Graphics that are registered on the Canvas.

public static GetGraphicsForCanvas ( Canvas canvas ) : IList
canvas Canvas Input canvas.
Résultat IList

GraphicRegistry() protected méthode

protected GraphicRegistry ( ) : System
Résultat System

RegisterGraphicForCanvas() public static méthode

Store a link between the given canvas and graphic in the registry.

public static RegisterGraphicForCanvas ( Canvas c, Graphic graphic ) : void
c Canvas Canvas to register.
graphic Graphic Graphic to register.
Résultat void

UnregisterGraphicForCanvas() public static méthode

Deregister the given Graphic from a Canvas.

public static UnregisterGraphicForCanvas ( Canvas c, Graphic graphic ) : void
c Canvas Canvas.
graphic Graphic Graphic to deregister.
Résultat void