摘要:
usingUnityEngine;usingSystem.Collections;publicclassCameraController:MonoBehaviour{publicfloatbackgoundWidthInpixel;//UsethisforinitializationvoidStart(){floatbackgoundWidth=backgoundWidthInpixel/100;//100isthepixelstounitvaluefloatretio=(float)(Screen.width)/(float)(Screen.height);floatnewSize=bac. 阅读全文
posted @ 2014-03-19 15:27
火之梦魇
阅读(876)
评论(0)
推荐(0)
浙公网安备 33010602011771号