resource limits added
This commit is contained in:
@ -7,6 +7,9 @@ public class BulletComponent : MonoBehaviour
|
||||
[SerializeField]
|
||||
private float duration = 5f;
|
||||
private float existed = 0f;
|
||||
[SerializeField]
|
||||
private string type = "flare";
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
@ -15,7 +15,9 @@ public class PistolComponent : MonoBehaviour
|
||||
[SerializeField]
|
||||
GameObject targetObjectPrefab;
|
||||
[SerializeField]
|
||||
private GameObject projectilePrefab;
|
||||
public GameObject projectilePrefab;
|
||||
[SerializeField]
|
||||
public string projectileName;
|
||||
[SerializeField]
|
||||
private Transform bulletSpawnPoint;
|
||||
[SerializeField]
|
||||
|
Reference in New Issue
Block a user