playMaker

Author Topic: Sunshafts Script issue  (Read 1735 times)

QFGlenn

  • Playmaker Newbie
  • *
  • Posts: 30
Sunshafts Script issue
« on: September 11, 2015, 05:11:33 PM »
Hi. I'm trying to decide whether this issue is because of Playmaker or not. But I assign the sun shafts post effect to a camera.

The camera spawns before the environment, which contains the directional light I want to assign the script to.

So after the environment loads, playmaker finds the gameobject. I want to assign it to the script so I drag it into the actions window and there is no gameobject input. They do have sunTransform, (A UnityEngine.Transform Object) and when I try to assign it and run it in the editor I notice the target on the scripts doesn't change when the action fires.

So am I doing something wrong?