File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Assets/JCSUnity/Scripts/Effects/3D
docs/ScriptReference/Effects/3D Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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. |
You can’t perform that action at this time.
0 commit comments