Scene ManagementTree Nodesemitemit Description: Emits a global event with the given name and arguments to all listeners registered by node:gslot() function. Signature: emit: function(eventName: string, ...: any) Parameters: ParameterTypeDescriptioneventNamestringThe name of the event to emit.......anyThe data to pass to the global event listeners.