public virtual void OnCancel(BaseEventData eventData) { TMP_Dropdown dropdown = GetComponentInParent <TMP_Dropdown>(); if (dropdown) { dropdown.Hide(); } }
public virtual void OnCancel(BaseEventData eventData) { TMP_Dropdown componentInParent = GetComponentInParent <TMP_Dropdown>(); if ((bool)(UnityEngine.Object)(object) componentInParent) { componentInParent.Hide(); } }
public virtual void OnCancel(BaseEventData eventData) { TMP_Dropdown componentInParent = base.GetComponentInParent <TMP_Dropdown>(); if (componentInParent) { componentInParent.Hide(); } }
static int Hide(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); TMPro.TMP_Dropdown obj = (TMPro.TMP_Dropdown)ToLua.CheckObject <TMPro.TMP_Dropdown>(L, 1); obj.Hide(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }