// Start is called before the first frame update
    void Start()
    {
        HoleSelected = GameObject.FindObjectOfType <HoleSelected>();
        HoleSelected.HoleSelectedEvent += HoleSelected_OnEvent;

        current = GetComponent <Image>();
    }
    // Start is called before the first frame update
    void Start()
    {
        Data data = GameObject.FindObjectOfType <Data>();

        data.DataChanged += Data_DataChanged;

        HoleSelected HoleSelected = GameObject.FindObjectOfType <HoleSelected>();

        HoleSelected.HoleSelectedEvent += DrillingElement_Selected;

        Next.onClick.AddListener(delegate
        {
            UpdateIndex(this.index + 1);
        });
        Previous.onClick.AddListener(delegate
        {
            UpdateIndex(this.index - 1);
        });

        Next.interactable     = false;
        Previous.interactable = false;


        Debug.Log("Looking in Visu.Start()");
        DisplayDrillings(data.drillings);
    }
 // Start is called before the first frame update
 void Start()
 {
     HoleSelected = GameObject.FindObjectOfType <HoleSelected>();
     HoleSelected.HoleSelectedEvent += HoleSelected_OnEvent;
 }