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