public void handleClick(string action) { clickDetector.overlayClicked = true; ClickOptions.clear(); Debug.Log("clicked button: " + action + " parent: " + parentObj); ((clickable)parentObj.gameObject.GetComponent(typeof(clickable))).handleOption(action); }
public static void clearPopUps() { ClickOptions.clear(); }