public void Update() { if (isReloading) { reloadTime += Time.deltaTime; if (reloadTime > reloadTimer) { clip.SetData(initalClipSize); isReloading = false; } } }
private void Update() { if (isReloading) { reloadtime += Time.deltaTime; if (reloadtime > reloadtimer) { clip.SetData(intialClipSize); isReloading = false; } } }