Through the actual test, the transform. DOShakePosition when introduced to a longer duration, there will be a serious stuck。
There must be a need for continuous vibration, and it seems that the results of 0~999s should not be calculated in a frame before execution.
Through the actual test, the transform. DOShakePosition when introduced to a longer duration, there will be a serious stuck。 There must be a need for continuous vibration, and it seems that the results of 0~999s should not be calculated in a frame before execution.
经过实际测试,transform.DOShakePosition 在传入一个长的 duration 时(比如 999),会出现严重卡顿。 持续震动的需求是必然存在的,似乎不应该在一帧内把 0~999s 的结果全算出来再执行。