Пример #1
0
 private void Awake()
 {
     if (instance != null)
     {
         Debug.LogWarning("There is more than one instance of LoadAndSaveData.");
         return;
     }
     instance = this;
 }
Пример #2
0
 private void Awake()
 {
     if (instance != null)
     {
         Debug.LogWarning("il y a plus d'une instance de LoadAndSaveData");
         return;
     }
     instance = this;
 }
Пример #3
0
    public void Awake()
    {
        if (instance)
        {
            Debug.LogWarning("Déjà un LoadAndSaveData");
            return;
        }

        instance = this;
    }