Please use code tags and post the entire error message.
One thing I can assume from this line…
ammoText.text = ammoClipLeft + "/" + ammoLeft;////////WhereI get error
…Is that you haven’t set your reference to ammoText
in the inspector.
As for this line…
Reload();////Get Error if I do not do below(NOTIMPLEMENTEDEXCEPTION)
…Well, that’s just because you haven’t implemented your Reload()
method yet. It is intentionally throwing this error.
private void Reload() {
throw new NotImplementedException();
}
Edit:
Hang on, this code shouldn’t even compile. You have two of the same Reload()
methods.
Are you using an IDE like Visual Studio? It would be pointing this out if so.