#When I put these lines to code it changes the bools value when I start

1 messages · Page 1 of 1 (latest)

tranquil cape
#
            magicka -= decrease * Time.deltaTime; }```
teal star
#

you mean == true

wet steppe
#

^

teal star
#

= is an assignment operator

wet steppe
#

= is for assignment
== is for comparison

tranquil cape
#

ohhhh okay thaks

teal star
#

you are not the first to have this issue, and you will not be the last