23 lines
633 B
C#
23 lines
633 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "hero_growth_rules", menuName = "SO_Data/Hero Growth Rules")]
|
|
public class HeroGrowthRulesSO : ScriptableObject
|
|
{
|
|
[System.Serializable]
|
|
public class MaterialRequirement
|
|
{
|
|
public DushMaterialKind materialKind;
|
|
public int amount;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class BreakthroughRule
|
|
{
|
|
public HeroGrowthTier fromTier;
|
|
public List<MaterialRequirement> requirements = new List<MaterialRequirement>();
|
|
}
|
|
|
|
public List<BreakthroughRule> breakthroughRules = new List<BreakthroughRule>();
|
|
}
|