Question by
JinPark · May 31, 2018 at 05:07 AM ·
gameobjectprefab
Getting the gameobject in the map
I have a script that needs to receive a reference of a gameobject so I can call the function getComponent<>(). The problem is that the gameobject is not instantiated at the beginning of the game so I can't drag and drop to the inspector.
Comment