THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/09/2012 at 08:49, xxxxxxxx wrote:
Thanks Spedler and Niklas.
Yes, I meant when loaded into a scene, I should have classified that. That's the problem I ran into Niklas, the Init() was called frequently, thanks for answer.
Edit: I don't want to make a new thread, but i have another question. Are global variables declared within a plugin shared between all instances of that plugin in the same scene? It seems to be that way from what I see. I'm checking if two link fields are filled and if they are I want to grey out a button. If I have two instances of the plugin in the scene and one has an empty field they are both counted as missing one. If that's how global variables are handled is there a way to declare a valuable that all functions in that plugin can access it but each instance of the plugin has there own? I hope that makes sense.