void Update() { if (fieldIndex >= 8) { field.interactable = false; colorSelector.canAddColorToCalendar = false; return; } if (colorSelector.BeingHeld()) { holdDuration += Time.deltaTime; if (holdDuration > holdThreshold) { field.interactable = true; } } else { field.interactable = false; } }