A game about forced loneliness, made by TACStudios
1namespace Unity.VisualScripting
2{
3 [Plugin(BoltState.ID)]
4 public sealed class BoltStateResources : PluginResources
5 {
6 private BoltStateResources(BoltState plugin) : base(plugin)
7 {
8 icons = new Icons(this);
9 }
10
11 public Icons icons { get; private set; }
12
13 public override void LateInitialize()
14 {
15 icons.Load();
16 }
17
18 public class Icons
19 {
20 public Icons(BoltStateResources resources)
21 {
22 this.resources = resources;
23 }
24
25 private readonly BoltStateResources resources;
26 public EditorTexture graph { get; private set; }
27 public EditorTexture state { get; private set; }
28
29 public void Load()
30 {
31 graph = typeof(StateGraph).Icon();
32 state = typeof(State).Icon();
33 }
34 }
35 }
36}