C# Class MadMaxActor, ProjectPhoenix

Inheritance: Actor
显示文件 Open project: Alx666/ProjectPhoenix Class Usage Examples

Public Properties

Property Type Description
DeathExplosionPrefab GameObject

Public Methods

Method Description
Damage ( IDamageSource hSource ) : void
Die ( Actor, Killer ) : void
GetImpactDamage ( float dmg ) : float
OnCollisionEnter ( Collision collision ) : void
OnDeathBombTimeout ( ) : void
OnFlippedState ( ) : void
WaitForInit ( ) : IEnumerator

Private Methods

Method Description
Awake ( ) : void
CmdSyncPlayer ( ) : void
Damage ( MadMaxActor, hActor, float dmg ) : void
ImpactCoolDown ( object toCoolDownActor ) : IEnumerator
LateUpdate ( ) : void
Respawn ( ) : void
RpcDie ( NetworkInstanceId hID ) : void
Start ( ) : void
Update ( ) : void
WaitForRespawn ( float duration ) : IEnumerator

Method Details

Damage() public method

public Damage ( IDamageSource hSource ) : void
hSource IDamageSource
return void

Die() public method

public Die ( Actor, Killer ) : void
Killer Actor,
return void

GetImpactDamage() public method

public GetImpactDamage ( float dmg ) : float
dmg float
return float

OnCollisionEnter() public method

public OnCollisionEnter ( Collision collision ) : void
collision Collision
return void

OnDeathBombTimeout() public method

public OnDeathBombTimeout ( ) : void
return void

OnFlippedState() public method

public OnFlippedState ( ) : void
return void

WaitForInit() public method

public WaitForInit ( ) : IEnumerator
return IEnumerator

Property Details

DeathExplosionPrefab public_oe property

public GameObject DeathExplosionPrefab
return GameObject