Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        int row    = ChessHelper.GetRow(gameObject.transform.parent.gameObject);
        int column = transform.GetSiblingIndex() + 1;

        position = new Vector2(column, row);
    }