Esempio n. 1
0
 void CaptureCamera()
 {
     tmpBgTex          = CommonFunc.CaptureCamera(NGUITools.FindCameraForLayer(this.gameObject.layer), new Rect(0, 0, Screen.width, Screen.height));
     texBG.mainTexture = tmpBgTex;
 }