Exemplo n.º 1
0
    public override void ActionOnSelect()
    {
        base.ActionOnSelect();

        if (chessboardManager.localUser == null)
        {
            chessboardManager.GetLocalUser();
        }
        //if (chessboardManager.currentTurn != chessboardManager.localUser.GetComponent<UserController>().playerNum) return;
        //send the gameobject information i.e the type of gameobject selected 'tile'
        chessboardManager.SelectPosition("t", properties.id);
    }