Tip: ExtendedActivateTrigger

marcosecchi Unity3D 0 Comments

Below you can find a simple add-on to the Unity ActivateTrigger in the Standard Assets, made for my students at NABA (who know almost nothing about scripting).

The main reason I wrote it was to let them enable od disable a Fungus Flowchart during the OnCollisionEnter and OnCollisionExit callbacks. It is also possible to filter the entering (or exiting) gameobject using its tag name.