C# Class PlayerWalk, ProjetDUT

Inheritance: MonoBehaviour
ファイルを表示 Open project: lutrampal/ProjetDUT Class Usage Examples

Public Properties

Property Type Description
Anim Animator
height int
playerClips AudioClip[]
speed float
time int
width int

Public Methods

Method 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 method

public FixedUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

getLastInput() public method

public getLastInput ( ) : string
return string

moveDown() public method

public moveDown ( ) : void
return void

moveLeft() public method

public moveLeft ( ) : void
return void

moveRight() public method

public moveRight ( ) : void
return void

moveUp() public method

public moveUp ( ) : void
return void

playSound() public method

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

Property Details

Anim public_oe property

public Animator Anim
return Animator

height public_oe property

public int height
return int

playerClips public_oe property

Array containing all the Exit's songs
public AudioClip[] playerClips
return AudioClip[]

speed public_oe property

public float speed
return float

time public_oe property

public int time
return int

width public_oe property

public int width
return int