unity cancel invokerepeating

C#
CancelInvoke();
Source

Also in C#: