Ejemplo n.º 1
0
 public static AsyncState PlayOneShotAsync(this AudioSource source, AudioClip clip, float volume = 1f)
 {
     return(Planner.Chain().AddCommand(new AsyncCommandAudio(source, clip, volume)));
 }
 public static AsyncChain AsAsync(this AsyncOperation coroutine)
 {
     return(Planner.Chain().AddCoroutine(coroutine));
 }
 public static AsyncChain AsAsync(this IEnumerator coroutine)
 {
     return(Planner.Chain().AddCoroutine(coroutine));
 }
 public static AsyncChain AsAsync(this WaitForEndOfFrame coroutine)
 {
     return(Planner.Chain().AddCoroutine(coroutine));
 }