playMaker

Author Topic: 'Homebrewed' 2D Arrays  (Read 338 times)

stevvers

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
'Homebrewed' 2D Arrays
« on: November 17, 2018, 12:03:54 PM »
Hi guys,

I've put in a feature request to get 2D arrays integrated into the new array variable, but I'm starting to wonder whether I might be able to find a way to do it myself in the interim.

Now that arrays are integrated as a PlayMaker variable, I'm wondering if there's any way I can access a 'hook' to the Object type for FSM Arrays/Variables and use that as my type for the array.

As far as I can tell, the UnityEngine.Object types that can be accessed through PlayMaker are mostly for external Objects, and the PlayMaker ones are either collisions, triggers or UI elements. I see one called PlayMakerGlobals, but it doesn't allow access to variables (unless I'm just not using it correctly).

If I can just find the hook back into the array variable within the PlayMaker system, I should be able to set that as the UnityEngine.Object type in my array, allowing me to 'homebrew' 2D arrays  ;D

Any tips or pointers? I'm actually fairly new to Unity and PlayMaker, returning after a break from developing, so any help would be greatly appreciated!