//自动调用,请勿使用 public static void Initialize(Game.SubsystemTerrain scTerrain) { terrain = scTerrain; }
public Block(int blockValue, Engine.Vector3 location, Game.SubsystemTerrain terrain) { m_location = location; m_terrain = terrain; m_block = Game.BlocksManager.Blocks[Game.TerrainData.ReplaceLight(blockValue, 0)]; }