public void SetCurrentProgress () { if (UIProgressBar.current != null) text = UIProgressBar.current.value.ToString("F"); }
static int SetCurrentProgress(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UILabel obj = (UILabel)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UILabel"); obj.SetCurrentProgress(); return(0); }