UGUI UI控件共性

UI操控组件都继承自Selectable

都有的属性:

  1. Interactable 是否可交互

  2. Transition 过渡效果

  3. Selection State组件状态

  4. Navigation 导航设置


State包括Normal:

  1. Normal

  2. Highlighted

  3. Pressed

  4. Disabled


Transition:控制状态的过渡

None(无),Color Tint颜色过渡,Sprite Swap图片过渡,Animation 动画过渡


Navigation 导航设置

使用方向控制切换焦点时的顺序


首页 我的博客
粤ICP备17103704号