Destroy the object associated with this view ID across the network.
The object is destroyed locally and remotely.
JavaScripts
JavaScript
C#
Boo
var timer : float = 0; functionAwake () { timer = Time.time; } // Network destroy the object which has this script // it must have a NetworkView attached functionUpdate() { if (Time.time - timer > 2) { Network.Destroy(GetComponent(NetworkView).viewID); } }