C# Class PlayerCommon, UnityDemo

Inheritance: MonoBehaviour
Show file Open project: rouchen/UnityDemo Class Usage Examples

Public Properties

Property Type Description
isClientSingleton bool
isServerSingleton bool

Public Methods

Method Description
Awake ( ) : void
GetId ( ) : int
GetTeam ( ) : int
SetPlayerId ( int id ) : void
SetTeam ( int tid ) : void
Start ( ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

GetId() public method

public GetId ( ) : int
return int

GetTeam() public method

public GetTeam ( ) : int
return int

SetPlayerId() public method

public SetPlayerId ( int id ) : void
id int
return void

SetTeam() public method

public SetTeam ( int tid ) : void
tid int
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

isClientSingleton public property

public bool isClientSingleton
return bool

isServerSingleton public property

public bool isServerSingleton
return bool