Quantcast
Channel: Answers for "How to destroy initiated Network Object?"
Viewing all articles
Browse latest Browse all 4

Answer by Franco Marini

$
0
0
var gate_team_1 = Network.Instantiate(gates, gates_spawnpoint_team_1, transform.rotation, 0); this code will not store a pointer to the instantiate object if that was your intention --------------------------------------------------------------------------------------- You can call Network.Destroy (networkView.viewID); if you attach the script to the gates object(works with prefab too). for example: function Update () { if (GateHitPoints

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images