Merge remote-tracking branch 'remotes/origin/master' into AnHui_BaoShi
This commit is contained in:
commit
dbd7fde923
@ -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