Giter VIP home page Giter VIP logo

ios-project-use-unity's Introduction

iOS-Project-Use-Unity

一、Unity 导出 Xcode 工程

1.建议使用 Unity 2020 以及以后的版本 2.流程图:
a.新建工程
b.导入 3D 模型以及开发绑定 C# 脚本 c.编译导出 Xcode 工程

二、Unity 导出的 Xcode 工程生成 UnityFramework.framework

  1. UnityFramework.framework 设置

2.编译 `UnityFramework.framework `

三、新建 Xcode 工程,引用 UnityFramework.framework

  1. 新建 Xcode 原生工程,将 UnityFramework.framework 导入新工程(跟引用普通的三方 framework 一样,没有特别的操作)

2. 编写代码,将Unity模型展示在已有的 window 窗口上

3. 需要真机测试运行,如图:

四、更多资源

  1. Uinity 官方 wiki :https://docs.unity3d.com/Manual/UnityasaLibrary-iOS.html
  2. 官方示例:https://github.com/Unity-Technologies/uaal-example/blob/master/docs/ios.md
  3. 以上demo工程源码:https://github.com/qiyer/iOS-Project-Use-Unity

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.