playMaker

Author Topic: Fill an array by finding all object of a type  (Read 629 times)

mitchelq

  • Playmaker Newbie
  • *
  • Posts: 27
    • View Profile
Fill an array by finding all object of a type
« on: March 24, 2018, 10:13:01 AM »
Hello,

How can I add all objects that have a certain script on it to an array within playmaker?

I want to do this, but then in Playmaker:

       var playerTurnControllers = FindObjectsOfType<PlayerTurnController>();

Thanks,

Mitchel