Advertisement
Guest User

Chunk.cs

a guest
Apr 11th, 2015
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.41 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Collections.Generic; // For List class;
  4.  
  5. public class Chunk
  6. {
  7.    
  8.     // Size of the Chunk
  9.     public int sizeX = 50;
  10.     public int sizeY = 10;
  11.     public int sizeZ = 50;
  12.    
  13.     // Declare the 3D block Array
  14.     public int[,,] blocksArray;
  15.    
  16.    
  17.     // Initialize the block array
  18.     public void Initialize ()
  19.     {
  20.         blocksArray = new int[sizeX, sizeY, sizeZ];
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement