What would the C# of this be
var whatever:Transform;
I tried
Transform whatever:Transform but it threw up errors?
What would the C# of this be
var whatever:Transform;
I tried
Transform whatever:Transform but it threw up errors?
Transform whatever;
Exactly. It would be pretty ridiculous to tell the compiler what kind of variable it was twice, eh?
This statement:
var whatever:Transform;
is public by default
Transform whatever;
is private by default if you declared this statement outside a function within a class.