📅  最后修改于: 2022-03-11 14:49:00.636000             🧑  作者: Mango
Unity Monobehavior Lifecycle methods start with a capital and C# methods are case-sensitive.
Therefore, the following methods need to be corrected to be used by Unity:
onTriggerEnter2D => OnTriggerEnter2D