void OnTriggerEnter2D(Collider2D trigger) { liveManager = GameObject.FindObjectOfType<LivesManager>(); liveManager.LifeLost(); }