public void Sacrifice1() { //ListSacrifices[0].idType; player.sacrificeDone(ListSacrifices[0].idType); player.EnableInput(); audioSacrifice.PlayOneShot(clipSacrificio); gameObject.GetComponent <Canvas>().enabled = false; }