📅  最后修改于: 2022-03-11 14:55:02.651000             🧑  作者: Mango
If you're wondering how to make custom "On" statements like OnTriggerEnter
they are called messages, and this is the way of doing it in unity atleast
https://docs.unity3d.com/ScriptReference/Component.SendMessage.html