Skip to content

Commit

Permalink
feat; Add StaticConstructorOnStartup for CustomWidgets (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
krafs authored Oct 23, 2022
1 parent 602b2de commit 9fb4f90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/CustomWidgets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace LevelUp;

[StaticConstructorOnStartup]
internal static class CustomWidgets
{
private static readonly Texture2D buttonBGAtlasMouseover = ContentFinder<Texture2D>.Get("UI/Widgets/ButtonBGMouseover");
Expand Down

0 comments on commit 9fb4f90

Please sign in to comment.