Skip to content

Commit

Permalink
feat(WaveSpawner): Expand range limit for spawner
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Aug 20, 2022
1 parent 40336b3 commit 38a7c0c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Assets/JCSUnity/Scripts/Actions/Spawning/JCS_BasicWaveSpawner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class JCS_BasicWaveSpawner : MonoBehaviour

[Tooltip("Randomize the spawn time a bit.")]
[SerializeField]
[Range(0, 10)]
[Range(0.0f, 30.0f)]
private float mRandomizeSpawnTime = 0.0f;

private float mSpawnTimer = 0.0f;
Expand All @@ -54,7 +54,7 @@ public class JCS_BasicWaveSpawner : MonoBehaviour

[Tooltip("Randomize value in x-axis.")]
[SerializeField]
[Range(0.0f, 10.0f)]
[Range(0.0f, 300.0f)]
private float mRandPosRangeX = 1.0f;

[Tooltip("Spawn the item random position, in y-axis.")]
Expand All @@ -63,7 +63,7 @@ public class JCS_BasicWaveSpawner : MonoBehaviour

[Tooltip("Randomize value in y-axis.")]
[SerializeField]
[Range(0.0f, 10.0f)]
[Range(0.0f, 300.0f)]
private float mRandPosRangeY = 1.0f;

[Tooltip("Spawn the item random position, in z-axis.")]
Expand All @@ -72,7 +72,7 @@ public class JCS_BasicWaveSpawner : MonoBehaviour

[Tooltip("Randomize value in z-axis.")]
[SerializeField]
[Range(0.0f, 10.0f)]
[Range(0.0f, 300.0f)]
private float mRandPosRangeZ = 1.0f;

[Header("- Randomize Rotation")]
Expand Down Expand Up @@ -112,7 +112,7 @@ public class JCS_BasicWaveSpawner : MonoBehaviour

[Tooltip("Random scale in range in x-axis.")]
[SerializeField]
[Range(0.0f, 10.0f)]
[Range(0.0f, 300.0f)]
private float mRandScaleRangeX = 0.0f;

[Tooltip("Randomize the scale in y-axis?")]
Expand All @@ -121,7 +121,7 @@ public class JCS_BasicWaveSpawner : MonoBehaviour

[Tooltip("Random scale in range in y-axis.")]
[SerializeField]
[Range(0.0f, 10.0f)]
[Range(0.0f, 300.0f)]
private float mRandScaleRangeY = 0.0f;

[Tooltip("Randomize the scale in z-axis?")]
Expand All @@ -130,7 +130,7 @@ public class JCS_BasicWaveSpawner : MonoBehaviour

[Tooltip("Random scale in range in z-axis.")]
[SerializeField]
[Range(0.0f, 10.0f)]
[Range(0.0f, 300.0f)]
private float mRandScaleRangeZ = 0.0f;

/* Setter & Getter */
Expand Down

0 comments on commit 38a7c0c

Please sign in to comment.