# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/).

## [2.2.3] - 2024-10-23

### Fixed

- [Editor] Fixed a bug where the search field in the Tile Add Component menu was not displayed correctly.
- [Examples] Fixed a warning for Unity6000.0.11f1 and later.



# [2.2.2] - 2024-04-24

### Fixed

- [Editor] Fixed compilation error for Unity 6000.0 and later.
- [Examples] Fixed warning for Unity 2023.1 and later.



## [2.2.1] - 2022-08-18

### Fuxed

- [Editor] Fixed compilation errors and warnings on Unity2022.2.0b4.
- [Editor] Fixed Unity version in package.json to 2019.4.



## [2.2.0] - 2021-10-22

### Added

- Added ITileCallbackReceiver interface that allows TileComponent to receive that tiles have been placed / deleted on the Map.
- Added ITileCollisionReceiver interface that allows TileComponent to receive when something touches the Map.
- Supports Assembly Definition.
- [Shader] Added Render Mode to Tiles-Standard and Tiles-Standard Specular.
- [Editor] Added MapEditTool window.  
  The editing tools in the Map component Inspector are moved to the MapEditTool window.
- [Editor] Supports shortcut keys for editing tools.
- [Editor] Supports zooming of tile selection list.
- [Editor] Added Welcome window.
- [Editor] Supports package.json.
- [Document] Added document site.  
  https://nostalgia-docs.caitsithware.com/

### Changed

- Changed the minimum operating version of Unity to 2019.4.
- [Editor] Changed Tile's Add Component to component selection window format.

### Improved

- Speed up the bucket tool and bucket eraser tool.
- Speed up Map mesh update so that only the difference is performed.
- Speed up MapCollider update so that only the difference is done.
- Reduced GC Alloc by pooling temporary data generated during map editing.
- [Editor] Improved so that the HeightMap in the NormalMapGenerator window can be used even if Read / Write Enabled is not set.
- [Examples] Improved so that it can be operated with a virtual pad when executed on a mobile terminal.

### Fixed

- Fixed a bug that an exception occurs when the number of tiles is small when changing the TileSet of Map.
- Fixed a bug that Collider2D is not updated properly when changing TileSet of Map.
- Fixed a bug that the display position of tiles outside a certain range shifts when Map is placed as a child of Canvas.
- Fixed a bug that auto tile was changed even when autoTiling argument of Map.RemoveBucketTile method was set to false.
- [Android] Fixed a bug that a shader error occurs when Graphics APIs are other than Open GLES3.

### Deprecated

- Changed Nostalgia.Point2 type to Obsolete.  
  Use UnityEngine.Vector2Int instead.
- [Document] The script reference zip is no longer included.



## [2.1.10] - 2020-03-25

### Added

- Added AlphaTest value to NormalMap Generator.
- When CombinationGroupName is set to Normal type tile, CombinationSideFlags can be set for judgment when generating normal map.
- [Example]Supports simple pixel perfect for sample scenes.

### Changed

- Changed to show a warning when anti-aliasing is enabled.
- [Example]Changed "Look" key of sample scene to up key.

### Fixed

- [Unity5.6] Fixed a shader error on Unity 5.6.6 or higher.
- [Unity2017 or earlier] Fixed the failure of shader compilation when building UWP.
- [Unity2019.1 or later] Fixed shader warning.
- [Unity2019.3 or later] Fixed an exception when displaying TileSet in Inspector.
- Fixed UWP build error.
- Fixed that unnatural borders appear when CombinationGroupName is set for Normal type tile in NormalMap Generator.
- Fixed tile animation display collapse when tile width and height are different.
- [Example] Tweaked tile set for sample scene.


## [2.1.9] - 2019-02-13

### Improved

- [Unity2018.3.0f2 or later] Corresponds to hit search by search word in Nostalgia setting in Preferences window.

### Fixed

- Fixed an exception caused by reference of Tile occurred when updating MapCollider.
- Fix to immediately reflect on map when changing TileCollider type.
- Fix to immediately reflect polygon editing of Tile Polygon Collider or Tile Edge Collider on the map.
- [Unity2019.1.0b3 corresponding] Fixed that Inspector of TileSet is not displayed properly.
- [Unity2019.1.0b3 corresponding] Fix warning by ObsoleteAttribute.


