// Use this for initialization
    void Start()
    {
        isChecked = false;
        Ville v = FindObjectOfType <GameManager>().ville;

        transform.Find("CheckboxImage").GetComponent <Button>().onClick.AddListener(() =>
        {
            if (isChecked)
            {
                v.DesactiverLegislation(transform.Find("Title").GetComponent <Text>().text);
                isChecked = false;
                transform.Find("CheckboxImage").GetComponent <Image>().sprite = uncheckedSprite;
            }
            else
            {
                v.ActiverLegislation(transform.Find("Title").GetComponent <Text>().text);
                isChecked = true;
                transform.Find("CheckboxImage").GetComponent <Image>().sprite = checkedSprite;
            }
        });
    }