How can I access properties of a class? In GDScrpit - it works
func _ready(): modulate.a = 0.1 in c# - it doesn't work public override void _Ready() { Modulate.a = 0.1f; }
I don't understand it.
Can anyone help me?
Thank you very much
I found a solution. But I wonder.
var modulate = Modulate; modulate.a = 0.1f; Modulate = modulate;
Thank you
That doesn't make sense to me. What does the error say?