Class MicroCoroutine
Simple supports(only yield return null) lightweight, threadsafe coroutine dispatcher.
Inheritance
System.Object
MicroCoroutine
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: MacacaGames.ViewSystem
Assembly: Macaca.ViewSystem.dll
Syntax
public class MicroCoroutine
Constructors
| Improve this Doc View SourceMicroCoroutine(Action<Exception>)
Declaration
public MicroCoroutine(Action<Exception> unhandledExceptionCallback)
Parameters
Type | Name | Description |
---|---|---|
System.Action<System.Exception> | unhandledExceptionCallback |
Methods
| Improve this Doc View SourceAddCoroutine(IEnumerator)
Declaration
public MicroCoroutine.Coroutine AddCoroutine(IEnumerator enumerator)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerator | enumerator |
Returns
Type | Description |
---|---|
MicroCoroutine.Coroutine |
RemoveCoroutine(MicroCoroutine.Coroutine)
Declaration
public void RemoveCoroutine(MicroCoroutine.Coroutine enumerator)
Parameters
Type | Name | Description |
---|---|---|
MicroCoroutine.Coroutine | enumerator |
Update()
Declaration
public void Update()