Text-to-Code

This section details the Text-to-Code feature within Solace Vision.

Text-to-Script/Code

Solace Vision has the ability to generate blocks of code/scripts within Unity. For example, you could prompt Solace Vision to create a script for procedural terrain generation,

Code Generation

In this example below, the prompt is "Create a script for simple player movement." In a few seconds, the script is generated!

Depending on your desired outcome, you can either use the Chat tab or the Action tab.

The Chat tab will only output the script, whereas the Action tab will output and automatically attempt to run the script

Code Debugging (Work-in-Progress)

You can also input code into the Chat tab and have Solace Vision attempt to debug it. In the example below, Solace Vision explains the purpose of the script that was input, and then debugs the code and gives a potential solution.

Best Practice: It is best practice to begin the prompt by saying "Debug the following code:" and then pasting your code into the prompt area.

Last updated