void OnDisable()//禁用时
 {
     PersistentDataManager.UnregisterPersister(this);
     //缓存此时的游戏数据
     //https://www.dazhuanlan.com/2019/11/22/5dd6c9509fefd/
 }
 void OnDisable()
 {
     PersistentDataManager.UnregisterPersister(this);
 }