Hey all,
So I've been having issues with some calls.
For example, I see GetSdkInstance(); under behavior instance, in the manual, but when I call the function,
this.GetSdkInstance();
it doesn't work
I have to do:
this._inst.GetSdkInstance();
I know _inst is supposed to be private, but I get an error when I do:
this.GetInstance().GetSdkInstance();
In both cases the error listed in the console is that there are no functions found.
It must be said, I am a complete moron with js coming from c++ and c#, so this might be a simple noob mistake. is it supposed to be "self.whatever..." instead of this?
Also, when making a call during the constructor, I get null for some of those. I expect that is because the order of initialization isn't guaranteed? But is there a place to call such things during creation that would be good for creating dependencies?
Thanks a bunch!