I know this is an old thread but for anyone trying to do a similar thing who isn't up to building meshes in script you can just create a cube prefab and instantiate the whole cube in whenever a block is cleared.
Of course it will be less efficient since you'll have the whole cube even when some of the faces are hidden, but it's a simpler method and will allow you to move onto mesh building later once you've made some progress.
↧