Merge pull request #484 from Jummit/patch-1
Remove semicolons from GDScript example
This commit is contained in:
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…
x
Reference in New Issue
Block a user