You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assets\Scripts\CombatScript.cs(188,44): error CS0136: A local or parameter named 'duration' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter
#1
Open
facybenbook opened this issue
Jul 25, 2021
· 1 comment
i downgraded the project to unity 2019 and i got the following error : Assets\Scripts\CombatScript.cs(188,44): error CS0136: A local or parameter named 'duration' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter
could you tell me how i can fix it please
The text was updated successfully, but these errors were encountered:
It's probably referring to the definition at 179. You might try renaming "duration" to something else in the parameter list and body of CounterCoroutine.
i downgraded the project to unity 2019 and i got the following error : Assets\Scripts\CombatScript.cs(188,44): error CS0136: A local or parameter named 'duration' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter
could you tell me how i can fix it please
The text was updated successfully, but these errors were encountered: