コード例 #1
0
    PageCurl curler;    //we store here the reference to the PageCurl component

    void Awake()
    {
        curler = GetComponent<PageCurl>();

        if (automatic)
        {
            //Start the first page flip
            curler.Flip();
        }
    }
コード例 #2
0
	// Use this for initialization
	void Start () {

		fadepanel = uiroot.GetComponent<UIPanel>();
		curler = curlroot.GetComponent<PageCurl>();
		fadein = true;
	}