GithubHelp home page GithubHelp logo

unityuialphaarea's Introduction

AlphaArea

해당 Asset의 기능 :
유니티에서는 기본적으로 마름모꼴과 같은 UI를 사용하게 되면 투명한 곳 까지 클릭 영역으로 인식 되는 문제가 발생합니다.

ex
그래서 'AlphaArea'를 사용하게되면 Alpha의 허용 정도를 정하여 알파 영역은 클릭되지 않도록 해주는 Asset입니다.

How to use Asset?

1.먼저 해당 Asset을 프로젝트에 내려받습니다.

ex
2.사용할 UI 이미지를 준비합니다.
ex
3.해당 이미지의 Advanced에서 읽기/쓰기를 체크합니다.
ex
4.사용할 버튼 오브젝트에 Alpha Area컴포넌트를 추가해줍니다.
5.Alpha 값이 0으로 갈수록 알파 영역은 인식되지 않습니다. (1은 전체 클릭 영역)

unityuialphaarea's People

Contributors

nk-studio avatar

Watchers

 avatar

Forkers

lifeisjourney

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.