For Those Getting Error CS0019

This is the price I pay for using Quick Actions without paying attention.
snip1

snip2

After staring at my code for way too long I realized my mistake. DistanceToPlayer’s method is set to void and not float. Whoops! I was also missing the return.

snip3

Hopefully this helps someone.

1 Like

Privacy & Terms