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