Magically import images and more into Gamecraft as blocks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
501B

  1. using System;
  2. using Unity.Mathematics;
  3. using GamecraftModdingAPI.Blocks;
  4. namespace Pixi.Robots
  5. {
  6. public struct CubeInfo
  7. {
  8. // you can't inherit from structs in C#...
  9. // this is an extension of BlockInfo
  10. public BlockIDs block;
  11. public BlockColors color;
  12. public byte darkness;
  13. public bool visible;
  14. // additions
  15. public float3 rotation;
  16. public float3 position;
  17. public float3 scale;
  18. public string name;
  19. public uint cubeId;
  20. }
  21. }