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

error CS1525: Unexpected symbol `(', expecting `)', `,', `;', `[', or `='

$
0
0
Hello, I`m new to C# and I`ve been following some tutorials on the UI in 4.6 and in my script I get this error: Assets/Scripts/Menu/Functions.cs(19,38): error CS1525: Unexpected symbol `(', expecting `)', `,', `;', `[', or `=' Here is my script: using UnityEngine; using System.Collections; public class Functions : MonoBehaviour { public GameObject Options; public GameObject Main; public void OptionsButton() { SendMessageOptions.SetActive (true); Main.SetActive (false); } public void SaveClose() { StartCoroutine ("waitTimer", 1); IEnumerator waitTimer(float waitTime) { yield return new WaitForSeconds(waitTime); } }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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