using System.Collections; using System.Collections.Generic; using UnityEngine; public class Dice { public enum DiceR { Four, Six, Eight, Ten, Twelve, Twenty, Hundred } public int Sides { get; private set; } protected Dice(int sides) { this.Sides = sides; } public override string ToString() { return $"D{this.Sides}"; } }