Unity3D and Android Studio Integration

前端 未结 3 891
深忆病人
深忆病人 2020-12-04 16:28

Anyone know integrate Android with Unity Studio? (i will explain)
I created a simple scene in Unity (4.3.x on OSX Maverics) for testing. Has a 3D object and nothing els

3条回答
  •  情话喂你
    2020-12-04 16:41

    Setting up an Android project is really simple. The document you linked is outdated and you don't need to move any files at all.

    Unity

    1. Goto File -> Build Settings -> Android and click Switch Platform
    2. Enable Google Android Project
    3. Click Export and choose where you want the Android project to be

    Android Studio

    1. Import or open the project you have just created with Unity
    2. Done :)

    If you want to display the Unity engine inside a subactivity, I suggest you take a look at this answer.

    If you're completely unfamiliar with Android development, you should start with a simple "Hello World" app without complicating things by adding Unity to the mix. Just follow some of the official Android guides.

提交回复
热议问题