예제 #1
0
        //    bool m_didShowInfo;
        //Logger m_logger;

        protected override void Awake()
        {
            base.Awake();

            if (!VideoSubpanel)
            {
                VideoSubpanel = GetComponentInChildren <VideoSubpanel>();
            }

            VideoSubpanel.PlaybackCompleted.AddListener(m_videoSubpanel_PlaybackCompleted);

            if (!VideoControls)
            {
                VideoControls = GetComponentInChildren <VideoControls>();
            }
        }
예제 #2
0
        //    bool m_didShowInfo;
        //Logger m_logger;

        protected override void Awake()
        {
            base.Awake();

            if (!VideoSubpanel)
            {
                VideoSubpanel = GetComponentInChildren <VideoSubpanel>();
            }

            VideoSubpanel.PlaybackCompleted.AddListener(m_videoSubpanel_PlaybackCompleted);

            if (!VideoControls)
            {
                VideoControls = GetComponentInChildren <VideoControls>();
            }

            if (PlaybackCompleted == null)
            {
                PlaybackCompleted = new UnityEvent();
            }

            //m_logger = new Logger(this);
        }