GithubHelp home page GithubHelp logo

informaticacba / unity-android-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ttimo/unity-android-example

1.0 0.0 0.0 10.33 MB

A Unity3D project embedded in an Android app - example and template

Java 96.19% C# 3.81%

unity-android-example's Introduction

A Unity3D project embedded in an Android app - example and template

A few weeks ago I was researching how to embbed a Unity3D project into a larger, pre-existing Android application. I was working from some documentation online:

This is reasonably easy to do, but I didn't find any ready to go sample project and there are a lot of small details to figure out.

Contents:

  • UnityProject: the Unity3D project
  • UnityAndroidProject: the Android project we export from Unity3D, and configure as a library
  • AndroidProject: our larger, pre-existing Android application

The workflow:

  • Read the above links and documentation
  • Load, explore and modify the Unity3D project
  • Export the project to UnityAndroidExport (in Unity3D's Android build settings)

Every time you export from Unity3D you will need to do the following:

  • Replace AndroidProject/assets/bin/ with the newly exported UnityAndroidExport/assets/bin/
  • Open Eclipse/ADT with your two Android projects, UnityPlayerNativeActivity and AndroidProject
  • Edit the settings for UnityPlayerNativeActivity, under the Android settings, make it a Library

unity-android-example's People

Contributors

ttimo avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.