C# Class EndlessRunner, ITGM220_W15

Inheritance: MonoBehaviour
Mostrar archivo Open project: SimianLogic/ITGM220_W15 Class Usage Examples

Public Properties

Property Type Description
mainCharacter Dude,
numPlatforms int
platformSpacingX float
platformSpacingY float

Public Methods

Method Description
AddPlatforms ( ) : void
OnDudeCollide ( Collision2D collision ) : void
OnDudeTrigger ( Collider2D collider ) : void
ResetCharacter ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

AddPlatforms() public method

public AddPlatforms ( ) : void
return void

OnDudeCollide() public method

public OnDudeCollide ( Collision2D collision ) : void
collision Collision2D
return void

OnDudeTrigger() public method

public OnDudeTrigger ( Collider2D collider ) : void
collider UnityEngine.Collider2D
return void

ResetCharacter() public method

public ResetCharacter ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

mainCharacter public_oe property

public Dude, mainCharacter
return Dude,

numPlatforms public_oe property

public int numPlatforms
return int

platformSpacingX public_oe property

public float platformSpacingX
return float

platformSpacingY public_oe property

public float platformSpacingY
return float