void Start() { musicManager = FindObjectOfType <MusicManager>(); texto = FindObjectOfType <AnimacionTexto>(); texto.gameObject.SetActive(false); reproduciendo = false; }
//------------------------------------------------------------------- // Metodos //------------------------------------------------------------------- void Awake() { playerInverntoryControlerReference = GetComponent <PlayerInventoryController>(); pm = FindObjectOfType <PlayerManager>(); fadeController = FindObjectOfType <FadeController>(); textosManager = FindObjectOfType <AnimacionTexto>(); }