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:
    1. Controller Notification: Tells the CanleyColourController to remove this specific color from the persistent PlayerPrefs list.
    2. Cleanup: Destroys the swatch GameObject and its associated “Click Blocker” to free up memory and UI space.
  • Returns: void