mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-03-03 20:34:56 +08:00
docs: add warning about relying on RO timing
This commit is contained in:
parent
9642c845cf
commit
e7e030f0db
@ -40,6 +40,13 @@ game object, one tries to turn on a game object), the component lowest in the hi
|
||||
|
||||
### Reaction timing
|
||||
|
||||
:::warning
|
||||
|
||||
The precise timing of reactive component activation is subject to change in the future as we optimize the implementation
|
||||
of reactive components. You should not rely on the exact timing of reactive components for complex effects.
|
||||
|
||||
:::
|
||||
|
||||
Reactive components responding to the change of a GameObject's active state will do so after a one frame delay. When the
|
||||
game object is being deactivated, the game object's deactivation will be delayed by one frame to happen at the same
|
||||
time.
|
||||
|
@ -37,6 +37,13 @@ sidebar_position: 1
|
||||
|
||||
### 反応タイミング
|
||||
|
||||
:::warning
|
||||
|
||||
リアクティブコンポーネントの反応タイミングは、実装を最適化するに連れて微妙に変更される可能性があります。精密なタイミング合わせを要求するギミックには
|
||||
リアクティブコンポーネントの反応タイミングに依存しないでください。
|
||||
|
||||
:::
|
||||
|
||||
GameObjectのアクティブ状態の変更に反応するリアクティブコンポーネントは、1フレームの遅延後に反応します。ゲームオブジェクトが非アクティブになる場合、
|
||||
ゲームオブジェクトの非アクティブ化は1フレーム遅れて行われ、同時に行われます。この理由については[Shape Changer](./shape-changer.md)
|
||||
を
|
||||
|
Loading…
Reference in New Issue
Block a user