Try-Catch & Throw

Lazlo Bonin (Lead Developer) 4 years ago updated 3 years ago 4

There will be a new Try Catch unit, working the same way as it does in C#. If the code in Try throws an exception, Catch will be called. Either way, Finally will be called at the end.

I'll try adding an Exception Type setting in the header to limit the types of exceptions being caught.

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

(minor bug in this gif, but it's all fixed and done now!)

can't wait to try!