コード例 #1
0
 public override void Init(IDefinitionManager definitionManager)
 {
     wood  = definitionManager.GetDefinitionIndex <WoodBlockDefinition>();
     leave = definitionManager.GetDefinitionIndex <OrangeLeavesBlockDefinition>();
     water = definitionManager.GetDefinitionIndex <WaterBlockDefinition>();
 }
コード例 #2
0
 public override void Init(IDefinitionManager definitionManager)
 {
     cactus = definitionManager.GetDefinitionIndex <CactusBlockDefinition>();
     water  = definitionManager.GetDefinitionIndex <WaterBlockDefinition>();
 }