{"id":336,"date":"2016-05-26T15:01:42","date_gmt":"2016-05-26T06:01:42","guid":{"rendered":"http:\/\/blog.criware.com\/?p=336"},"modified":"2016-05-26T15:04:54","modified_gmt":"2016-05-26T06:04:54","slug":"integrating-adx2-with-unity-part-2","status":"publish","type":"post","link":"https:\/\/blog.criware.com\/index.php\/2016\/05\/26\/integrating-adx2-with-unity-part-2\/","title":{"rendered":"Integrating ADX2 with Unity &#8211; Part 2"},"content":{"rendered":"<p><span style=\"color: #000000;\">This is our second tutorial about the integration of ADX2 with Unity.<\/span><br \/>\n<span style=\"color: #000000;\">If you haven&#8217;t done it yet, you can read the first one here: \u00a0<a href=\"http:\/\/blog.criware.com\/index.php\/2016\/05\/23\/integrating-adx2-with-unity-part-1\/\">Integrating ADX2 with Unity (Part 1)<\/a><\/span><br \/>\n<span style=\"color: #000000;\">This time, we will see how to import the binary CueSheets (i.e. sound banks)\u00a0exported by AtomCraft into your Unity project.<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">First, go to the [CRI] menu and select the [Open CRI Atom Window] command.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-346 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_06.png\" alt=\"ADX2_Unity_Integration_06\" width=\"325\" height=\"178\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_06.png 325w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_06-300x164.png 300w\" sizes=\"auto, (max-width: 325px) 100vw, 325px\" \/><\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">The [CRI Atom] window appears.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-347 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_07.png\" alt=\"ADX2_Unity_Integration_07\" width=\"808\" height=\"342\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_07.png 808w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_07-300x127.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_07-768x325.png 768w\" sizes=\"auto, (max-width: 808px) 100vw, 808px\" \/><\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">Click on the [Use Copy Assets Folder] check box and click on the [Select assets Root] button.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-348 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_08.png\" alt=\"ADX2_Unity_Integration_08\" width=\"808\" height=\"469\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_08.png 808w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_08-300x174.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_08-768x446.png 768w\" sizes=\"auto, (max-width: 808px) 100vw, 808px\" \/><\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">Now, browse to your AtomCraft export folder, where the CueSheet Binary Files are and click on the [select folder] button.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-392\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_09-1.png\" alt=\"ADX2_Unity_Integration_09\" width=\"631\" height=\"356\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_09-1.png 946w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_09-1-300x169.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_09-1-768x433.png 768w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/p>\n<ul>\n<li><span style=\"color: #000000;\">Finally, click on the [Update Assets of &#8220;CRI Atom Craft&#8221;] button.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-350 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_10.png\" alt=\"ADX2_Unity_Integration_10\" width=\"804\" height=\"486\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_10.png 804w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_10-300x181.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_10-768x464.png 768w\" sizes=\"auto, (max-width: 804px) 100vw, 804px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">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. \u00a0<\/span><br \/>\n<span style=\"color: #000000;\">The former will let us configure the CRIWARE package, while the latter will notify us if there are any warnings or errors.<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">First, go to the [CRI] menu in the Unity menu bar and select [Create CRIWARE Library Initializer].<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-351 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_11.png\" alt=\"ADX2_Unity_Integration_11\" width=\"321\" height=\"155\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_11.png 321w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_11-300x145.png 300w\" sizes=\"auto, (max-width: 321px) 100vw, 321px\" \/><\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">The CRIWARE Library Initializer appears in the Hierarchy window.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-352 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_12.png\" alt=\"ADX2_Unity_Integration_12\" width=\"366\" height=\"189\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_12.png 366w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_12-300x155.png 300w\" sizes=\"auto, (max-width: 366px) 100vw, 366px\" \/><\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">Do the same for the [CRIWARE Error Handler].<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-353 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_13.png\" alt=\"ADX2_Unity_Integration_13\" width=\"321\" height=\"154\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_13.png 321w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_13-300x144.png 300w\" sizes=\"auto, (max-width: 321px) 100vw, 321px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">And that&#8217;s all! No need to change the options at this point.<\/span><br \/>\n<span style=\"color: #000000;\">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!<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is our second tutorial about the integration of ADX2 with Unity. If you haven&#8217;t done it yet, you can<\/p>\n","protected":false},"author":2,"featured_media":390,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[5,7],"tags":[],"class_list":["post-336","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-adx","category-tutorials"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/comments?post=336"}],"version-history":[{"count":19,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/336\/revisions"}],"predecessor-version":[{"id":397,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/336\/revisions\/397"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media\/390"}],"wp:attachment":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media?parent=336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/categories?post=336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/tags?post=336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}