private void CancelOperation() { if (currentPrefab != null) { Destroy(currentPrefab); currentPrefab = null; } currentMouseMode = MouseMode.SELECTING; updater.HideHint(); }