Example #1
0
        public string GetSceneNameSafe(LevelZonesID levelZonesID)
        {
            ConfigurationInherentData.TryGetValue(levelZonesID, out LevelZonesSceneConfigurationData configurationData);
            if (configurationData != null)
            {
                return(configurationData.sceneName);
            }

            return(string.Empty);
        }
Example #2
0
 public List <LevelZoneChunkID> GetLevelHierarchy(LevelZonesID levelZonesID)
 {
     if (!ConfigurationInherentData.ContainsKey(levelZonesID) || ConfigurationInherentData[levelZonesID] == null)
     {
         return(new List <LevelZoneChunkID>());
     }
     else
     {
         return(ConfigurationInherentData[levelZonesID].LevelHierarchy);
     }
 }