- Home /
 
 
               Question by 
               ahmed.yahia · Sep 14, 2013 at 03:12 AM · 
                c#cameraprefabcurvenetwork.instantiate  
              
 
              Instantiate cube on network
well, i have a cube prefab i cloned it with this code
 Network.Instantiate(playerPrefab, new Vector3(0f, 5f, 0f), Quaternion.identity, 0)as GameObject;
 
               and i have a camera prefab which have SmoothFollow.js. on the network,how to clone the cube, camera and make the cube as target?
In short, how to clone the player and his camera < the camera isnt child of cube > thanks,,,,
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Make Prefab Look At Target 2 Answers
Distribute terrain in zones 3 Answers
GameObject transform relative camera 0 Answers
Multiple Cars not working 1 Answer
Add camera prefab to script in c# 2 Answers