コード例 #1
0
 public void Initialize(Vector2Int _pos)
 {
     Initialize();
     Pos = _pos;
     fluidMesh.Initialize();
     transparentMesh.Initialize();
     transform.position = new Vector3(Pos.x * SIZE, 0, Pos.y * SIZE);
     gameObject.name    = "Chunk " + Pos;
 }