com.unity.uiwidgets/Samples/UIWidgetsSamples_2019_4/Assets
Xingwei Zhu c2e882da88 add missing codes for flow and bottomsheet 2022-08-15 16:19:15 +08:00
..
Editor add test sample 2021-11-26 17:22:38 +08:00
MaterialSample add missing codes for flow and bottomsheet 2022-08-15 16:19:15 +08:00
RecastablePanelSample add raycastable panel and test sample scene 2021-07-27 15:31:29 +08:00
Resources stash changes 2022-04-02 16:01:45 +08:00
Scene update text scene 2022-07-26 10:21:08 +08:00
Script use new Unity API in 2020.3.37 to create compatible external texture 2022-07-25 18:59:25 +08:00
StreamingAssets add new sample: nine grid image (from https://stackoverflow.com/questions/48056304/how-to-display-9-png-format-of-a-picture-in-flutter) 2021-12-28 11:47:54 +08:00
UIWidgetsGallery Merge branch 'master' of github.com:Unity-Technologies/com.unity.uiwidgets into zxw/refine_codegen 2021-12-22 12:02:30 +08:00
WidgetsSample Merge pull request #293 from Unity-Technologies/zxw/refine_codegen 2021-12-28 12:01:39 +08:00
.sample.json Prepare samples in the package. 2020-07-03 12:09:09 +08:00
CountDemo.cs fix warnings (step 1) 2021-12-22 10:29:44 +08:00
CountDemo.cs.meta add renderanimatedopacitymixin 2021-01-12 17:36:31 +08:00
CountDemo.unity update for lottie 2021-03-23 14:58:26 +08:00
CountDemo.unity.meta gestures update 2021-01-11 15:54:51 +08:00
Editor.meta refine code 2021-02-25 12:05:11 +08:00
MaterialSample.meta fix alignment bug 2021-02-02 14:44:38 +08:00
README-ZH.md Add samples from https://github.com/UIWidgets/UIWidgetsSamples. 2020-07-03 11:36:13 +08:00
README-ZH.md.meta Add samples from https://github.com/UIWidgets/UIWidgetsSamples. 2020-07-03 11:36:13 +08:00
README.md Add samples from https://github.com/UIWidgets/UIWidgetsSamples. 2020-07-03 11:36:13 +08:00
README.md.meta Add samples from https://github.com/UIWidgets/UIWidgetsSamples. 2020-07-03 11:36:13 +08:00
RecastablePanelSample.meta add raycastable panel and test sample scene 2021-07-27 15:31:29 +08:00
Resources.meta add very test sample 2022-02-25 18:22:16 +08:00
Scene.meta pr fix 2020-12-09 18:31:24 +08:00
Script.meta pr fix 2020-12-09 18:31:24 +08:00
StreamingAssets.meta screenshot & config font 2020-11-04 17:04:39 +08:00
UIWidgetsGallery.meta add missing meta 2021-05-17 11:50:07 +08:00
UIWidgetsSample.asmdef minor bug fixes 2021-03-02 11:54:19 +08:00
UIWidgetsSample.asmdef.meta Add samples from https://github.com/UIWidgets/UIWidgetsSamples. 2020-07-03 11:36:13 +08:00
WidgetsSample.meta fix meterial (9) 2021-02-02 12:39:16 +08:00

README.md

UIWidgets Samples

中文

Introduction

This project provides standard samples for UIWidgets.

UIWidgets is an open-source, standalone and novel UI framework for Unity. You can find various UIWidgets-based UI panels in this Repository which illustrates different features of the corresponding framework. Please feel free to run and test these demos. You are also encouraged to modify them to meet your own requirements and see the outcomes.

Requirements

Unity

Install Unity 2018.4.10f1 (LTS) or Unity 2019.1.14f1 and above. You can download the latest Unity on https://unity3d.com/get-unity/download.

UIWidgets Package

Visit the Github repository https://github.com/UnityTech/UIWidgets to download the latest UIWidgets package.

Move the downloaded package folder into the Package folder of your Unity project.

Generally, you can make it using a console (or terminal) application by just a few commands as below:

 cd <YourProjectPath>/Packages
 git clone https://github.com/UnityTech/UIWidgets.git com.unity.uiwidgets

Install

Create an empty project using Unity and copy the latest UIWidgets package into it. Then clone this Repository to the Asset folder of your project.

Guide

Runtime UIs

In the Scenes folder you can find all the demo scenes which illustrate different features of UIWidgets. More specifically, the UIWidgetsGallery scene contains a Gallery demo of UIWidgets. It is mainly derived from the flutter Gallery demo and will provides you a big picture about "What UIWidgets can do".

In the UIWidgetsTheatre scene you can switch between some deliberately chosen UIWidgets Panels, each focusing on one specific feature of UIWidgets.

The implementations of all the demo UI widgets are located in different folders. In short:

  • MaterialSample contains sample codes of material scheme widgets
  • ReduxSample contains samples codes for the redux framework used in UIWidgets
  • UIWidgetGallery contains codes of the Gallery demo
  • UIWidgetsSample contains samples codes for basic widgets
  • UIWidgetsTheatre contains codes of the UIWidgetsTheatre

EditorWindow UIs

UIWidgets can also be used to create EditorWindows in Unity. Please click the new UIWidgetsTests tab on the main menu and open one of the dropdown samples to see the corresponding EditorWindow example.

All the codes of the EditorWindow samples are located in the Editor folder.