diff --git a/Runtime/Export/Scripting/MonoBehaviour.bindings.cs b/Runtime/Export/Scripting/MonoBehaviour.bindings.cs index 3c360fc5d..160d60caa 100644 --- a/Runtime/Export/Scripting/MonoBehaviour.bindings.cs +++ b/Runtime/Export/Scripting/MonoBehaviour.bindings.cs @@ -64,6 +64,12 @@ public void Invoke(string methodName, float time) InvokeDelayed(this, methodName, time, 0.0f); } + // Invokes the method /methodName/ in /time/ seconds. + public void InvokeRepeating(string methodName, float repeatRate) + { + InvokeDelayed(this, methodName, repeatRate, repeatRate); + } + // Invokes the method /methodName/ in /time/ seconds. public void InvokeRepeating(string methodName, float time, float repeatRate) {