瀏覽代碼

Update cancel_timer.gui_script

Björn Ritzl 2 年之前
父節點
當前提交
4cec426de0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      examples/timer/cancel_timer/cancel_timer.gui_script

+ 2 - 2
examples/timer/cancel_timer/cancel_timer.gui_script

@@ -19,7 +19,7 @@ function on_input(self, action_id, action)
 end
 end
 
 
 --[[
 --[[
-1. We will use interval of 1 [s].
+1. We will use interval of 1 (s).
 2. We will be repeating the timer endlessly.
 2. We will be repeating the timer endlessly.
 3. Start the timer with interval (1s) and repeating (true) and pass a callback function.
 3. Start the timer with interval (1s) and repeating (true) and pass a callback function.
 	Store the handle to the timer in self.timer.
 	Store the handle to the timer in self.timer.
@@ -30,4 +30,4 @@ end
 8. Cancel the timer using the saved self.timer handle.
 8. Cancel the timer using the saved self.timer handle.
 9. Get the text node.
 9. Get the text node.
 10. Update text node with an information that the timer was cancelled.
 10. Update text node with an information that the timer was cancelled.
---]]
+--]]