Unity通用泛型单例设计模式(普通型和继承自MonoBehaviour)