C# Class MonsterCtrl, S_Shooter01

Inheritance: MonoBehaviour
Show file Open project: kwbt-mrokj/S_Shooter01 Class Usage Examples

Public Properties

Property Type Description
attackDist float
bloodDecal GameObject
bloodEffect GameObject
isDie bool
monsterState MonsterState,
traceDist float

Public Methods

Method Description
MonsterDie ( ) : void
OnCollisionEnter ( Collision coll ) : void
OnDamage ( object _params ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnPlayerDie ( ) : void
Update ( ) : void

Private Methods

Method Description
CheckMonsterState ( ) : IEnumerator
CreateBloodEffect ( Vector3 pos ) : IEnumerator
MonsterAction ( ) : IEnumerator
Start ( ) : IEnumerator

Method Details

MonsterDie() public method

public MonsterDie ( ) : void
return void

OnCollisionEnter() public method

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

OnDamage() public method

public OnDamage ( object _params ) : void
_params object
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnPlayerDie() public method

public OnPlayerDie ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

attackDist public property

public float attackDist
return float

bloodDecal public property

public GameObject bloodDecal
return GameObject

bloodEffect public property

public GameObject bloodEffect
return GameObject

isDie public property

public bool isDie
return bool

monsterState public property

public MonsterState, monsterState
return MonsterState,

traceDist public property

public float traceDist
return float