playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Array List add all the prefab Help [SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Array List add all the prefab Help [SOLVED] (Read 1484 times)
midgear
Playmaker Newbie
Posts: 13
Yeah How bout that?
Array List add all the prefab Help [SOLVED]
«
on:
October 12, 2019, 06:52:55 AM »
I'm having problems with "ArrayList - add all the prefab" I attached some images of what I have on my Game Object. If someone could tell me what I'm doing wrong that would be extremely helpful.
«
Last Edit: October 12, 2019, 08:56:51 PM by midgear
»
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: Array List add all the prefab Help
«
Reply #1 on:
October 12, 2019, 07:42:43 AM »
Hi.
Try placing the prefabs in a subfolder inside Resources.
For example Resources/PrefabList then on Asset path place the text 'PrefabList'
if you have for example Resources/Player/PrefabList then on Asset path place the text 'Player/PrefabList'
On Play Maker Array List Proxy (script)
you need to place a reference.
The Reference name should match with the action.
So on the action you have 'ResourcesArray'
Place the same name in the Reference on the Play Maker Array List Proxy (script) component.
Logged
Join the PlayMaker Discord Channel!
midgear
Playmaker Newbie
Posts: 13
Yeah How bout that?
Re: Array List add all the prefab Help
«
Reply #2 on:
October 12, 2019, 12:13:44 PM »
So progress was made, I did what you said and the prefabs from the resource folder are showing up on the "Play Maker Array List Proxy (script)" on the game object, but not on the array named "ResourcesArray" in the playmaker FSM.
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: Array List add all the prefab Help
«
Reply #3 on:
October 12, 2019, 04:48:09 PM »
Hi.
'Array' and 'Array List' are 2 different things.
you can access the array list proxy, (which now hold the objects)
by using array list actions.
Logged
Join the PlayMaker Discord Channel!
midgear
Playmaker Newbie
Posts: 13
Yeah How bout that?
Re: Array List add all the prefab Help
«
Reply #4 on:
October 12, 2019, 08:56:21 PM »
Ah, I was being dumb that did it thank you!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Array List add all the prefab Help [SOLVED]