private void CloneMembers(ConsumableComponent original)
 {
     Effect   = original.Effect;
     Potency  = original.Potency;
     Duration = original.Duration;
     useCount = original.useCount;
 }
        public void TestConsumeModifiesStrength(int value, int expectedResult)
        {
            RPGStatsComponent   stats      = character.GetComponent <RPGStatsComponent>();
            ConsumableComponent consumable = new ConsumableComponent(RPGStatsComponent.StatsEffect.StrengthModifier, value);

            stats.Consume(consumable);

            Assert.AreEqual(expectedResult, stats.Strength);
        }
 private ConsumableComponent(ConsumableComponent original)
 {
     CloneMembers(original);
 }