using System; namespace Unity.VisualScripting { #if MODULE_PHYSICS_2D_EXISTS /// /// Called when an incoming collider makes contact with this object's collider. /// public sealed class OnCollisionEnter2D : CollisionEvent2DUnit { public override Type MessageListenerType => typeof(UnityOnCollisionEnter2DMessageListener); protected override string hookName => EventHooks.OnCollisionEnter2D; } #endif }