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