Giter VIP home page Giter VIP logo

unity-korea-community / unity-builder Goto Github PK

View Code? Open in Web Editor NEW
3.0 0.0 0.0 3.62 MB

unity에서 플랫폼 별 빌드에 필요한 세팅값을 저장 후 Inspector, CLI 등으로 저장된 값을 불러와 빌드합니다.

Home Page: https://unity-korea-community.github.io/unity-builder/index.html

License: MIT License

C# 89.65% Shell 10.35%
unity unity-ci unity-jenkins unity-build unity-cli unity-package unity-builder

unity-builder's Introduction

Unity-Builder

License: MIT CodeFactor CodacyBadge release Discord

CI Status

CI_SONAR_CLOUD CI_Documentation

소개

프로젝트에 목적에 따른 빌드마다(ex. 개발버전, 치트버전, 스토어버전 등)

다르게 해야 할 세팅들을 Unity-ScriptableObject로 저장하고,

빌드를 할 때 이 세팅을 Editor-BuildSetting-PlayerSetting에 덮어쓴 뒤

Inspector, CLI 등으로 빌드할 수 있게 해줍니다.

주요 기능

  • Editor Setting을 SO값으로 세팅 및 빌드
  • 빌드 결과물 경로에 주요 변수 문자열 보간
    • ex. Build/{productName}_{MM}{dd}_{hh}{mm}
    • result. Build/unity-builder_월월일일_시시분분
  • CLI로 빌드시 SO값을 덮어쓰기 가능
    • ex.
    • -ovewrite {"product": "원하는값", "bundleVersionCode": "1"}

설치

Unity Editor/상단 Window 탭/Package Manager/+ 버튼/

Add package from git URL 클릭 후

이 저장소의 URL 입력

https://github.com/unity-korea-community/unity-builder.git``

CLI 명령어

유니티 CLI Arg에 있는 -executeMethod를 이용합니다.

반드시 필요한 명령어

설명 예시
-configpath UnityProject/하위 기준 로컬경로 Assets/unity-builder/Sample/AndroidBuildConfig.asset

옵션 명령어

인자 설명 예시
-overwrite

json 형식의

SO에 덮어 쓸 값

{"product": "원하는값", "bundleVersionCode": "777"}

Full Command Line Example

-quit -batchmode -executeMethod UnityBuilder.Build -configpath Assets/unity-builder/Sample/AndroidBuildConfig.asset

CommandLineArguments - 유니티 메뉴얼 https://docs.unity3d.com/Manual/CommandLineArguments.html

참고한 링크

unity-builder's People

Contributors

codacy-badger avatar korstrix avatar

Stargazers

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