ARwayKit SDK
❱ HOMEPAGE⚎ DEVELOPER PORTAL
  • Introduction
  • Change Log
  • FAQ
  • ARWAY SDK
    • Getting Started
    • Building from the Source Code
    • Integrating the Unity Package
    • Managing App Localizations
      • Enabling Right-to-Left (RTL) Text
    • Sample Scenes
      • Dashboard
      • AR Map Session
    • Branding the Sample App
      • Replacing ARway Logos in the Sample App
    • Third Party
    • SDK Upgrade Guide
      • 3.1.0 -> 3.1.4
      • 3.0.1 -> 3.1.0
      • 3.0.0 -> 3.0.1
      • 2.5.1 -> 3.0.0
      • 2.3.1 -> 2.5.1
      • 2.3 -> 2.3.1
    • Enhancing the Sample App
      • Instant Location Pin Navigation
      • Customizing the Default Navigation Arrow
      • Initializing AR Using an IAP
  • Maps Studio
    • Overview
    • Maps Studio
      • Creating a Map
      • Editing Map Details
      • Uploading Content
      • QR Codes
      • Image Access Points (IAPs)
      • Floorplans
      • Using the Editor
      • Occlusion
      • Analytics
  • ARwayKit SDK Integrations
    • Flutter
      • Quickstart in Flutter
    • React Native
      • Quickstart in React Native
    • Android Kotlin
      • Quickstart in Android Kotlin
    • Android Java
      • Quickstart in Android Java
    • iOS Swift
      • Quickstart in iOS Swift
  • Deep Linking
    • What is Deep Linking?
    • Creator Portal Changes
    • Modifying the SDK
    • Configuring Server Files
  • DEVELOPER FEEDBACK
    • Support
Powered by GitBook
On this page
  • Interact with AR Contents of a Map
  • Code example for content visiting using content properties
  1. ARWAY SDK
  2. Sample Scenes

AR Map Session

Unity Sample Scene - Content Placement

PreviousDashboardNextBranding the Sample App

Last updated 1 year ago

This scene is used for Localization, post localization the contents of the scene are initiated at their desired location. Contents in Map are placed relative to the Map Origin. This scene has also examples of Location Pins and Tours.

This Scene requires Location (Precise) and Camera permission for its work.

Interact with AR Contents of a Map

ARMapController is the script that handles the loading of Map contents in AR, each content is initiated as , developers can use this script to customize the behavior of Content like its visibility, adding more interaction, custom logic, etc.

Content Types:

  1. Text

  2. Images

  3. 3D models

  4. Audio files

  5. Location pins

  6. Guided tours

  7. Hostpots

Code example for content visiting using content properties

Using the ID property of content to enable visibility

#region TextContent
foreach (Text3D text in arContent.texts)
{
    if (text.id == "text_60954")
    {
        ContentStorageManager.Instance.LoadTextData(text);
    }
    if (text.id == "text_92055")
    {
        ContentStorageManager.Instance.LoadTextData(text);
    }
}
#endregion
Unity Gameobject