public void Destroy()
{
detachEventHandler(types.button.onClickEvent, realClickHandler, realButton);
detachEventHandler(types.button.onMouseEnterEvent, realMouseEnterHandler, realButton);
detachEventHandler(types.button.onMouseLeaveEvent, realMouseLeaveHandler, realButton);
types.button.destroyMethod.Invoke(realButton, null);
}