Chunk¶
-
class Chunk
¶ -
List<Vector3>
_newVerts
{ }¶
-
List<Vector2>
_newUV
{ }¶
-
List<Color>
_newColors
{ }¶
-
Mesh
_mesh
{ }¶
-
MeshCollider
_col
{ }¶
-
public void
UpdateState
()¶ Lets chunk know it can properly update its state.
-
public void
GenerateBlocks
()¶ Tells chunk to generate its blocks.
-
public void
GenerateMesh
()¶ Tells chunk to generate its mesh.
-
UpdateMesh
()¶ Updates mesh.
-
void
Cube
(Vector2 texturePos)¶
-
List<Vector3>