C# 클래스 FairyGUI.GoWrapper

GoWrapper is class for wrapping common gameobject into UI display list.
상속: DisplayObject
파일 보기 프로젝트 열기: fairygui/FairyGUI-unity 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_renders UnityEngine.Renderer[]
_wrapTarget UnityEngine.GameObject

공개 메소드들

메소드 설명
CacheRenderers ( ) : void

GoWrapper will cache all renderers of your gameobject on constructor. If your gameobject change laterly, call this function to update the cache. GoWrapper会在构造函数里查询你的gameobject所有的Renderer并保存。如果你的gameobject 后续发生了改变,调用这个函数通知GoWrapper重新查询和保存。

Dispose ( ) : void
GoWrapper ( ) : FairyGUI.Utils

GoWrapper ( GameObject go ) : FairyGUI.Utils

메소드 상세

CacheRenderers() 공개 메소드

GoWrapper will cache all renderers of your gameobject on constructor. If your gameobject change laterly, call this function to update the cache. GoWrapper会在构造函数里查询你的gameobject所有的Renderer并保存。如果你的gameobject 后续发生了改变,调用这个函数通知GoWrapper重新查询和保存。
public CacheRenderers ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GoWrapper() 공개 메소드

public GoWrapper ( ) : FairyGUI.Utils
리턴 FairyGUI.Utils

GoWrapper() 공개 메소드

public GoWrapper ( GameObject go ) : FairyGUI.Utils
go UnityEngine.GameObject
리턴 FairyGUI.Utils

프로퍼티 상세

_renders 보호되어 있는 프로퍼티

protected Renderer[],UnityEngine _renders
리턴 UnityEngine.Renderer[]

_wrapTarget 보호되어 있는 프로퍼티

protected GameObject,UnityEngine _wrapTarget
리턴 UnityEngine.GameObject