protected override void Awake() { #if UNITY_EDITOR if (!Application.isPlaying) { return; } #endif m_AlphaTweenRunner = new TweenRunner <FloatTween>(); m_AlphaTweenRunner.Init(this); if (m_CaptionImage) { m_CaptionImage.enabled = (m_CaptionImage.sprite != null); } if (m_Template) { m_Template.gameObject.SetActive(false); } }
protected override void Start() { m_AlphaTweenRunner = new TweenRunner <FloatTween>(); m_AlphaTweenRunner.Init(this); base.Start(); RefreshShownValue(); }
protected override void Awake() { m_AlphaTweenRunner = new TweenRunner <FloatTween>(); m_AlphaTweenRunner.Init(this); if ((bool)m_CaptionImage) { m_CaptionImage.enabled = (m_CaptionImage.sprite != null); } if ((bool)m_Template) { m_Template.gameObject.SetActive(value: false); } }
protected override void Awake() { if (Application.isPlaying) { m_AlphaTweenRunner = new TweenRunner <FloatTween>(); m_AlphaTweenRunner.Init((MonoBehaviour)(object)this); if ((bool)(UnityEngine.Object)(object) m_CaptionImage) { ((Behaviour)(object)m_CaptionImage).enabled = (m_CaptionImage.sprite != null); } if ((bool)m_Template) { m_Template.gameObject.SetActive(false); } } }