Skip to content

Instantly share code, notes, and snippets.

View MagicLike's full-sized avatar
Live long and prosper!

MagicLike MagicLike

Live long and prosper!
View GitHub Profile
Attribution-NoDerivatives 4.0 International
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
MagicLike / PauseMenu.cs
Last active September 17, 2023 18:58
Pause menu example in Unity (C#) - Stop using Unity!
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using System;
public class PauseMenu : MonoBehaviour
public void MainMenu()