Skip to content

Commit ad5771a

Browse files
committed
docs: Update
1 parent 0875db5 commit ad5771a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Assets/JCSUnity/Scripts/Effects/3D/JCS_3DShakeEffect.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@ public class JCS_3DShakeEffect : JCS_UnityObject
1919
{
2020
/* Variables*/
2121

22+
// Callback executed before the shake effect.
2223
public Action onBeforeShake = null;
24+
25+
// Callback executed while doing the shake effect.
2326
public Action onShake = null;
27+
28+
// Callback executed after the shake effect.
2429
public Action onAfterShake = null;
2530

2631
#if UNITY_EDITOR

docs/ScriptReference/Effects/3D/JCS_3DShakeEffect.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Effect that shake the transform in 3D.
66

77
| Name | Description |
88
|:---------------|:------------------------------------------------------|
9+
| onBeforeShake | Callback executed before the shake effect. |
10+
| onShake | Callback executed while doing the shake effect. |
11+
| onAfterShake | Callback executed after the shake effect. |
912
| TransformType | Shake on this transform properties. |
1013
| Force | Force the effect even when its already in the motion. |
1114
| Time | How long it shakes. |

0 commit comments

Comments
 (0)