#A single tile among thousands of other can make a difference in the entire tilemap
1 messages ยท Page 1 of 1 (latest)
Okay. I didn't think this was possible ๐
Okay. Please start with the beggining. What is Ref. ๐
A single tile among thousands of other can make a difference in the entire tilemap
So a type is just a regular variable. Such as float moveSpeed?
So any method that attempts to change a variable is just referencing the value and not the actual variable?
So in very simple terms. The variables value changes, but the name(reference) isn't.
The reference to the variable. Such as float moveSpeed.
Is this what you mean by reference?
โฌ๏ธ
Wait, ref is something you can call in C#?
I thought you meant a meaning.
Like saying a float is a type of variable.
Okay
Disappointed ๐
Okay, so what can I use it for in GetTileData?
Okay, can you show a example? Also one thing.
I have to stop here for now.
Can you help me later?
Yeah, I understand that. Makes sense.
Okay, thanks for the help.