µ¹°í·¡ ȨÆäÀÌÁö
ID:
PW:


  ¿î¿µÀÚ(2015-08-11 21:54:28, Hit : 4222, Vote : 1338
 NGUI ½ºÅ©·Ñºä

ScrollView ¸¸µé±â

http://itpaper.co.kr/?mid=unity&document_srl=14082&listStyle=viewer
¾ÆÀÌÅÛÀÌ Áß¾Ó¿¡ ¿Ã Çʿ䰡 ¾øÀ¸¸é ´ÙÀ½ ½ºÅ©¸³Æ® ÄÄÆ÷³ÍÆ®´Â Ãß°¡ÇÏÁö ¾Ê´Â´Ù.
Grid --> Center Scroll View On Child
Item --> Center Scroll View on Click

http://smilejsu.tistory.com/447

http://devkorea.co.kr/bbs/board.php?bo_table=m03_qna&wr_id=30168



UIWrapContent
http://m.blog.naver.com/nicecapj/130189134231


AutoScroll ó¸®
    public UIScrollView scrollView;
    private Vector3 startingScrollPosition;
    public UIGrid gridControl;

    void Start ()
    {
        GameObject scroll_view = gameObject.transform.parent.gameObject;
        scrollView = scroll_view.GetComponent<UIScrollView>();
        gridControl = this.GetComponent<UIGrid>();
        startingScrollPosition = scrollView.panel.cachedTransform.localPosition;
    }



    IEnumerator MoveScroll()
    {
        yield return new WaitForSeconds(1.0f);

        autoScrollStep++;
        if (autoScrollStep < scrollItemCount)
        {
            StartCoroutine("MoveScroll");

            Vector3 target = new Vector3(0, gridControl.cellHeight);
            SpringPanel.Begin(scrollView.panel.cachedGameObject, startingScrollPosition + target, 8.0f);
            startingScrollPosition += target;
        }
        else
        {
            //½ºÅ©·ÑÀÌ ³¡³µÀ»¶§ ó¸®
        }
    }




¡â PBR ¾ÆÆ®
¡ä unity node.js ¿¬µ¿

Copyright 1999-2023 Zeroboard / skin by zero