public void sendRecord()
    {
        RankingController rc = GameObject.Find("Canvas/Ranking").GetComponent <RankingController>();

        rc.sendRecord(nameInput.transform.Find("InputText").GetComponent <Text>().text, score);
        nameInput.SetActive(false);
    }