コード例 #1
0
        public static FighterObject GenerateItem(FighterObject selectedItem)
        {
            var generatedItem = CreateInstance <FighterObject>();

            generatedItem.Init(selectedItem);
            return(generatedItem);
        }
コード例 #2
0
 private void Init(FighterObject fighter)
 {
     data             = FighterData.Clone(fighter.data);
     fighterDropTable = fighter.fighterDropTable;
     fighterDropTable.ValidateTable();
 }