private void ShowContent(DisasterContent content) { content.canvasGroup.DOFade(1f, tweenDuration).SetEase(tweenEase); content.canvasGroup.blocksRaycasts = true; currentContentShown = content; worldWindow.videoLoader.LoadVideo(content.disasterIcon.GetDisaster().clipTitle); }
private void HideDirectContent(DisasterContent content) { content.canvasGroup.DOFade(0f, 0f); content.canvasGroup.blocksRaycasts = false; }
private void HideContent(DisasterContent content) { content.canvasGroup.DOFade(0f, tweenDuration).SetEase(tweenEase); content.canvasGroup.blocksRaycasts = false; }