This question was
closed Feb 08, 2016 at 09:18 PM by
hexagonius for the following reason:
this error is widely known and well explained throughout the web
error CS8025: Parsing error
using UnityEngine;
using System.Collections;
public class Ekwipunek : MonoBehaviour {
public int szerokoscOkna;
public int wysokoscOkna;
public int szerokoscOkna2;
public int wysokoscOkna2;
public int liczbaSlotow;
// Use this for initialization
void Start () {
liczbaSlotow = 4;
szerokoscOkna2 = 60;
wysokoscOkna2 = 60;
szerokoscOkna = szerokoscOkna2 * liczbaSlotow * 20;
wysokoscOkna = Screen.height - (Screen.height + 100);
}
// Update is called once per frame
void Update () {
}
void OnGUI ()
{
GUI.Box(new Rect(Screen.width / 2 - szerokoscOkna / 2 + 10, Screen.height * 2 (Screen.height - 95), szerokoscOkna, wysokoscOkna),"");
GUI.Box(new Rect(Screen.width / 2 - szerokoscOkna / 2 + 10, Screen.height * 2 (Screen.height - 95), szerokoscOkna2, wysokoscOkna2),"1");
GUI.Box(new Rect(Screen.width / 2 - szerokoscOkna / 2 + 10, Screen.height * 2 (Screen.height - 95), szerokoscOkna2, wysokoscOkna2),"2");
GUI.Box(new Rect(Screen.width / 2 - szerokoscOkna / 2 + 10, Screen.height * 2 (Screen.height - 95), szerokoscOkna2, wysokoscOkna2),"3");
GUI.Box(new Rect(Screen.width / 2 - szerokoscOkna / 2 + 10, Screen.height * 2 (Screen.height - 95), szerokoscOkna2, wysokoscOkna2),"4");
}
}
}
Comment
Follow this Question
Related Questions
How to make a mesh from 4 points? 1 Answer
how to make a max number on counter. 1 Answer
Add 2D Skeleton to the Scene if Button was pressed 0 Answers
Unity SetActive not working, can't switch tabs 0 Answers
Vector3 magnitude broken? 1 Answer