protected void Start ()
{
Upgrade();
if (Application.isPlaying)
{
if (mBG != null) mBG.autoResizeBoxCollider = true;
OnStart();
if (current == null && onChange != null)
{
current = this;
EventDelegate.Execute(onChange);
current = null;
}
}
ForceUpdate();
}
static int Start(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UIProgressBar obj = (UIProgressBar)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIProgressBar"); obj.Start(); return(0); }