コード例 #1
0
    public void ActivateScreen <T>() where T : BaseUi
    {
        BaseUi screen = screens.Find(t => t.GetType().Name == typeof(T).Name);

        if (screen != null)
        {
            screen.EnableScreen();
        }
    }