Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Ver.1.1.0

Compare
Choose a tag to compare
@Giresharu Giresharu released this 13 Jun 15:54
· 20 commits to master since this release

特性

  • 增加软跳过 SoftSkip 方法以及设置持续软跳 SetSoftSkip 方法。与 Skip 不同,软跳过只会跳到下一个执行 Func 类型委托的标签;
  • 给 TMProPlayer 类型添加 timeScale 字段,用于方便快进;

修复

  • 修复 Skip 不执行标签的问题;
  • 修复打字机调用 Action 时返回 null 导致延迟一帧的问题;
  • 优化 Delay 标签的实现;
  • 修复 Delay 为 0 时老不更新文字的bug;
  • 修复 TMProPlayer 实例被销毁时不会正确 Dispose 内部的 CancellationTokenSource 的问题;
  • 修复更新 NextChar 时超出索引的问题;

Feature

  • Added SoftSkip method for soft skipping and SetSoftSkip method for setting continuous soft skipping. Unlike Skip, soft skipping jumps only to the next tag that executes a Func-type delegate.
  • Added timeScale field to TMProPlayer class for convenient fast-forwarding.

Fixed

  • Fixed issue where Skip was not executing tags.
  • Fixed delay of one frame when invoking Action in typewriter effect due to null return.
  • Optimized implementation of Delay tag.
  • Fixed bug where text was not updating when Delay was set to 0.
  • Fixed issue where the TMProPlayer instance was not correctly disposing the internal CancellationTokenSource when destroyed.
  • Fixed issue of going beyond the index when updating NextChar.