public static void class2() { Jewel jwl = new Jewel(); string value = string.Format("{0:n0}", jwl.getCashValue()); Debug.Log($"This {jwl.getDiscript()} Jewel is worth ... $" + value); }
public static void class1() { Jewel jwl = new Jewel(jColor.Ruby, jSize.Medium, jRarity.Uncommon); string value = string.Format("{0:n0}", jwl.getCashValue()); Debug.Log($"This {jwl.getDiscript()} Jewel is worth ... $" + value); }