示例#1
0
        public override void Paint(GridLayout grid, GameObject brushTarget, Vector3Int position)
        {
            base.Paint(grid, brushTarget, position);
            TilesetOverlay overlay = brushTarget.GetComponentInParent <TilesetOverlay>();

            overlay.CheckForChanges();
        }
示例#2
0
        public override void BoxFill(GridLayout gridLayout, GameObject brushTarget, BoundsInt position)
        {
            base.BoxFill(gridLayout, brushTarget, position);
            TilesetOverlay overlay = brushTarget.GetComponentInParent <TilesetOverlay>();

            overlay.CheckForChanges();
        }