Skip to content

Commit b6002a2

Browse files
committed
Update: docs
1 parent 89cb514 commit b6002a2

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

docs/articles/en/motion-configuration.md

+10
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ LMotion.Create(0f, 10f, 2f)
1818

1919
Specifies the easing function to apply to the motion.
2020

21+
You can also specify AnimtaionCurve for this. (`Ease.CustomAnimationCurve` is automatically set when using `WithEase(AnimationCurve)`. Do not specify this option with `WithEase(Ease)`.)
22+
2123
#### WithDelay
2224

2325
Delay the start of a motion by a specified number of seconds. You can adjust the behavior by specifying `DelayType` and `SkipValuesDuringDelay`.
@@ -87,6 +89,14 @@ Specifies the Scheduler used for motion playback.
8789
| MotionScheduler.Manual | Updates manually. For details, see [Updating Motion Manually](updating-motion-manually.md). |
8890
| EditorMotionScheduler.Update (LitMotion.Editor) | Updates at the EditorApplication.update timing. This Scheduler is limited to the editor. |
8991

92+
#### WithCancelOnError
93+
94+
Cancels the motion when an uncaught exception occurs within the motion's `Bind` function. It is set to false by default.
95+
96+
#### WithBindOnSchedule
97+
98+
Execute Bind processing at the timing of scheduling the motion. It is set to false by default.
99+
90100
#### WithRoundingMode (int)
91101

92102
Sets the rounding mode for decimal values. This option is only applicable to int-type motions.

docs/articles/ja/motion-configuration.md

+10
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ LMotion.Create(0f, 10f, 2f)
1919

2020
モーションに適用するイージング関数を指定します。
2121

22+
これにはAnimtaionCurveを指定することも可能です。(`Ease.CustomAnimationCurve``WithEase(AnimationCurve)`を使用した際に自動で設定されます。このオプションを`WithEase(Ease)`で指定しないでください。)
23+
2224
#### WithDelay
2325

2426
モーションの開始を指定された秒数だけ遅延させます。`DelayType``SkipValuesDuringDelay`を指定することで挙動を調整できます。
@@ -89,6 +91,14 @@ LMotion.Create(0f, 10f, 2f)
8991
| MotionScheduler.Manual | 更新を手動で行います。詳細は[モーションを手動で更新する](updating-motion-manually.md)を参照してください。 |
9092
| EditorMotionScheduler.Update (LitMotion.Editor) | EditorApplication.updateのタイミングで更新を行います。このSchedulerはエディタ限定で使用できます。 |
9193

94+
#### WithCancelOnError
95+
96+
モーションの`Bind`関数内でcatchされていない例外が発生した際にモーションをキャンセルします。デフォルトではfalseに設定されています。
97+
98+
#### WithBindOnSchedule
99+
100+
モーションをスケジュールするタイミングでBindの処理を実行します。デフォルトではfalseに設定されています。
101+
92102
#### WithRoundingMode (int, long)
93103

94104
小数点以下の値の丸め方を設定します。このオプションはint型のモーションにのみ適用可能です。

0 commit comments

Comments
 (0)