예제 #1
0
 private void Awake()
 {
     IPiece             = PieceFactory.createInstance(type);
     allowedMovesDeltas = IPiece.GetAllowedMoves();
     //FindObjectOfType<GameManager>().AddPiece(this);
 }