C# 클래스 UnityEngine.UI.GraphicRegistry

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

파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
GraphicRegistry ( ) : System

메소드 상세

GetGraphicsForCanvas() 공개 정적인 메소드

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

public static GetGraphicsForCanvas ( Canvas canvas ) : IList
canvas Canvas Input canvas.
리턴 IList

GraphicRegistry() 보호된 메소드

protected GraphicRegistry ( ) : System
리턴 System

RegisterGraphicForCanvas() 공개 정적인 메소드

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.
리턴 void

UnregisterGraphicForCanvas() 공개 정적인 메소드

Deregister the given Graphic from a Canvas.

public static UnregisterGraphicForCanvas ( Canvas c, Graphic graphic ) : void
c Canvas Canvas.
graphic Graphic Graphic to deregister.
리턴 void