| Name | Description |
---|
| AddChild | (Inherited from Container.) |
| AddChildAt | (Inherited from Container.) |
| AddEventListener(String, EventCallback0) | (Inherited from EventDispatcher.) |
| AddEventListener(String, EventCallback1) | (Inherited from EventDispatcher.) |
| AddTouchMonitor | |
| ApplyPanelOrder |
设置UIPanel/UIPainter等的渲染层次,由UIPanel等内部调用。开发者不需要调用。
|
| BroadcastEvent | (Inherited from EventDispatcher.) |
| BubbleEvent | (Inherited from EventDispatcher.) |
| CancelClick | |
| ChangeChildrenOrder | (Inherited from Container.) |
| CloseKeyboard | |
| Contains | (Inherited from Container.) |
| DisableSound | |
| DispatchEvent(String) | (Inherited from EventDispatcher.) |
| DispatchEvent(EventContext) | (Inherited from EventDispatcher.) |
| DispatchEvent(String, Object) | (Inherited from EventDispatcher.) |
| DispatchEvent(String, Object, Object) | (Inherited from EventDispatcher.) |
| Dispose | (Overrides ContainerDispose.) |
| EnableSound | |
| EnsureSizeCorrect | (Inherited from DisplayObject.) |
| EnterPaintingMode |
进入绘画模式,整个对象将画到一张RenderTexture上,然后这种贴图将代替原有的显示内容。
可以在onPaint回调里对这张纹理进行进一步操作,实现特殊效果。
可能有多个地方要求进入绘画模式,这里用requestorId加以区别,取值是1、2、4、8、16以此类推。1024内内部保留。用户自定义的id从1024开始。
(Inherited from DisplayObject.) |
| GetAllTouch | |
| GetBounds | (Inherited from Container.) |
| GetChild | (Inherited from Container.) |
| GetChildAt | (Inherited from Container.) |
| GetChildIndex | (Inherited from Container.) |
| GetHitTestLocalPoint | (Inherited from Container.) |
| GetRenderCamera | (Inherited from Container.) |
| GetTouchPosition | |
| GlobalToLocal |
将舞台坐标转换为本地坐标
(Inherited from DisplayObject.) |
| HitTest | (Inherited from Container.) |
| InputString |
输入字符到当前光标位置
|
| Instantiate | |
| InvalidateBatchingState | (Inherited from DisplayObject.) |
| InvalidateBatchingState(Boolean) | (Inherited from Container.) |
| IsAncestorOf | (Inherited from Container.) |
| LeavePaintingMode |
离开绘画模式
(Inherited from DisplayObject.) |
| LocalToGlobal |
将本地坐标转换为舞台坐标
(Inherited from DisplayObject.) |
| MonitorTexture | |
| OpenKeyboard | |
| PlayOneShotSound(AudioClip) | |
| PlayOneShotSound(AudioClip, Single) | |
| RemoveChild(DisplayObject) | (Inherited from Container.) |
| RemoveChild(DisplayObject, Boolean) | (Inherited from Container.) |
| RemoveChildAt(Int32) | (Inherited from Container.) |
| RemoveChildAt(Int32, Boolean) | (Inherited from Container.) |
| RemoveChildren | (Inherited from Container.) |
| RemoveChildren(Int32, Int32, Boolean) | (Inherited from Container.) |
| RemoveEventListener(String, EventCallback0) | (Inherited from EventDispatcher.) |
| RemoveEventListener(String, EventCallback1) | (Inherited from EventDispatcher.) |
| RemoveEventListeners | (Inherited from EventDispatcher.) |
| RemoveEventListeners(String) | (Inherited from EventDispatcher.) |
| RemoveFromParent | (Inherited from DisplayObject.) |
| RemoveTouchMonitor | |
| ResetInputState | |
| SetChildIndex | (Inherited from Container.) |
| SetChildrenLayer |
s
(Inherited from Container.) |
| SetCustomInput(RaycastHit, Boolean) | |
| SetCustomInput(Vector2, Boolean) | |
| SetCustomInput(RaycastHit, Boolean, Boolean) | |
| SetCustomInput(Vector2, Boolean, Boolean) | |
| SetPosition | (Inherited from DisplayObject.) |
| SetScale | (Inherited from DisplayObject.) |
| SetSize | (Inherited from DisplayObject.) |
| SetXY | (Inherited from DisplayObject.) |
| SortWorldSpacePanelsByZOrder |
Adjust display order of all UIPanels rendering in worldspace by their z order.
|
| SwapChildren | (Inherited from Container.) |
| SwapChildrenAt | (Inherited from Container.) |
| TransformPoint | (Inherited from DisplayObject.) |
| TransformRect | (Inherited from DisplayObject.) |
| Update | (Inherited from Container.) |
| WorldToLocal |
转换世界坐标点到等效的本地xy平面的点。等效的意思是他们在屏幕方向看到的位置一样。
返回的点是在对象的本地坐标空间,且z=0
(Inherited from DisplayObject.) |