コード例 #1
0
    private void ShowPopup(PopUpContent content)
    {
        currentShownContent = content;

        if (!content.isShown)
        {
            //content.canvas.DOKill();
            content.canvas.DOFade(1f, tweenDuration).SetEase(tweenEase);
            content.isShown = true;
        }

        if (imageToShow)
        {
            worldWindow.ShowImage(imageIsDisaster);
        }
        else
        {
            worldWindow.HideImage();
        }
    }