Пример #1
0
    //사진을 고르는 팝업창
    public void PeekPopup()
    {
        PeekPicturePopupViewManager peekPicturePopupViewManager
            = Instantiate(PeekPopupViewPrefab, NavigationManager.Instance.transform.parent.parent).GetComponent <PeekPicturePopupViewManager>();

        peekPicturePopupViewManager.PeekPictureOpne();
    }
Пример #2
0
    public void Onclick()
    {
        if (addPhotoPopupViewPrefab)
        {
            PeekPicturePopupViewManager peekPicturePopupViewManager
                = Instantiate(addPhotoPopupViewPrefab, NavigationManager.Instance.transform).GetComponent <PeekPicturePopupViewManager>();

            peekPicturePopupViewManager.PeekPictureOpne();
            PeekPicturePopupViewManager.sendImage = (sprite) =>
            {
                this.Image = sprite;
            };
        }
    }