## [2.1.8] - 2019-01-02

### Fixed

- Fixed a bug that the visible toggle button of SortingLayerWindow was not displayed in Unity 2018.3.0 or later.


## [2.1.7] - 2018-10-10

### Fixed

- Fixed an error occurred in Nostalgia/Tiles/Standard and Standard Specular in Unity 2018.2.0 and later.
- Fixed an error occurred when starting playing with Map Inspector displayed.
- Fix to prevent the preview displayed in Inspector of Map from protruding.
- Fix warning.


## [2.1.6] - 2018-05-08

### Changed

- Changed the minimum operation version to Unity 5.4.0f3.

### Fixed

- Fixed that Ambient was not working with Tiles / Standard shader.
- Fixed an error in the Tiles/Standard shader in Unity 2017.4.1 and later.


## [2.1.5] - 2018-01-23

### Added

- uvShiftInside added to Tile.
  Please adjust it when an unintended line comes out by drawing texel outside the tile on the texture.

### Changed

- Changed to immediately update Map in the scene by changing TileSet.
- Refresh button in Map Inspector is deprecated.
- Map.Refresh method, Map.RefreshAsync method, RefreshAsync class changed to Obsolete.

### Improved

- Changed to use SetVertices corresponding to List when creating Mesh of Map.
- Changed Tile animation vertex data to be combined into one TEXCOORD.

### Fixed

- Fixed an exception occurred when Stamp tool was selected when Tile registered in Stamp was deleted.
- Fixed not to place when Tile passed to PutTile method was null.


## [2.1.4] - 2017-12-22

### Fixed

- Fixed warning displayed on Unity 2017.1.0f3 and later.
- Fixed warning being displayed when opening Import from sprites with TileSet Inspector after Unity 2017.1.0f3 and later.
- Fixed error in Unity 2017.3.0f3.


## [2.1.3] - 2017-07-13

### Added

- Added bucket eraser tool to Map.
- Added EdgeCombine field to combine or set auto tile of map edge to Map.
- Added isSplitMapCollider field to set or set MapCollider to TileCollider.
- Added Canvas mode to Map.(It automatically becomes Canvas mode by creating Map object in Canvas)
- Added delete button to CellObject inspector.
- Add an extension method GetCell () to get the Cell from Collider2D.
- Added extension method GetTile () to get Tile from Collider 2D.
- Added SortingLayerFieldAttribute.

### Changed

- Changed to be able to get interface with Tile.GetComponent().

### Fixed

- Fix to prevent loop when TileEdgeCollider does not have 3 vertex or more.
- Fixed processing when an exception occurred in OnInspectorGUI of Editor.
- Dealing with Missing script of TileComponent and TileCollider.
- Fixed that TileCollider was not deleted from asset when deleting Tile.
- Fix that warnings are displayed in Examples script in Unity 5.5.2 or later.


## [2.1.2] - 2017-02-13

### Changed

- Add Map.GetMapCollider method to get MapCollider from Cell.

### Fixed

- Fixed that Tags & Layers can not be opened from Map component, SortingLayer component, SortingLayerWindow.
- Fixed a case that Renderer was not displayed in SortingLayerWindow.
- Fix to display objects that Sorting Layer has been deleted in SortingLayerWindow and can not be found.
- Fixed exception when Scene transition by calling SceneManager.LoadScene in method of OnTriggerEnter2D system.


## [2.1.1] - 2017-01-26

### Fixed

- Fixed that Unity editor freezes when editing newly created Tile.


## [2.1.0] - 2017-01-21

### Added

- Corresponds to the combination of TileCollider.
	By enabling Is Combine of TileCollider, Collider will be joined if the same tiles are adjacent.
	If you changed Is Combine, please push the Refresh button of already created Map to apply the change.
- Copy and paste support for Map component.
	Copied from the gear icon in the Map inspector with "Copy Component".
	New paste with "Paste NostalgiaMap As New".
	Overwrite paste with "Paste Component Values".
- It corresponds to Undo / Redo when changing from editor during play mode.

### Changed

