コード例 #1
0
    // Use this for initialization
    private void Awake()
    {
        ins = this;
        RandomizeContentList();

        if (null != btn)
        {
            btn.onClick.AddListener(ChangeContentListLength);
        }
        if (null != scrollRect)
        {
            scrollRect.OnDragToTargetPosition.AddListener(OnDragToTargetPosition);
        }
    }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     TestMono t = new TestMono();
     //MonoManager.GetInstance().AddUpdateListener(t.Update); ;
 }