When using event accessors in Unity, do I need to use lock?

From what I understand, lock is used to prevent a block of code from being ran multiple times all at once by different threads.
I read somewhere Unity does not use Threads, so is lock necessary?

Only if you manually create threads yourself. Otherwise, no.

1 Like