2020
09-27
09-27
Unity UGUI实现滑动翻页直接跳转页数
本文实例为大家分享了UnityUGUI实现滑动翻页,直接跳转页数的具体代码,供大家参考,具体内容如下首先看一下最终效果其实这个功能基本上是老生常谈了,所以代码还是很简单usingUnityEngine;usingSystem.Collections;usingUnityEngine.UI;usingSystem.Collections.Generic;usingUnityEngine.EventSystems;usingSystem;publicclassPageView:MonoBehaviour,IBeginDragHandler,IEndDragHandler{privateScrollRectrec...
继续阅读 >