最简版 (1)继承自MonoBehaviour,需要挂载到物体上 (2)不需要继承自MonoBehaviour 调用 常用单例(不基于MonoBehaviour) 先写一个基类 在写PlayerManager 调用