mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Add C# variant tab to Pausing games example (#5011)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
@@ -59,7 +59,14 @@ You can achieve the same result in code:
|
|||||||
func _ready():
|
func _ready():
|
||||||
pause_mode = Node.PAUSE_MODE_PROCESS
|
pause_mode = Node.PAUSE_MODE_PROCESS
|
||||||
|
|
||||||
By default all nodes have this property in the "Inherit" state. This
|
.. code-tab:: csharp
|
||||||
|
|
||||||
|
public override void _Ready()
|
||||||
|
{
|
||||||
|
PauseMode = Node.PauseModeEnum.Process;
|
||||||
|
}
|
||||||
|
|
||||||
|
By default, all nodes have this property in the "Inherit" state. This
|
||||||
means, that they will only process (or not) depending on what this same
|
means, that they will only process (or not) depending on what this same
|
||||||
property is set on the parent node. If the parent is set to "Inherit" ,
|
property is set on the parent node. If the parent is set to "Inherit" ,
|
||||||
then the grandparent will be checked and so on. Ultimately, if a state
|
then the grandparent will be checked and so on. Ultimately, if a state
|
||||||
|
|||||||
Reference in New Issue
Block a user