using UnityEngine; using System.Collections; public class C : MonoBehaviour { private WebCamTexture cameraTexture; private string cameraName = ""; private bool isPlay = true; // Use this for initialization void Start() { cameraTexture = new WebC
1 GUI汇总 function OnGUI() { GUI.Label(Rect(1,1,100,20),"I'm a Label"); //1 GUI.Box(Rect(1,21,100,20),"I'm a Box"); //2 GUI.Button(Rect(1,41,100,20),"I'm a Button"); //3 GUI.RepeatButton(Rect(1,61,120,20),"I'm a RepeatButt