Register an event that runs every frame when 2 game objs with certain tags collides (required to have area() component).
param t1- The tag of the first game obj.
param t2- The tag of the second game obj.
param action- The function to run when the event is triggered.
onCollideUpdate("sun", "earth", () => {
debug.log("okay this is so hot");
})l
returns The event controller.
since v3000.0
group Events