示例#1
0
 private void OnDestroy()
 {
     _instance = null;
 }
示例#2
0
 private void Awake()
 {
     _instance = this;
     DontDestroyOnLoad(gameObject);
     Init();
 }