#790: MapMagic 2
Status: Completed

Hey, theres a chance im wrong but it seems that theres no way to set Tag to NULL (maybe adding an empty tag would achieve it, if its even possible, though not sure)And also the BOOL genAroundObjsTag is visible in inspector but its not used by any scriptmeaning if we change genAroundTag from default value (null) to anything, we wont be able to change it back in inspector:again maybe im wrong but it doesnt really seem like genAroundObjsTag is used by any script, and it doesnt turn off the "Generate around tags" feature, according to the codeif im right then i think even if we can achieve the null option with empty tag, this option is misleading:for example here, it doesnt check the bool at all:

Code (CSharp):

GameObject[] taggedObjects = null;

if (genAroundTag != null && genAroundTag.Length != 0)

{

taggedObjects = GameObject.FindGameObjectsWithTag(genAroundTag).Where(tagged => tagged.scene == holder.gameObject.scene).ToArray();

}

its in TileManager.cs

Code (CSharp):

public bool genAroundMainCam = true;

public bool genAroundObjsTag = false;

public string genAroundTag = null;

Created by akaWraith Feb 11, 2023