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

error CS0029: Cannot implicitly convert type `void' to `UnityEngine.GameObject'

$
0
0
I am trying to name a Game object that I spawn into something, but unity gives me this error. here's my code: Spawn (new Vector3 (0, 1f, 0)); Spawn (new Vector3 (0, 2f, 0)); GameObject starA = Spawn (new Vector3 (0, 3f, 0)); can anyone identify the problem?

Viewing all articles
Browse latest Browse all 2891

Trending Articles



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