C# Class UnityEngine.Networking.PlayerController

This represents a networked player.

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
gameObject GameObject
playerControllerId short
unetView NetworkIdentity

Public Methods

Method Description
PlayerController ( ) : System
ToString ( ) : string

String representation of the player objects state.

Private Methods

Method Description
PlayerController ( GameObject go, short playerControllerId ) : System

Method Details

PlayerController() public method

public PlayerController ( ) : System
return System

ToString() public method

String representation of the player objects state.

public ToString ( ) : string
return string

Property Details

gameObject public property

The game object for this player.

public GameObject gameObject
return GameObject

playerControllerId public property

The local player ID number of this player.

public short playerControllerId
return short

unetView public property

The NetworkIdentity component of the player.

public NetworkIdentity,UnityEngine.Networking unetView
return NetworkIdentity