Skip to content

Instantly share code, notes, and snippets.

View coty-crg's full-sized avatar

Coty Getzelman coty-crg

View GitHub Profile
@coty-crg
coty-crg / MagicaVoxelFormatHelper.cs
Last active February 18, 2020 22:33
Helper script for importing magicavoxel files into c#
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
[System.Serializable]
public class MagicaVoxelModel_PACK : MagicaVoxelChunk
{
public int numModels; // num of SIZE and SYZI chunks