playMaker

Author Topic: SetPlayableDirectorGenericBinding force stay in state after done its job.  (Read 1142 times)

Hayato

  • Playmaker Newbie
  • *
  • Posts: 36
Timeline action from ecosystem "SetPlayableDirectorGenericBinding" seem don't have a Finish so will hold state after done its job , I try to add Finish(); in line 60 that can resolve the problem but I'm not sure if I did it right.
https://github.com/PlayMakerEcosystem/PlayMakerCustomActions_U2019/blob/master/Assets/PlayMaker%20Custom%20Actions/Timeline/SetPlayableDirectorGenericBinding.cs


djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7621
    • jinxtergames
Re: SetPlayableDirectorGenericBinding force stay in state after done its job.
« Reply #1 on: September 29, 2023, 06:30:55 AM »
Hi.
Yes action need a 'Finish()' to be completed.

its best to have a look to some existing actions to understand how they work,
actions that use every frame for example and actions with events (for example Bool test)
 

Hayato

  • Playmaker Newbie
  • *
  • Posts: 36
Re: SetPlayableDirectorGenericBinding force stay in state after done its job.
« Reply #2 on: September 29, 2023, 11:39:54 AM »
Hi.
Yes action need a 'Finish()' to be completed.

its best to have a look to some existing actions to understand how they work,
actions that use every frame for example and actions with events (for example Bool test)

Thank you for the quick answer .
I'm not familiar with programing and just look at other actions to guess it may lack a Finish(); , thank you for confirm my hypothesis .

And hope someone can help correct the SetPlayableDirectorGenericBinding action make it work well for every user download from ecosystem. :)