📜  统一声明如何 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:02.651000             🧑  作者: Mango

代码示例1
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