mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
Fix typo in GDNative C++ example (#5761)
This commit is contained in:
committed by
GitHub
parent
633aa81a3e
commit
558ba65828
@@ -256,7 +256,7 @@ it. However, we do not have to tell Godot about our constructor, destructor and
|
||||
The other method of note is our ``_process`` function, which keeps track
|
||||
of how much time has passed and calculates a new position for our sprite using a
|
||||
sine and cosine function. What stands out is calling
|
||||
``owner->set_position`` to call one of the build in methods of our Sprite2D. This
|
||||
``owner->set_position`` to call one of the built-in methods of our Sprite2D. This
|
||||
is because our class is a container class; ``owner`` points to the actual Sprite2D
|
||||
node our script relates to.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user