// Use this for initialization
 void Start()
 {
     if (hole_tile != null && open_tile != null && blocking_tile != null && spawn_tile != null && number_tile != null && trim_tile != null)
     {
         //Get_Width_Height();
     }
     else
     {
         Debug.Log("A tile renderer is missing");
     }
     difficulty_controller = GetComponent <RB_Difficulty_Controller>();
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     if (game_controller == null)
     {
         game_controller = this;
     }
     ball                  = GameObject.FindObjectOfType <RB_Ball>();
     board_loader          = GameObject.FindObjectOfType <RB_Board_Loader>();
     answer_controller     = GetComponent <RB_Answer_Controller>();
     difficulty_controller = GetComponent <RB_Difficulty_Controller>();
     answer_tile           = GameObject.FindObjectOfType <RB_Answer_Tile>();
     ui_question           = UI_Question_Display.ui_question_display;
     Set_Board();
 }
 private void Start()
 {
     difficulty_controller = GetComponent <RB_Difficulty_Controller>();
 }