photon.instantiate all objects under resources/folder
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on PUN.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
photon.instantiate all objects under resources/folder
dshewmaker
2014-02-14 00:22:57
All the docs state you have to have all objects in the Resources folder and not a sub folder. I would really like to organize game objects and just dumping them all in the resources root is going to get messy. How do other people get around this?
I tried adding a folder name, but it only works if it is in the root folder called resources.
Comments
I think you can have a Resources folder in any subfolder. But you can't have the prefabs in Resources\Subfolder. You could get around this by manual allocation but that's not very comfortable on the programming side. A rough outline how to do that is in the included pdf though.
@Tobias helpful thanks
Back to top