Search Unity

Calling into Unity from Android app?

Discussion in 'Getting Started' started by travisfw, Jul 25, 2020.

  1. travisfw

    travisfw

    Joined:
    Jul 25, 2020
    Posts:
    2
    I am researching how best to write an app. A requirement is that the 3D game engine is not loaded first thing, and assets and API communication are handled in Android/Kotlin code. The game will be just one Activity in the app. Scripts and assets must be handed off from the app to the game engine at runtime, and some in-game events must call app methods. Is there an example of how to do this with Unity, or is this use case not supported by Unity?
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Unity isn't a library you can just add to a non-Unity project.
     
  3. travisfw

    travisfw

    Joined:
    Jul 25, 2020
    Posts:
    2
    Thanks Joe. There is more than one way to embed a game engine, but anyway, that sounds like a definitive "it's not supported." I appreciate the answer. Sorry I don't get to use Unity, though.
     
    Joe-Censored likes this.