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
//cyd var cydclusterSource = new ol.source.Cluster({ distance: 40, source: new ol.source.Vector({ features:(new ol.format.GeoJSON()).readFeatures(JSON.stringify(cyd)) }) }); //sc var scclusterSource = new ol.source.Cluster({ distance: 40, source: new
图1 装饰者模式[点击查看图片] 1,一个简单的以人为主体的装饰者模式 被装饰者 public interface Human {//被装饰者 public void wearClothes(); public void walkToWhere(); } //定义被装饰者,被装饰者初始状态有些自己的装饰 class Person implements Human { @Override public void wearClothes() { // TODO Auto-generated meth