Version: 5.5
public NetworkViewID viewID ;

Description

The ViewID of this network view.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnNetworkInstantiate(NetworkMessageInfo info) { NetworkView[] networkViews = GetComponents<NetworkView>(); Debug.Log("New prefab network instantiated with views - "); foreach (NetworkView view in networkViews) { Debug.Log("- " + view.viewID); } } }