鼠标移入UI按钮时改变鼠标指针贴图

1.将指针图片的texture Type设置为Cursor。 2.max size设置为最小的32。 3.将cursor图片拖到检视面板的cursorTexture。 4.代码挂到button上。web using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.E
相关文章
相关标签/搜索