public UITextScrollView AddNewTextScrollView() { var textScrollView = UITextScrollView.Instantiate(); AddItem(textScrollView); return(textScrollView); }
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); }