// Assets/_Project/Scripts/Gameplay/BuilderEffects/GoldPerKillEffectDefinition.cs using UnityEngine; using TD.Core; namespace TD.Gameplay.BuilderEffects { /// /// Builder effect #1 — every tower the player owns yields extra gold per kill. /// Read by , which /// queries when awarding kill gold. /// [CreateAssetMenu(fileName = "GoldPerKillEffect", menuName = "TD/Builder Effects/Gold Per Kill")] public class GoldPerKillEffectDefinition : BuilderEffectDefinition { public override BuilderEffectKind Kind => BuilderEffectKind.GoldPerKill; [Tooltip("Flat bonus gold awarded on top of the normal kill reward, for every kill by " + "any of this player's towers.")] [Min(0)] public int BonusGoldPerKill = 1; } }