By Andrey Paramonov (Neodrop)
Exploring the Interface
Once you’ve downloaded and installed Antares Universe, you’ll notice that a new section called “Antares” has been added to the default menu panel. There are a couple of different options. Let’s have a closer look at each. First, let’s have a look at the Create, Open and Add menu items. We’ll skip Wizards for now.
Create.This will instantiate a GameObject with a new empty Visual Node automatically attached to it.
Open/Add.If the object that is currently selected in Scene View contains a Visual Node, this node will be opened in the Universe Editor. Otherwise, you’ll be given a number of other choices...
Add.Adds a new node the the selected object.
Create New.Works the same as Create (above).
Open Last.Opens the node of a previously opened project.
Creating Your First Node
Before we get started laying out Logic Blocks in Antares Universe, let’s first touch on creating nodes. It couldn’t be simpler.
Now, let’s close the Antares Universe window and see how quickly we will be able to open the existing Node or delete it from the object. First, you’ll note that the Universe icon now appears beside the object with our Node in the hierarchy pane. Simply click the icon and the Universe Editor will open. You now should see the CustomEditor Node in the object’s Inspector.
Antares Universe provides visual programming based on Logic Blocks. Logic Blocks execute chains of micro commands allowing the user to build the necessary logic for the application. All blocks have four parts in common:
Input variables feed data into the Block. In order to send an output value of one Block into another Block you just need to click and drag the output variable of the first Block and feed it to the input variable of the second Block. Variable values are accessible through the Blocks Inspector and can also be opened in the Work Field of the Node. If you choose a variable by clicking RMB, the variable inspector window will open. The variable inspector provides a quick access to lists of Blocks that implement getting/receiving variable properties and also to Blocks that process the given variable type.
As you have probably guessed, OUT Variables, or output variables, provide access to values that are returned by the Block after it finished to execute.
IN Triggers are an incoming signal which simply launches the execution of the Block when activated. This provides a simple and intuitive means of starting each Block’s logic. These are called by OUT Triggers, below.
OUT Triggers of Blocks are activated when the Block has finished its execution. Sometimes this can be Triggers called TRUE or FALSE – which are activated depending on the execution result of the Block. They also can have other names that tell the user about the execution result of the Blocks and give the ability to execute the corresponding chain of Logic Blocks.
Additionally, you can add Custom Triggers if a Block includes a “+” button. Custom triggers are useful when you want to continue to execute code by several sequential logic chains. If the Block has Custom Triggers, then all of them will fire in a sequential order from the first Trigger to the last one (from top to bottom).
Logic Blocks Inspector
The Blocks Inspector is located in the lower part of the Work Area of the Antares Universe Editor. It can be dragged to the comfortable height or detached into a separate window. The Inspector is divided into four parts :
Groups of Blocks
There’s a list of Block Groups on the right side of Universe Editor:
If you’d like to search for a given block, type the Block’s name into the search field in the top right corner of Universe. To save time, you can use «quick access window» when you click RMB on the Work Area of Universe Editor and enter a part of the Block’s name into the search field.
Earlier, we created a cube with an empty node on it. Now let’s make the cube rotate when the mouse cursor is over it. Using the tools described above, try re-creating the graph below using Logic Blocks and connections. Press play in Unity and your cube should spin whenever you bring the mouse over it.
This is just a simple example of the intuitive visual Antares Universe workflow. You’ll find great documentation included with the Antares Universe download from the Asset Store, as well as examples from the Antares Universe website. If you would like to learn more or have questions specific to Antares Universe, you’ll find a wide and supportive community on the Antares Universe community forum page.