void Executar() { foreach (GameObject obj in Selection.gameObjects) { Pontuacao script = obj.GetComponent <Pontuacao>(); if (script != null) { script.Invoke(metodo, 0); } } }