onUse(action: (obj: GameObj , id: string )=>void ): KEventController
Register an event that runs when an object starts using a component.
paramaction- The function that runs when an object starts using component.
paramunknown- The id of the component that was added.
returnsThe event controller.
sincev3001.10
groupEvents