using System.Collections; using UnityEngine; using Blue; public class CoroutineSystem : SingletonMonobehaviour { /// /// 启动一个协程 /// public Coroutine Start_Coroutine(IEnumerator coroutine) { return StartCoroutine(coroutine); } /// /// 停止一个协程序 /// public void Stop_Coroutine(Coroutine routine) { StopCoroutine(routine); } }