コード例 #1
0
 //自动调用,请勿使用
 public static void Initialize(Game.SubsystemTerrain scTerrain)
 {
     terrain = scTerrain;
 }
コード例 #2
0
 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)];
 }