UI::​Button
UI::​Selectable
UI::​Button

class:/TYPE/UnityEngine.UI.Button//, can be loaded from an assetbundle using UI::Button::createfromassetbundle(bundlename,prefabname) /

Parent

UI::Selectable

Variables
onclick
UnityEngine.UI.Button.ButtonClickedEvent onclick
Functions
onpointerclick
System.Void OnPointerClick(
UnityEngine.EventSystems.PointerEventData eventData
)

UnityEngine.EventSystems.PointerEventData eventData-no documentation

Parameters

eventData -

Returns

System.Void

onsubmit
System.Void OnSubmit(
UnityEngine.EventSystems.BaseEventData eventData
)

UnityEngine.EventSystems.BaseEventData eventData-no documentation

Parameters

eventData -

Returns

System.Void

ui::​button::​fromassetbundle
static UnityEngine.UI.Button CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.UI.Button