summaryrefslogtreecommitdiff
path: root/modules/mono/editor/script_templates/Node
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2022-09-01 00:40:59 +0200
committerRaul Santos <raulsntos@gmail.com>2022-09-01 10:29:52 +0200
commit9a10701c69f073d3d52764c54a1d008475683858 (patch)
tree0374c1cb576b7beeeb45ad40b52ce881bf4e6210 /modules/mono/editor/script_templates/Node
parenta5db03efa724b8910281d73576d31cc662b8cc13 (diff)
C#: Assume 64-bit types when type has no meta
When the C# bindings generator finds a type without meta assume the type refers to the 64-bit version of the type: - `float` is converted to `double` - `int` is converted to `long`
Diffstat (limited to 'modules/mono/editor/script_templates/Node')
-rw-r--r--modules/mono/editor/script_templates/Node/default.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/script_templates/Node/default.cs b/modules/mono/editor/script_templates/Node/default.cs
index 4c86d1666f..74ece028fc 100644
--- a/modules/mono/editor/script_templates/Node/default.cs
+++ b/modules/mono/editor/script_templates/Node/default.cs
@@ -11,7 +11,7 @@ public partial class _CLASS_ : _BASE_
}
// Called every frame. 'delta' is the elapsed time since the previous frame.
- public override void _Process(float delta)
+ public override void _Process(double delta)
{
}
}