Quantcast
Channel: Questions in topic: "namespace"
Viewing all articles
Browse latest Browse all 398

StartCoroutine namespace or type not found

$
0
0
Hello, everyone. I'm currently having an issue where I'm trying to call a Coroutine, but I get a namespace not found error on the StartCoroutine method. I have been able to call this method elsewhere in the project. My class declaration is as follows: public class ModelTreeBuilder : MonoBehaviour { public static IEnumerator CreateModelTree() { //call to StartCoroutine is made in here } } And my includes are: using System.Collections; using System.Collections.Generic; using UnityEngine; Please let me know what I've missed.

Viewing all articles
Browse latest Browse all 398

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>