public void MakeCloseTarget(AControl toClose) { m_closeTarget = toClose; HandlesMouseInput = true; OnMouseClick += onCloseTargetClick; }
public void MakeCloseTarget(Control toClose) { _closeTarget = toClose; this.HandlesMouseInput = true; this.OnMouseClick += onCloseTargetClick; }