2015年11月10日

Unity3D获取当前键盘按键

摘要: 获取当前键盘按键,代码如下:using UnityEngine;using System.Collections;public class GetCurrentKey : MonoBehaviour { KeyCode currentKey; void Start () { ... 阅读全文

posted @ 2015-11-10 16:57 JMcc 阅读(5538) 评论(0) 推荐(0)

Unty3D动态加载图片

摘要: 试验动态加载图片,代码如下:using UnityEngine;using System.Collections;public class DynamicLoad : MonoBehaviour{ Texture2D txt; IEnumerator Start() { ... 阅读全文

posted @ 2015-11-10 16:44 JMcc 阅读(573) 评论(0) 推荐(0)

导航