playMaker

Author Topic: Load prefabs to arraylist (from folder in asset)  (Read 3318 times)

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Load prefabs to arraylist (from folder in asset)
« on: October 27, 2016, 01:28:45 PM »
ArrayListAddAllPrefab

Load everything from a folder (must contain only prefabs) from the Assets/Resource/... path

On ecosystem or https://snipt.net/dudebxl/
« Last Edit: October 27, 2016, 01:33:50 PM by dudebxl »

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Load prefabs to arraylist (from folder in asset)
« Reply #1 on: October 27, 2016, 06:41:17 PM »
Very useful- thx :)
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Load prefabs to arraylist (from folder in asset)
« Reply #2 on: October 27, 2016, 10:02:15 PM »
That is super handy! Thanks a ton!

Grzegorz

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Load prefabs to arraylist (from folder in asset)
« Reply #3 on: November 17, 2016, 05:17:46 PM »
Thanks!