// 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>(); } }
// 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); }