StartCoroutine / StopCoroutine calls not recognized

Issue #152 resolved
William Besnard created an issue

when deriving from "SerializedBehaviour" my coroutine calls are not recognized anymore (cannot resolve symbol)

Comments (3)

  1. Tor Esa Vestergaard

    Hello!

    You need to derive from SerializedMonoBehaviour, not SerializedBehaviour. There's a serialized version of each Unity class you normally derive from, and SerializedBehaviour is the serialized version of UnityEngine.Behaviour, not UnityEngine.MonoBehaviour. And UnityEngine.Behaviour, of course, does not support coroutines.

  2. Log in to comment