C# Class DeathCod, cod-of-duty

Inheritance: MonoBehaviour
Mostra file Open project: rje/cod-of-duty

Public Properties

Property Type Description
m_emitters ParticleEmitter[]
m_fireRange float
m_followRange float
m_gun Gun,
m_hp int
m_raycastPoint Transform
m_speed float
m_stopAttacking bool

Public Methods

Method Description
AddToLevel ( ) : void
Die ( ) : void
FacePlayer ( Player, p ) : void
GenerateLoot ( ) : void
MoveForward ( ) : void
OnShotBy ( ShotInfo, si ) : void
Start ( ) : void
TryToFire ( ) : void
Update ( ) : void

Private Methods

Method Description
CanSeePlayer ( GameObject player, Ray ray ) : bool

Method Details

AddToLevel() public method

public AddToLevel ( ) : void
return void

Die() public method

public Die ( ) : void
return void

FacePlayer() public method

public FacePlayer ( Player, p ) : void
p Player,
return void

GenerateLoot() public method

public GenerateLoot ( ) : void
return void

MoveForward() public method

public MoveForward ( ) : void
return void

OnShotBy() public method

public OnShotBy ( ShotInfo, si ) : void
si ShotInfo,
return void

Start() public method

public Start ( ) : void
return void

TryToFire() public method

public TryToFire ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

m_emitters public_oe property

public ParticleEmitter[] m_emitters
return ParticleEmitter[]

m_fireRange public_oe property

public float m_fireRange
return float

m_followRange public_oe property

public float m_followRange
return float

m_gun public_oe property

public Gun, m_gun
return Gun,

m_hp public_oe property

public int m_hp
return int

m_raycastPoint public_oe property

public Transform m_raycastPoint
return Transform

m_speed public_oe property

public float m_speed
return float

m_stopAttacking public_oe property

public bool m_stopAttacking
return bool