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