- Edited
In GDScript, when I make typed variables or anything like that there's inconsistancy with the capitalisation and colour of the types. I'm curious if there's some nuanced difference between these, such as if it depends on if the type is hashable, iterable etc.?
There even seems to be slightly different shades of green, where Resource
looks lighter than String
. I confirmed this with a photo editing program. What is the meaning of this lol? If anyone could please share the underlying logic if it's there, otherwise I'll be fine memorising them. Thanks