public PieceType pType;// { get; set; } void Awake() { startingCircle = FindObjectOfType <StartingSpace>(); pType = (PieceType)(byte)Convert.ToInt32(name.Substring(name.Length - 4, 4), 2); }
void Awake() { ss = this; HasPiece = false; }