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
44
44
private float mTime = 1.0f ;
45
45
#endif
46
46
47
+ [ Separator ( "Check Variables (JCS_3DThrowAction)" ) ]
48
+
49
+ [ Tooltip ( "Velocity of the object." ) ]
50
+ [ SerializeField ]
51
+ [ ReadOnly ]
52
+ private Vector3 mVelocity = Vector3 . zero ;
53
+
47
54
[ Separator ( "Runtime Variables (JCS_3DThrowAction)" ) ]
48
55
49
56
[ Tooltip ( "Is this component active?" ) ]
@@ -59,11 +66,10 @@ public class JCS_3DThrowAction : MonoBehaviour
59
66
[ SerializeField ]
60
67
private JCS_DeltaTimeType mDeltaTimeType = JCS_DeltaTimeType . DELTA_TIME ;
61
68
62
- private Vector3 mVelocity = Vector3 . zero ;
63
-
64
69
/* Setter & Getter */
65
70
66
71
public bool Active { get { return this . mActive ; } set { this . mActive = value ; } }
72
+ public Vector3 Velocity { get { return this . mVelocity ; } }
67
73
public float GravityProduct { get { return this . mGravityProduct ; } set { this . mGravityProduct = value ; } }
68
74
public JCS_DeltaTimeType DeltaTimeType { get { return this . mDeltaTimeType ; } set { this . mDeltaTimeType = value ; } }
69
75
You can’t perform that action at this time.
0 commit comments