Code Monkey home page Code Monkey logo

live-2d-with-unity's Introduction

Live-2D-with-Unity

Import Live2D and read mtn file In Unity3D

Prepare

Unity 5.4.0f3
Live2D for Unity SDK 2.1
you can find SDK here
Extract file you will see content like below SDK In Unity project new five folder in Assets :Editor, Live2D, Resources, Scene and Scripts.
like below
five folder
##Import Live2D
將Live2D SDK中的
1、ramework 2、lib/Live2DUnity.dll 3、lib/ Resources 拖曳至Assets/Live2D下。
Import Live2D
再來一樣由Live2D SDK中:
1、sample
2、utils
兩個資料夾放入Assets/Scripts中
Import Live2D
接著把CreateCanvas.cs與Live2DImporter.cs放置在Assets/Editor下 Import Live2D

##Import Live2D model
將要使用的Live2D model放置在Assets/Resources/live2d下
並將Live2D_Canvas拖曳至Assets/Resources/下方
這邊使用Live2D 中 Sample Material的haru Import Live2D
Import Live2D
完成後會在menu bar中看到Live2D的選項,
有這個選項就可以在場景中建置一個放置Model的Canvas。 Menubar Live2D

#呼叫mtn檔的方法 1

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.