Example #1
0
    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);
    }
Example #2
0
 private void HideDirectContent(DisasterContent content)
 {
     content.canvasGroup.DOFade(0f, 0f);
     content.canvasGroup.blocksRaycasts = false;
 }
Example #3
0
 private void HideContent(DisasterContent content)
 {
     content.canvasGroup.DOFade(0f, tweenDuration).SetEase(tweenEase);
     content.canvasGroup.blocksRaycasts = false;
 }