Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

changing text at instantiation

$
0
0
Been spending 3 hours trying to figure this out and my mind is about to explode.

ERROR: NullReferenceException: Object reference not set to an instance of an object

My prefab is a blank object with just GuiText added to it. I see this work in JavaScript but not C#

BTW are there any articles or good books on the exact structure of instantiated objects/prefabs? Due to the nature of Unity I spend hours and hours just figuring something out like this. I'd like a top down big picture book of...

changing text at instantiation

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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