C# Class CharaMotion, 3in1

Inheritance: MonoBehaviour
Datei anzeigen Open project: motouhui/3in1 Class Usage Examples

Public Methods

Method Description
PlayAttack ( ) : void

播放攻击动作

PlayAttackPause ( ) : void
PlayDamage ( ) : void

播放受到伤害动画

PlayDead ( ) : void
PlayWaitLoop ( ) : void

播放待机动作

PlayWalkLoop ( ) : void

Private Methods

Method Description
AnimationStillPlaying ( Animation animation, string animationName ) : bool

判断动作是否播放完毕

Start ( ) : void
Update ( ) : void

Method Details

PlayAttack() public method

播放攻击动作
public PlayAttack ( ) : void
return void

PlayAttackPause() public method

public PlayAttackPause ( ) : void
return void

PlayDamage() public method

播放受到伤害动画
public PlayDamage ( ) : void
return void

PlayDead() public method

public PlayDead ( ) : void
return void

PlayWaitLoop() public method

播放待机动作
public PlayWaitLoop ( ) : void
return void

PlayWalkLoop() public method

public PlayWalkLoop ( ) : void
return void