private void Awake() { _voxelRenderer = GetComponent<VoxelModelRenderer>(); _voxelAnimation = GetComponent<VoxelAnimation>(); _voxelData = new VoxelData(); transform.position = new Vector3(-.5f, .5f, -.5f); }
private void Awake() { _voxelRenderer = GetComponent <VoxelModelRenderer>(); _voxelAnimation = GetComponent <VoxelAnimation>(); _voxelData = new VoxelData(); transform.position = new Vector3(-.5f, .5f, -.5f); }