Exemplo n.º 1
0
        private void CheckAndLoadOverride(ModuleClass moduleClass)
        {
            var overridePath = Path.Combine(Core.OverrideDirectory, String.Format("{0}_{1}.xml", name, moduleClass.ToString()));

            if (File.Exists(overridePath))
            {
                Debug.LogWarningFormat("Found override for skin \"{0}\" at \"{1}\"", name, overridePath);
                AddModuleAtPath(moduleClass, overridePath);
            }
        }
Exemplo n.º 2
0
 private void CheckAndLoadOverride(ModuleClass moduleClass)
 {
     var overridePath = Path.Combine(Core.OverrideDirectory, String.Format("{0}_{1}.xml", name, moduleClass.ToString()));
     if (File.Exists(overridePath))
     {
         Debug.LogWarningFormat("Found override for skin \"{0}\" at \"{1}\"", name, overridePath);
         AddModuleAtPath(moduleClass, overridePath);
     }
 }