public bool Initialize() { if (Instance == null) { Instance = this; _soundDatabase = SoundDatabase.SoundDatabaseHandler; _birdSongs = new Queue <AudioClipUrlPair>(); RefillIfBelowThreshold(); return(true); } else { return(false); } }
public bool Initialize() { if (SoundDatabaseHandler == null) { SoundDatabaseHandler = this; GetAllFilePaths(); DeserializeDatabase(); return(true); } else { return(false); } }