So, i've come to a question which i have yet to answer and it's about updating information to a GUI system.
mainly, I'm hoping to make this system as efficient as possible but without soaking up too many system resources.
I have three different options that are available to me.
first would be to use the "get/set fsm" actions with a "every frame" update... second would be a constant loop... third would be a loop with the "next frame event" action... fourth would be to add in a wait element that updates every X milliseconds...
so, which would be the most efficient and cost-effective way of doing this?
I'm thinking that the Every-frame and Next frame event would be the cleanest since it's firing off every frame but would that not start chugging if there are a lot of actions and FSMs firing off at the same time? the "wait" element would be the most cost-effective i'd think but getting the timing down would be tricky and if the timing is not fast enough, there would be a noticeable amount of lag i'd wager... and the constantly looping set would be the fastest but probably slow the system down...
If you can help me figure out which is the best approach for this, i'd be grateful.
This is for those of us using NGUI and other non-Playmaker-native scripts.