Exemplo n.º 1
0
 private void Awake()
 {
     this.canvas         = UIManager.Instance.canvas;
     Operational_Figure  = this.Operational_Figure_Control.GetComponent <RectTransform>();
     GameScene.Instance  = this;
     Screen.sleepTimeout = -1;
     CommonConfiguration.InitGameData();
     GameControl.Instance.game_data.Init();
     this.Operational_Figure_Control.dianList = this.CreateDian(this.caoZuoPanTransfrom, 2);
     this.CreateDian(this.shiLiTransfrom, 2);
     this.Fixed_Figure_Control.dianList = this.Operational_Figure_Control.dianList;
 }