some bug fix

This commit is contained in:
CroakFang
2024-03-06 22:54:40 +08:00
parent 7b6bb0de9d
commit c96b1d80af
7 changed files with 12 additions and 9 deletions
@@ -973,9 +973,9 @@ namespace Gallop
MangaMorph.BindProperties[1].Value = 1;
}
var tearyEnable = ((int)info.attribute & LiveTimelineKeyFacialEffectData.kAttrTeary) > 0;
var tearytype = tearyEnable ? info.tearyType : 0;
StaticTearMorph.BindProperties.ForEach(p => p.Value = tearytype);
var tearfulEnable = ((int)info.attribute & LiveTimelineKeyFacialEffectData.kAttrTearful) > 0;
var tearfultype = tearfulEnable ? info.tearyType : 0;
StaticTearMorph.BindProperties.ForEach(p => p.Value = tearfultype);
var shaderEnable = ((int)info.attribute & LiveTimelineKeyFacialEffectData.kAttrFaceShadowVisible) > 0;
if (shaderEnable)
@@ -125,7 +125,7 @@ namespace Gallop.Live.Cutt
_tempAnim.wrapMode = (arg.loop ? WrapMode.Loop : WrapMode.Default);
_tempAnim[anim.name].time = (float)(start + interval);
if (Mathf.Abs(_prevFrameAnimationTime - currentTime) < 0.01f)
if (Mathf.Abs(_prevFrameAnimationTime - currentTime) < 0.01f && Director.instance.sliderControl.is_Touched)
{
if (_tempAnim.IsPlaying(anim.name))
{