摘要: using UnityEngine;using System.Collections;public class YY : MonoBehaviour { private Rect window0=new Rect(20,20,200,200); private Rect window1=new Rect(250,20,200,200); // Use this for initialization void Start () { } // Update is called once per frame void Update () { ... 阅读全文
posted @ 2014-02-04 17:34 yufenghou 阅读(207) 评论(0) 推荐(0)
摘要: using UnityEngine;using System.Collections;public class LLL : MonoBehaviour { Vector2 scrollPosition; // Use this for initialization void Start () { scrollPosition [0] = 50; scrollPosition [1] = 50; } // Update is called once per frame void Update () { } ... 阅读全文
posted @ 2014-02-04 17:20 yufenghou 阅读(193) 评论(0) 推荐(0)
摘要: using UnityEngine;using System.Collections;public class La : MonoBehaviour { float verticalValue=0f; float horizontalValue=0.0f; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnGUI() { vert... 阅读全文
posted @ 2014-02-04 17:13 yufenghou 阅读(215) 评论(0) 推荐(0)