Call a C# function in Bolt

Geoff001 4 years ago updated by Lazlo Bonin (Lead Developer) 4 years ago 1

To Whom It May Concern:

       Is it possible to code a C# function and then call

   it from the Bolt UI?

   Thank you,


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

Hi Geoff,

Yes, Bolt can import every method from C#. If it is defined in a MonoBehaviour, it will do so automatically. Otherwise, you only have to add it to your custom types: