Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

photon rpc

PhotonView photonView = PhotonView.Get(this);
photonView.RPC("ChatMessage", RpcTarget.All, "jup", "and jup.");

[PunRPC]
void ChatMessage(string a, string b)
{
    Debug.Log(string.Format("ChatMessage {0} {1}", a, b));
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# list index 
Csharp :: how to close and reopen an app in c# 
Csharp :: how to map datatable to list in c# 
Csharp :: get execution directory c# 
Csharp :: asp.net get query string parameter 
Csharp :: unity look at target 
Csharp :: displayname c# 
Csharp :: how to deactivate objects through scripts in unity 
Csharp :: c# how to refresh your binding source 
Csharp :: unity position localposition 
Csharp :: unity point between two positions 
Csharp :: how to change the color of a sprite in unity 
Csharp :: how to get the date of the first day and last day of the week c# 
Csharp :: linq distinct count 
Csharp :: c# cast to type variable 
Csharp :: c# void 
Csharp :: unity assembly 
Csharp :: c# declare an int list 
Csharp :: listview item click c# 
Csharp :: convert string into double in c# 
Csharp :: c# make request to rest api 
Csharp :: c# environment variables 
Csharp :: asp.net data annotations double 
Csharp :: c# merging two arrays 
Csharp :: dynamic arrays in c# 
Csharp :: scenemanager.loadscene 
Csharp :: c# datetime add 
Csharp :: unity round float to nearest 10 
Csharp :: add row count devepxress report 
Csharp :: wpf app how to get all elements which are exposed to script 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =