IEnumerator waitUntilReady(bool sheath) { while (!UIAction.activeSelf) { yield return(null); } UIAction.BroadcastMessage("OnSheath", sheath); yield return(null); }