- Changed so that wireframe is not displayed when selecting Map.
- Changed so that it can be canceled while displaying the progress bar when arranging and deleting tiles.
- Change the grid display of Map.
	Changed display to switch in "Draw Grid" of Map inspector.
	Change display precision so that it changes according to the scale of the scene view.
	Changed to be able to set grid with Preference.
- Change the Undo name to a meaningful name.
- Changed to save selected tool of Map Inspector.
- Raised Unity's minimum action version to 5.3.0f4.
- Move Nostalgia folder to Plugins.
   Because it is prebuilt, it reduces the build time when changing scripts other than Nostalgia.
- By clicking the Help button of TileSet, Map, SortingLayer, it changed to open manual page.

### Improved

- Speed up editing on the editor by Chunk keeping Cell.
- Speed up Map's Color change using MaterialPropertyBlock.
- Speed up AllClear.

### Fixed

- Fixed that dragging with the bucket tool will result in Unity standard rectangle selection.
- Fixed that cursor display and editing position at map editing may be different.
- Fixed Undo / Redo.
- Fixed that Tiles/Standard shader and Tiles/StandardSpecular shader got error when using Direct3D9 for Graphics API.
- Unity 5.6.0b3 correspondence.


## [2.0.2] - 2016-12-09

### Changed

- Shader : Tiles/Standard and Tiles/StandardSpecular have been changed to work with shader target 2.0.
- Editor : Changed not to display wire frame when selecting Map.

### Fixed

- Editor : Fixed that Collider was deleted when play was terminated while selecting Map.
- Editor : Fixed Example ThroughFloorCellManager to "Nostalgia / Example" in Add Component menu.
- Editor : After deleting Map from "Remove Component" of Inspector, Undo fixes that uncolored Collider increases and remains.


## [2.0.1] - 2016-09-17

### Fixed

- Fixed a stamp that there is a place that can not be added.
- If you run after creating a new map Fixed tile would change.
- Unity 5.5.0 Beta correspondence.


## [2.0.0] - 2016-09-13

### Added

- Corresponding to the Collider of Tile can be specified in addition to Box
- Corresponding to be able to finely edit the shape of the Collider of Tile
- Corresponding to be able to change the animation speed of Tile
- CombinationSideFlags added to control the connection of each side to auto tile
- Support so that they can not be moved to another object by dragging and dropping the Map component from the Inspector
- Corresponding to be a name to Tile
- Corresponding to be able to generate a GameObject for each cell of the Map
- Standard shader and StandardSpecular shader additional tiles
- Add a normal map generator that takes into account the auto tile
- Editing functions added by the stamp on Map

### Changed

- Support as reflected in the Map immediately when you edit the parameters of the material
- Delete the highlight display function at the time of the mouse over in HierarchyWindow
- Support the display of the Active switch button in HierarchyWindow so that it can be changed in the Nostalgia tab of PreferenceWindow
- Changed as SortingLayer components are also displayed ParticleSystem that are not attached in SortingLayerWindow
- Corresponding to be created at the time of Map created in the context menu as a child of the game objects in the selection
- Support so that it can also attach other Renderer in the game object Map component is attached
- List of tile in the Inspector of TileSet and Map to correct that there are times when it does not appear all by the window size
- Remove the reference of Tile in TileSet.tiles, add TileSet.tileCount property and TileSet.GetTile () method
- Remove the reference of the Cell in Map.cells, add Map.cellCount property and Map.GetCell () method
- Remove the reference of Chunk in Map.chunks, add Map.chunkCount property and Map.GetChunk () method
- Add a static mapCount property and the GetMap () method to the Map
- Map of PutTile (), FillTile change, FillTileAsync, BucketTile, to specify the Tile in BucketTileAsync method
- Callback method added when deleting to Cell
- FindTile Add Method to find the tile by name TileSet
- Move the shader from Resources
- Move the location of the shader below Nostalgia
- Folder configuration change

### Fixed

