protected override void OnDisable()
 {
     if (instance == this)
     {
         instance = null;
     }
 }
 protected override void OnEnable()
 {
     instance = this;
 }