浏览代码

Add Behaviour of SceneTree pausing to the doc

florian 7 年之前
父节点
当前提交
353af122b8
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      doc/classes/SceneTree.xml

+ 4 - 0
doc/classes/SceneTree.xml

@@ -278,6 +278,10 @@
 		</member>
 		<member name="paused" type="bool" setter="set_pause" getter="is_paused">
 			If [code]true[/code] the SceneTree is paused.
+			Doing so will have the following behavior:
+			* 2D and 3D physics will be stopped.
+			* _process and _physics_process will not be called anymore in nodes.
+			* _input and _input_event will not be called anymore either.
 		</member>
 		<member name="refuse_new_network_connections" type="bool" setter="set_refuse_new_network_connections" getter="is_refusing_new_network_connections">
 			If [code]true[/code] the SceneTree's [member network_peer] refuses new incoming connections.