public void SetCurrentSelection () { if (UIPopupList.current != null) { text = UIPopupList.current.isLocalized ? Localization.Get(UIPopupList.current.value) : UIPopupList.current.value; } }
static int SetCurrentSelection(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UILabel obj = (UILabel)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UILabel"); obj.SetCurrentSelection(); return(0); }