void Update() { Destroyer(); /*if (Input.GetKeyDown(KeyCode.K)) * { * currentLife -= Random.Range(1, 10); * }*/ UI.SetExperiencia(PlayerStatsController.GetNextXp(), PlayerStatsController.GetCurrentXp()); UI.SetLife(totalLife, currentLife); UI.SetStamina(totalStamina, currentStamina); //base.Update(); }