public BlockData Find(BlockType type) { BlockData ret; if (!_dataDic.TryGetValue(type, out ret)) { Debug.LogError("key " + type + " not exists."); return null; } return ret; }