Script instantiation for inheritet scripts - Single instance per Project?

Hello scripting experts,

can someone please tell me, how scripts from inheritable projects are instantiated? I thought i would only have one instance in the inheritet project that is shared by all child projects. But that is maybe wrong as a script global variable is not shared between projects.
Is this intentional design? Then i would need to use getGlobals() to store my shared data.

Thanks for any insights!

Resources are effectively “copied” into each child project. Project inheritance doesn’t ‘know’ anything about script lifecycles, and scripting doesn’t ‘know’ anything about whether it’s inherited or not. If you need something global, be explicit and use system.util.getGlobals().

Ok, thank you.