예제 #1
0
    public Block GetBlockAtPosition(Vector3Int pos)
    {
        WorldChunk chunk = GetNearestChunk(pos);

        if (chunk == null)
        {
            return(null);
        }
        return(chunk.GetBlockAtPosition(pos));
    }