GameObjectにアタッチされたNetworkView (アタッチされていない場合はnull)
networkView.RPC("MyFunction", RPCMode.All, "someValue");
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { networkView.RPC("MyFunction", RPCMode.All, "someValue"); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: networkView.RPC('MyFunction', RPCMode.All, 'someValue')