playMaker

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

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Load prefabs to arraylist (from folder in asset)
« on: October 27, 2016, 10:28:45 AM »
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, 10:33:50 AM by dudebxl »

mdotstrange

  • Hero Member
  • *****
  • Posts: 549
    • View Profile
    • Can't code? Who cares! Make games anyway!
Re: Load prefabs to arraylist (from folder in asset)
« Reply #1 on: October 27, 2016, 03: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: 673
    • View Profile
    • Assets
Re: Load prefabs to arraylist (from folder in asset)
« Reply #2 on: October 27, 2016, 07:02:15 PM »
That is super handy! Thanks a ton!

Grzegorz

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