cirosantilli-china
It would be less verbose if I could do just:
otherNode->SendEvent("eventName");
but still be able to access otherNode
on the handler.
Is there a way?
It would be less verbose if I could do just:
otherNode->SendEvent("eventName");
but still be able to access otherNode
on the handler.
Is there a way?
Pretty sure it’s available from the Context (GetEventSender()
, I think, though I’m not at my computer now to check).
Thanks Nate. The method is on Object
, and so present in almost all classes that will handle events.