示例#1
0
 public void OnDestroy()
 {
     _handler?.Dispose();
     _handler = null;
     if (_instance == this)
     {
         _instance = null;
     }
 }