File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -252,6 +252,17 @@ public EntityComponentType MatchEntity (System.Predicate<EntityComponentType> ma
252252 /// </summary>
253253 /// <param name="routine">The coroutine to start.</param>
254254 /// <returns>The coroutine.</returns>
255+ public Coroutine StartCoroutine ( IEnumerator routine ) {
256+ // Start the coroutine on the controller.
257+ return Controller . Instance . StartCoroutine ( routine ) ;
258+ }
259+
260+ /// <summary>
261+ /// Starts a coroutine on this system.
262+ /// </summary>
263+ /// <typeparam name="IEnumeratorType">The type of the coroutine.</typeparam>
264+ /// <param name="routine">The coroutine to start.</param>
265+ /// <returns>The coroutine.</returns>
255266 public Coroutine StartCoroutine < IEnumeratorType > ( IEnumerator < IEnumeratorType > routine ) {
256267 // Start the coroutine on the controller.
257268 return Controller . Instance . StartCoroutine ( routine ) ;
You can’t perform that action at this time.
0 commit comments