fixed bug with inspector values
This commit is contained in:
parent
3a526fe8f4
commit
7f4f5ac7a8
@ -7,7 +7,7 @@ public class BolasProjectile : StraightProjectile
|
||||
[Header("Bolas Projectile")]
|
||||
[SerializeField]
|
||||
private float _slowIntensity = 0.25f;
|
||||
[SerializeField, Range(0, float.MaxValue)]
|
||||
[SerializeField]
|
||||
private float _slowDuration = 5f;
|
||||
|
||||
protected override void ApplyEffects(Entity target)
|
||||
|
||||
@ -6,7 +6,7 @@ using UnityEngine;
|
||||
public abstract class Projectile : MonoBehaviour
|
||||
{
|
||||
[Header("Projectile")]
|
||||
[SerializeField, Range(0, float.MaxValue)]
|
||||
[SerializeField]
|
||||
private float _speed = 5.0f;
|
||||
[SerializeField]
|
||||
private DirectionEnum _direction;
|
||||
|
||||
@ -5,7 +5,7 @@ using UnityEngine;
|
||||
public class StraightProjectile : Projectile
|
||||
{
|
||||
[Header("Straight Projectile")]
|
||||
[SerializeField, Range(0, int.MaxValue)]
|
||||
[SerializeField]
|
||||
private int _maxHitEntities = 1;
|
||||
|
||||
private List<Entity> _hitEntities = new List<Entity>();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user