Skip to content

Commit

Permalink
[unity] Cosmetic: fixed code formatting of previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
HaraldCsaszar committed Feb 26, 2024
1 parent 580a91d commit 54fac9d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace Spine.Unity.Editor {
/// </summary>
public static class TextureImporterUtility {

private static IEnumerable<string> GetAllPlatforms() {
private static IEnumerable<string> GetAllPlatforms () {
BuildTarget[] buildTargets = (BuildTarget[])Enum.GetValues(typeof(BuildTarget));
var platformNames = buildTargets.Select(x => x.ToString()).ToList();

Expand All @@ -54,7 +54,7 @@ private static IEnumerable<string> GetAllPlatforms() {
/// <param name="disabledPlatforms">A list populated with platforms where overrides were previously enabled and
/// which have now been disabled.</param>
/// <returns>True if an override has been disabled for any platform, false otherwise.</returns>
public static bool DisableOverrides(TextureImporter importer, out List<string> disabledPlatforms) {
public static bool DisableOverrides (TextureImporter importer, out List<string> disabledPlatforms) {
IEnumerable<string> platforms = GetAllPlatforms();
disabledPlatforms = new List<string>();

Expand All @@ -78,7 +78,7 @@ public static bool DisableOverrides(TextureImporter importer, out List<string> d
/// <summary>Enables Texture Import settings platform overrides for given platforms.</summary>
/// <param name="importer">The TextureImporter wrapper of the target texture asset.</param>
/// <param name="platformsToEnable">A list of platforms for which overrides shall be enabled.</param>
public static void EnableOverrides(TextureImporter importer, List<string> platformsToEnable) {
public static void EnableOverrides (TextureImporter importer, List<string> platformsToEnable) {
if (platformsToEnable.Count == 0)
return;

Expand Down

0 comments on commit 54fac9d

Please sign in to comment.