void OnEnable() { titleStyle.alignment = TextAnchor.MiddleCenter; titleStyle.normal.textColor = Color.black; titleStyle.fontSize = 16; monobehaviour = target as CharacterAbility; }
void RunAbility(CharacterAbility ability, float dt) { if (!ability.isEnabled) { return; } ability.Process(dt); }