So the other day I was messing around with modding when I stumbled across the UnityEngine.Networking.dll inside the game's dll files. I was suprised that they included it and so I tried to use the dll.
When I referenced the dll in visual studio and inside the script, built a GameObject and added the NetworkBehaviour to it I got an error when launching the game: "The type or namespace NetworkBehaviour could not be found, are you missing an assembly or reference."
Does anyone know why this happens? Does it happen to other dll's too? Am I missing another dll that I should reference as well? And how can I fix this if possible?
When I referenced the dll in visual studio and inside the script, built a GameObject and added the NetworkBehaviour to it I got an error when launching the game: "The type or namespace NetworkBehaviour could not be found, are you missing an assembly or reference."
Does anyone know why this happens? Does it happen to other dll's too? Am I missing another dll that I should reference as well? And how can I fix this if possible?