Sets a game object's associated listeners. All listeners that have previously been added via AddListener or set via SetListeners will be removed and replaced with the listeners in the array in_pListenerGameObjs. Calling this function will override the default set of listeners and in_emitterGameObj will now reference its own, unique set of listeners.
- 返回
AK_Success if successful
AK_CommandTooLarge if the number of positions is too large for the command queue. Reduce the number of positions.
- 参见
-
- 参数
-
| in_emitterGameObj | Emitter game object. Must have been previously registered via RegisterGameObj. |
| in_pListenerGameObjs | Array of listener game object IDs that will be activated for in_emitterGameObj. |
| in_uNumListeners | Length of array |