Last active
October 21, 2019 01:27
-
-
Save ssabii/38e98a74f0afe8e5d84999fab13bfc8a to your computer and use it in GitHub Desktop.
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 class CoroutineExample : MonoBehaviour | |
{ | |
IEnumerator coroutine; | |
void Start () | |
{ | |
coroutine = CoroutineTest(); | |
StartCoroutine(coroutine); | |
} | |
IEnumerator CoroutineTest() | |
{ | |
yield return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment