Quantcast
Browsing latest articles
Browse All 4 View Live

Answer by Itaros

You need to define public Transform controller and pick it in inspector, and then attach instantiated object to it: GameObject go = (GameObject)GameObject.Instantiate(inventory[selected],...

View Article


Answer by DerickTP

Hi, as I understand it, just Instantiating the object using the coordinates doesn't put the object in the players hierarchy. You need to set its parent to be the player. GameObject item =...

View Article

Browsing latest articles
Browse All 4 View Live