muliplayer help

How do you enable people to play with each other. For example how can i make it so that i can play with my friend in a differnt state could play with me. Or does anyone know how to make a network seting where they could connect to me if they had the game also. so basicly if you have the game you can play with other people if you chose to!

I am trying to make a FPS game like COD where you can play with other people!

Check the networking examples in the resources section

By starting with something simple that you can run on a LAN with two computers. Really. Just do something very small and simple to learn about networkviews, movement interpolation, and other network-centric topics. When you understand those on a medium level, you could probably make am FPS without a huge amount of trouble.

do you know where i can learn of of this, like a website?

You can check Leepo’s tutorial. Networking Zero tho Hero guide. It features almost all of the aspects of unity’s multiplayer capability from the very beginning to a full featured fps multiplayer with chat and scoreboard. It’s simple and it’s free, you can find it here :

http://forum.unity3d.com/threads/29015-UniKnowledge-entry-Unity-Networking-the-Zero-to-Hero-guide