Skip to content

Discover the possibilities of Augmented Reality (AR) with Unity-AR-App. This demo application demonstrates basic AR capabilities through interactive 3D models in a virtual environment. Deployed on Android, with visuals provided for a preview.

License

Notifications You must be signed in to change notification settings

Shreyaprasad21/Unity-AR-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Unity AR Application

A demo Augmented Reality (AR) application developed using Unity, intended to allow users to view a certain city as it appeared in ancient times. This initial version contains a simple 3D box model to demonstrate basic AR functionality.

Features

  • Basic AR environment setup
  • Simple 3D box model placed in the AR scene
  • Demonstrates potential for viewing ancient cities in AR

Requirements

  • Unity 2020.3 or later
  • AR Foundation package
  • ARCore XR Plugin (for Android) or ARKit XR Plugin (for iOS)

Getting Started

Prerequisites

  1. Install Unity Hub: Download and install Unity Hub.
  2. Install Unity: Through Unity Hub, install the Unity Editor (version 2020.3 or later).
  3. Setup AR Foundation: Open your project in Unity, go to Window -> Package Manager, and install the AR Foundation package along with ARCore XR Plugin (for Android) or ARKit XR Plugin (for iOS).

Project Setup

  1. Clone the repository:
https://github.com/Shreyaprasad21/Unity-AR-Application.git
  1. Open the project: Open Unity Hub, click on Add, and select the cloned project folder.

  2. Build settings:

  • Go to File -> Build Settings.
  • Select Android or iOS as your platform.
  • Click on Switch Platform.
  1. Player settings:
  • In the Build Settings window, click on Player Settings.
  • Under Other Settings, set the Package Name (for Android) or Bundle Identifier (for iOS).
  • Enable ARCore or ARKit in the XR Settings section based on your target platform.

Running the App

  1. Connect your device:
  • For Android, enable Developer Options and USB Debugging.
  • For iOS, connect your device via USB and ensure it is registered in your Apple Developer account.
  1. Build and Run:
  • Go to File -> Build and Run.
  • Unity will build the project and deploy it to your connected device.

Usage

  • Launch the app on your device.
  • Grant necessary permissions for camera and AR functionality.
  • Move your device around to detect surfaces and view the AR box.

Deployment

  • The app has been successfully deployed on Android.
  • Attached are photos and videos showcasing the app in action.

Contributing

Feel free to fork this repository and make improvements. Pull requests are welcome!

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Discover the possibilities of Augmented Reality (AR) with Unity-AR-App. This demo application demonstrates basic AR capabilities through interactive 3D models in a virtual environment. Deployed on Android, with visuals provided for a preview.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published