コード例 #1
0
ファイル: Level.cs プロジェクト: ProtheanGod/KingMC
 void LoadCoreProps()
 {
     for (int i = 0; i < Props.Length; i++)
     {
         ExtBlock block = ExtBlock.FromIndex(i);
         if (!HasCustomProps(block))
         {
             Props[i] = BlockDefinition.DefaultProps(block);
         }
         else
         {
             Props[i] = BlockProps.MakeDefault();
         }
     }
 }