void OnDestroy()
 {
     if (Main == this)
     {
         Main = null;
     }
 }
 void Awake()
 {
     if (Main == null)
     {
         Main = this;
         DontDestroyOnLoad(this.gameObject);
     }
     else
     {
         Destroy(this.gameObject);
     }
 }