|
could someone please explain to me how to use other objects in other scenes in a script? All Help is GREATLY appreciated! Thanks!
(comments are locked)
|
|
I have been using the Resources.Load method. You will need to make a new folder called Resources and put any assets or prefabs in this folder. You can then programmatically load these items using Resources.Load("myItem"). Take a look at the documentation here:- http://unity3d.com/support/documentation/ScriptReference/Resources.Load.html Good luck! Dave
(comments are locked)
|
|
You can't use objects that don't exist in your scene unless you load them into your current scene. You can do this by either making a prefab and instantiating them or load the scene additively.
(comments are locked)
|
