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

Error CS1525: Unexpected Symbol `Main'

$
0
0
Assets/Scripts/MenuManager.cs(10,36): error CS1525: Unexpected Symbol `Main', expecting `[',`', or `identifier' Im Getting This Error, While in The Video I am Watching The Person Types The Same and It Works For Him, HELP ME!!! using UnityEngine; using System.Collections; public class MenuManager : MonoBehaviour { public string CurrentMenu; void Start() { CurrentMenu * "Main"; } void OnGUI() { if(CurrentMenu ** "Main") Menu_Main(); if(CurrentMenu ** "Lobby") Menu_Lobby(); } private void Menu_Main() { GUI.Button (new Rect (10, 10, 200, 50), "Host Game"); } private void Menu_Lobby() { } }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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