Beispiel #1
0
    private void Awake()
    {
        logoColorizer = new DoTweenGraphicColorizer(logo);
        maskColorizer = new DoTweenGraphicColorizer(maskScene);

        toDungeonButton.onClick.AddListener(OnClickToDungeon);
    }
Beispiel #2
0
    private void Awake()
    {
        InitSinglton(this);

        startUI.gameObject.SetActive(true);

        gameplayUI.gameObject.SetActive(false);
        defeatUI.gameObject.SetActive(false);
        tutorialUI.gameObject.SetActive(false);
        settingsUI.gameObject.SetActive(false);
        shopUI.gameObject.SetActive(false);

        if (maskGameplay != null)
        {
            maskGameplayColorizer = new DoTweenGraphicColorizer(maskGameplay);
        }
        if (maskFull != null)
        {
            maskFullFader = new DoTweenGraphicColorizer(maskFull);
        }
    }
 public void Awake()
 {
     dungeonLogoFader = new DoTweenGraphicColorizer(dungeonLogo);
 }