Git Product home page Git Product logo

com.bigbro.uiframework's Introduction

Read Me

Description:

This is a sample project for init a new custom npm package inside Unity

Get Started:

  • Download from the git repo
  • Drag the entire package inside Packages/URPPackageTemplate to the package folder of your new project and wait for compiling
  • In the package manager, import Download go to the Samples~ folder

Work with package:

  • First work inside your project to make sure that everything works properly
  • Seperate the script for runtime and also make prefabs into the Sample folders
  • Upload package folder for either git or scope registory

Folder Heirarchy

UnityPackageExample/
┣ Assets/
┃ ┣ New Scene.unity
┃ ┣ New Scene.unity.meta
┃ ┣ Samples/...
┃ ┣ ...
┣ Library/...
┣ Logs/...
┣ obj/...
┣ Packages/
┃ ┣ <package-name>/
┃ ┃ ┣ Editor/
┃ ┃ ┃ ┣ <company-name>.<package-name>.Editor.asmdef
┃ ┃ ┃ ┣ <company-name>.<package-name>.Editor.asmdef.meta
┃ ┃ ┃ ┣ HelloWorldEditor.cs
┃ ┃ ┃ ┗ HelloWorldEditor.cs.meta
┃ ┃ ┣ Runtime/
┃ ┃ ┃ ┣ Core/
┃ ┃ ┃ ┃ ┣ <company-name>.<package-name>.Runtime.Core.asmdef
┃ ┃ ┃ ┃ ┣ <company-name>.<package-name>.Runtime.Core.asmdef.meta
┃ ┃ ┃ ┃ ┣ GetUnityVersion.cs
┃ ┃ ┃ ┃ ┗ GetUnityVersion.cs.meta
┃ ┃ ┃ ┗ Core.meta
┃ ┃ ┣ Samples~/
┃ ┃ ┃ ┣ ImageSample/...
┃ ┃ ┃ ┗ SceneSample/...
┃ ┃ ┣ Tests/
┃ ┃ ┃ ┣ Runtime/
┃ ┃ ┃ ┗ Runtime.meta
┃ ┃ ┣ com.<company-name>.asmdef
┃ ┃ ┣ com.<company-name>.asmdef.meta
┃ ┃ ┣ Editor.meta
┃ ┃ ┣ package.json
┃ ┃ ┣ package.json.meta
┃ ┃ ┣ README.md
┃ ┃ ┣ README.md.meta
┃ ┃ ┣ Runtime.meta
┃ ┃ ┗ Tests.meta
┃ ┣ manifest.json
┃ ┗ packages-lock.json
┣ ProjectSettings/...
┣ UserSettings/...
┣ .gitattributes
┣ .gitignore
┣ LICENSE
┣ ...
┣ README.md
┗ URPPackageTemplate.sln

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.