private void HandleDismissOnSelect()
    {
        DismissOnSelect dismissableObject = FocusedObject.GetComponent <DismissOnSelect>();

        dismissableObject.OnSelect();
        _lastPreviewedStickyNote.PlaceOnBoard();
    }
Example #2
0
    private void HandleStickyNoteTap()
    {
        StickyNote focusedStickyNote = FocusedObject.GetComponent <StickyNote>();

        if (focusedStickyNote != null)
        {
            focusedStickyNote.PerformTagAlong();
            focusedStickyNote.Duplicate();
            focusedStickyNote.PlaceOnBoard();
            _lastPreviewedStickyNote = focusedStickyNote;
        }
    }