Esempio n. 1
0
 // calls parent to create block by player with position and CubeType
 public void CreateBlock(string sideTag, CubeType cubeType)
 {
     cubeParent.CreateCube(this, transform.position + sideOffset[sideTag], cubeType);
 }