playMaker

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

mitchelq

  • Guest
Fill an array by finding all object of a type
« on: March 24, 2018, 01:13:01 PM »
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