+1
Completed

Try-Catch & Throw

Lazlo Bonin (Lead Developer) 2 years ago updated 2 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:
Platform(s):
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!