Exemple #1
0
 public BlockDefinition()
 {
     this.texture = new TextureAsset($"Textures/Blocks/{this.Identifier}", $"{this.Identifier}");
 }
Exemple #2
0
 public static void RegisterTexture(string key, TextureAsset texture)
 {
     TextureManager.Textures.Add(key, texture);
 }