Example #1
0
    // Makes the settings menu and start pillar visible/invisible
    protected override IEnumerator ActivateTaskObjects(bool active)
    {
        graphSettings.FillTooltips("Loading setup...", false);
        yield return(loading);

        // Settings menu
        graphSettings.ActiveInScene(!active);

        startPillar.ActiveInScene(active);

        yield return(loading);

        graphSettings.FillTooltips("", false);

        pointer.AllowShooting = active;
    }