"mape" wrote:
"EnTerr" wrote:
Btw, one does not need really to persist the Roku_Ads() result. Calling it repeatedly is "cheap" so just assign it in local variable (e.g. `ads` and not `m.ads`) every time needed.
Really? Sounds good.
But, i think to separate it to the Task will be useful to share it between different Scenes and Players.
That is already done internally, it is being shared every time you call Roku_Ads(). I.e. RAF is already smart and does not create new instances on each invocation. To throw a buzzword, do you know the "signleton pattern"? RAF is a singleton already.