#A single tile among thousands of other can make a difference in the entire tilemap

1 messages ยท Page 1 of 1 (latest)

hollow kelp
fair marten
#

Okay. I didn't think this was possible ๐Ÿ™‚

#

Okay. Please start with the beggining. What is Ref. ๐Ÿ˜„

hollow kelp
#

A single tile among thousands of other can make a difference in the entire tilemap

fair marten
#

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?

fair marten
#

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.