void InspectAuraTemplate(string label, ref AuraTemplate template) { template = ScriptableObjectEditorUtil.ToggleAddRemoveScriptableObject(label, target, template); if (template != null) { ++EditorGUI.indentLevel; // TODO //InspectSpellEffects(spellEffects); --EditorGUI.indentLevel; } }
void Awake() { Auras = new Dictionary<string, Aura>(); Auras["test"] = new AuraTemplate("test"); Auras["heal"] = new Heal("heal"); Auras["Corruption"] = new Corruption("Corruption"); Auras["BlessingOfMight"] = new BlessingOfMight("Blessing of Might"); Auras["shadowStun"] = new Shadowstun("shadowStun"); Auras["root"] = new Root("root"); Auras["slow"] = new Slow("slow"); Auras["dervishslow"] = new DervishSlow("dervishslow"); Auras["chaosbarrage"] = new chaosbarrage("chaosbarrage"); Auras["fireballbarrage"] = new fireballbarrage("fireballbarrage"); }