Skip to main content

TilePlus Toolkit

Documentation for TilePlus Toolkit, available on the Unity Asset Store.

The information in this book reflects Toolkit Version 5 and newer. 

If upgrading from Version 4.X or earlier, please see 'Upgrading' in the "Introduction to TilePlus Toolkit"  chapter.

Introduction To TilePlus Toolkit

An introduction to this system

TilePlusBase

Information about the TilePlusBase class: the basis of this system

Tile+Brush

A different Brush for the Unity Tile Editor. Selection and Brush Inspectors Some information is...

Other Assets

Specialized Scriptable Object assets

Components

Monobehaviour components for TilePlus

Services

Dynamically loadable Scriptable Object Services for the TilePlus system

Messages and Events

TilePlus has two internal messaging systems: Events and Messages

Runtime Utilities

Various Utilities

Diagnostics

Diagnostic tools for TilePlus

TileFabs and Bundles

TileFabLib, ZoneManagers, and Layout

Exposition

A TileFab can encompass all the tiles and Prefabs contained within a Tilemap hierarchy (Grid with...

Infrastructure

Review Bundle: an archive of all the tiles and Prefabs for a single Tilemap. TileFab: references ...

TileFabLib

TileFabLib.LoadTileFab loads the Bundles referenced by a TileFab asset. The TileFab asset has ref...

Grid Selections

One might recall from the User Guide that you can create TileFabs and Bundles using a Grid Select...

TpZoneManager

TpZoneManager is a chunk management subsystem. Your code interacts with instances of the TpZoneMa...

The Super-Grid

When you initialize a ZM with a chunk size and world origin you’re defining a higher-dimension or...

Useful Methods, Camera Projection, Notes

The GetLocator methods allow you to also pass in a Vector2Int dimensions parameter. This lets you...

TpZoneLayout

At an even higher level, the TpZoneLayout MonoBehaviour component leverages a ZM to implement a b...

Layout System : Introduction

TilePlus Toolkit’s Layout system was changed in Versions 4 and 5. It’s more memory efficient and ...

Layout System Nomenclature

Name Class Type Use TileFabLib Static Loads TileFabs, supervises ZoneManager instances. ...

Preparing a TScene

Now, how do you create a TileFab for use with this system? You create a TScene in a Unity scene t...

Scene List Editor

Now that you have a TSceneList asset, let's edit it. Examine the asset in an inspector and click ...

Relationships: Chunksize, Padding, Selector

This system is flexible, but it is easy to make mistakes. If you have the chunk size set too larg...

At Runtime...

During your Unity scene initialization you can load the first TScene by calling TpChunkedSceneMan...

Layout System Block Diagram

This block diagram illustrates the main parts of the chunking system. The lowest-level APIs are ...

TSceneList

Each TSceneList asset comprises information about one or more TScenes (Tile Scenes). These are sh...

TpZoneLayout

You may have noticed in TSceneList that each TScene can have multiple TSceneSpecs. What’s that fo...

Using Multiple ZoneLayouts

This is a really useful feature. You might have a Tilemap Group comprising a Grid with, say, 8 ch...

Zones and LoadFlags

Zones A Zone is a square area of a Tilemap which is internally represented by a RectInt. The X an...

Selectors

Selectors are used by the layout system to determine what and how to load. Each Selector has a re...

TSceneInitializer

You use one of the SetScene overloads of ChunkedSceneManager to change TScenes. The very last thi...

About the Layout Demo

Save Files There are two different types of save files: CdemoSaveFile.txt: contains the GUID of ...

Using PositionDb Service with Layout

The TilePositionDb is a Scriptable Runtime Service: it’s an optional feature that you can use to ...

Interfaces

Attributes

Persistence

Create Your Own

Create new TilePlus tiles

Ui System

Technical Notes

Miscellaneous Information for delvers