docs: Add note about instance methods as callbacks in scripting
This commit is contained in:
parent
dfac68b189
commit
4d2f7ef009
1 changed files with 3 additions and 0 deletions
|
|
@ -122,6 +122,9 @@ without necessarily having to lock scripts/interpreters every frame.
|
|||
|
||||
Adds an timer callback which triggers every *milliseconds*.
|
||||
|
||||
Note: Using instance methods as callbacks is not supported. Always
|
||||
use module methods.
|
||||
|
||||
.. py:function:: timer_remove(callback)
|
||||
|
||||
Removes a timer callback. (Note: You can also use
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue