void Start() { //PlayerData ex = PlayerData.GetExample(); //List<PlayerData> listEx = new List<PlayerData>(); //listEx.Add( ex ); //string json = SerializationUtils.Serialize( ex ); //Debug.Log( json ); AbilityData test = IDL_Abilities.GetData("Blessing_Regen"); Debug.Log(test.Name); }
public List <AbilityData> GetAbilities() { List <AbilityData> listAbilities = new List <AbilityData>(); // get the ability for each key in our list of abilities foreach (string strAbilityKey in Abilities) { AbilityData ability = IDL_Abilities.GetData(strAbilityKey); listAbilities.Add(ability); } return(listAbilities); }