Docs.unity3d.com

Scripting API: MonoBehaviour.OnTriggerEnter2D(Collider2D)

WebThe following two script examples create an OnTriggerEnter2D demo. Example1 generates a Unity logo sprite, GameObject1. This sprite is collided with by the Example2 sprite, …

Actived: 6 days ago

URL: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerEnter2D.html

Scripting API: MonoBehaviour.OnParticleCollision(GameObject)

WebOnParticleCollision is called when a particle hits a Collider. This can be used to apply damage to a GameObject when hit by particles. This message is sent to scripts attached …

Category:  Health Go Health