Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Removed in version 5.1.0p1
Property networkView has been deprecated. Use GetComponent<NetworkView>() instead. (UnityUpgradable)

GameObject.networkView

Switch to Manual
public var networkView: Component;

Description

The NetworkView attached to this GameObject (Read Only). (null if there is none attached).

	var other : GameObject; 
	other.networkView.RPC("MyFunction", RPCMode.All, "someValue");