Detailed Method Reference
Namespace: Canley.Utility.ColourPicker
Class: CanleyMiniSwatch
ConfirmDelete
public void ConfirmDelete()- Description: Performs the final removal of the swatch. This is called by the “Checkmark” or “Confirm” button within the swatch’s delete overlay.
- Workflow:
- Controller Notification: Tells the
CanleyColourControllerto remove this specific color from the persistentPlayerPrefslist. - Cleanup: Destroys the swatch GameObject and its associated “Click Blocker” to free up memory and UI space.
- Controller Notification: Tells the
- Returns:
void