C# Class EnemyCharacter, PaperCowboys

Inheritance: Character
Show file Open project: Gamieon/PaperCowboys Class Usage Examples

Public Methods

Method Description
OnPhotonInstantiate ( PhotonMessageInfo, info ) : void

Protected Methods

Method Description
GetClosestPlayer ( ) : PlayerCharacter,

Gets the closest player.

OnDisable ( ) : void
Start ( ) : void

Private Methods

Method Description
RPCNetworkInstantiate ( NetworkPlayer owner, int sourceSpawnID ) : void
uLink_OnNetworkInstantiate ( uLink info ) : void

Fired by uLink.Network.Instantiate when this object is created on the network

Method Details

GetClosestPlayer() protected method

Gets the closest player.
protected GetClosestPlayer ( ) : PlayerCharacter,
return PlayerCharacter,

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnPhotonInstantiate() public method

public OnPhotonInstantiate ( PhotonMessageInfo, info ) : void
info PhotonMessageInfo,
return void

Start() protected method

protected Start ( ) : void
return void