If I have 2 separate contexts is there anyway for me to have Context A, invoke something within Context B's and have it within Context B.
I can get A to call something, that would normally be defined within B, but it executes inside of context A which is worthless to me. I essentially need 2 separate lua scripts that control separate parts of the UI to be able to inform each other of things.
I've tried having the lua script with the update logic listen to the event for the other component of the UI but this doesn't work. My current assumption is a race condition, and I need the other context to execute it's code first. If I could order delegates then this would be acceptable.
I can get A to call something, that would normally be defined within B, but it executes inside of context A which is worthless to me. I essentially need 2 separate lua scripts that control separate parts of the UI to be able to inform each other of things.
I've tried having the lua script with the update logic listen to the event for the other component of the UI but this doesn't work. My current assumption is a race condition, and I need the other context to execute it's code first. If I could order delegates then this would be acceptable.