/// <summary> /// Called by the Clickable2D object when it is clicked. /// </summary> public virtual void OnObjectClicked(Clickable2D clickableObject) { if (clickableObject == this.clickableObject) { StartCoroutine(DoExecuteBlock(waitFrames)); } }
public virtual void OnObjectClicked(Clickable2D clickableObject) { if (clickableObject == this.clickableObject) { ExecuteBlock(); } }
public ObjectClickedEvent(Clickable2D clickableObject) { ClickableObject = clickableObject; }