修复bug
This commit is contained in:
parent
3c1a9f564b
commit
b2449f638e
@ -12,13 +12,10 @@ public class HighLightFlashItem : MonoBehaviour
|
||||
|
||||
HighlightEffect high;
|
||||
TweenerCore<float, float, FloatOptions> dotw;
|
||||
private void Awake()
|
||||
{
|
||||
high = GetComponent<HighlightEffect>();
|
||||
}
|
||||
|
||||
public void Init(float time, int count = -1, string finishedEvent = null)
|
||||
{
|
||||
high = GetComponent<HighlightEffect>();
|
||||
high.outline = 0;
|
||||
dotw = DOTween.To(() => high.outline, (v) => high.outline = v, 1, time).SetEase(Ease.OutFlash).SetLoops(count, LoopType.Yoyo).OnComplete(() =>
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user