Added a quick Credits screen

editor

editorscript

onClick

It’s just two GameObject parents that are turned On/Off based on Button presses.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CreditsCanvas : MonoBehaviour
{
    [SerializeField] private GameObject menuCanvas;
    [SerializeField] private GameObject creditsCanvas;

    private bool menuVisible = true;

    private void Start() {
        menuVisible = true;
        SetCanvas(menuVisible);
    }

    public void SetCanvas (bool menuVisible) {
        menuCanvas.SetActive(menuVisible);
        creditsCanvas.SetActive(!menuVisible); 
    }
}

1 Like

Looks amazing!

Privacy & Terms