Debugging

There are several helper classes that can aid in debugging:

tbe/Tools/debug

RtUnitSheet

This comes as prefab that you can add to your scene.

It is an ingame runtime UI that displays the currently selected Unit in detail.

MessageDebuggerBhv

The MessageDebugger debugs game messages to the console.

UIRaycastDebugger

ValidatorDebuggerBhv

This has to be on a GameObject that also has a RtUnitBhv and you must place it BEFORE you press play.

TbeUnitSpawnerBhv

Put this component anywhere, and it will listen to mouse interact button clicks. You can configure the unit you want to spawn, and it will be spawned at the point where a mouse raycast hits the Ground Layer.

TODO:

Create Item