|
- using System;
- using UnityEngine;
-
- namespace Tweening
- {
- public sealed class TrailRendererClearTweenerTrack : TweenerTrack<TrailRenderer, bool>
- {
- public override void UpdateComponentValue(float evaluatedTime)
- {
- if (Mathf.Approximately(evaluatedTime, 1f))
- {
- this._component.Clear();
- }
- }
-
- public override void ResetComponentValue()
- {
- this._component.Clear();
- }
-
- public override void InitializeComponentValue()
- {
- this._component.Clear();
- }
- }
- }
|