C# Class PlayerWalk, ProjetDUT

Inheritance: MonoBehaviour
Afficher le fichier Open project: lutrampal/ProjetDUT Class Usage Examples

Méthodes publiques

Свойство Type Description
Anim Animator
height int
playerClips AudioClip[]
speed float
time int
width int

Méthodes publiques

Méthode Description
FixedUpdate ( ) : void
Start ( ) : void
getLastInput ( ) : string
moveDown ( ) : void
moveLeft ( ) : void
moveRight ( ) : void
moveUp ( ) : void
playSound ( int clipNumber ) : void

Plays a sound.

Method Details

FixedUpdate() public méthode

public FixedUpdate ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

getLastInput() public méthode

public getLastInput ( ) : string
Résultat string

moveDown() public méthode

public moveDown ( ) : void
Résultat void

moveLeft() public méthode

public moveLeft ( ) : void
Résultat void

moveRight() public méthode

public moveRight ( ) : void
Résultat void

moveUp() public méthode

public moveUp ( ) : void
Résultat void

playSound() public méthode

Plays a sound.
public playSound ( int clipNumber ) : void
clipNumber int Index of the song in the Array of songs
Résultat void

Property Details

Anim public_oe property

public Animator Anim
Résultat Animator

height public_oe property

public int height
Résultat int

playerClips public_oe property

Array containing all the Exit's songs
public AudioClip[] playerClips
Résultat AudioClip[]

speed public_oe property

public float speed
Résultat float

time public_oe property

public int time
Résultat int

width public_oe property

public int width
Résultat int