public override BuffEffect Copy() { ApplyBuffOnTurnStartEffect b = new ApplyBuffOnTurnStartEffect(buffToApply); CopyConditionals(b); return(b); }
public override void InitPanel(BuffEffect e) { this.effect = e as ApplyBuffOnTurnStartEffect; PopulateBuffSelections(effect.buffToApply, dropDown); dropDown.droptDown.onValueChanged.AddListener(delegate { Save(); }); }