コード例 #1
0
 public Voxel(Vector3Int position, Vector3Int size, BlockTextures textures, Vector3 rotation)
 {
     this.position = position;
     this.textures = textures;
     this.size     = size;
     this.rotation = rotation;
 }
コード例 #2
0
 public Voxel(Vector3Int position, Vector3Int size, BlockTextures textures)
 {
     this.position = position;
     this.textures = textures;
     this.size     = size;
     rotation      = Vector3.Zero;
 }