示例#1
0
    public UITextScrollView AddNewTextScrollView()
    {
        var textScrollView = UITextScrollView.Instantiate();

        AddItem(textScrollView);
        return(textScrollView);
    }
示例#2
0
    public static new UITextScrollView Instantiate()
    {
        GameObject go = MonoBehaviour.Instantiate(App.shared.LoadGameObject("UI/Buttons/UITextScrollView"));

        UI.AssignToCanvas(go);
        UITextScrollView scrollView = go.GetComponent <UITextScrollView>();

        return(scrollView);
    }