Skip to content Skip to footer

Unity Business App Template

A basic app architecture for beginning a new “business-focused” app. Includes basic navigation, app services, features, prefabs, scripts, and scenes.

This app was developed to test and validate whether Unity had the features I needed for the apps I was developing. As such the code is not perfect and not necessarily “final.” But it does work and is a great starting point for developing “business-focused” apps.

Business App?

This is a Unity app development project. I’ve created a working template for “business-focused” apps that includes a number of features that I use in my apps. You can pick and choose the features that you need and remove the ones you don’t.

The app’s UI is functional. There’s not a lot (any) pretty elements because this is simply a template. The functionality is all in place and it is a starting point for developing your full-featured app and adding your professional graphics.

My definition of “business-focused” is an app template that features the management, tracking, and presentation of information rather than game play. See the list of features below.

The What, Why, Where and How of the Template

WHAT: I’ve created : a working app that includes the following features.

Screen Navigation: (“scenes” in Unity).
The ability to navigate to self-contained screens of different information and app features.

Tables:
Lists (rows) of rich content (images, text, UI elements)

Web:
Ability to display a web page in the app.

Feedback & Contact:
Send an email, go to a web site.

Photo Library:
Ability to select and display a photo from the device’s photo gallery

Social Share:
Ability to share and post information to social media outlets

Camera View:
Stream the device’s camera view as a precursor to creating augmented reality features.

GPS Location:
Get the device’s current location.

Maps:
Display maps and markers

Weather:
Get and display the current weather forecast for a given GPS coordinate

Database:
Initialize and create an SQLite database. Store and retrieve data.

WHY: I created it: To learn unity, test its abilities, and to create a template to use as a starting point for future Unity app development.

WHERE: you can download: On my Github repository.

You’ll find documentation outlining the prefabs, scripts, scenes, and resources used in the app. You’ll also find a PDF document that diagrams the architecture of the app and its features.

HOW: to use the template: The two PDF documents, one a written outline of all the prefabs, screens and scripts, the other an architectural diagram describe everything that goes into this app. The documentation also includes links to some of the resources, solutions, and “how tos” that I found useful.

You can view or use individual scripts in the repository if you don’t want the entire template. The code is free to use and I hope you find it helpful.

Installation

Most features have been built to run in the Unity editor and on an Android or iOS device.

  1. Download the repository. The app’s main codebase is in the “OBAUnityTemplate” folder. The “Docs” folder has the supporting documentation for the app.
  2. When you launch the project you may see a dialog asking if you want to “Enter Safe Mode?”. Press the “Ignore” button (see the image to the right).
  3. You will see messages in the Console about missing “UniWebView”. This is because this is a paid asset that I can not include in the template. To get rid of these message you can either (1) purchase the UniWebView plugin from the Unity Asset Store or (2) you can delete the “webViewScene” and the “mapViewScene” in the project’s “Scenes” folder and the “loadMap” script in the project’s “Scripts” folder.
  4. The template is designed to run in portrait mode, so you should select an appropriate screen dimension.
  5. You should be all set at this point to build and run the app. If something doesn’t work, you find an issue, or need clearer instructions, let me know!

Built With

  • Visual Studio version 17.3.6
  • Unity Editor version 2022.1.19
  • Xcode 14.0.1

Your Support Appreciated!

You can download the code and documentation and use them for free. Although if you find this useful, donations can be made via Paypal and are appreciated.

If you have questions, find broken features, have requests for additional features, or have constructive feedback, let me know!

Cheers! ~Keith

One Bad Ant © 2024. ALL RIGHTS RESERVED.