Collision2D

Class Name Description
OnCollisionEnter2DDestroy When OnCollisionEnter2D is called, it will destroy an opponent GameObject.
OnCollisionEnter2DStore When OnCollisionEnter2D is called, it will store an opponent GameObject to the parameter.
OnCollisionExit2DDestroy When OnCollisionExit2D is called, it will destroy an opponent GameObject.
OnCollisionExit2DStore When OnCollisionExit2D is called, it will store an opponent GameObject to the parameter.
OnTriggerEnter2DDestroy When OnTriggerEnter2D is called, it will destroy an opponent GameObject.
OnTriggerEnter2DStore When OnTriggerEnter2D is called, it will store an opponent GameObject to the parameter.
OnTriggerExit2DDestroy When OnTriggerExit2D is called, it will destroy an opponent GameObject.
OnTriggerExit2DStore When OnTriggerExit2D is called, it will store an opponent GameObject to the parameter.