Exemple #1
0
 private void OnMouseDown()
 {
     if (!placed)
     {
         OnClickPiece?.Invoke(getName());
     }
 }
Exemple #2
0
    private void OnMouseDown()
    {
        if (!IsClickable)
        {
            return;
        }

        if (!placed)
        {
            OnClickPiece?.Invoke(getName());
        }
    }