Function
onUntag
(action: (obj: GameObj, tag: string) => void): KEventControllerRegister an event that runs when an object loses a tag.
param action- The function that runs when the event happens.
onUnuse((obj, tag) => {
debug.log(`A tag ${tag} was removed from the object ${obj.id}`);
}); returns The event controller.
since v3001.1
group Events