Browse Source

Added note about adding the same go several times to the input stack.

Mikael Säker 8 năm trước cách đây
mục cha
commit
50d3786b7e
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      docs/en/manuals/input.md

+ 2 - 0
docs/en/manuals/input.md

@@ -313,6 +313,8 @@ Running this code will result in an input stack ordered like this:
 
 ![Input stack order](images/input/input_stack_order.png)
 
+If the same game object is added more than once to the input stack, the previous entry in the stack will be removed and entries above will be shifted down. The duplicate game object will be placed at the top of the stack. If this happens the engine will issue a warning in the Will probably also add a warning about this in the engine.
+
 ## Consuming input
 
 A component's `on_input()` code can actively control whether actions should be passed on down the stack or not: