C# Class ChatVik, source

This simple chat example showcases the use of RPC targets and targetting certain players via RPCs.
Inheritance: Photon.MonoBehaviour
Exibir arquivo Open project: unityosgt/source Class Usage Examples

Public Properties

Property Type Description
SP ChatVik,
messages List

Public Methods

Method Description
AddMessage ( string text ) : void

Private Methods

Method Description
Awake ( ) : void
OnCreatedRoom ( ) : void
OnGUI ( ) : void
OnJoinedRoom ( ) : void
OnLeftRoom ( ) : void
SendChat ( PhotonPlayer, target ) : void
SendChat ( PhotonTargets target ) : void
SendChatMessage ( string text, PhotonMessageInfo, info ) : void

Method Details

AddMessage() public method

public AddMessage ( string text ) : void
text string
return void

Property Details

SP public_oe static_oe property

public static ChatVik, SP
return ChatVik,

messages public_oe property

public List messages
return List