Exemple #1
0
 private void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     misionsPerWorld = XMLManager.LoadData <List <List <MisionInfo> > >(XMLManager.MISIONS_FOLDER_NAME + XMLManager.MISIONS_FILE_NAME);
 }
Exemple #2
0
    void Awake()
    {
        if (instance != this && instance != null)
        {
            Destroy(this);
        }

        instance = this;
    }