2
0
Fork 0
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.

24 lines
747 B
C#

namespace Game
{
public class ClipCancel : TimelineClipBase
{
private CancelClip _mRealAsset;
public override void OnEnter()
{
_mRealAsset = Asset as CancelClip;
var info = _mRealAsset.template;
Owner.combo.IsJumpCancelable = info.jumpCancel;
Owner.combo.IsGroundCancelable = info.groundCancel;
Owner.combo.IsSkillCancelable = info.skillCancel;
}
public override void OnStay()
{
}
public override void OnLeave()
{
Owner.combo.IsJumpCancelable = false;
Owner.combo.IsGroundCancelable = false;
Owner.combo.IsSkillCancelable = false;
}
}
}