Version: 2017.1
Method group is Obsolete

NetworkView.isMine

Switch to Manual
Obsolete public bool isMine ;

Description

Is the network view controlled by this object?

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnNetworkInstantiate(NetworkMessageInfo info) { NetworkView nView = GetComponent<NetworkView>(); if (nView.isMine) Debug.Log("New object instanted by me"); else Debug.Log("New object instantiated by " + info.sender); } }