您不能選擇超過 %s 個話題 話題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字
 
 
 

27 行
505 B

  1. using System;
  2. using UnityEngine;
  3. namespace Tweening
  4. {
  5. public sealed class TrailRendererClearTweenerTrack : TweenerTrack<TrailRenderer, bool>
  6. {
  7. public override void UpdateComponentValue(float evaluatedTime)
  8. {
  9. if (Mathf.Approximately(evaluatedTime, 1f))
  10. {
  11. this._component.Clear();
  12. }
  13. }
  14. public override void ResetComponentValue()
  15. {
  16. this._component.Clear();
  17. }
  18. public override void InitializeComponentValue()
  19. {
  20. this._component.Clear();
  21. }
  22. }
  23. }