playMaker

Author Topic: Getting property of a FSM Object Variable [solved]  (Read 2066 times)

pedroathumanspot

  • Playmaker Newbie
  • *
  • Posts: 11
Getting property of a FSM Object Variable [solved]
« on: January 07, 2013, 12:08:30 PM »
Hi all!

In a particular state of my FSM I need to get the property of a (run-time assigned) Variable. The problem is that:

1. The type of FSM Variables I can declare is closed/limited (See: https://hutonggames.fogbugz.com/default.asp?W45);
2. The GetProperty action only accepts UnityEngine.Object types and the only property I can access (on that particular Object Type) is the "name".

Am I missing something here? How could I achieve this?

Thanks in advance.

Cheers.
« Last Edit: January 07, 2013, 12:46:03 PM by pedroathumanspot »

pedroathumanspot

  • Playmaker Newbie
  • *
  • Posts: 11
Re: Getting property of a FSM Object Variable
« Reply #1 on: January 07, 2013, 12:45:32 PM »
I got it now. I didn't notice that you can define the Object Type of a FSM Variable when that Variable is of the type Object. I can now access the desired properties of my Object Variable with GetProperty.