Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

157 total results found

TilePlus Services

TilePlus Toolkit Services

Overview In the TilePlus system, Runtime-only Scriptable Objects are called Services or SRS, and are controlled by TpServicesManager. Services are built on a base class called ScriptableRuntimeService, which handles automatically pre-registering the service wi...

Overview

TilePlus Toolkit Messages and Events

TilePlus Messaging and Events TpLib has general-purpose messaging and Event functionality. Messages get sent to tiles, and tiles can post events. Messages functionality uses the TpMessaging Service and Events functionality uses the TpEvents static class. The u...

Events

TilePlus Toolkit Messages and Events

Events System Superficially, the Events system implemented by TpEvents seems very simple. A tile calls TpEvents.PostTileEvent with this as the method parameter. That passed instance is added to a HashSet. A HashSet is used to ensure that repeated calls to thi...

Messages

TilePlus Toolkit Messages and Events

So that's Events. Messages are an entirely different animal. Events is a Static class. Messages is a Service. Events is normally used as a store-and-forward events system: tiles post events and something else evaluates them later. Messages are sent imm...

Introduction To TilePlus Toolkit

TilePlus Toolkit Introduction To TilePlus Toolkit

TilePlus Toolkit (TPT) is a unique way to work with Unity Tilemaps. It’s a Unity extension that can change the way you think about Tilemaps and how you use them. This document applies to Version 5. Main Features: New Tile class which allows private instance ...

Getting Started

TilePlus Toolkit Introduction To TilePlus Toolkit

If you’re not into coding and want to play with some feature demos, head over to the TilePlus Extras folder. Each demo has its own documentation in text or markdown format or look here. If you haven't read the user guide, download it here and read it first. If...

Key Elements

TilePlus Toolkit Introduction To TilePlus Toolkit

New Tile Class The key component of TPT is a new Tile base class cleverly dubbed “TilePlusBase” (TPB). This tile clones itself when placed on a Tilemap in a scene. Why would anyone care? The One With No Instance Data One of the issues that developers run into ...

Upgrading From Earlier Versions

TilePlus Toolkit Introduction To TilePlus Toolkit

Upgrading If you're upgrading from Version 4 or earlier and you've been writing custom code using TilePlus' APIs: Copy your project and open the copy prior to loading TilePlus Version 5 or newer. You will have many errors due to API changes. If you haven't w...

TpLib Organization

TilePlus Toolkit Introduction To TilePlus Toolkit

Overview The TilePlus Toolkit base runtime system, generically called "TpLib," is divided into two groups of code. This is a block diagram of the core software. Dashed lines are inheritance, solid lines are dependencies. Static classes These are static becau...

TpLib

TilePlus Toolkit Introduction To TilePlus Toolkit

TpLib itself is a large class divided into eight partial classes: TpLib TpLibData TpLibDataAccess TpLibPools TpLibScene TpLibTasks TpLibTiming An Editor folder has the final partial class: TpLibEditorUtils If you're coding to the TpLib API, the parts you'd...

Editor Library

TilePlus Toolkit Introduction To TilePlus Toolkit

The Editor Library comprises, well, a whole lot of stuff! Unity menu items The custom Selection and Brush Inspectors The Tile+Brush Custom editor windows Component editors UIElements IMGUI tile editor Diagnostic tools Archiving functions Tile+Painter There's...

Zone Actions

TilePlus Toolkit Messages and Events

Zone Actions are similar to Event Actions but they're not automatically invoked in the same way as EventActions. These are normally invoked by MessageTarget methods: the target for SendMessage. Here's an example from TpSlideShow (edited for brevity): protected...

The Big Deal

TilePlus Toolkit TilePlusBase

A Key Feature None of the TpLib TMDB and query functions, and none of the Event, Messaging, Persistence, and most other TilePlus functionality would work without the special TilePlusBase class. Throughout the documentation and codebase you'll see TilePlusBase ...

TilePlus Tile Asset Varieties

TilePlus Toolkit Other Assets

These are all project-level asssets. TpTileBundle: The asset created when you create a prefab from Tilemaps. TpTileFab: Another asset created when you create a prefab from Tilemaps. ProxyTile: a special tile used by Tile+Painter. Not available in a build. TpP...

Animated Tiles

TilePlus Toolkit Other Assets

TpAnimatedTile TpAnimatedTile is a simple animated tile and if you want to learn about the code, it’s the simplest TPT Tile. Public fields: PlayOnStart: Begin animation when the game starts. AnimationSpeed: Set animation speed relative to that set in the Tile...

Special Tiles

TilePlus Toolkit Other Assets

TpBundleTile TpBundleTile loads a TileBundle to the Tile's parent Tilemap. TileBundle: a reference to a Bundle in the project. ApplyMatrix: Apply the Matrix to all tiles in the bundle. Ignored if Matrix is invalid TptNewGuids: Apply new GUIDs to TilePlus tile...

Tweener Tiles

TilePlus Toolkit Other Assets

TweenerFlex This is the best tile to use when experimenting with tweens. When viewed in a TilePlus Selection inspector only the fields appropriate for the particular 'target' are displayed. Note about Color tweens: there's no Ease Function for these. 'Lerp' is...

Zone-Based

TilePlus Toolkit Other Assets

AnimZoneLoader This class is a subclass of TpFlexAnimated tile and inherits its fields and editor appearance. It’s used to load archived Tilemaps from TpTileFab assets, which are created by the Tools/TilePlus/Prefabs/Bundle Tilemaps command. IMPORTANT It's som...

UI Tiles

TilePlus Toolkit Other Assets

See the UI chapter.

Event and Zone Actions and SubObjects

TilePlus Toolkit Other Assets

AnimatorAction Animator Actions are project-level scriptable object plugins. They're only used with TpZoneAnimator tiles. If you specify an action for one of the three sets of Actions (in the tile) it will ALWAYS be used instead of one of the specified 'StateN...