private void HandleDismissOnSelect() { DismissOnSelect dismissableObject = FocusedObject.GetComponent <DismissOnSelect>(); dismissableObject.OnSelect(); _lastPreviewedStickyNote.PlaceOnBoard(); }
private void HandleStickyNoteTap() { StickyNote focusedStickyNote = FocusedObject.GetComponent <StickyNote>(); if (focusedStickyNote != null) { focusedStickyNote.PerformTagAlong(); focusedStickyNote.Duplicate(); focusedStickyNote.PlaceOnBoard(); _lastPreviewedStickyNote = focusedStickyNote; } }