public static void DiscardByTxt(string text) { if (!UnityEngine.Object.op_Inequality((UnityEngine.Object)NavigationWindow.mCurrent, (UnityEngine.Object)null) || !(NavigationWindow.mCurrent.Text.get_text() == text)) { return; } NavigationWindow.DiscardCurrent(); }
private void Start() { NavigationWindow.DiscardCurrent(); NavigationWindow.mCurrent = this; }