codetranslator icon indicating copy to clipboard operation
codetranslator copied to clipboard

Add Dictionary Support

Open HaSa1002 opened this issue 5 years ago • 0 comments

GDScript Dictionaries can be created using

var dict = {"a": 10, "some": Vector2(10, 11)}

In C# we can use a similar syntax

var dict = new Godot.Collections.Dictionary {
	{"a", 10},
	{"some", Vector2(10, 11)}
};

HaSa1002 avatar Oct 15 '20 12:10 HaSa1002