/// <summary> /// Show a new entry on the status bar. /// </summary> static public void Show(string text, Color c, bool persistent, bool instant) { if (mInst != null && instant && (mInst.mFadingIn || mInst.mCurrent.color.a == 1f)) { mEntries.Clear(); mInst.mCurrent.text = text; mInst.mCurrent.color = c; mInst.UpdateText(); } else { Entry ent = new Entry(); ent.text = text; ent.color = c; ent.persistent = persistent; mEntries.Add(ent); if (mInst != null) { mInst.mForceFadeOut = false; } } }