Refer to NativeScript 1.1 as 'new' rather than 'upcoming' in the GDNative cpp example

This commit is contained in:
Ivorius
2021-12-29 13:51:12 +01:00
committed by GitHub
parent 095aaccd7d
commit d85e844a94

View File

@@ -340,7 +340,7 @@ 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
is because our class is a container class; ``owner`` points to the actual Sprite2D
node our script relates to. In the upcoming NativeScript 1.1, ``set_position``
node our script relates to. Since NativeScript 1.1, ``set_position``
can be called directly on our class.
There is one more C++ file we need; we'll name it ``gdlibrary.cpp``. Our