9 Years Ago
Fixed bug where placed buildings wouldn't be perceived as Smart Objects by Unit+Senses. Cleaned up some more Considerations. Added a IsInLayerMask extension to the TransformUtil. Modified the SetLayer in TransformUtil to take a bool on whether to propagate mask to children. Cleaned up some inconsistencies between using SetLayer and gameObject.layer. Cleaned up project to use IsInLayerMask over gameObject.layer ==.