void Start()
        {
            voxelTerrain = GameObject.Find("VoxelTerrain").GetComponent <VoxelTerrain>();
            chunks       = transform.Find("Chunks");

            savePath     = GameConfig.Instance.GetSavePath();
            saveFilename = string.Format("{0}/{1}.bin", savePath, filename);
        }
示例#2
0
 void Start()
 {
     voxelTerrain = GameObject.Find("VoxelTerrain").GetComponent <VoxelTerrain>();
 }