Address:
82 Porter Hill Rd., Ithaca NY 14850
Phone:
607-262-3912

One Bad Ant Unity Business App Template

OBA's basic app architecture for beginning a new "business-focused" app. Includes basic navigation, app services, features, prefabs, scripts, and scenes.

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.

I also have card game architecture outlining how I built an app using Solar2d. At some point I may build a basic Unity card game template.

The What, Why, Where and How of the Template

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

  1. Screen Navigation: ("scenes" in Unity).
    The ability to navigate to self-contained screens of different information and app features.
  2. Tables:
    Lists (rows) of rich content (images, text, UI elements)
  3. Web:
    Ability to display a web page in the app.
  4. Feedback & Contact:
    Send an email, go to a web site.
  5. Photo Library:
    Ability to select and display a photo from the device's photo gallery
  6. Social Share:
    Ability to share and post information to social media outlets
  7. Camera View:
    Stream the device's camera view as a precursor to creating augmented reality features.
  8. GPS Location:
    Get the device's current location.
  9. Maps:
    Display maps and markers
  10. Weather:
    Get and display the current weather forecast for a given GPS coordinate
  11. Database:
    Initialize and create an SQLite database. Store and retrieve data.

There is a larger article with background on why I created this template which you can read if you're interested.

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, This email address is being protected from spambots. You need JavaScript enabled to view it.!

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

License

Distributed under the MIT License. See `LICENSE.txt` for more information.

Contact

Keith Kubarek

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.

Github Project: repository

Twitter: @antkmk

One Bad Ant: web site

One Bad Ant: Facebook page

Keith Kubarek: Linkedin page

Resources

Some useful online resources to accompany this template: