Answer
Ove
rf
low
Sign In With Discord
C#
help
Join
Root Question Message
minjub
10/23/2022
How do I check the length of an array when that array is null?
How do I check the length of an array when that array is null?
I've tried make it nullable by putting ? after int[] but it still doesn't work
minjub
10/23/2022
here's where tileMap initialize:
thinker227
10/23/2022
Well, it's not null, it's just not initialized
thinker227
10/23/2022
You need to initialize the array with a value
minjub
10/23/2022
like that?
thinker227
10/23/2022
sure
thinker227
10/23/2022
Although now it's empty, but that may be what you want
minjub
10/23/2022
k
Contact
Frequently Asked Questions
Join The Discord
Bugs & Feature Requests
Terms & Privacy