You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
694 B
C#
28 lines
694 B
C#
|
2 years ago
|
namespace Game
|
||
|
|
{
|
||
|
|
public class ClipBreak : TimelineClipBase
|
||
|
|
{
|
||
|
|
private BreakClip _mRealAsset;
|
||
|
|
public override void OnEnter()
|
||
|
|
{
|
||
|
|
_mRealAsset = Asset as BreakClip;
|
||
|
|
var stance = _mRealAsset.template.stance;
|
||
|
|
if (stance == EComboStance.Idle)
|
||
|
|
{
|
||
|
|
Owner.combo.Stance = Owner.combo.PreStance;
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
Owner.combo.Stance = stance;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
public override void OnStay()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
public override void OnLeave()
|
||
|
|
{
|
||
|
|
Owner.combo.Stance = EComboStance.None;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|