public void clickBtn() { Categoria cat = gameObject.GetComponent <Categoria> () as Categoria; cat.ActiveChildren(); }