improve: rename project

This commit is contained in:
h z
2025-02-06 01:30:53 +00:00
parent ed1b01f052
commit dc07ffae51
12 changed files with 10 additions and 71 deletions

View File

@@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis;
namespace Hangman.SDK.Generators;
namespace Polonium.Generators;
[Generator]
public class AssetRegisterGenerator : AssetProcessGenerator
{
@@ -15,11 +15,10 @@ public class AssetRegisterGenerator : AssetProcessGenerator
return;
Compilation compilation = context.Compilation;
StringBuilder sb = new();
sb
.AppendLine("using System;")
.AppendLine("using Godot;")
.AppendLine("using Hangman.SDK.Attributes;")
.AppendLine("using Polonium.Attributes;")
.AppendLine("[AutoRegister]")
.AppendLine("public static class AssetRegister")
.AppendLine("{")
@@ -45,7 +44,6 @@ public class AssetRegisterGenerator : AssetProcessGenerator
);
}
}
sb
.AppendLine(" }")
.AppendLine("}");