MCPcopy Create free account
hub / github.com/galacean/engine / onPointerClick

Method onPointerClick

packages/core/src/Script.ts:137–137  ·  view source on GitHub ↗

* Called when the pointer is down and up with the same collider. * @param eventData - The pointer event data that triggered this callback

(eventData: PointerEventData)

Source from the content-addressed store, hash-verified

135 * @param eventData - The pointer event data that triggered this callback
136 */
137 onPointerClick(eventData: PointerEventData): void {}
138
139 /**
140 * Called when the pointer enters the ColliderShape.

Callers 1

_fireClickFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected