File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Assets/JCSUnity/Scripts/Actions/3D Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,13 @@ public class JCS_3DThrowAction : MonoBehaviour
4444 private float mTime = 1.0f ;
4545#endif
4646
47+ [ Separator ( "Check Variables (JCS_3DThrowAction)" ) ]
48+
49+ [ Tooltip ( "Velocity of the object." ) ]
50+ [ SerializeField ]
51+ [ ReadOnly ]
52+ private Vector3 mVelocity = Vector3 . zero ;
53+
4754 [ Separator ( "Runtime Variables (JCS_3DThrowAction)" ) ]
4855
4956 [ Tooltip ( "Is this component active?" ) ]
@@ -59,11 +66,10 @@ public class JCS_3DThrowAction : MonoBehaviour
5966 [ SerializeField ]
6067 private JCS_DeltaTimeType mDeltaTimeType = JCS_DeltaTimeType . DELTA_TIME ;
6168
62- private Vector3 mVelocity = Vector3 . zero ;
63-
6469 /* Setter & Getter */
6570
6671 public bool Active { get { return this . mActive ; } set { this . mActive = value ; } }
72+ public Vector3 Velocity { get { return this . mVelocity ; } }
6773 public float GravityProduct { get { return this . mGravityProduct ; } set { this . mGravityProduct = value ; } }
6874 public JCS_DeltaTimeType DeltaTimeType { get { return this . mDeltaTimeType ; } set { this . mDeltaTimeType = value ; } }
6975
You can’t perform that action at this time.
0 commit comments