CoroutineUtility.cs 367 B

123456789101112131415
  1. using System.Collections;
  2. using UnityEngine;
  3. public static class CoroutineUtility
  4. {
  5. public static void StartCoroutine(IEnumerator coroutine)
  6. {
  7. CoroutineSystem.Instance.Start_Coroutine(coroutine);
  8. }
  9. public static void StopCoroutine(Coroutine coroutine)
  10. {
  11. CoroutineSystem.Instance.Stop_Coroutine(coroutine);
  12. }
  13. }