Function onUnuse(action: (obj: GameObj, id: string) => void): KEventController Register an event that runs when an object stops using a component. param action - The function that runs when an object stops using a component.param unknown - The id of the component that was removed.dreturns The event controller.since v3001.10group Events