Version: 5.5
public NetworkViewID viewID ;

説明

この Network ビューの ViewID

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); } } }