PhotonCloudAPI > Photon Cloud Object > Get Player Color

Get Player Color

Get the color from the player
\param PlayerNumber use -1 to get the local player color
\return Color or black if the player does not exists

Inputs

Target
Photon Cloud Object Object Reference

Player Number
Integer

Outputs

Return Value
Color Structure

Get the color from the player
\param PlayerNumber use -1 to get the local player color
\return Color or black if the player does not exists