C# Class healthAndDamage, scriptcaster

Inheritance: MonoBehaviour
ファイルを表示 Open project: crazymeeshu/scriptcaster Class Usage Examples

Public Properties

Property Type Description
Health int
Immune bool
cameraWaitDuration float
maxHealth int
spawnPoint Vector3

Public Methods

Method Description
ImmunityCounter ( ) : void
OnCollisionEnter2D ( Collision2D coll ) : void
OnTriggerEnter2D ( Collider2D coll ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
CameraFollowWait ( float duration ) : IEnumerator
CharBlink ( float duration, float blinkTime ) : IEnumerator

Method Details

ImmunityCounter() public method

public ImmunityCounter ( ) : void
return void

OnCollisionEnter2D() public method

public OnCollisionEnter2D ( Collision2D coll ) : void
coll Collision2D
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D coll ) : void
coll UnityEngine.Collider2D
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Health public_oe property

public int Health
return int

Immune public_oe property

public bool Immune
return bool

cameraWaitDuration public_oe property

public float cameraWaitDuration
return float

maxHealth public_oe property

public int maxHealth
return int

spawnPoint public_oe property

public Vector3 spawnPoint
return Vector3