Playmaker Forum
PlayMaker Feedback => Feature Requests => Topic started by: human890209 on February 15, 2017, 04:15:09 AM
-
When designing a big graph especially with iterations, there are too many lines. I used GoToStateByName Action to build 2StateEnd "remote lines". But the Action consumes Performance so I delete them and use normal lines to connect which make the graph messy.
But I truly need some similar States to do the "Remote Line" which can make the Graph easy to use. :D
-
Hi,
-- What makes you conclude that it consumes perfs?
-- use send event using local event, you can navigate within an Fsm this way, have a global transition on top of states you want to go to each with its own local event.
Bye,
Jean
-
Hi,
Will the GoToEventByName causes GC (cause Name is string :P) or Finding Expense (Something expensive like finding Game object by name ???)
Is this kind of connection done by Editor UI much faster and safer? :)
-
Hi,
I am not sure what is your approach of this, what is the problem on your end? What makes you think there are performances issues here?
- no gc for using a string in an action no.
- connection is done viy the editor UI and then hooked up programmatically at runtime.
Bye,
Jean
-
Hi,
Thanks! So I can use GoToNamedState Action to do that. :D
-
Hi,
Yes.
Bye,
Jean