{"id":373,"date":"2016-05-23T16:39:09","date_gmt":"2016-05-23T07:39:09","guid":{"rendered":"http:\/\/blog.criware.com\/?p=373"},"modified":"2016-05-23T18:24:20","modified_gmt":"2016-05-23T09:24:20","slug":"integrating-adx2-with-unity-part-1","status":"publish","type":"post","link":"https:\/\/blog.criware.com\/index.php\/2016\/05\/23\/integrating-adx2-with-unity-part-1\/","title":{"rendered":"Integrating ADX2 with Unity &#8211; Part 1"},"content":{"rendered":"<p><span style=\"color: #000000;\">Using the CRIWARE Unity plug-in, it is very easy to integrate ADX2 with your Unity game. <\/span><\/p>\n<p><span style=\"color: #000000;\">In this tutorial, we will learn how to install the CRIWARE plug-in, while upcoming tutorials will show how to actually use the different CRIWARE components.<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">First, open your Unity project.<\/span><\/li>\n<li><span style=\"color: #000000;\">Go to the [Assets] menu and select [Import Package].<\/span><\/li>\n<li><span style=\"color: #000000;\">Click on the [Custom Package&#8230;] menu command.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-341 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_01.png\" alt=\"ADX2_Unity_Integration_01\" width=\"508\" height=\"444\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_01.png 508w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_01-300x262.png 300w\" sizes=\"auto, (max-width: 508px) 100vw, 508px\" \/><\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">Browse to the CRIWARE plug-in package file located in the [CRIWARE\\SDK\\unity\\plugin] folder.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-342 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_02.png\" alt=\"ADX2_Unity_Integration_02\" width=\"789\" height=\"533\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_02.png 789w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_02-300x203.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_02-768x519.png 768w\" sizes=\"auto, (max-width: 789px) 100vw, 789px\" \/><\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">Select the package file and click on the [Open] button.<\/span><\/li>\n<li><span style=\"color: #000000;\">The [Import Unity Package] window appears. Simply click on the [Import] button.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-343 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_03.png\" alt=\"ADX2_Unity_Integration_03\" width=\"350\" height=\"375\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_03.png 350w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_03-280x300.png 280w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">The [CRI] menu appears in the Unity menu bar.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-344 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_04.png\" alt=\"ADX2_Unity_Integration_04\" width=\"466\" height=\"52\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_04.png 466w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_04-300x33.png 300w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\" \/><\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">Now we can use the CRIWARE components!<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-340 size-full alignnone\" src=\"http:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_23.png\" alt=\"ADX2_Unity_Integration_23\" width=\"466\" height=\"346\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_23.png 466w, https:\/\/blog.criware.com\/wp-content\/uploads\/2016\/05\/ADX2_Unity_Integration_23-300x223.png 300w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\" \/><\/p>\n<ul>\n<li><span style=\"color: #000000;\">The components in the [CRI Atom] group are related to sound playback (ADX2).<\/span><\/li>\n<li><span style=\"color: #000000;\">The components in the [CRI Mana] group are related to video playback (Sofdec2).<\/span><\/li>\n<li><span style=\"color: #000000;\">The [CRIWARE Library Initializer] component is used to configure CRIWARE.<\/span><\/li>\n<li><span style=\"color: #000000;\">The [CRIWARE Error Handler] component enables the notification of the warnings and errors in Unity.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">The components related to the sound system in the [CRI Atom] group are: CRI Atom, CRI Atom Source and CRI Atom Listener.<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">The [CRI Atom] component controls the whole sound system.<\/span><br \/>\n<span style=\"color: #000000;\">It will be created automatically when adding your first [CRI Atom Source] to your project.<\/span><\/li>\n<li><span style=\"color: #000000;\">A [CRI Atom source] component is an audio trigger that you can add to any Unity game object.<\/span><\/li>\n<li><span style=\"color: #000000;\">Finally, the [CRI Atom Listener] is used in conjunction with the [CRI Atom Source] components for 3D audio positioning.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">We are all set for now and next time we will see how to add our ADX2 cues to Unity!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using the CRIWARE Unity plug-in, it is very easy to integrate ADX2 with your Unity game. In this tutorial, we<\/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-373","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\/373","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=373"}],"version-history":[{"count":4,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/373\/revisions"}],"predecessor-version":[{"id":375,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/373\/revisions\/375"}],"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=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/categories?post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/tags?post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}