Merge pull request #22678 from Dragoncraft89/set_pause

Add Behaviour of SceneTree pausing to the doc
This commit is contained in:
Rémi Verschelde 2018-10-07 11:44:07 +02:00 committed by GitHub
commit cff89fc4e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.