Hi all,
how would I manage to let two different extensions (A
and B
) talk to each other? I would like to use the member function foo
of extension A
from within function bar
in extension B
. How would I do that? To be specific, I would like to access the already running instance of Extension A
. I don’t want to create a new instance of A
.
Example / more details:
Extension A:
- can spawn prims on the stage.
- maintains a list of all the prims that were created with Extension
A
. -
foo
: using that list, ExtensionA
can delete all the prims, that it once spawned on the stage.
Extension B:
-
bar
: needs call thefoo
function ofA
so that all the prims are deleted that were created by the running instance of ExtensionA
.
Cheers
Markus