Hello,
I experienced a minor bug (in my opinion) in the RuleOverrideTile. I am using Unity 2021.2.10. You can use the tiles for overidding sprites of other RuleTiles. In my case I extended the RuleTile and added certain properties to these customized tile. Example:
[CreateAssetMenu(menuName = "2D/Tiles/Complex Rule Tile", fileName = "CRT_")]
public class ComplexRuleTile : RuleTile<ComplexRuleTile.Neighbor>
{
[SerializeField]
private List<TileBase> group1 = new();
// ...
}
Then I created an instances of these ComplexRuleTiles and filled the properties like group1 accordingly. Thereafter I created several RuleOverrideTiles which are based on the just created ComplexRuleTile. It is great that the properties of the ComplexRuleTile can also be overridden within the RuleOverrideTile. But every time I do changes on the based ComplexRuleTile, all defined property overrides e.g. of group1 are gone and the initial states of the ComplexRuleTile are in place again. In my case this is not desired and will cause that I have to adjust every RuleOverideTile when changing the based ComplexRuleTile.
So I would appreciate that changing the properties of a customized RuleTile will not reset the properties in the RuleOverrideTiles based on that tile by default. Even when changing the affected property itself, I prefer maintining the overriden values of the properties to be consistent.
But there may be usecases of synchronizing a overriden property to the the original values. So that some sort of a synchronizing feature may be of use.
A picture for explaining my issue: