private static void LoadFromDivine(string textureKey, string divineTexture) { if (!File.Exists(divineTexture)) { textureManager.LoadFromResource(textureKey, "Resources.Empty.png"); return; } textureManager.LoadFromFile(textureKey, divineTexture); }
private static void LoadFromDivine(string textureKey, string divineTexture) { if (!File.Exists(divineTexture)) { textureManager.LoadFromResource(textureKey, "Resources.Empty.png"); return; } textureManager.LoadFromFile(textureKey, divineTexture); }