- Tiles / Diffuse Fixed alpha value in the shader has not been properly reflected
- TileSet Modify from being changed referenced Tile existing Map when you insert the Tile on
- Fixed was a memory leak in the editor extension of the Inspector
- Modify the internal mesh associated with the Map that may not be deleted
- Changed to put the AddComponentMenu in Example script
- Example scene add such events for the tile such as a floor and a belt conveyor and message display that slip through the jump to
- So PlayClipAtPoint becomes in 3D mode by Unity version corresponding to sound in 2D
- Not registered to the scene list to LoadScene in Unity5.4.0 currently Fixed an error trying to reload, passing the index of the scene


## [1.3.1] - 2016-07-07

### Added

- Corresponding to display a progress bar in cases where it takes a long time to map editing process.

### Improved

- When the tile type is other than Auto Floor VX, reduce the number of polygons.
- Reduced memory usage.
- Embedding the Profiler.BeginSample / EndSample.


## [1.3.0] - 2016-06-17

### Added

- Corresponding to the connecting with another tile by CombinationGroupName
- Corresponding to the color specified for each tile
- Corresponding to pasted tiles without the texture so that it can be used for mock

### Other

- Raising the minimum operating Unity version in 5.0.0f4.


## [1.2.2] - 2016-06-09

### Fixed

- Fixed sometimes tile next to on the texture on the edge of the tile is displayed one dot.
- Fixed Tile / Diffuse shader did not correspond to the vertex color.

### Improved

- Slightly faster shader.


## [1.2.1f5] - 2016-03-12

### Fixed

- Fixed TileSet the errors appear when you select the Map object that has not been set.
- Fixed Unity5.3.0 later Unity editor on the play start still selected the Map object in and collider that would have been deleted.
- Unity5.3.0 fix Application.LoadLevel warning is coming out later.


## [1.2.1f4] - 2016-03-12

### Fixed

- Fixed an error that exits at Unity5.2.0 later.


## [1.2.1f3] - 2015-03-11

### Fixed

- When in the Inspector of TileSet open the Import from sprites to fix it to not be a choice of Tiles.


## [1.2.1f2] - 2015-02-28

### Fixed

- Fixed an error that occurs in Unity5 RC3.
- Fixed the selection color of SortingLayerWindow in Dark skin.


## [1.2.1f1] - 2015-02-11

### Fixed

- Fixed an error that occurs in Unity5 RC1.
- Fixed the look is a gap between the tiles.


## [1.2.1] - 2015-01-27

### Added

- Correspondence TileSet so that it can be imported from Sprite.
  You will be able to import Inspector of TileSet by being cut in a format that you specify the upper left coordinates SpriteEditor of Unity standard.


## [1.2.0f2] - 2014-12-16

### Fixed

- Fixed localization of comments document.


## [1.2.0f1] - 2014-12-05

### Fixed

- Fixed NullReferenceException during execution is output on the editor of Unity 4.6.


## [1.2.0] - 2014-10-16

### Added

- Vertex color paint tool added.
- SortingLayer window added.

### Changed

- Sample scene update of Platformer.

### Fixed

- Fixed error when was oriented in the opposite direction of the scene view camera to the Map editing.


## [1.1.0] - 2014-10-01

### Added

- Corresponding to be able to add to TileComponent tile.
- Corresponding to be able to set the state of the parts that can be placed in the Shift key.
- SortingLayer additional components for setting the drawing order of the Renderer.
- View active switching toggle the GameObject to Hierarychy.
- To prepare a sample scene of Platformer.

### Changed

- Change to be able to attach only one Map for GameObject one.

### Fixed

- Fixed setting of Collider code does not change when you overwrite place the other tiles.


## [1.0.4] - 2014-09-12

### Added

- Designated corresponding material color. 

### Fixed

- Fixed gap is visible between the tiles by the screen size.
- Fixed a was not reflected even later change the Order in Layer and Sorting Layer.

## [1.0.3] - 2014-09-03

### Changed

- Embedded document for comment.

### Fixed

- Fix misspelling of "Create Other> Nostalgia Map".


## [1.0.2] - 2014-08-13

### Fixed

- The Fixed a can not create error out when the "TileSet from selected Texture or Material" by selecting the Texture.
- Fixed Collider is not deleted or generated correctly when you overcoated with a tile.

## [1.0.1] - 2014-08-06

### Fixed

- Fixed to the can not build error out.
- Fixed Main Camera of Example scene of the disabled.


## [1.0] - 2014-07-31

- Released.