UIProgressBar.Update C# (CSharp) Method

Update() protected method

Update the value of the scroll bar if necessary.
protected Update ( ) : void
return void
	protected void Update ()
	{
#if UNITY_EDITOR
		if (!Application.isPlaying) return;
#endif
		if (mIsDirty) ForceUpdate();
	}

Usage Example

コード例 #1
0
        public override void Update(InputHelper Helper, GameTime GTime)
        {
            base.Update(Helper, GTime);

            m_LblTitle.Update(Helper, GTime);
            m_LblProgress.Update(Helper, GTime);
            m_LblCurrentTask.Update(Helper, GTime);

            if (Visible)
            {
                m_ErrorMsgBox.Update(Helper, GTime);
                m_ProgressBar.Update(Helper, GTime);
                m_StatusBar.Update(Helper, GTime);
            }
        }