#include#include using namespace godot; void some_function() { PoolVector my_array; my_array.resize(5); }
void some_function() { PoolVectormy_array; my_array.push_back(1.0); my_array.push_back(2.0); my_array.push_back(3.0); }
void some_function() { PoolVectorThese examples use the Godot engine's built-in `Godot.hpp` header file, which is part of the Godot C++ API. This means that they are specific to the Godot game engine and cannot be used outside of this context.my_array; my_array.push_back("Hello"); my_array.push_back("world"); String word = my_array[1]; }