Beispiel #1
0
        private void _all_init()
        {
            board           component   = base.get_transform().FindChild("board1_top/board").GetComponent <board>();
            board2          component2  = base.get_transform().FindChild("board2_top/board2").GetComponent <board2>();
            board3          component3  = base.get_transform().FindChild("board3_top/board3").GetComponent <board3>();
            board3_btn      component4  = base.get_transform().FindChild("board3_top/board3/Button").GetComponent <board3_btn>();
            board1_top_mask component5  = base.get_transform().FindChild("board1_top_mask").GetComponent <board1_top_mask>();
            board2_top_mask component6  = base.get_transform().FindChild("board2_top_mask").GetComponent <board2_top_mask>();
            board3_top_mask component7  = base.get_transform().FindChild("board3_top_mask").GetComponent <board3_top_mask>();
            crane_anime     component8  = base.get_transform().FindChild("board1_top/board/Grid/01/Anime").GetComponent <crane_anime>();
            dialog          component9  = base.get_transform().FindChild("dialog_top/dialog").GetComponent <dialog>();
            dialog2         component10 = base.get_transform().FindChild("dialog2_top/dialog2").GetComponent <dialog2>();
            high_repair     component11 = base.get_transform().FindChild("board1_top/board/Grid/00/repair_now/btn_high_repair").GetComponent <high_repair>();
            sentaku         component12 = base.get_transform().FindChild("board1_top/board/Grid/00/btn_Sentaku").GetComponent <sentaku>();
            sw component13 = base.get_transform().FindChild("board3_top/board3/sw01").GetComponent <sw>();

            component._init_repair();
            component2._init_repair();
            component3._init_repair();
            component5._init_repair();
            component6._init_repair();
            component7._init_repair();
            component4._init_repair();
            component8._init_repair();
            component9._init_repair();
            component10._init_repair();
            component11._init_repair();
            component12._init_repair();
            component.ResetMaruKey();
            GameObject.Find("Repair Root/debug").get_transform().localPositionY(-120f);
        }
Beispiel #2
0
 private void StartUp()
 {
     if (!_isStartUP)
     {
         _isStartUP = true;
         bd1m       = ((Component)base.transform.FindChild("board1_top_mask")).GetComponent <board1_top_mask>();
         bd2m       = ((Component)base.transform.FindChild("board2_top_mask")).GetComponent <board2_top_mask>();
         bd3m       = ((Component)base.transform.FindChild("board3_top_mask")).GetComponent <board3_top_mask>();
         bd2        = ((Component)base.transform.FindChild("board2_top/board2")).GetComponent <board2>();
         sm         = SingletonMonoBehaviour <SoundManager> .Instance;
     }
 }
Beispiel #3
0
 private void StartUp()
 {
     if (this._isStartUP)
     {
         return;
     }
     this._isStartUP = true;
     this.bd1m       = base.get_transform().FindChild("board1_top_mask").GetComponent <board1_top_mask>();
     this.bd2m       = base.get_transform().FindChild("board2_top_mask").GetComponent <board2_top_mask>();
     this.bd3m       = base.get_transform().FindChild("board3_top_mask").GetComponent <board3_top_mask>();
     this.bd2        = base.get_transform().FindChild("board2_top/board2").GetComponent <board2>();
     this.sm         = SingletonMonoBehaviour <SoundManager> .Instance;
 }