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

Unexpected symbol GUI

$
0
0
Thats is my code but o think all is right but console writing me "Unexpected symbol GUI" Thanks for all using UnityEngine; using System.Collections; public class Gracz : MonoBehaviour { public int MaxHP; public int HP; public int Glod; public int Woda; public int Sen; public GUISkin skinHP; // Use this for initialization void Start () { MaxHP = 100; HP = MaxHP; Glod = 100; Sen = 100; Woda = 100; } // Update is called once per frame void Update () { } void OnGUI() { GUI.skin = skinHP; GUI.Box (new Rect (10, 10, 200, 50), "Zycie: " + HP); } }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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