Skip to content

format

typescript
Collision.gameObject

class: Collision

description

(Read Only) The game objects involved in the current collision event.

parameter

param_nametypedescription

reture

typedescription
GameObjectThe game objects involved in the collision.

code example