godotengine / godotengine/godot-cpp

How to implement array type restriction

Open
#894 11 comments 0 reactions 0 assignees View on GitHub
topic:gdextension
Dominant language
C++
Stars
2.7k
Forks
809
Avg merge
1d 3h
Merged PRs (30d)
8

Description

I want to implement
var list: Array [DevicePersets] in GDScript

ClassDB::add_property("VoxelWorldData", PropertyInfo(Variant::ARRAY, "device_persets", PROPERTY_HINT_ARRAY_TYPE, "DevicePersets"), "set_device_persets", "get_device_persets");

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.