Coder Social home page Coder Social logo

unity-card-ui's Introduction

Unity Card UI

Basic card style UI elements in Unity 2018.3.0f2

2D Card stack

This is a basic card stack, similar to the app switcher on iOS 9+. The contents can be changed and it's possible to turn cards in the stack into 2D expanding cards.

Alt Text

2D Falling popups

These popups are heavily inspired by Ryan McLeod's "Blackbox" game. It's available for free on the iOS App Store. These popups are an attempt to replicate the popups in his game.

Alt Text

2D Expanding Card

Click on the card and it expands into an almost full sized page. Click the red circle in the top right of the page to shrink it back into a card.

Alt Text

3D Custom Superellipses

This one uses some outside scripts from the Unify Community Wiki. It takes a bunch of points from one quadrant of a superellipse and turns it into a mesh that can be used and changed at runtime. You can change the roundness (or "superness" if you want to sound cool) of the corners. The x and y extents and the level of detail of the quadrant can be changed. It's a bit messy to get set up with the interactive part of the UI.

Alt Text

Other Stuff

Drag and drop the contents of the Assets folder anywhere into your project's Assets folder. Most of the info you need is on the cards in the scenes. The code is decently commented as well. If you have any other questions or suggestions, feel free to create an issue.

Credits

Unify Community Wiki

Triangulator.cs, PolygonTester.cs (which I renamed to MeshCreator.cs)

unity-card-ui's People

Contributors

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