Skip to content

Commit 22c1ff1

Browse files
author
Roberto De Ioris
authored
Create Timer_API.md
1 parent cfb9ad1 commit 22c1ff1

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

‎docs/Timer_API.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# The Timer API
2+
3+
A custom python class is exposed (unreal_engine.FTimerHandler) to support UE4 timers:
4+
5+
```py
6+
# create a timer
7+
timer = self.uobject.set_timer(frequency, callable[, loop, initial])
8+
# clear a timer
9+
timer.clear()
10+
# pause a timer
11+
timer.pause()
12+
# unpause a timer
13+
timer.unpause()
14+
```

0 commit comments

Comments
 (0)