Property | Type | Description | |
---|---|---|---|
thugType | ThugType |
Method | Description | |
---|---|---|
FireGun ( ) : void |
This function is called in a timer by all clients to try to make this enemy fire. It must be run for all players because the master client can change.
|
|
IDamageTaker ( IDamageDealer damageDealer ) : void |
Called by the player observing their projectile making contact with this character to inflict damage to this character. This must never be called from an RPC.
|
|
UpdateWalkingDirection ( ) : void |
This function is called in regular intervals by all clients to make the thug decide where to walk around if it can.
|
Method | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
Start ( ) : void |
Method | Description | |
---|---|---|
RPCDestroy ( ) : void | ||
RPCThugBeginDying ( ) : void | ||
RPCThugTakeDamage ( float damage, NetworkPlayer owningPlayer ) : void | ||
RPCThugTakeDamage ( float damage, PhotonPlayer, owningPlayer ) : void | ||
RPCThugTakeDamage ( float damage, uLink owningPlayer ) : void |
public IDamageTaker ( IDamageDealer damageDealer ) : void | ||
damageDealer | IDamageDealer | |
return | void |