Depends on what you exactly want to achieve.
Globals within a type only exist ones within all extended types.
If you want to prevent that more than 1 instance is created, how about a global that saves the single allowed instance?
If a further one should be created just return that already existing one.
There are many ways like that, don't know if this is actually a way for you ...
Globals within a type only exist ones within all extended types.
If you want to prevent that more than 1 instance is created, how about a global that saves the single allowed instance?
If a further one should be created just return that already existing one.
There are many ways like that, don't know if this is actually a way for you ...