Godot Grid Array
by TheQuietCroc
3
Godot Grid Array
Display boolean arrays as a grid of checkboxes in the inspector.
Usage
Include GridArray
or grid_array
(not case-sensitive) in your exported Array's name.
If you want to change the number of columns and rows in code, update the node's metadata. The naming convention is {property name}_{columns/rows}
.
GDScript
@export
var Grid_arrayExample: Array
# Metadata names
# Grid_arrayExample_columns
# Grid_arrayExample_rows
@export
var gridArraysample: Array
# Metadata names
# gridArraysample_columns
# gridArraysample_rows
C#
[Export]
public Array<bool> TestGridArray { get; private set; } = new();
// Metadata names
// TestGridArray_columns
// TestGridArray_rows
[Export]
private Array<bool> _grid_array_ = new();
// Metadata names
// _grid_array__columns
// _grid_array__rows
Screenshots
Download
Version1.0
Download Now
Support
If you need help or have questions about this plugin, please contact the author.
Contact Author