Blue
Blue
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
im not sure why its not letting me reload
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
you can see that part of the code in the video and he shows it working
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
8:10
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
like that?
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
private IEnumerator Reload() { gunData.reloading = false; yield return new WaitForSeconds(gunData.reloadTime); gunData.currentAmmo = gunData.magSize; gunData.reloading = true; }
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
how do i fix that
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
or is there a spelling mistake
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
honestly if i knew i wouldnt be here
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
is it cause its a public void?
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
just before the IEnumerator
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
public void StartReload() { if (gunData.reloading) { StartCoroutine(Reload()); } }
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
private IEnumerator Reload() { gunData.reloading = true; yield return new WaitForSeconds(gunData.reloadTime); gunData.currentAmmo = gunData.magSize; gunData.reloading = false; }
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
the player shoots just fine though im just confused onto why the realod isnt working
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
idk what you mean by this bit
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
just make them a public action?
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
this is what i had before i watched the video and it didnt work then either
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
but for me it doesnt show
51 replies
CC#
Created by Blue on 3/28/2023 in #help
❔ having issues on a reloading script on unity to reload weapons
on the video the guy does this and tests it straight away and it shows in the console on unity that he is reloading
51 replies