- Home /
Script FPS Game Emitter Compiler error,ParticleEmitter now wont work
public float mermı, sarjor, taplammermi, menzil, hasar1, hasar2, sıradakiates, ateszamani, sayi, zaman, maxzaman; public bool ates, reload; RaycastHit hit; ParticleEmitter muzzle; public Text mermiyazi;
void Start()
{
zaman = maxzaman;
muzzle = GetComponentInChildren<ParticleEmitter>();
}
// Update is called once per frame
void Update()
{
mermiyazi.text = "" + mermı + "/" + taplammermi;
if (Input.GetMouseButton(0) && mermı > 0 && Time.time > sıradakiates && !reload)
{
ates = true;
muzzle.emit = true
sıradakiates = Time.time + ateszamani;
mermı -= 1;
its i used emit script its give compiler error how can i fix it (Sorry for bad english),İ added this code "ParticleEmitter muzzle;"for my fps game but i get a compiler error RaycastHit hit; ParticleEmitter muzzle; public Text mermiyazi; ates = true; muzzle.emit = true sıradakiates = Time.time + ateszamani; what i can do? (Sorry for bad english)
Your answer
Follow this Question
Related Questions
Draw call minimizer 1 Answer
[2018.3] Scripts won't compile. At all. 1 Answer
Help with script 1 Answer
[C#] Quaternion Rotations with Input.GetAxis problems. 1 Answer
How to share varibles betweent scripts 4 Answers