UnityEngine.UI系统基础类架构图
2015-04-30 20:07:36 140 举报
这是我画的Unity3D新发布的UI模块的基础类的架构图 http://docs.unity3d.com/ScriptReference/index.html
作者其他创作
大纲/内容
Image
+ overridesprite : Sprite+ sprite : Sprite+ fillAmount : float
Selectable
+ interactable : bool+ targetGraphic : Graphic
+ OnSelect(BaseEventData)+ Select()+ OnPointerXXX(BaseEventData)
VerticalLayout
Button
+ onClick : delegate
HorizontalLayout
UIBehaviour
1. print 静态函数2. IsActive3. IsDestory4. protcted OnCanvasGroupChanged5. OnRectTransformDimensionsChange
MaskableGraphic
+ maskable : bool+ material
+ ParentMaskStateChanged
LayoutGroup
+ childAlignment:TextAnchor+ padding : RectOffSet
+ operation1(params):returnType- operation2(params)- operation3()
ToggleGroup
+ allowSwitchOff
+ NotifyToggleOn(Toggle)+ ActiveToggles()- Un/RegisterToggle(Toggle)
RawImage
+ texture : Texture+ uvRect : Rect
HorizontalOrVerticalLayoutGroup
+ childForceExpandHeight+ childForceExpandHeight+ spacing
Graphic
+ mainTexture+ color+ canvas+ canvasRenderer+ material+ rectTransform
InputField
+ onEndEdit : delegate+ onValidateInput : delegate+ on ValueChanged : delegate+ text : string+ placeHolder : Graphic
Mask
+ rectTransform+ showMaskGraphic : bool
LayoutElement
+ ignoreLayout : bool+ minWidth/Height+ preferredWidth/Height+ flexibleWidth/Height
Created By 王选易微博: http://weibo.com/wangxuanyihaha
GridLayout
+ cellSize : Vector2+ startAxis+ startCorner+ spacing
Text
+ text : string
ScrollRect
+ content : RectTransform+ horizontalNormalizedPosition : float+ verticalNormalizedPosition : float+ onValueChanged : delegate
+ OnScroll
Toggle
+ onValueChanged(bool)
MonoBehaviour
0 条评论
下一页