fusion 100 tutorial question - step 102

Options

I'm new and confused :)

Are there steps missing? Where do you add this in the BasicSpawner script? Anyone have a completed BasicSpawner.cs to display?

I get the error message CS0106: The modifier 'private' is not valid for this item. The item being referred to is 'private void OnGUI()'.

As per the instructions on https://doc.photonengine.com/en-us/fusion/current/fusion-100/fusion-102

Add the following method to BasicSpawner.cs:

private NetworkRunner _runner;

private void OnGUI()
{
  if (_runner == null)
  {
    if (GUI.Button(new Rect(0,0,200,40), "Host"))
    {
        StartGame(GameMode.Host);
    }
    if (GUI.Button(new Rect(0,40,200,40), "Join"))
    {
        StartGame(GameMode.Client);
    }
  }
}