Deactivated User
06/03/2020, 8:58 PMkirillrakhman
06/03/2020, 9:00 PMRishav Sharan
06/03/2020, 9:00 PMDeactivated User
06/03/2020, 9:01 PMI have anblock attached to a view that is being executed on every frame.addFixedUpdater { }
Is there a way to pause that block temporarily?
KorGE Views have a chainableproperty that acts as a multiplier. By default all the views have that property set to 1.0. If you set to 2.0 your blocks will be executed twice the times, while 0.5 make it to be executed half the times.speed
In this case, to prevent the addFixedUpdater to be executed for a View subtree, you can just set theproperty to 0.0.speed
kirillrakhman
06/03/2020, 9:02 PMDeactivated User
06/03/2020, 9:03 PMkirillrakhman
06/03/2020, 9:04 PMDeactivated User
06/03/2020, 9:05 PMkirillrakhman
06/03/2020, 9:08 PM