NetworkView.isMine

var isMine : boolean

Description

Is the network view controlled by this object?

JavaScript
function OnNetworkInstantiate (info : NetworkMessageInfo) {
if (networkView.isMine)
Debug.Log("New object instanted by me");
else
Debug.Log("New object instantiated by " + info.sender);
}