Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

I am having a parsing error in a C# pause script, can anyone help?

$
0
0
using UnityEngine; using System.Collections; public class pause2 : MonoBehaviour { void Start () { } bool paused; void OnPauseGame () { paused = true; } void OnResumeGame () { paused = false; } } } public class pause2 : MonoBehaviour { void Update () { if (!paused) { } } } note I am fairly new to unity and very new to C#

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>