C# Class GRE_PS_Checkpoint, Heracles

Inheritance: MonoBehaviour
Mostra file Open project: TrinityUniversityGameDesign/Heracles

Public Properties

Property Type Description
deathFader GameObject
respawnPos Vector2
seconds float

Public Methods

Method Description
EnableDeathFade ( ) : void
GetRespawnPos ( ) : Vector3

Private Methods

Method Description
OnTriggerEnter2D ( Collider2D playerCollision ) : void
OnTriggerExit2D ( Collider2D other ) : void
Start ( ) : void
Update ( ) : void
wait ( float seconds, Collider2D playerCollision ) : IEnumerator

Method Details

EnableDeathFade() public method

public EnableDeathFade ( ) : void
return void

GetRespawnPos() public method

public GetRespawnPos ( ) : Vector3
return Vector3

Property Details

deathFader public_oe property

public GameObject deathFader
return GameObject

respawnPos public_oe static_oe property

public static Vector2 respawnPos
return Vector2

seconds public_oe property

public float seconds
return float