Question by
MrDouduToes · Nov 03, 2021 at 10:02 PM ·
variableslogic
Why offset doesnt change when enemyPos does?
Another script decides if enemyPos is 0 or 1 but it doesnt matter what it decide to do offset doesnt change. I made both values public to see if they change in the editor and enemyPos changes correctly but offset doesnt.
rrerere.png
(83.1 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613044943im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Code wont work, even though the logic seems right to me 0 Answers
How to find match in 4 in a Row Game. 1 Answer
i have a problem with invalid credentials,invalid credentials 1 Answer
Help with variables 1 Answer
Sorting by Variables Help 0 Answers