Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 546 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 546 Bytes

EditorCoroutines

Provides a method to start your coroutines in UnityEditor.

Getting started

  1. Append a line in Packages/manifest.json
"com.tani-shi.unity-editor-coroutines": "https://github.com/tani-shi/unity-editor-coroutines.git#1.0.0"
  1. Implement EditorCoroutines in your scripts.
var coroutine = YourCoroutine();

// Start your coroutine
UnityEditor.Coroutines.EditorCoroutines.StartCoroutine(coroutine);

// Stop your coroutine
UnityEditor.Coroutines.EditorCoroutines.StopCoroutine(coroutine);

License

MIT