VoxelBuildData.cs 401 B

123456789101112131415161718
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace KairoEngine.VoxelBuildingSystem
  5. {
  6. public struct VoxelBuildData
  7. {
  8. public Vector3Int pos;
  9. public int buildingIndex;
  10. public VoxelBuildData(Vector3Int pos, int buildingIndex = 0)
  11. {
  12. this.pos = pos;
  13. this.buildingIndex = buildingIndex;
  14. }
  15. }
  16. }