PhotonTest

Assets\PhotonManager.cs(6,30): error CS0246: The type or namespace name 'MonoBehaviourPunCallBacks' could not be found (are you missing a using directive or an assembly reference?)
please Help

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @amarjeet,

    Thank you for choosing Photon!

    MonoBehaviourPunCallBacks is a class from Photon.Pun namespace
    So please add using Photon.Pun; to the top of your file.

    Also, if needed, make sure PUN's assembly definition is accessible from your assembly.