Quantcast
Channel: Latest Questions by thekill473
Viewing all articles
Browse latest Browse all 6

Assigning a prefab to itself.

$
0
0
Hey, The problem I'm having is I've made an inventory and that's all working fine. But I'm trying to make it so I can drop items onto the floor. So what I'm trying to do is have an ItemData class that gets put into the inventory collection and that ItemData class contains a baseItem GameObject were I can assign the prefab to itself. But when I do it unity thinks it's meant to be a reference to itself. Is there anyway to break the reference at start up so it's just the original prefab.

Viewing all articles
Browse latest Browse all 6

Trending Articles



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