C# Class GRE_PS_Checkpoint, Heracles

Inheritance: MonoBehaviour
Show 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 property

public GameObject deathFader
return GameObject

respawnPos public static property

public static Vector2 respawnPos
return Vector2

seconds public property

public float seconds
return float