'MainMenu.OnJoinedRoon(): no suitable method found to override Photon Pun

Im writing lobby script, there is a error in title. My code:

Copying scripts from https://youtu.be/EPJIJ_vTXu4?t=750

using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using Photon.Realtime;
using UnityEngine.UI;


public class MainMenu : MonoBehaviour
{
    public InputField IFNameRoom;
    public void CreateRoom() {
        RoomOptions roomOptions = new RoomOptions();
        roomOptions.MaxPlayers = 4;
        PhotonNetwork.CreateRoom(IFNameRoom.text, roomOptions);
    }
    public void JoinRoon() {
        PhotonNetwork.JoinRoon(IFNameRoom.text);
    }
    public override void OnJoinedRoom() {
        PhotonNetwork.LoadLevel("Game");
    }
}


Solution 1:[1]

For starters there is a typo: JoinRoom not JoinRoon

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Juri Knauth