Exemplo n.º 1
0
        override protected void UpdateIntroAnimState()
        {
            IntroAnimState prevState = m_IntroAnimState;

            base.UpdateIntroAnimState();

            // If we're exiting the in state, notify our panel.
            if (prevState != m_IntroAnimState)
            {
                if (m_IntroAnimState == IntroAnimState.On)
                {
                    ResetCam();
                }
            }
        }
Exemplo n.º 2
0
        override protected void UpdateIntroAnimState()
        {
            IntroAnimState prevState = m_IntroAnimState;

            base.UpdateIntroAnimState();

            // If we're existing the in state, notify our panel.
            if (prevState != m_IntroAnimState)
            {
                if (prevState == IntroAnimState.In)
                {
                    if (m_PanelSibling)
                    {
                        m_PanelSibling.OnWidgetShowAnimComplete();
                    }
                }
            }
        }