BoxCharacterBody2D.

OnCollisionEnter2D(Collision2D) Method

Syntax

protected virtual void OnCollisionEnter2D(Collision2D collision)

Parameters

Name Type Description
collision Collision2D

Return Value

Type Description
void