摘要: usingUnityEngine;usingSystem.Collections;usingSystem.Collections.Generic;publicclasstest:MonoBehaviour{Texture2DalphaTest;voidStart(){alphaTest=(Texture2D)this.GetComponent().texture;Debug.Log(Screen.width+""+Screen.height);}//UpdateiscalledonceperframevoidUpdate(){if(Input.GetMouseButton( 阅读全文
posted @ 2014-02-18 16:56 火之梦魇 阅读(1199) 评论(0) 推荐(0) 编辑