Integrating ADX2 with Unity – Part 2

This is our second tutorial about the integration of ADX2 with Unity.
If you haven’t done it yet, you can read the first one here:  Integrating ADX2 with Unity (Part 1)
This time, we will see how to import the binary CueSheets (i.e. sound banks) exported by AtomCraft into your Unity project.

  • First, go to the [CRI] menu and select the [Open CRI Atom Window] command.

ADX2_Unity_Integration_06

  • The [CRI Atom] window appears.

ADX2_Unity_Integration_07

  • Click on the [Use Copy Assets Folder] check box and click on the [Select assets Root] button.

ADX2_Unity_Integration_08

  • Now, browse to your AtomCraft export folder, where the CueSheet Binary Files are and click on the [select folder] button.

ADX2_Unity_Integration_09

  • Finally, click on the [Update Assets of “CRI Atom Craft”] button.

ADX2_Unity_Integration_10

In preparation of the next tutorial, in which we will actually play the Cues, we will also add an Initializer component and an Error Handler component.  
The former will let us configure the CRIWARE package, while the latter will notify us if there are any warnings or errors.

  • First, go to the [CRI] menu in the Unity menu bar and select [Create CRIWARE Library Initializer].

ADX2_Unity_Integration_11

  • The CRIWARE Library Initializer appears in the Hierarchy window.

ADX2_Unity_Integration_12

  • Do the same for the [CRIWARE Error Handler].

ADX2_Unity_Integration_13

And that’s all! No need to change the options at this point.
Make sure to check the blog soon for the next entry in this series, which will see us attach sound sources to objects and play them!

 

Leave a Reply

Your email address will not be published. Required fields are marked *