- Home /
Lan Network
So I been working on this Lan Game, and it coming out really well, I made a menu that let one player host the game and one player join in, then it sent the two players and it work great, the only thing is when one player move, it move both players. plz help.
I been stuck on this.
Comment
Answer by cariaga · Dec 05, 2014 at 07:21 PM
i don't know what network you are using but you need to check if the instantiated game object is mine if it was TNet: Tasharen Networking we would do
if(tno.isMine) {
// anything that involves controls that i have permission on controlling
}else{
//this is not mine do something else
}
Answer by Sessional · Dec 05, 2014 at 07:25 PM
We would need to see at least a basic of how you have the networking set up. Are you using built in Unity Networking or are you doing sockets by yourself?