commit
01c003dfed
|
@ -292,8 +292,8 @@ platform-independent manner.
|
||||||
Once your GDNative library is compiled and referenced in a `.gdns` file, you can use it in GDScript or C#. Here's an example with GDScript:
|
Once your GDNative library is compiled and referenced in a `.gdns` file, you can use it in GDScript or C#. Here's an example with GDScript:
|
||||||
|
|
||||||
```gdscript
|
```gdscript
|
||||||
var simpleclass = load("res://simpleclass.gdns").new();
|
var simpleclass = load("res://simpleclass.gdns").new()
|
||||||
simpleclass.method("Test argument");
|
simpleclass.method("Test argument")
|
||||||
```
|
```
|
||||||
|
|
||||||
### Using Godot classes in C++
|
### Using Godot classes in C++
|
||||||
|
|
Loading…
Reference in New Issue