Giter Site home page Giter Site logo

luca1903 / cubismunitycomponents Goto Github PK

View Code? Open in Web Editor NEW

This project forked from live2d/cubismunitycomponents

0.0 2.0 0.0 152 KB

Open Cubism Components for Unity.

Home Page: http://www.live2d.com/products/cubism3

C# 97.62% HLSL 1.15% ShaderLab 1.24%

cubismunitycomponents's Introduction

Cubism SDK For Unity Components

Welcome to the open components of the Cubism SDK For Unity.

Go here if you're looking for the official Live2D hoempage, and here if you're looking for the download page of the SDK package.

Structure

Components

The components are grouped by their role, and this grouping is reflected in both folder structure and namespaces.

Core Wrapper

Components and classes in this group are a shim layer for wrapping the unmanaged Cubism core library to C# and Unity and are located in ./Assets/Live2D/Cubism/Core.

Framework

Components and classes in this group provide additional functionality like lip-syncing, as well as integration of 'foreign' Cubism files with Unity. Turning Cubism files into Prefabs and AnimationClips is done here. All framework code is located in ./Assets/Live2D/Cubism/Framework.

Rendering

Components and classes in this group provide the functionality for rendering Cubism models using Unity functionality and are located in are located in ./Assets/Live2D/Cubism/Rendering.

Editor Extensions

Unity Editor extensions are located in ./Assets/Live2D/Cubism/Editor.

Resources

Resources like shaders and other assets are located in ./Assets/Live2D/Cubism/Rendering/Resources.

Branches

If you're looking for the latest features and/or fixes, all development takes place in the develop branch.

The master branch is brought in sync with the develop branch once every official SDK release.

Usage

Simply copy all files under ./Assets into the folder the Live2D Cubism SDK is located in your Unity project.

Unsafe Blocks

The Core wrapper requires unsafe code blocks to be allowed and the C# project Unity creates is patched accordingly. If unsafe code isn't an option for you, currently the best way is to compile the components and drop that dll into your Unity project.

Contributing

There are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.

Forking And Pull Requests

We very appreciate your pull requests whether they bring fixes, improvements, or even new features.
Note, however, that the wrapper is designed to be as lightweight and shallow as possible and should therefore only be subject to bug fixes and memory/performance improvements.
To keep the main repository as clean as possible, create a personal fork and feature branches there as needed.

Bugs

All issues and feature requests are tracked using the GitHub issue tracker for this repository. Before filing a bug report, please do a search in open issues to see if the issue or feature request has already been filed. If you find your issue already exists, make relevant comments and add your reaction.

Suggestions

We're also interested in your feedback for the future of the SDK. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.

Discussion Etiquette

Please limit the discussion to English and keep it professional and things on topic.

Coding Guidelines

Naming

Try to stick to the Microsoft guidelines whenever possible. We name private fields in lower-camelcase starting with an underscore.

Style

  • In Unity Editor extension, try to write expressive code with LINQ and all the other fancy stuff.
  • Stay away from LINQ and prefer for over foreach anywhere else.
  • Try to be explicit. Prefer private void Update() over void Update().

License

The license that applies to the source code in this project allows you modify all sources without the need to submit any changes you made. Whenever releasing a product using source code from this project, you just have to make sure that you link your product with the Core distributed with the SDK package. Refer to this license for the gritty details.

cubismunitycomponents's People

Contributors

itoh-at-live2d-com avatar flast avatar

Watchers

James Cloos avatar  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.