Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Silicon Power on November 14, 2019, 07:42:30 AM
-
Hi. I want to know which is better for a better performance? Enabling every frame or using a wait action too loop every 1 second?
-
Checking once a second is better for performance than checking 60 times per second, but it might depend on what precisely is set on every frame. Generally, be mindful of performance, but don’t worry too much at the beginning.
-
Just to add on to that. Wait actions also run on the update loop. The wait action also checks a float during that update. So if the everyframe action is just checking a bool, int, float, etc, it would be the defacto the same.
Agreed, worry not, unless you have 1000 fsm doing this :)
-
Thanks for help.