bsimser / Inventory-Pro

https://devdog.io
MIT License
2 stars 0 forks source link

lootable reparent object on initialization #127

Closed bsimser closed 9 years ago

bsimser commented 9 years ago

Original report by Damien (Bitbucket: ddamien, GitHub: ddamien).


for (int i = 0; i < items.Length; i++) { items[i] = Instantiate(items[i]); } In the Awake() for me it spawn objects in the root of the scene, not parented to the chest

bsimser commented 9 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


Fixes #127

bsimser commented 9 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


Fixes #127