Publisher | CompulsiveCoder |
---|---|
File size | 27.98MB |
Number of files | 733 |
Latest version | 2.0.0 |
Latest release date | 2023-08-28 01:57:19 |
First release date | 2021-10-13 04:26:15 |
Supported Unity versions | 2018.4.2 or higher |
Using Package Manager, please ensure that the 2D Tilemap Editor and EditorCoroutines packages are added to your project before installing TilePlus Toolkit.
TilePlus: Scriptable and editable tiles that are saved with the scene.
Have you ever wanted to have your tiles actually do some work at runtime? Sure, you can subclass Tile, then and add code and fields to a tile class, but roadblocks emerge:
- The standard brush's Inspectors only recognize the fields of a standard Tile class.
- If a custom brush is created that recognizes your fields, editing your painted tile will affect the original tile asset in the Project folder.
- Which means that changing the fields of one tile affects all painted tiles based on that same original tile asset.
- Tiles don't have Update, can't run coroutines, can't do GameObject "stuff."
Originally part of a larger project and recast as a friendlier tool for everyone, TilePlus Toolkit is intended for more experienced developers but has many features that anyone can use.
Unlike normal tiles, modifying fields after painting does not alter the original tile asset. Each painted tile is completely independent of every other painted tile. This opens new possibilities for working with tiles and requires no changes to the standard Tilemap system.
Custom Selection and Brush inspectors let you edit painted tiles' fields as well as Flags, Color, Transform, and Collider settings.
Sample tiles include:
- Tiles with flexible animation capabilities including stop/start and change animation.
- Tiles with linked prefabs. Paint prefabs from the tile Palette.
- Spawner Tiles for spawning prefabs or tiles, with pooling. Create a trigger zone in-editor and spawn at the tile position or elsewhere. Spawn tiles on the same or any other tilemap.
- Zone loaders: load new sections of your tilemap. Create a trigger zone in-editor, load groups of tiles to one or more tilemaps.
- "And more"
These tiles have access to Unity event functions like Update, and can have references to GameObjects, components, asset files, and so on.
And of course, you can create your own tiles based on this system, with your own fields, properties, and methods.
Compatible: TilePlus tiles and normal Unity tiles coexist with no issues.
Includes complete Source code and example projects.
Documentation
- Over 70 pages of User and Programmer guides
- HTML and .CHM API refrerences
Third-Party information: see Third-Party Notices.txt file in package for details.
- This asset uses "Spritelib" under Common Public License.
- This asset uses "Kenney" under CC0 1.0 Public Domain Dedication
- This asset uses "Overaction" under CC0 1.0 Public Domain Dedication
- This asset uses "EasingFunctions.cs" under the MIT license.