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
»
Add objects to array with script in editor (not during runtime)
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Add objects to array with script in editor (not during runtime) (Read 983 times)
kepesh
Playmaker Newbie
Posts: 5
Add objects to array with script in editor (not during runtime)
«
on:
July 13, 2019, 01:39:41 PM »
Hi,
Can I add items to a playmaker array without being in game mode using a custom script somehow?
I have a lot of game objects that would be slow to add during runtime which I want to add automatically to an array somehow.
Also, is the arrays in playmaker using Unity's own array system? Which is faster than an array list?
Thanks!
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: Add objects to array with script in editor (not during runtime)
«
Reply #1 on:
July 14, 2019, 07:47:30 AM »
Hi.
Playmaker Built in arrays is using unity's array.
Array List (Array Maker) i believe uses Lists, which are more flexible than arrays.
I am actually working on an asset that will have tools for Playmaker, including auto placing objects to array's and array lists.
If you want you can get beta access, as i need some testers.
Pm me if you want to have beta access (other people that wish to join can pm me as well)
Logged
Join the PlayMaker Discord Channel!
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Add objects to array with script in editor (not during runtime)
«
Reply #2 on:
July 15, 2019, 03:21:39 AM »
Hi,
PlayMaker only runs logic during gameplay, so adding values to arrays during editing, can only be done manually, or via a editor script.
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Add objects to array with script in editor (not during runtime)