This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public delegate float SequenceFunc(); | |
public static void RunAsyncSequence(this MonoBehaviour obj, params SequenceFunc[] callbacks) | |
{ | |
if (callbacks.Length > 0) { | |
obj.StartCoroutine(ExecFuncChain(callbacks)); | |
} | |
} | |
private static IEnumerator ExecFuncChain(SequenceFunc[] callbacks) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xfC05C304580538657219970352ece0151A3814c2 |