Exemplo n.º 1
0
 public void DoAction(List <Action> actionList)
 {
     m_Hoster.StartCoroutine(CoroutineRunner.ActionOneByOne(actionList));
 }
Exemplo n.º 2
0
 public void DoActionWithDelay(List <Action> actionList, float delay)
 {
     m_Hoster.StartCoroutine(CoroutineRunner.ActionOneByOneWithDelay(actionList, delay));
 }
Exemplo n.º 3
0
        private CoroutineManager()
        {
            m_Hoster = new GameObject("CoroutineRunner").AddComponent <CoroutineRunner>();

            GameObject.DontDestroyOnLoad(m_Hoster);
        }