Наследование: UnityEngine.MonoBehaviour
 void Awake()
 {
     if(Instance)
     {
         Destroy(this);
     }
     else
     {
         Instance = this;
     }
 }
 void Awake()
 {
     if (Instance)
     {
         Destroy(this);
     }
     else
     {
         Instance = this;
     }
 }