✅ Object is null after initializing
Hello, I have a object I make
WorldRegions region = new WorldRegions(i, 1)
{
RegionStartTile = startTile,
Width = randomXSize,
Height = randomYSize
};
Yes this object is null when referenced, and null when in watch in debug. I'm not sure why anyone able to explain what is happening?
WorldRegions region = new WorldRegions(i, 1)
{
RegionStartTile = startTile,
Width = randomXSize,
Height = randomYSize
};
Yes this object is null when referenced, and null when in watch in debug. I'm not sure why anyone able to explain what is happening?