Skip to content

Avoid using string based Method Invocation

Vladimir edited this page Dec 7, 2018 · 3 revisions

Invocation of SendMessage, SendMessageUpwards, BroadcastMessage, Invoke or InvokeRepeating leads to harder to maintain code as well as in some cases unnecessary performance overhead in performance critical context

Each usage in performance critical context will be highlighted. Context actions for move invocation to Start or Awake are available in Alt+Enter

History:

  • This inspection was first added in Rider/ReSharper 2018.3
Clone this wiki locally