【翻译】【总结】UGUI:实现鼠标悬停效果的方法

翻译自:http://answers.unity3d.com/questions/901195/ugui-on-hover.html 1.在场景中放置物体TestButton 2.为TestButton添加组件EventTrigger 3.点击Add New Event Type>PointerEnter 4.点击“+” 5.为物体添加脚本 6.在脚本中创建public方法 7.把方法赋给Even
相关文章
相关标签/搜索