Exemplo n.º 1
0
    public int button_index; //the index of the button (about = 0, resilience = 1, etc.)

    private void Start()
    {
        info_Panel_Change = GameObject.Find("Canvas").GetComponent <info_panel_change>();
        all_Panels        = transform.parent.GetComponent <current_city_infos>();
    }
Exemplo n.º 2
0
 private void Start()
 {
     info_Panel_Change = GameObject.Find("Canvas").GetComponent <info_panel_change>();
     infoDisplay       = GameObject.Find("info_image_display").GetComponent <Image>();
 }