- Home /
Question by
ScrappyCocco · Mar 08, 2014 at 03:23 PM ·
cameraprefabmultiplayer
I have a multiplayer problem with 2 cam for each player
Hi to all, i'm italian sorry for bad english, i am trying to make a multiplayer game with unity, i follow this guide and i have added 2 cams for each cube player, with network and this script:
#pragma strict
var cam1 : Camera;
function Start (){
if(networkView.isMine){
cam1.enabled = true;
}
else{
cam1.enabled = false;
}
}
i have tried also to make 2 player prefabs, one for each player,but nothing, when i connect i see my friend's camera and he see the mine... Please help, what i have to do?
Comment