C# Class PlayerAnimation, Unity3D

Inheritance: MonoBehaviour
显示文件 Open project: k-lock/Unity3D Class Usage Examples

Public Properties

Property Type Description
LEFT_MOUSE bool
PLAYER_ANIMATIONS string[]
RIGHT_MOUSE bool
life float
walkingSpeed float

Public Methods

Method Description
Awake ( ) : void
FixedUpdate ( ) : void
Play ( int id ) : void
PlayTileAnim ( int frame ) : void
Update ( ) : void

Private Methods

Method Description
AnimationSetup ( ) : void
HorizontalAngle ( Vector3 direction ) : float

Method Details

Awake() public method

public Awake ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Play() public method

public Play ( int id ) : void
id int
return void

PlayTileAnim() public method

public PlayTileAnim ( int frame ) : void
frame int
return void

Update() public method

public Update ( ) : void
return void

Property Details

LEFT_MOUSE public_oe property

public bool LEFT_MOUSE
return bool

PLAYER_ANIMATIONS public_oe property

public string[] PLAYER_ANIMATIONS
return string[]

RIGHT_MOUSE public_oe property

public bool RIGHT_MOUSE
return bool

life public_oe property

public float life
return float

walkingSpeed public_oe property

public float walkingSpeed
return float