Bolt Code Generation

Bolt uses a code generator under the hood to build custom classes for your events, states, etc. This is a powerful concept since Bolt can generate optimal code to handle these cases rather than relying on run-time attribution and reflection, etc. However, what this means is that when you make changes to anything in Bolt - commands, states, events, etc. through the Bolt UI, you must recompile Bolt (Bolt/Compile Assembly). This tells Bolt to regenerate the backing code for these concepts with the changes you have made in the UI.

Also keep in mind that if you add or remove scenes from the Unity scenes list, you must also recompile Bolt as well.

기술문서 TOP으로 돌아가기