// Use this for initialization private void Awake() { ins = this; RandomizeContentList(); if (null != btn) { btn.onClick.AddListener(ChangeContentListLength); } if (null != scrollRect) { scrollRect.OnDragToTargetPosition.AddListener(OnDragToTargetPosition); } }
// Start is called before the first frame update void Start() { TestMono t = new TestMono(); //MonoManager.GetInstance().AddUpdateListener(t.Update); ; }