playMaker

Author Topic: Call Method issue with Line Renderer component  (Read 255 times)

BadgerFarmer

  • Playmaker Newbie
  • *
  • Posts: 11
Call Method issue with Line Renderer component
« on: February 06, 2024, 03:32:06 AM »
Hi,

A little while ago I set up a scene in which the player could draw a line using directional controls. It used a Call Method action on the Line Renderer component of a Line effect to redraw the line after each change.

Now I've returned to it and the Call Method Behaviour is showing as 'None (mono behaviour)'. I can no longer place the Line Renderer in the field.

I originally followed parts of this video to set it up: .

You can see there at time stamp 15.58, he drags the Line Renderer into the FSM state and selects Script Control -> Call Method. But this no longer works for me - the Script Control option doesn't appear. I also can't add a Call Method action and then drag the Line Renderer into it.

The functionality still seems to work with other scripts, so I'm not sure if this is a Playmaker issue. But if anyone has any ideas, let me know. Thanks.