Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Not all code paths return a value

$
0
0
public GameObject GetPooledObject() { for (int i = 0; i < pooledObjects.Count; i++) { if (!pooledObjects[i].activeInHierarchy) { return pooledObjects[i]; } } }

Viewing all articles
Browse latest Browse all 7934

Trending Articles