AutoAsparagus.Button.Destroy C# (CSharp) Метод

Destroy() публичный Метод

public Destroy ( ) : void
Результат void
        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);
        }