TpLib Organization

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.

TpLibDiagram.png

Note: this diagram shows Messaging as a service: in Version 6 that service still exists but is a wrapper for the TpMessages static class and is only provided for backward compatability.

Static classes

Generally, these have to be present after a domain reload and are required for edit support for the Tile+Brush, TilePlusPainter, etc. Where possible, their domain reload time is minimized by:

Scriptable Runtime Services

In this documentation these are often referred to as SRS. SRS are dynamically-loadable Scriptable Objects designed for independent services like those shown below or for any you create.

There's a simple base-class for these that you can use to create your own and add them to the system-level Service Manager.

These are runtime-only. They aren't needed for edit support and would impact domain reload time for various reasons, or perhaps you don't actually want to use all of these extra features.

Please see the Services section for more info.


Revision #21
Created 2025-06-22 16:47:26 UTC by Vonchor
Updated 2026-07-09 14:27:12 UTC by Vonchor