using UnityEngine; using System.Collections; public class BgPicScript : MonoBehaviour { // Use this for initialization public UITexture bg; void Start () { Debug.Log("device宽高: " + Screen.width + "_" + Screen.height); UIRoot root = Gam
background:url(zhongyi2.png) no-repeat center center fixed;/* -webkit-background-size:cover; -moz-background-size:cover; -o-background-size:cover;*/ background-size:cover;