• 2024-10-29Unity 滑动条 SlideView
    usingUnityEngine;usingSystem.Collections;usingUnityEngine.UI;publicclassSlideView:MonoBehaviour{publicSliderslide;publicScrollbarsb;//UsethisforinitializationvoidStart(){if(transform.name=="Sc
  • 2024-10-17Dropdown
    目录可实现效果新建演示字段说明代码示例可实现效果新建在物体下点击右键选择(UI->Legacy->Dropdown)演示字段说明Transition过渡Navigation导航选项代码示例usingSystem.Collections.Generic;usingUnityEngine;usingUnityEngine.UI;publicclassNe