public void SetScreen(AppStateScreen screen) { if (screen is TScreen) { Screen = screen as TScreen; } else { Debug.LogErrorFormat("<color=\"aqua\">{0} : Given screen {1} is not of the type {2}</color>", this, screen.GetType(), typeof(TScreen)); } }
public void SetScreen(AppStateScreen screen) { }