【Unity&按键设置】按下任意按键,返回按键的名称

实现的是:按下任意按键,返回按键的名称html 根据参考资料1 函数 1.方法 OnGUI() 函数的时间Event方法 测试 using UnityEngine; using System.Collections; public class example : MonoBehaviour { void OnGUI() { Event e = Event.current;
相关文章
相关标签/搜索