UpdateMaskTexture() public méthode

public UpdateMaskTexture ( Texture texture ) : void
texture Texture
Résultat void
Exemple #1
0
        // Update is called once per frame
        //更新
        void Update()
        {
            if (CallBack(0))
            {
                m_isCallBack = false;
            }

            //フェードイン単体
            if (m_fadeIn)
            {
                m_fadeImage.UpdateMaskTexture(m_fadeInMaskTexture);
                m_fade.FadeIn(m_fadeInTime);
                m_fadeIn = false;
            }

            //フェードアウト単体
            if (m_fadeOut)
            {
                m_fadeImage.UpdateMaskTexture(m_fadeOutMaskTexture);
                m_fade.FadeOut(m_fadeOutTime);
                m_fadeOut = false;
            }

            //フェードイン ー> フェードアウト
            if (m_fadeInOut)
            {
                m_fadeImage.UpdateMaskTexture(m_fadeInMaskTexture);
                m_fade.FadeIn(m_fadeInTime, CallBack);
                m_fadeInOut = false;
            }

            if (CallBack(0))
            {
                m_fadeImage.UpdateMaskTexture(m_fadeOutMaskTexture);
                m_fade.FadeOut(m_fadeOutTime);
                //m_isCallBack = false;
            }
        }