摘要:
using UnityEngine; using System.Collections; public class PickMe : MonoBehaviour { enum Mode { SELECT, OPER }; Mode operMode; Rect drawRect = new Rect 阅读全文
摘要:
创建一个脚本,输入下面的代码。脚本不需要添加到任何物体上,globle变量可以跨场景全局调用。 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Globle { p 阅读全文