Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: LeDisciple on February 25, 2019, 09:12:12 PM
-
Hi,
I don't understand how to figure the "ArrayList add all the prefab" script from ecosystem... I try to load all my images(converted to prefab of course) from a folder to an arraylist but without success... I don't want to use a prefilled data like I do with my other project...
-
Hi,
It's because you need to have your assets in a Resources folder, it's a special kind of folder inside your Unity Assets.
https://docs.unity3d.com/Manual/LoadingResourcesatRuntime.html
Bye,
Jean
-
Thanks, I thought that the path of the "Resources" folder was any folder... ::)
-
Does this only work with Array Maker or is there something similar but for default playmaker arrays?
Edit: I think this is the equivalent to Resources Load All which uses default arrays. :)