SuperUnit template

babywka 2 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 3

Can I make SuperUnit template with default input and output controls?

It's super boring to add controls every time I make a new Super Unit. I prefer to have default SuperUnit with predefined in/out controls and if don't need them it's easier just to delete

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):

Hi! Just create a new empty SuperUnit in the project (called _emptyUnit for example) and then duplicate+rename when create new one)

But a default in and out flow would still make it easier to work with.


Max's suggestion is a good workaround. In later Bolt 2 alphas, we will introduce "function" flow graphs, which will have pre-created enter / exit ports. They will also work a bit differently, e.g. cache all their inputs on entry, like traditional code functions.