养成基本完毕,新UI,修bug,装备初步,
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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>();
|
||||
}
|
||||
Reference in New Issue
Block a user