diff --git a/src/CoroutineBase.cs b/src/CoroutineBase.cs index 884d43b..bf88173 100644 --- a/src/CoroutineBase.cs +++ b/src/CoroutineBase.cs @@ -45,6 +45,12 @@ public void StartCoroutine(CoroutineBase coroutine) coroutine.Init(); } + public CoroutineBase(CoProcessMode processMode, CoRunMode runMode) + { + this.ProcessMode = processMode; + this.RunMode = runMode; + } + /// /// Initializes the coroutine once it has been added to the active coroutine hierarchy. ///