麻烦来个好心人解答一下这是怎么回事,我是按书上打的代码,怎么会错
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class hellowolrd. : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
void OnGUI()
{
GUI.skin.label.fontSize = 100;
GUI.Label(new Rect(10, 10, Screen.width, Screen.height), "Hello World");
}
}
}