Skip to content

Commit

Permalink
chore: add UIComponents using statement to EffectAugmentGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
jonisavo committed Oct 23, 2022
1 parent 8ad91da commit 11a52fc
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
//HintName: PriorityEffectComponent.Effects.g.cs
//HintName: PriorityEffectComponent.Effects.g.cs
// <auto-generated>
// This file has been generated automatically by UIComponents.Roslyn.
// Do not attempt to modify it. Any changes will be overridden during compilation.
// </auto-generated>

using System;
using UIComponents;
using System.CodeDom.Compiler;
using UnityEngine.UIElements;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
//HintName: BasicEffectComponent.Effects.g.cs
//HintName: BasicEffectComponent.Effects.g.cs
// <auto-generated>
// This file has been generated automatically by UIComponents.Roslyn.
// Do not attempt to modify it. Any changes will be overridden during compilation.
// </auto-generated>

using System;
using UIComponents;
using System.CodeDom.Compiler;
using UnityEngine.UIElements;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
//HintName: BaseEffectComponent.Effects.g.cs
//HintName: BaseEffectComponent.Effects.g.cs
// <auto-generated>
// This file has been generated automatically by UIComponents.Roslyn.
// Do not attempt to modify it. Any changes will be overridden during compilation.
// </auto-generated>

using System;
using UIComponents;
using System.CodeDom.Compiler;
using UnityEngine.UIElements;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
//HintName: SecondSubclassEffectComponent.Effects.g.cs
//HintName: SecondSubclassEffectComponent.Effects.g.cs
// <auto-generated>
// This file has been generated automatically by UIComponents.Roslyn.
// Do not attempt to modify it. Any changes will be overridden during compilation.
// </auto-generated>

using System;
using UIComponents;
using System.CodeDom.Compiler;
using UnityEngine.UIElements;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
//HintName: SubclassEffectComponent.Effects.g.cs
//HintName: SubclassEffectComponent.Effects.g.cs
// <auto-generated>
// This file has been generated automatically by UIComponents.Roslyn.
// Do not attempt to modify it. Any changes will be overridden during compilation.
// </auto-generated>

using System;
using UIComponents;
using System.CodeDom.Compiler;
using UnityEngine.UIElements;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ protected override bool ShouldGenerateSource(AugmentGenerationContext context)
protected override void BuildUsingStatements(StringBuilder stringBuilder)
{
stringBuilder.AppendLine("using System;");
stringBuilder.AppendLine("using UIComponents;");
base.BuildUsingStatements(stringBuilder);
}

Expand Down

0 comments on commit 11a52fc

Please sign in to comment.