C# Class Dude, ITGM220_W15

Inheritance: MonoBehaviour
Mostra file Open project: SimianLogic/ITGM220_W15 Class Usage Examples

Public Properties

Property Type Description
camera Camera
fall Sprite
idle Sprite
jump Sprite
walk Sprite[]

Public Methods

Method Description
OnCollisionEnter2D ( Collision2D coll ) : void
OnTriggerEnter2D ( Collider2D coll ) : void
SetVelocity ( float f ) : void
Start ( ) : void
Update ( ) : void
UpdateWalk ( ) : void

Method Details

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

SetVelocity() public method

public SetVelocity ( float f ) : void
f float
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateWalk() public method

public UpdateWalk ( ) : void
return void

Property Details

camera public_oe property

public Camera camera
return Camera

fall public_oe property

public Sprite fall
return Sprite

idle public_oe property

public Sprite idle
return Sprite

jump public_oe property

public Sprite jump
return Sprite

walk public_oe property

public Sprite[] walk
return Sprite[]