playMaker

Author Topic: [SOLVED] Playmaker - scene attribute exposure??  (Read 2627 times)

kinetiknz

  • Junior Playmaker
  • **
  • Posts: 85
[SOLVED] Playmaker - scene attribute exposure??
« on: May 03, 2012, 09:46:06 PM »
Hey, I'm looking/wondering if Playmaker has a way of reflecting all attributes/variables present int he scene, in the same way that uScript does this with reflection.

I am looking to simply animate the FOV for a camera, there is no stock action that does this, Is there a way of accessing/manipulating any attr/var ??
« Last Edit: May 04, 2012, 08:42:07 PM by Alex Chouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Playmaker - scene attribute exposure??
« Reply #1 on: May 03, 2012, 11:53:17 PM »
Yes, check out the Get Property and Set Property actions:
https://hutonggames.fogbugz.com/default.asp?W688

NOTE: The Target Object is any object derived from UnityEngine.Object. So, for example, you can drag any component on a GameObject into that slot and select a property...

kinetiknz

  • Junior Playmaker
  • **
  • Posts: 85
Re: Playmaker - scene attribute exposure??
« Reply #2 on: May 03, 2012, 11:54:55 PM »
Awesome, Thanks Alex.