public IEnumerator GainExp(int enemylevel) { int xpchange; _experience_component.GainExp(enemylevel, out xpchange); // start coroutine for exp bar "animation" yield return(StartCoroutine(battleSceneController.experienceBarController.StartGainingExp(xpchange))); }