判断loop情况
This commit is contained in:
parent
5017235f09
commit
cff16c54cf
@ -83,6 +83,10 @@ namespace QFramework
|
|||||||
}
|
}
|
||||||
anim[animName].speed = curSpeed;
|
anim[animName].speed = curSpeed;
|
||||||
anim.Play(animName);
|
anim.Play(animName);
|
||||||
|
if (anim[animName].wrapMode== WrapMode.Loop)
|
||||||
|
{
|
||||||
|
this.Finish();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user