OnCollisionEnter2DTransition

It will transition the state when the OnCollisionEnter2D is called.

OnCollisionEnter2DTransition

Properties

Property Name Description
Tag Checker tag check
Field NameDescription
Is Check TagWhether to check the tag.
TagTag to be checked.
Collision 2D Collision2D output.
Next State Transition destination state.
Transition Method : OnCollisionEnter2D

Remarks

Unity 2018.3.0 or later : If you want to output Collision2D, you need to disable “Reuse Collision Callbacks” in Physics2D Settings.