├── Resources ├── 6.png ├── unity-black.png ├── unity-white.png ├── products │ ├── belt.png │ ├── cup.png │ ├── dress.png │ ├── hat.png │ ├── scarf.png │ ├── shirt.png │ ├── table.png │ ├── top.png │ ├── deskset.png │ ├── jacket.png │ ├── jumper.png │ ├── napkins.png │ ├── platter.png │ ├── sunnies.png │ ├── sweater.png │ ├── sweats.png │ ├── teaset.png │ ├── backpack.png │ ├── earrings.png │ ├── flatwear.png │ ├── planters.png │ ├── kitchen_quattro.png │ ├── cup.png.meta │ ├── hat.png.meta │ ├── top.png.meta │ ├── backpack.png.meta │ ├── belt.png.meta │ ├── deskset.png.meta │ ├── dress.png.meta │ └── earrings.png.meta ├── fonts │ ├── Roboto-Black.ttf │ ├── Roboto-Bold.ttf │ ├── Roboto-Italic.ttf │ ├── Roboto-Light.ttf │ ├── Roboto-Medium.ttf │ ├── Roboto-Thin.ttf │ ├── Roboto-Regular.ttf │ ├── Roboto-BlackItalic.ttf │ ├── Roboto-BoldItalic.ttf │ ├── Roboto-LightItalic.ttf │ ├── Roboto-ThinItalic.ttf │ ├── Roboto-MediumItalic.ttf │ ├── Roboto-MediumItalic.ttf.meta │ ├── Roboto-BlackItalic.ttf.meta │ ├── Roboto-Light.ttf.meta │ ├── Roboto-Bold.ttf.meta │ ├── Roboto-Thin.ttf.meta │ ├── Roboto-Black.ttf.meta │ ├── Roboto-ThinItalic.ttf.meta │ ├── Roboto-BoldItalic.ttf.meta │ ├── Roboto-LightItalic.ttf.meta │ ├── Roboto-Medium.ttf.meta │ ├── Roboto-Italic.ttf.meta │ └── Roboto-Regular.ttf.meta ├── people │ ├── square │ │ ├── ali.png │ │ ├── peter.png │ │ ├── sandra.png │ │ ├── stella.png │ │ ├── trevor.png │ │ └── ali.png.meta │ ├── ali_landscape.png │ └── square.meta ├── india_thanjavur_market.png ├── file_example_MOV_480_700kB.mov ├── india_chettinad_silk_maker.png ├── fonts.meta ├── people.meta ├── products.meta ├── VideoSampleRT.renderTexture.meta ├── file_example_MOV_480_700kB.mov.meta ├── VideoSampleRT.renderTexture ├── 6.png.meta ├── unity-black.png.meta └── unity-white.png.meta ├── .git.meta ├── ReduxSample ├── .sample.json.meta ├── .sample.json ├── ObjectFinder.meta ├── CounterAppSample.cs.meta └── ObjectFinder │ ├── Reducer.cs.meta │ ├── FinderGameObject.cs.meta │ ├── ObjectFinderApp.cs.meta │ ├── StoreProvider.cs.meta │ ├── StoreProvider.cs │ └── FinderGameObject.cs ├── MaterialSample ├── TableSample.cs.meta ├── MaterialButtonSample.cs.meta ├── MaterialInkWellSample.cs.meta ├── MaterialSliderSample.cs.meta ├── MaterialThemeSample.cs.meta ├── DividerAndButton.cs.meta ├── BottomAppBarSample.cs.meta ├── MaterialAppBarSample.cs.meta ├── MaterialTabBarSample.cs.meta ├── ReorderableListSample.cs.meta ├── MaterialNavigationBarSample.cs.meta ├── BottomAppBarSample.cs ├── TableSample.cs ├── MaterialInkWellSample.cs ├── MaterialSliderSample.cs └── MaterialButtonSample.cs ├── UIWidgetsSample ├── .sample.json.meta ├── LongPressSample.cs.meta ├── .sample.json ├── txt.meta ├── SelectOnStart.cs ├── Utils.cs.meta ├── AsScreenSample.cs.meta ├── BenchMarkLayout.cs.meta ├── DragDropSample.cs.meta ├── PageViewSample.cs.meta ├── ScrollbarSample.cs.meta ├── SelectOnStart.cs.meta ├── TextInputSample.cs.meta ├── ToDoAppSample.cs.meta ├── AntialiasSVGSample.cs.meta ├── CustomPaintSample.cs.meta ├── ExpansionPanelSample.cs.meta ├── HttpRequestSample.cs.meta ├── NavigationSample.cs.meta ├── ScaleGestureSample.cs.meta ├── UIWidgetsSamplePanel.cs.meta ├── VideoSampleComponent.cs.meta ├── txt │ ├── FontWeightStyle.cs.meta │ ├── TextFieldSample.cs.meta │ ├── TextSpanGesture.cs.meta │ ├── TextStyleSample.cs.meta │ ├── TextStyleSample.cs │ ├── TextSpanGesture.cs │ └── TextFieldSample.cs ├── HoverRecognizerSample.cs.meta ├── UIWidgetsSamplePanel.cs ├── VideoSampleComponent.cs ├── PageViewSample.cs ├── LongPressSample.cs ├── HttpRequestSample.cs ├── ScrollbarSample.cs ├── CustomPaintSample.cs ├── ScaleGestureSample.cs └── Utils.cs ├── Editor ├── CupertinoSampleWidget.cs.meta ├── DragNDrop.meta ├── demo_charts.meta ├── UIWidgetsSample.Editor.asmdef.meta ├── Menu.cs.meta ├── Gestures.cs.meta ├── Paragraph.cs.meta ├── Widgets.cs.meta ├── MouseHover.cs.meta ├── RenderBoxes.cs.meta ├── RenderEditable.cs.meta ├── SceneViewTests.cs.meta ├── CanvasAndLayers.cs.meta ├── EditableTextWiget.cs.meta ├── EditorExampleTest.cs.meta ├── GalleryMainEditor.cs.meta ├── demo_charts │ ├── bar.cs.meta │ ├── main.cs.meta │ ├── tween.cs.meta │ ├── color_palette.cs.meta │ ├── color_palette.cs │ ├── tween.cs │ └── main.cs ├── DragNDrop │ ├── CustomInspectorSample.cs.meta │ └── UnityObjectDetectorSample.cs.meta ├── UIWidgetsSample.Editor.asmdef ├── EditorExampleTest.cs ├── GalleryMainEditor.cs ├── Menu.cs ├── CupertinoSampleWidget.cs ├── EditableTextWiget.cs └── Gestures.cs ├── UIWidgetsGallery ├── demo │ ├── animation.meta │ ├── animation │ │ ├── home.cs.meta │ │ ├── sections.cs.meta │ │ └── widgets.cs.meta │ ├── animation_demo.cs.meta │ ├── contacts_demo.cs.meta │ ├── shrine_demo.cs.meta │ ├── typography_demo.cs.meta │ ├── material │ │ ├── cards_demo.cs.meta │ │ ├── chip_demo.cs.meta │ │ ├── backdrop_demo.cs.meta │ │ ├── tabs_fab_demo.cs.meta │ │ ├── bottom_app_bar_demo.cs.meta │ │ ├── bottom_navigation_demo.cs.meta │ │ ├── modal_bottom_sheet_demo.cs.meta │ │ ├── persistent_bottom_sheet_demo.cs.meta │ │ ├── buttons_demo.cs.meta │ │ ├── search_demo.cs.meta │ │ ├── date_and_time_picker_demo.cs.meta │ │ └── modal_bottom_sheet_demo.cs │ ├── shrine │ │ ├── shrine_data.cs.meta │ │ ├── shrine_order.cs.meta │ │ ├── shrine_page.cs.meta │ │ ├── shrine_theme.cs.meta │ │ ├── shrine_types.cs.meta │ │ └── shrine_home.cs.meta │ ├── shrine.meta │ ├── cupertino.meta │ ├── material.meta │ ├── colors_demo.cs.meta │ ├── cupertino │ │ ├── cupertino_alert_demo.cs.meta │ │ ├── cupertino_buttons_demo.cs.meta │ │ ├── cupertino_picker_demo.cs.meta │ │ ├── cupertino_slider_demo.cs.meta │ │ ├── cupertino_switch_demo.cs.meta │ │ ├── cupertino_navigation_demo.cs.meta │ │ ├── cupertino_text_field_demo.cs.meta │ │ ├── cupertino_activity_indicator_demo.cs.meta │ │ └── cupertino_activity_indicator_demo.cs │ ├── animation_demo.cs │ └── shrine_demo.cs ├── gallery │ ├── demo.cs.meta │ ├── backdrop.cs.meta │ ├── example_code_parser.cs.meta │ ├── syntax_highlighter.cs.meta │ ├── app.cs.meta │ ├── demos.cs.meta │ ├── home.cs.meta │ ├── icons.cs.meta │ ├── scales.cs.meta │ ├── themes.cs.meta │ ├── options.cs.meta │ ├── updater.cs.meta │ ├── example_code_parser.cs │ ├── scales.cs │ └── updater.cs ├── UIWidgetsGallery.asmdef ├── demo.meta ├── gallery.meta ├── UIWidgetsGallery.asmdef.meta ├── GalleryMain.cs.meta └── GalleryMain.cs ├── README-ZH.md.meta ├── README.md.meta ├── Scenes ├── CounterApp.unity.meta ├── DragDrop.unity.meta ├── Navigation.unity.meta ├── ScrollBar.unity.meta ├── TableSample.unity.meta ├── TextInput.unity.meta ├── ToDoAppPanel.unity.meta ├── AsScreenSample.unity.meta ├── BenchmarkLayout.unity.meta ├── CustomPaintSample.unity.meta ├── DividerAndButton.unity.meta ├── ExpansionPanel.unity.meta ├── FontWeightStyle.unity.meta ├── HTTPRequestSample.unity.meta ├── LongPressSample.unity.meta ├── MaterialButton.unity.meta ├── ObjectFinderScene.unity.meta ├── PageViewSample.unity.meta ├── TextFieldSample.unity.meta ├── TextSpanGesture.unity.meta ├── TextStyleSample.unity.meta ├── UIWidgetsGallery.unity.meta ├── UIWidgetsTheatre.unity.meta ├── AntialiasSVGSample.unity.meta ├── BottomAppBarSample.unity.meta ├── HoverRecognizerSample.unity.meta ├── MaterialAppBarSample.unity.meta ├── MaterialInkWellSample.unity.meta ├── MaterialSliderSample.unity.meta ├── MaterialTabBarSample.unity.meta ├── MaterialThemeSample.unity.meta ├── ReorderableListSample.unity.meta ├── ScaleGestureSample.unity.meta ├── ToDoAppPanelWithUGUI.unity.meta └── MaterialNavigationBarSample.unity.meta ├── Editor.meta ├── Resources.meta ├── Scenes.meta ├── MaterialSample.meta ├── ReduxSample.meta ├── UIWidgetsSample.asmdef.meta ├── RaycastableSample.meta ├── RaycastableSample ├── Raycast Testbed.unity.meta ├── Raycast Simple Testbed.unity.meta ├── RaycastTestbedPanel.cs.meta ├── DefaultSimpleTestbedPanel.cs.meta ├── RaycastSimpleTestbedPanel.cs.meta ├── DefaultSimpleTestbedPanel.cs └── RaycastSimpleTestbedPanel.cs ├── UIWidgetsGallery.meta ├── UIWidgetsSample.meta ├── UIWidgetsTheatre.meta ├── UIWidgetsTheatre ├── UIWidgetsTheatre.asmdef.meta ├── UIWidgetsTheatre.asmdef ├── UIWidgetsTheatre.cs.meta └── UIWidgetsTheatre.cs ├── UIWidgetsSample.asmdef ├── README-ZH.md └── README.md /Resources/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/6.png -------------------------------------------------------------------------------- /.git.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 546cad9d57934e45b872c5f9d6776bdf 3 | timeCreated: 1571627113 -------------------------------------------------------------------------------- /Resources/unity-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/unity-black.png -------------------------------------------------------------------------------- /Resources/unity-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/unity-white.png -------------------------------------------------------------------------------- /Resources/products/belt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/belt.png -------------------------------------------------------------------------------- /Resources/products/cup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/cup.png -------------------------------------------------------------------------------- /Resources/products/dress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/dress.png -------------------------------------------------------------------------------- /Resources/products/hat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/hat.png -------------------------------------------------------------------------------- /Resources/products/scarf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/scarf.png -------------------------------------------------------------------------------- /Resources/products/shirt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/shirt.png -------------------------------------------------------------------------------- /Resources/products/table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/table.png -------------------------------------------------------------------------------- /Resources/products/top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/top.png -------------------------------------------------------------------------------- /ReduxSample/.sample.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8cd2fcbc5aff423a928c6d54050b2935 3 | timeCreated: 1571627113 -------------------------------------------------------------------------------- /Resources/products/deskset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/deskset.png -------------------------------------------------------------------------------- /Resources/products/jacket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/jacket.png -------------------------------------------------------------------------------- /Resources/products/jumper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/jumper.png -------------------------------------------------------------------------------- /Resources/products/napkins.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/napkins.png -------------------------------------------------------------------------------- /Resources/products/platter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/platter.png -------------------------------------------------------------------------------- /Resources/products/sunnies.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/sunnies.png -------------------------------------------------------------------------------- /Resources/products/sweater.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/sweater.png -------------------------------------------------------------------------------- /Resources/products/sweats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/sweats.png -------------------------------------------------------------------------------- /Resources/products/teaset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/teaset.png -------------------------------------------------------------------------------- /MaterialSample/TableSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07e8ae972d9945faaef3326486f3a4bf 3 | timeCreated: 1573031753 -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-Black.ttf -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-Bold.ttf -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-Italic.ttf -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-Light.ttf -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-Medium.ttf -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-Thin.ttf -------------------------------------------------------------------------------- /Resources/people/square/ali.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/people/square/ali.png -------------------------------------------------------------------------------- /Resources/people/square/peter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/people/square/peter.png -------------------------------------------------------------------------------- /Resources/products/backpack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/backpack.png -------------------------------------------------------------------------------- /Resources/products/earrings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/earrings.png -------------------------------------------------------------------------------- /Resources/products/flatwear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/flatwear.png -------------------------------------------------------------------------------- /Resources/products/planters.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/planters.png -------------------------------------------------------------------------------- /UIWidgetsSample/.sample.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d06887a0c77a4644bf37131a4b5db98e 3 | timeCreated: 1571627113 -------------------------------------------------------------------------------- /Editor/CupertinoSampleWidget.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92aa3442134248a38d03c2a24a8a9962 3 | timeCreated: 1566545424 -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-Regular.ttf -------------------------------------------------------------------------------- /Resources/people/ali_landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/people/ali_landscape.png -------------------------------------------------------------------------------- /Resources/people/square/sandra.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/people/square/sandra.png -------------------------------------------------------------------------------- /Resources/people/square/stella.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/people/square/stella.png -------------------------------------------------------------------------------- /Resources/people/square/trevor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/people/square/trevor.png -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/animation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4861503ddfc74b9ba36f159521c79b65 3 | timeCreated: 1554970886 -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c8404e1b03d43aba2e91d19f124de5e 3 | timeCreated: 1552462303 -------------------------------------------------------------------------------- /UIWidgetsSample/LongPressSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5bab4c4cc3a446f280edec6a9d0a4f16 3 | timeCreated: 1556594174 -------------------------------------------------------------------------------- /MaterialSample/MaterialButtonSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 347e0378e419f46f2af69e1214f1ae5b 3 | timeCreated: 1573031753 -------------------------------------------------------------------------------- /MaterialSample/MaterialInkWellSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a03d2251d4fb4ef08021dcb11b0dc68 3 | timeCreated: 1573031753 -------------------------------------------------------------------------------- /MaterialSample/MaterialSliderSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a403bd4bc6da446f1bb8cc0424f2fb85 3 | timeCreated: 1573031753 -------------------------------------------------------------------------------- /MaterialSample/MaterialThemeSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5061bd7b85f4179a65c68ac289a4a58 3 | timeCreated: 1556597371 -------------------------------------------------------------------------------- /Resources/fonts/Roboto-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-BlackItalic.ttf -------------------------------------------------------------------------------- /Resources/fonts/Roboto-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-BoldItalic.ttf -------------------------------------------------------------------------------- /Resources/fonts/Roboto-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-LightItalic.ttf -------------------------------------------------------------------------------- /Resources/fonts/Roboto-ThinItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-ThinItalic.ttf -------------------------------------------------------------------------------- /Resources/india_thanjavur_market.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/india_thanjavur_market.png -------------------------------------------------------------------------------- /Resources/products/kitchen_quattro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/products/kitchen_quattro.png -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/animation/home.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 628b4648bdda4c8d8c8fc6778c874067 3 | timeCreated: 1554970915 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/animation_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f13faff4d2b84ce0935236f3b953849f 3 | timeCreated: 1554969121 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/contacts_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42aac0c9b12e437db9787de912355ed9 3 | timeCreated: 1553060178 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/shrine_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5902905cca7447d2aa1fe5ae7f6c5cbc 3 | timeCreated: 1553239620 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/typography_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec695ed4b0de477a8f58aebe079b8ac0 3 | timeCreated: 1553075802 -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/backdrop.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3ee24c4986845abb1356402632d8524 3 | timeCreated: 1552886622 -------------------------------------------------------------------------------- /Resources/file_example_MOV_480_700kB.mov: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/file_example_MOV_480_700kB.mov -------------------------------------------------------------------------------- /Resources/fonts/Roboto-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/fonts/Roboto-MediumItalic.ttf -------------------------------------------------------------------------------- /Resources/india_chettinad_silk_maker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UIWidgets/UIWidgetsSamples/HEAD/Resources/india_chettinad_silk_maker.png -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/animation/sections.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5180fb461b7448de8d4d084ff3f7c761 3 | timeCreated: 1555049317 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/animation/widgets.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c84aedb64bf44338944d63be7c563ed 3 | timeCreated: 1555049115 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/cards_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f199ea32d87544c892f57b8af0fcbb03 3 | timeCreated: 1553136548 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/chip_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c65920c8c4b64c709b62586d0bde9579 3 | timeCreated: 1555411023 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/shrine/shrine_data.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f29bb63cff3148cbb3ef3be8196d5709 3 | timeCreated: 1553240837 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/shrine/shrine_order.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0720924e140457dbc8626755c82f3ba 3 | timeCreated: 1553244438 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/shrine/shrine_page.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81f9ca5ad3e848f4889059abd3037d17 3 | timeCreated: 1553246179 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/shrine/shrine_theme.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 468619e1fd4f4437ba3f0929e269aab4 3 | timeCreated: 1553241961 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/shrine/shrine_types.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 924c1662fb504687af28a4f05901a20a 3 | timeCreated: 1553240139 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/backdrop_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98bee0a7e51f4f2d9c8670daf147a15f 3 | timeCreated: 1553145970 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/tabs_fab_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c2dcb794cc84a458f028f3751cf08a7 3 | timeCreated: 1555060923 -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/example_code_parser.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57879fd6125746699974c2e0bc8762b8 3 | timeCreated: 1552468268 -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/syntax_highlighter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 205d7446dc624493a18d7118ffeec352 3 | timeCreated: 1552469338 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/bottom_app_bar_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c1d20efeafe42699212e2147c0828af 3 | timeCreated: 1553149093 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/bottom_navigation_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d279028b09c04c2b8ab3fba122868004 3 | timeCreated: 1553221768 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/modal_bottom_sheet_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c47b9e1a46e47858145acbe84590d05 3 | timeCreated: 1555059325 -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/persistent_bottom_sheet_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afb410d95c524a18b8761713f1335427 3 | timeCreated: 1555059936 -------------------------------------------------------------------------------- /UIWidgetsSample/.sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "displayName":"UIWidgetSample", 3 | "description": "Sample usage of UI Wideget", 4 | "createSeparatePackage": false 5 | } 6 | -------------------------------------------------------------------------------- /ReduxSample/.sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "displayName":"Redux Sample", 3 | "description": "Sample usage of Redux & UIWidgets", 4 | "createSeparatePackage": false 5 | } 6 | -------------------------------------------------------------------------------- /UIWidgetsGallery/UIWidgetsGallery.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UIWidgetsGallery", 3 | "references": ["Unity.UIWidgets"], 4 | "includePlatforms": [], 5 | "excludePlatforms": [] 6 | } 7 | -------------------------------------------------------------------------------- /README-ZH.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91a591ae2fb1e4a09977ec731aa7167f 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f85cf1881c16b468a82659012c8b6db0 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/CounterApp.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b223e0fe089d54420b281da7ec2b7420 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/DragDrop.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 550b3b5ac53db47af938571f90da73bf 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/Navigation.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48300882e985d484880e16569661a93c 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/ScrollBar.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 254fc2f80945542b191aff7ab8fda8cb 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/TableSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8300bd036a5a046afbf260d9f05c89aa 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/TextInput.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a677aa8bdebec4af786ef0846602c037 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/ToDoAppPanel.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d09bf5fc44184a09b939e6e011b0f04 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ae90c343ee0e4f7daf768fe6383340f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77196fe8699ab4d4ebcdcd40d51ad725 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1bcee10b13adf455985ead00596cf877 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Scenes/AsScreenSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 50c51aeddebbd4fc6a5bcb7ac1077de6 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/BenchmarkLayout.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 982833f92bcda4a29bc61650a38b8a56 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/CustomPaintSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a5c2e14d1f70486496bd5ec2875453e 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/DividerAndButton.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7dab34d5bf4e8476583b4cd4c31a5406 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/ExpansionPanel.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e3b67b8f19ff4635b924fb6e01a071d 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/FontWeightStyle.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2c95a6b903734fe9b468628608b0f26 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/HTTPRequestSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 747bc146696a54ef5952dfb6a5a1fc30 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/LongPressSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea79b711dbc434533b52afdbe4e3ec11 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/MaterialButton.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1224d48a5c03a4586ae67d64edd04c70 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/ObjectFinderScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27efec1d60b5b47ea892e8d510fb47e3 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/PageViewSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6eefab3d704ef43158335b4ccdb2bd3a 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/TextFieldSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aac31513e946344aba9ce9834043dece 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/TextSpanGesture.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bb80787cf53a465b8db5e49dd3f5176 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/TextStyleSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 84990e255c8f84fa3b1de95e7494243b 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/UIWidgetsGallery.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97d82ba0e79874aee90750ac8d1661bc 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/UIWidgetsTheatre.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98c373eb224884f5f9606a9eefe03de7 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /MaterialSample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 611706478d8aa410983272ad601895d3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /ReduxSample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d9b41f3c48f94f93b5aaf521adbe0bf 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Scenes/AntialiasSVGSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 021bc4c293131449584dc485a7db999a 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/BottomAppBarSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7578b12cdee944c3c93af4ea59c585b2 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/HoverRecognizerSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 84aea49bf720f4a5ea52a520695518a5 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/MaterialAppBarSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a55f5bf931eba48a9aabd60a36fc0798 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/MaterialInkWellSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97baa8eacdeb540a1824c580a50dbfa2 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/MaterialSliderSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5f01bc5ba69047a3bd7b634df2a9275 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/MaterialTabBarSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6512ac3ca7474ba8b26b5d08c806d82 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/MaterialThemeSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 525ef411443314aae829b4252f00e997 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/ReorderableListSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e36670b1057c47409495bf161d77a6a 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/ScaleGestureSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b5c31aff2c1c465eb4317cf0b77f9ec 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scenes/ToDoAppPanelWithUGUI.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9846df6b27173452ea9fd97662d01cbc 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UIWidgetsSample.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ab038173e7944f0d8931870d8d783af 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Editor/DragNDrop.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 087f4b1b8d7aa4e93bca841df8a1d603 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/demo_charts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 670043f1cb7b9420287d473e7d464b5f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /RaycastableSample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e70bfdbd732446138a5acef1423b347 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /RaycastableSample/Raycast Testbed.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1bac3be89f2644f6ad3a6ed1ff00617 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Resources/fonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd2d99ad33f0f4ab08527227b50b09c5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Resources/people.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b10c23ebc3c7043da9813735f4d69635 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Resources/products.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: acf5530998b1440d08a7f0b242460cbf 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Scenes/MaterialNavigationBarSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c90d126faa0c4824b83fcefbde0b1e8 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UIWidgetsGallery.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5570637d1b25467596ae3c19ff7f0b2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UIWidgetsSample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3663814d042c44976a72d5fb8a41cdf9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UIWidgetsSample/txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57dc3a2ca4c5643b482cd6c4e9e545d6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UIWidgetsTheatre.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b54f053c2c5d34691b30237abaf17e14 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /ReduxSample/ObjectFinder.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b02ce0cc0eb64ae7bce356d7d003e6d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Resources/people/square.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 321c11a98ef1c452ba9bf4fad8ac67fe 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5159692a5f76049d49b05fb717c096e3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05f67c3cc663543059f6e339e99ce4b8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/UIWidgetsSample.Editor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68e123732d7044a35864388f0a17b907 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /RaycastableSample/Raycast Simple Testbed.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83e4542c541b84d80ad625e366e30839 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/shrine.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2621a6f94ad8a4b5ab7199025967dc90 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UIWidgetsGallery/UIWidgetsGallery.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a4a3e5b23cd8477493ad2d383473758 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/cupertino.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b971f24af9c984210a511bd0e81945a3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edc3bae86553f44c2b7e7fddbf6cb497 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UIWidgetsTheatre/UIWidgetsTheatre.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c3989c687a004ce0b065769f8dc2615 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UIWidgetsTheatre/UIWidgetsTheatre.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UIWidgetsTheatre", 3 | "references": [ 4 | "Unity.UIWidgets", 5 | "UIWidgetsGallery", 6 | "UIWidgetsSample"], 7 | "includePlatforms": [], 8 | "excludePlatforms": [] 9 | } 10 | -------------------------------------------------------------------------------- /Resources/VideoSampleRT.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53bf3f9b1464948cbb3f58add96afa32 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/Menu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07a2dca2a47d240e8aa2ce8d1f334972 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Gestures.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7710fcdc94c940438ce640043508690 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Paragraph.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a2cc1e9b7e804b2e9f0a580b686488f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/Widgets.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4edd5c1fb7ca444cb61994b2f961ae0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/SelectOnStart.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.EventSystems; 3 | 4 | namespace UIWidgetsSample { 5 | public class SelectOnStart : MonoBehaviour { 6 | void Start() { 7 | EventSystem.current.SetSelectedGameObject(this.gameObject); 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /Editor/MouseHover.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9842186b0d0f4bcf9f8db188333094f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/RenderBoxes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5bfb809078f1b448e970bf4ba4dadef2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/RenderEditable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b0441fd0240f4a1fa3f3df24ba9f0fd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/SceneViewTests.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1f47e7bb2c0184a3aa2246fa0d8a89e0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/Utils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3781c9e4efebd4c928ef175761d31b58 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/CanvasAndLayers.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82dd60611380c41ff89590fc49800e97 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/EditableTextWiget.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be0c47c771a534e24a6a27e7fcc0f97e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/EditorExampleTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 296bb7110a92448c1bc8659719a3c33c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/GalleryMainEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98f11153c8c804448abe7a050222da98 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/demo_charts/bar.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86c1af2bfb2264482886e1dfc4421ca8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/demo_charts/main.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0f7155374ba841a68342496dca556d4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/demo_charts/tween.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7cfb33e7825b49f1ad2d0bb356eb831 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /MaterialSample/DividerAndButton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d02ebc8543484a84b26e073e5ec501f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /ReduxSample/CounterAppSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1df7452b5a8dd478ca8988b48502efe1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/GalleryMain.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c5c86936ca864ae684720ddcd50d759 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/app.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3fff3cf3a1dd243d088be72945a3d7e9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/demos.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b079397083e3d41bb83262e1423dfa25 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/home.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6b1570fca0b749e688be67e7bb61a5c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/icons.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b7592e2675d347bb9036ed6cb4fabe0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/scales.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9bf87177b342d4feba4778ca5a9b20a5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/themes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7510605485ec34459a4ac9b456cf583f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/AsScreenSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71d034a309904459c9016f0f17734267 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/BenchMarkLayout.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cba57cf034e23904ab2f929598f4cb45 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/DragDropSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d01ae8029ff2f4e54a5e9c1a9672e5dc 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/PageViewSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8dea5be0500345ccb20b797d19e741c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/ScrollbarSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5c73cb2437bb4d369115d787656adf4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/SelectOnStart.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c42d7614d405d465aab861f4a0cb146e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/TextInputSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9bc91696c1584e11b23dca1a9e3cde3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/ToDoAppSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45683c1d42a0d4392a02956cc7886f83 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/demo_charts/color_palette.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 239b4d72aabd9409896ae59d43657685 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /MaterialSample/BottomAppBarSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ba2c65db2f2848d3a3fa5eb0890abe5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /MaterialSample/MaterialAppBarSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 684439e8285b14ebc894b328936d06dd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /MaterialSample/MaterialTabBarSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0cbd2174900054317b93e50e058cd61b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /MaterialSample/ReorderableListSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4743f6dbc9049447eaae87cc7519406b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /ReduxSample/ObjectFinder/Reducer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a71f0cd918124d70a15139e7aaca9ac 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/colors_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40024f3eaf7b44bfb09e27137c9d4aa9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/options.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9eb439aba25814f79979120cd5966537 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/updater.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c69f6e2d93b02484fab6f2e2408c7d88 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/AntialiasSVGSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41696ca988ae5c44da3f545825faf3ac 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/CustomPaintSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5debfd6de8ea942d487383a56aad8491 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/ExpansionPanelSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b7c8f92f79054eb6ae6e6749ebec2a1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/HttpRequestSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cfa3e1cd78bb74aef90a7a0289dfc23c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/NavigationSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 020016dfbbaef41b496f4e5be17d098c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/ScaleGestureSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38800d11bb7a9447582e892145b3bd82 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/UIWidgetsSamplePanel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a21c5e1a50e24057a4ecf249fa86c1f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/VideoSampleComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1b5fe397122c4c5988b2bddfe92bd95 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/txt/FontWeightStyle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b64f268a7786741718163d1a4eef0a8c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/txt/TextFieldSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85b678a668e064f5c90ee8a9f7c13f35 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/txt/TextSpanGesture.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c91c5cfdde64e465e956815f92b78ae7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/txt/TextStyleSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1de691b215926469a959e54492262ff4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsTheatre/UIWidgetsTheatre.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ace0d3c7f55946559f1497f0fbf6025 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/DragNDrop/CustomInspectorSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5978da8ac1ccd4638bfe3d8425443807 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /RaycastableSample/RaycastTestbedPanel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b02d547623984986a44973c4ba2bca0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /ReduxSample/ObjectFinder/FinderGameObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 969624a932ff84fe09dc38f9460223fb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /ReduxSample/ObjectFinder/ObjectFinderApp.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e8946ae1a1b9498eb3eaa2cc6fc9b23 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /ReduxSample/ObjectFinder/StoreProvider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7eed2508558af4e7997726a61f44a9a4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/shrine/shrine_home.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec9f3366e13014909b0287e1305641e1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample/HoverRecognizerSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aeab7b6e566d741a8a11a4400d52e708 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/DragNDrop/UnityObjectDetectorSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2948179a390a944a9a44b7f86cfa3c57 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /MaterialSample/MaterialNavigationBarSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19405b76532fc44ae91d3c0996408a3e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /RaycastableSample/DefaultSimpleTestbedPanel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 15ddf18357c864b1b822b471672fd391 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /RaycastableSample/RaycastSimpleTestbedPanel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fc8b0d34b82c4c63a41e0cde280075a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/buttons_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf7a009b9ad594f1887c1178cd01160b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/search_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d218ac05e5b514d148358d3cd23ff43f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/cupertino/cupertino_alert_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcd454968bdd543c181c3bde5aee8651 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/cupertino/cupertino_buttons_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00dd97e6ab3004c7485beababbe548ab 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/cupertino/cupertino_picker_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cb09763e9a60447490569afa586f063 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/cupertino/cupertino_slider_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 172d1ae6d262e45d4a131a02d85ddf44 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/cupertino/cupertino_switch_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f9a95d09a56a495f8878fd15b5aed4b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/date_and_time_picker_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8fcf06db4da2449885ccc1f225b4808 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/cupertino/cupertino_navigation_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5de5bf11a3f04d208266b21a0acda47 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/cupertino/cupertino_text_field_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38c40bf70348345f5bc7e93853e451fd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/cupertino/cupertino_activity_indicator_demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd9442c2f316e4ad1924fa656a7788a8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UIWidgetsSample.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UIWidgetsSample", 3 | "references": [ 4 | "Unity.UIWidgets" 5 | ], 6 | "optionalUnityReferences": [], 7 | "includePlatforms": [], 8 | "excludePlatforms": [], 9 | "allowUnsafeCode": false, 10 | "overrideReferences": false, 11 | "precompiledReferences": [], 12 | "autoReferenced": true, 13 | "defineConstraints": [] 14 | } -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/animation_demo.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.foundation; 2 | using Unity.UIWidgets.widgets; 3 | 4 | namespace UIWidgetsGallery.gallery { 5 | public class AnimationDemo : StatelessWidget { 6 | public AnimationDemo(Key key = null) : base(key: key) { 7 | } 8 | 9 | public const string routeName = "/animation"; 10 | 11 | public override Widget build(BuildContext context) { 12 | return new AnimationDemoHome(); 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /Resources/file_example_MOV_480_700kB.mov.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9906c152cf75248e98d1edd60759f014 3 | VideoClipImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | useLegacyImporter: 0 7 | quality: 0.5 8 | isColorLinear: 0 9 | frameRange: 0 10 | startFrame: -1 11 | endFrame: -1 12 | colorSpace: 0 13 | deinterlace: 0 14 | encodeAlpha: 0 15 | flipVertical: 0 16 | flipHorizontal: 0 17 | importAudio: 1 18 | targetSettings: {} 19 | userData: 20 | assetBundleName: 21 | assetBundleVariant: 22 | -------------------------------------------------------------------------------- /Editor/UIWidgetsSample.Editor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UIWidgetsSample.Editor", 3 | "references": [ 4 | "Unity.UIWidgets.Editor", 5 | "Unity.UIWidgets", 6 | "UIWidgetsSample", 7 | "UIWidgetsGallery" 8 | ], 9 | "optionalUnityReferences": [ 10 | "TestAssemblies" 11 | ], 12 | "includePlatforms": [ 13 | "Editor" 14 | ], 15 | "excludePlatforms": [], 16 | "allowUnsafeCode": false, 17 | "overrideReferences": false, 18 | "precompiledReferences": [], 19 | "autoReferenced": true, 20 | "defineConstraints": [], 21 | "versionDefines": [] 22 | } -------------------------------------------------------------------------------- /Resources/fonts/Roboto-MediumItalic.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07dd8a1dd86db4564a083c66ace71873 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: [] 15 | customCharacters: 16 | fontRenderingMode: 0 17 | ascentCalculationMode: 1 18 | useLegacyBoundsCalculation: 0 19 | shouldRoundAdvanceValue: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /Editor/EditorExampleTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using NUnit.Framework; 3 | using UnityEngine.TestTools; 4 | 5 | class EditorExampleTest { 6 | [Test] 7 | public void EditorSampleTestSimplePasses() { 8 | // Use the Assert class to test conditions. 9 | } 10 | 11 | // A UnityTest behaves like a coroutine in PlayMode 12 | // and allows you to yield null to skip a frame in EditMode 13 | [UnityTest] 14 | public IEnumerator EditorSampleTestWithEnumeratorPasses() { 15 | // Use the Assert class to test conditions. 16 | // yield to skip a frame 17 | yield return null; 18 | } 19 | } -------------------------------------------------------------------------------- /Resources/fonts/Roboto-BlackItalic.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 129a2b36ad4ef4826b76497a1542ed4f 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: 15 | - {fileID: 12800000, guid: 07dd8a1dd86db4564a083c66ace71873, type: 3} 16 | customCharacters: 17 | fontRenderingMode: 0 18 | ascentCalculationMode: 1 19 | useLegacyBoundsCalculation: 0 20 | shouldRoundAdvanceValue: 1 21 | userData: 22 | assetBundleName: 23 | assetBundleVariant: 24 | -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Light.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b7cfedf202b2460e8a32f079f2b88b0 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: 15 | - {fileID: 12800000, guid: 129a2b36ad4ef4826b76497a1542ed4f, type: 3} 16 | - {fileID: 12800000, guid: 07dd8a1dd86db4564a083c66ace71873, type: 3} 17 | customCharacters: 18 | fontRenderingMode: 0 19 | ascentCalculationMode: 1 20 | useLegacyBoundsCalculation: 0 21 | shouldRoundAdvanceValue: 1 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /UIWidgetsSample/UIWidgetsSamplePanel.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.animation; 2 | using Unity.UIWidgets.engine; 3 | using Unity.UIWidgets.widgets; 4 | 5 | namespace UIWidgetsSample { 6 | public class UIWidgetsSamplePanel: UIWidgetsPanel { 7 | 8 | protected virtual PageRouteFactory pageRouteBuilder { 9 | get { 10 | return (RouteSettings settings, WidgetBuilder builder) => 11 | new PageRouteBuilder( 12 | settings: settings, 13 | pageBuilder: (BuildContext context, Animation animation, 14 | Animation secondaryAnimation) => builder(context) 15 | ); 16 | } 17 | } 18 | 19 | } 20 | } -------------------------------------------------------------------------------- /UIWidgetsSample/VideoSampleComponent.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.Video; 3 | using Texture = Unity.UIWidgets.widgets.Texture; 4 | 5 | namespace UIWidgetsSample { 6 | public class VideoSampleComponent : MonoBehaviour { 7 | public VideoClip videoClip; 8 | public RenderTexture renderTexture; 9 | 10 | void Start() { 11 | var videoPlayer = this.gameObject.AddComponent(); 12 | videoPlayer.clip = this.videoClip; 13 | videoPlayer.targetTexture = this.renderTexture; 14 | videoPlayer.isLooping = true; 15 | videoPlayer.sendFrameReadyEvents = true; 16 | videoPlayer.frameReady += (_, __) => Texture.textureFrameAvailable(); 17 | videoPlayer.Play(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Bold.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2035d69a5f59a45fa912413e615282a3 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: 15 | - {fileID: 12800000, guid: 129a2b36ad4ef4826b76497a1542ed4f, type: 3} 16 | - {fileID: 12800000, guid: 07dd8a1dd86db4564a083c66ace71873, type: 3} 17 | - {fileID: 12800000, guid: 1b7cfedf202b2460e8a32f079f2b88b0, type: 3} 18 | customCharacters: 19 | fontRenderingMode: 0 20 | ascentCalculationMode: 1 21 | useLegacyBoundsCalculation: 0 22 | shouldRoundAdvanceValue: 1 23 | userData: 24 | assetBundleName: 25 | assetBundleVariant: 26 | -------------------------------------------------------------------------------- /ReduxSample/ObjectFinder/StoreProvider.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.Redux; 2 | 3 | namespace Unity.UIWidgets.Sample.Redux.ObjectFinder { 4 | public static class StoreProvider { 5 | static Store _store; 6 | 7 | public static Store store { 8 | get { 9 | if (_store != null) { 10 | return _store; 11 | } 12 | 13 | var middlewares = new Middleware[] { 14 | ReduxLogging.create(), 15 | ReduxThunk.create(), 16 | }; 17 | _store = new Store(ObjectFinderReducer.Reduce, 18 | new FinderAppState(), 19 | middlewares 20 | ); 21 | return _store; 22 | } 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Thin.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 209975b9a63a04a15be3d915bfe05bdd 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: 15 | - {fileID: 12800000, guid: 129a2b36ad4ef4826b76497a1542ed4f, type: 3} 16 | - {fileID: 12800000, guid: 2035d69a5f59a45fa912413e615282a3, type: 3} 17 | - {fileID: 12800000, guid: 07dd8a1dd86db4564a083c66ace71873, type: 3} 18 | - {fileID: 12800000, guid: 1b7cfedf202b2460e8a32f079f2b88b0, type: 3} 19 | customCharacters: 20 | fontRenderingMode: 0 21 | ascentCalculationMode: 1 22 | useLegacyBoundsCalculation: 0 23 | shouldRoundAdvanceValue: 1 24 | userData: 25 | assetBundleName: 26 | assetBundleVariant: 27 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/cupertino/cupertino_activity_indicator_demo.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.cupertino; 2 | using Unity.UIWidgets.widgets; 3 | 4 | namespace UIWidgetsGallery.gallery { 5 | /* 6 | class CupertinoProgressIndicatorDemo : StatelessWidget { 7 | public static string routeName = "/cupertino/progress_indicator"; 8 | 9 | public override 10 | Widget build(BuildContext context) { 11 | return new CupertinoPageScaffold( 12 | navigationBar: new CupertinoNavigationBar( 13 | previousPageTitle: "Cupertino", 14 | middle: new Text("Activity Indicator"), 15 | trailing: new CupertinoDemoDocumentationButton(routeName) 16 | ), 17 | child: new Center( 18 | child: new CupertinoActivityIndicator() 19 | ) 20 | ); 21 | } 22 | } 23 | */ 24 | } -------------------------------------------------------------------------------- /Resources/VideoSampleRT.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: VideoSampleRT 10 | m_ImageContentsHash: 11 | serializedVersion: 2 12 | Hash: 00000000000000000000000000000000 13 | m_ForcedFallbackFormat: 4 14 | m_DownscaleFallback: 0 15 | serializedVersion: 3 16 | m_Width: 480 17 | m_Height: 270 18 | m_AntiAliasing: 1 19 | m_DepthFormat: 2 20 | m_ColorFormat: 8 21 | m_MipMap: 0 22 | m_GenerateMips: 1 23 | m_SRGB: 0 24 | m_UseDynamicScale: 0 25 | m_BindMS: 0 26 | m_EnableCompatibleFormat: 1 27 | m_TextureSettings: 28 | serializedVersion: 2 29 | m_FilterMode: 1 30 | m_Aniso: 0 31 | m_MipBias: 0 32 | m_WrapU: 1 33 | m_WrapV: 1 34 | m_WrapW: 1 35 | m_Dimension: 2 36 | m_VolumeDepth: 1 37 | -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Black.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51bdc9d10d72c420594681b51cd44103 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: 15 | - {fileID: 12800000, guid: 129a2b36ad4ef4826b76497a1542ed4f, type: 3} 16 | - {fileID: 12800000, guid: 209975b9a63a04a15be3d915bfe05bdd, type: 3} 17 | - {fileID: 12800000, guid: 2035d69a5f59a45fa912413e615282a3, type: 3} 18 | - {fileID: 12800000, guid: 07dd8a1dd86db4564a083c66ace71873, type: 3} 19 | - {fileID: 12800000, guid: 1b7cfedf202b2460e8a32f079f2b88b0, type: 3} 20 | customCharacters: 21 | fontRenderingMode: 0 22 | ascentCalculationMode: 1 23 | useLegacyBoundsCalculation: 0 24 | shouldRoundAdvanceValue: 1 25 | userData: 26 | assetBundleName: 27 | assetBundleVariant: 28 | -------------------------------------------------------------------------------- /ReduxSample/ObjectFinder/FinderGameObject.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Unity.UIWidgets.Sample.Redux.ObjectFinder { 4 | public class FinderGameObject : MonoBehaviour { 5 | // Start is called before the first frame update 6 | void Start() { 7 | this.GetComponent().material.color = new Color(1.0f, 0, 0, 1.0f); 8 | } 9 | 10 | // Update is called once per frame 11 | void Update() { 12 | var selectedId = StoreProvider.store.getState().selected; 13 | if (selectedId == this.GetInstanceID()) { 14 | this.GetComponent().material.color = new Color(1.0f, 0, 0, 1.0f); 15 | } 16 | else { 17 | this.GetComponent().material.color = new Color(1.0f, 1.0f, 1.0f, 1.0f); 18 | } 19 | } 20 | 21 | void OnMouseDown() { 22 | StoreProvider.store.dispatcher.dispatch(new SelectObjectAction() {id = this.GetInstanceID()}); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Resources/fonts/Roboto-ThinItalic.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5339e3d6298e64cfb8da15c7a5382629 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: 15 | - {fileID: 12800000, guid: 51bdc9d10d72c420594681b51cd44103, type: 3} 16 | - {fileID: 12800000, guid: 129a2b36ad4ef4826b76497a1542ed4f, type: 3} 17 | - {fileID: 12800000, guid: 209975b9a63a04a15be3d915bfe05bdd, type: 3} 18 | - {fileID: 12800000, guid: 2035d69a5f59a45fa912413e615282a3, type: 3} 19 | - {fileID: 12800000, guid: 07dd8a1dd86db4564a083c66ace71873, type: 3} 20 | - {fileID: 12800000, guid: 1b7cfedf202b2460e8a32f079f2b88b0, type: 3} 21 | customCharacters: 22 | fontRenderingMode: 0 23 | ascentCalculationMode: 1 24 | useLegacyBoundsCalculation: 0 25 | shouldRoundAdvanceValue: 1 26 | userData: 27 | assetBundleName: 28 | assetBundleVariant: 29 | -------------------------------------------------------------------------------- /UIWidgetsSample/PageViewSample.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.UIWidgets.ui; 3 | using Unity.UIWidgets.widgets; 4 | 5 | namespace UIWidgetsSample { 6 | public class PageViewSample : UIWidgetsSamplePanel { 7 | 8 | protected override Widget createWidget() { 9 | return new WidgetsApp( 10 | home: new Container( 11 | width: 200, 12 | height: 400, 13 | child: new PageView( 14 | children: new List() { 15 | new Container( 16 | color: new Color(0xFFE91E63) 17 | ), 18 | new Container( 19 | color: new Color(0xFF00BCD4) 20 | ), 21 | new Container( 22 | color: new Color(0xFF673AB7) 23 | ) 24 | } 25 | )), 26 | pageRouteBuilder: this.pageRouteBuilder); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Resources/fonts/Roboto-BoldItalic.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 686b89700a4114666b0ea9d49781cd7d 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: 15 | - {fileID: 12800000, guid: 51bdc9d10d72c420594681b51cd44103, type: 3} 16 | - {fileID: 12800000, guid: 129a2b36ad4ef4826b76497a1542ed4f, type: 3} 17 | - {fileID: 12800000, guid: 5339e3d6298e64cfb8da15c7a5382629, type: 3} 18 | - {fileID: 12800000, guid: 209975b9a63a04a15be3d915bfe05bdd, type: 3} 19 | - {fileID: 12800000, guid: 2035d69a5f59a45fa912413e615282a3, type: 3} 20 | - {fileID: 12800000, guid: 07dd8a1dd86db4564a083c66ace71873, type: 3} 21 | - {fileID: 12800000, guid: 1b7cfedf202b2460e8a32f079f2b88b0, type: 3} 22 | customCharacters: 23 | fontRenderingMode: 0 24 | ascentCalculationMode: 1 25 | useLegacyBoundsCalculation: 0 26 | shouldRoundAdvanceValue: 1 27 | userData: 28 | assetBundleName: 29 | assetBundleVariant: 30 | -------------------------------------------------------------------------------- /Editor/demo_charts/color_palette.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.UIWidgets.foundation; 3 | using Unity.UIWidgets.material; 4 | using UnityEngine; 5 | using Color = Unity.UIWidgets.ui.Color; 6 | 7 | namespace UIWidgets.Tests.demo_charts { 8 | public class ColorPalette { 9 | public static readonly ColorPalette primary = new ColorPalette(new List { 10 | Colors.blue[400], 11 | Colors.red[400], 12 | Colors.green[400], 13 | Colors.yellow[400], 14 | Colors.purple[400], 15 | Colors.orange[400], 16 | Colors.teal[400] 17 | }); 18 | 19 | public ColorPalette(List colors) { 20 | D.assert(colors.isNotEmpty); 21 | this._colors = colors; 22 | } 23 | 24 | readonly List _colors; 25 | 26 | public Color this[int index] { 27 | get { return this._colors[index % this.length]; } 28 | } 29 | 30 | public int length { 31 | get { return this._colors.Count; } 32 | } 33 | 34 | public Color random() { 35 | return this[Random.Range(0, this.length - 1)]; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Resources/fonts/Roboto-LightItalic.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69bdee23955924d508395a33f3968c7c 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: 15 | - {fileID: 12800000, guid: 686b89700a4114666b0ea9d49781cd7d, type: 3} 16 | - {fileID: 12800000, guid: 51bdc9d10d72c420594681b51cd44103, type: 3} 17 | - {fileID: 12800000, guid: 129a2b36ad4ef4826b76497a1542ed4f, type: 3} 18 | - {fileID: 12800000, guid: 5339e3d6298e64cfb8da15c7a5382629, type: 3} 19 | - {fileID: 12800000, guid: 209975b9a63a04a15be3d915bfe05bdd, type: 3} 20 | - {fileID: 12800000, guid: 2035d69a5f59a45fa912413e615282a3, type: 3} 21 | - {fileID: 12800000, guid: 07dd8a1dd86db4564a083c66ace71873, type: 3} 22 | - {fileID: 12800000, guid: 1b7cfedf202b2460e8a32f079f2b88b0, type: 3} 23 | customCharacters: 24 | fontRenderingMode: 0 25 | ascentCalculationMode: 1 26 | useLegacyBoundsCalculation: 0 27 | shouldRoundAdvanceValue: 1 28 | userData: 29 | assetBundleName: 30 | assetBundleVariant: 31 | -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Medium.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c07464bf3ff04f74ba51ab02f468d4b 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: 15 | - {fileID: 12800000, guid: 686b89700a4114666b0ea9d49781cd7d, type: 3} 16 | - {fileID: 12800000, guid: 51bdc9d10d72c420594681b51cd44103, type: 3} 17 | - {fileID: 12800000, guid: 69bdee23955924d508395a33f3968c7c, type: 3} 18 | - {fileID: 12800000, guid: 129a2b36ad4ef4826b76497a1542ed4f, type: 3} 19 | - {fileID: 12800000, guid: 5339e3d6298e64cfb8da15c7a5382629, type: 3} 20 | - {fileID: 12800000, guid: 209975b9a63a04a15be3d915bfe05bdd, type: 3} 21 | - {fileID: 12800000, guid: 2035d69a5f59a45fa912413e615282a3, type: 3} 22 | - {fileID: 12800000, guid: 07dd8a1dd86db4564a083c66ace71873, type: 3} 23 | - {fileID: 12800000, guid: 1b7cfedf202b2460e8a32f079f2b88b0, type: 3} 24 | customCharacters: 25 | fontRenderingMode: 0 26 | ascentCalculationMode: 1 27 | useLegacyBoundsCalculation: 0 28 | shouldRoundAdvanceValue: 1 29 | userData: 30 | assetBundleName: 31 | assetBundleVariant: 32 | -------------------------------------------------------------------------------- /UIWidgetsGallery/GalleryMain.cs: -------------------------------------------------------------------------------- 1 | using UIWidgetsGallery.gallery; 2 | using Unity.UIWidgets.engine; 3 | using Unity.UIWidgets.material; 4 | using Unity.UIWidgets.ui; 5 | using Unity.UIWidgets.widgets; 6 | using UnityEngine; 7 | 8 | namespace UIWidgetsGallery { 9 | public class GalleryMain : UIWidgetsPanel { 10 | protected override Widget createWidget() { 11 | return new GalleryApp(); 12 | } 13 | 14 | protected override void OnEnable() { 15 | FontManager.instance.addFont(Resources.Load("fonts/MaterialIcons-Regular"), "Material Icons"); 16 | FontManager.instance.addFont(Resources.Load("fonts/GalleryIcons"), "GalleryIcons"); 17 | 18 | FontManager.instance.addFont(Resources.Load("fonts/CupertinoIcons"), "CupertinoIcons"); 19 | FontManager.instance.addFont(Resources.Load(path: "fonts/SF-Pro-Text-Regular"), ".SF Pro Text", FontWeight.w400); 20 | FontManager.instance.addFont(Resources.Load(path: "fonts/SF-Pro-Text-Semibold"), ".SF Pro Text", FontWeight.w600); 21 | FontManager.instance.addFont(Resources.Load(path: "fonts/SF-Pro-Text-Bold"), ".SF Pro Text", FontWeight.w700); 22 | 23 | base.OnEnable(); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Italic.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ec78b62023e040c995d5b4927af3f0c 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: 15 | - {fileID: 12800000, guid: 686b89700a4114666b0ea9d49781cd7d, type: 3} 16 | - {fileID: 12800000, guid: 51bdc9d10d72c420594681b51cd44103, type: 3} 17 | - {fileID: 12800000, guid: 69bdee23955924d508395a33f3968c7c, type: 3} 18 | - {fileID: 12800000, guid: 129a2b36ad4ef4826b76497a1542ed4f, type: 3} 19 | - {fileID: 12800000, guid: 5339e3d6298e64cfb8da15c7a5382629, type: 3} 20 | - {fileID: 12800000, guid: 209975b9a63a04a15be3d915bfe05bdd, type: 3} 21 | - {fileID: 12800000, guid: 2035d69a5f59a45fa912413e615282a3, type: 3} 22 | - {fileID: 12800000, guid: 6c07464bf3ff04f74ba51ab02f468d4b, type: 3} 23 | - {fileID: 12800000, guid: 07dd8a1dd86db4564a083c66ace71873, type: 3} 24 | - {fileID: 12800000, guid: 1b7cfedf202b2460e8a32f079f2b88b0, type: 3} 25 | customCharacters: 26 | fontRenderingMode: 0 27 | ascentCalculationMode: 1 28 | useLegacyBoundsCalculation: 0 29 | shouldRoundAdvanceValue: 1 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Resources/fonts/Roboto-Regular.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bcc9a0a96c4754d24902639ee6422fcf 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Roboto 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: 15 | - {fileID: 12800000, guid: 686b89700a4114666b0ea9d49781cd7d, type: 3} 16 | - {fileID: 12800000, guid: 51bdc9d10d72c420594681b51cd44103, type: 3} 17 | - {fileID: 12800000, guid: 7ec78b62023e040c995d5b4927af3f0c, type: 3} 18 | - {fileID: 12800000, guid: 69bdee23955924d508395a33f3968c7c, type: 3} 19 | - {fileID: 12800000, guid: 129a2b36ad4ef4826b76497a1542ed4f, type: 3} 20 | - {fileID: 12800000, guid: 5339e3d6298e64cfb8da15c7a5382629, type: 3} 21 | - {fileID: 12800000, guid: 209975b9a63a04a15be3d915bfe05bdd, type: 3} 22 | - {fileID: 12800000, guid: 2035d69a5f59a45fa912413e615282a3, type: 3} 23 | - {fileID: 12800000, guid: 6c07464bf3ff04f74ba51ab02f468d4b, type: 3} 24 | - {fileID: 12800000, guid: 07dd8a1dd86db4564a083c66ace71873, type: 3} 25 | - {fileID: 12800000, guid: 1b7cfedf202b2460e8a32f079f2b88b0, type: 3} 26 | customCharacters: 27 | fontRenderingMode: 0 28 | ascentCalculationMode: 1 29 | useLegacyBoundsCalculation: 0 30 | shouldRoundAdvanceValue: 1 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Editor/GalleryMainEditor.cs: -------------------------------------------------------------------------------- 1 | using UIWidgetsGallery.gallery; 2 | using Unity.UIWidgets.editor; 3 | using Unity.UIWidgets.ui; 4 | using Unity.UIWidgets.widgets; 5 | using UnityEditor; 6 | using UnityEngine; 7 | 8 | namespace UIWidgetsGallery { 9 | public class GalleryMainEditor : UIWidgetsEditorWindow { 10 | 11 | [MenuItem("UIWidgetsTests/Gallery")] 12 | public static void gallery() { 13 | EditorWindow.GetWindow(); 14 | } 15 | 16 | protected override Widget createWidget() { 17 | return new GalleryApp(); 18 | } 19 | 20 | protected override void OnEnable() { 21 | FontManager.instance.addFont(Resources.Load("fonts/MaterialIcons-Regular"), "Material Icons"); 22 | FontManager.instance.addFont(Resources.Load("fonts/GalleryIcons"), "GalleryIcons"); 23 | 24 | FontManager.instance.addFont(Resources.Load("fonts/CupertinoIcons"), "CupertinoIcons"); 25 | FontManager.instance.addFont(Resources.Load(path: "fonts/SF-Pro-Text-Regular"), ".SF Pro Text", FontWeight.w400); 26 | FontManager.instance.addFont(Resources.Load(path: "fonts/SF-Pro-Text-Semibold"), ".SF Pro Text", FontWeight.w600); 27 | FontManager.instance.addFont(Resources.Load(path: "fonts/SF-Pro-Text-Bold"), ".SF Pro Text", FontWeight.w700); 28 | base.OnEnable(); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Editor/demo_charts/tween.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using Unity.UIWidgets.animation; 4 | 5 | namespace UIWidgets.Tests.demo_charts { 6 | public interface MergeTweenable { 7 | T empty { get; } 8 | 9 | Tween tweenTo(T other); 10 | 11 | bool less(T other); 12 | } 13 | 14 | public class MergeTween : Tween> where T : MergeTweenable { 15 | public MergeTween(List begin, List end) : base(begin: begin, end: end) { 16 | int bMax = begin.Count; 17 | int eMax = end.Count; 18 | var b = 0; 19 | var e = 0; 20 | while (b + e < bMax + eMax) { 21 | if (b < bMax && (e == eMax || begin[b].less(end[e]))) { 22 | this._tweens.Add(begin[b].tweenTo(begin[b].empty)); 23 | b++; 24 | } else if (e < eMax && (b == bMax || end[e].less(begin[b]))) { 25 | this._tweens.Add(end[e].empty.tweenTo(end[e])); 26 | e++; 27 | } else { 28 | this._tweens.Add(begin[b].tweenTo(end[e])); 29 | b++; 30 | e++; 31 | } 32 | } 33 | } 34 | 35 | readonly List> _tweens = new List>(); 36 | 37 | public override List lerp(float t) { 38 | return Enumerable.Range(0, this._tweens.Count).Select(i => this._tweens[i].lerp(t)).ToList(); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/shrine_demo.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.animation; 2 | using Unity.UIWidgets.material; 3 | using Unity.UIWidgets.ui; 4 | using Unity.UIWidgets.widgets; 5 | 6 | namespace UIWidgetsGallery.gallery { 7 | class ShrineDemoUtils { 8 | public static Widget buildShrine(BuildContext context, Widget child) { 9 | return new Theme( 10 | data: new ThemeData( 11 | primarySwatch: Colors.grey, 12 | iconTheme: new IconThemeData(color: new Color(0xFF707070)), 13 | platform: Theme.of(context).platform 14 | ), 15 | child: new ShrineTheme(child: child) 16 | ); 17 | } 18 | } 19 | 20 | public class ShrinePageRoute : MaterialPageRoute { 21 | public ShrinePageRoute( 22 | WidgetBuilder builder, 23 | RouteSettings settings 24 | ) : base(builder: builder, settings: settings) { 25 | } 26 | 27 | public override Widget buildPage(BuildContext context, Animation animation, 28 | Animation secondaryAnimation) { 29 | return ShrineDemoUtils.buildShrine(context, base.buildPage(context, animation, secondaryAnimation)); 30 | } 31 | } 32 | 33 | public class ShrineDemo : StatelessWidget { 34 | public const string routeName = "/shrine"; 35 | 36 | public override Widget build(BuildContext context) { 37 | return ShrineDemoUtils.buildShrine(context, new ShrineHome()); 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /UIWidgetsSample/LongPressSample.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.material; 2 | using Unity.UIWidgets.widgets; 3 | using UnityEngine; 4 | 5 | namespace UIWidgetsSample { 6 | public class LongPressSample : UIWidgetsSamplePanel { 7 | protected override Widget createWidget() { 8 | return new WidgetsApp( 9 | home: new LongPressSampleWidget(), 10 | pageRouteBuilder: this.pageRouteBuilder); 11 | } 12 | } 13 | 14 | public class LongPressSampleWidget : StatefulWidget { 15 | public override State createState() { 16 | return new _LongPressSampleWidgetState(); 17 | } 18 | } 19 | 20 | class _LongPressSampleWidgetState : State { 21 | public override Widget build(BuildContext context) { 22 | return new GestureDetector( 23 | onLongPressStart: (value) => { Debug.Log($"Long Press Drag Start: {value}"); }, 24 | onLongPressMoveUpdate: (value) => { Debug.Log($"Long Press Drag Update: {value}"); }, 25 | onLongPressEnd: (value) => { Debug.Log($"Long Press Drag Up: {value}"); }, 26 | onLongPressUp: () => { Debug.Log($"Long Press Up"); }, 27 | onLongPress: () => { Debug.Log($"Long Press"); }, 28 | child: new Center( 29 | child: new Container( 30 | width: 200, 31 | height: 200, 32 | color: Colors.blue 33 | ) 34 | ) 35 | ); 36 | } 37 | } 38 | } -------------------------------------------------------------------------------- /Editor/Menu.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | 3 | namespace UIWidgets.Tests { 4 | public static class Menu { 5 | [MenuItem("UIWidgetsTests/CanvasAndLayers")] 6 | public static void canvasAndLayers() { 7 | EditorWindow.GetWindow(typeof(CanvasAndLayers)); 8 | } 9 | 10 | [MenuItem("UIWidgetsTests/RenderBoxes")] 11 | public static void renderBoxes() { 12 | EditorWindow.GetWindow(typeof(RenderBoxes)); 13 | } 14 | 15 | [MenuItem("UIWidgetsTests/RenderParagraph")] 16 | public static void renderRenderParagraph() { 17 | EditorWindow.GetWindow(typeof(Paragraph)); 18 | } 19 | 20 | [MenuItem("UIWidgetsTests/Gestures")] 21 | public static void gestures() { 22 | EditorWindow.GetWindow(typeof(Gestures)); 23 | } 24 | 25 | [MenuItem("UIWidgetsTests/RenderEditable")] 26 | public static void renderEditable() { 27 | EditorWindow.GetWindow(typeof(RenderEditable)); 28 | } 29 | 30 | [MenuItem("UIWidgetsTests/Widgets")] 31 | public static void renderWidgets() { 32 | EditorWindow.GetWindow(typeof(Widgets)); 33 | } 34 | 35 | //These samples are not available after Unity2019.1 36 | /* 37 | [MenuItem("UIWidgetsTests/Show SceneViewTests")] 38 | public static void showSceneView() { 39 | SceneViewTests.show(); 40 | } 41 | 42 | [MenuItem("UIWidgetsTests/Hide SceneViewTests")] 43 | public static void hideSceneView() { 44 | SceneViewTests.hide(); 45 | }*/ 46 | } 47 | } -------------------------------------------------------------------------------- /README-ZH.md: -------------------------------------------------------------------------------- 1 | # UIWidgets Samples 2 | 3 | 4 | ## 介绍 5 | 本项目包含了UIWidgets的所有官方开发样例,用以帮助开发者快速入门基于UIWidgets的UI开发。 6 | 7 | UIWidgets是一个新的、开源、独立的Unity UI界面框架。在本项目中您将可以找到许多基于UIWidgets开发的界面样例,它们 8 | 涵盖了该框架所提供的主要功能。您可以随意运行和测试这些样例,您也可以自行改造这些样例来制作您自己的UI作品。 9 | 10 | 11 | ## 使用要求 12 | 13 | #### Unity 14 | 15 | 安装 **Unity 2018.4.10f1(LTS)** 或 **Unity 2019.1.14f1** 及其更高版本。 你可以从[https://unity3d.com/get-unity/download](https://unity3d.com/get-unity/download)下载最新的Unity。 16 | 17 | #### UIWidgets包 18 | 19 | 访问UIWidgets的Github存储库 [https://github.com/UnityTech/UIWidgets](https://github.com/UnityTech/UIWidgets)下载最新的UIWidgets包。 20 | 21 | 将下载的包文件夹移动到Unity项目的Package文件夹中。 22 | 23 | 通常,你可以在控制台(或终端)应用程序中输入下面的代码来完成这个操作: 24 | 25 | ```none 26 | cd /Packages 27 | git clone https://github.com/UnityTech/UIWidgets.git com.unity.uiwidgets 28 | ``` 29 | 30 | #### 安装 31 | 使用Unity建立一个空的新项目并将下载好的UIWidgets包移动到其Package文件夹中。接下来将本项目下载到 32 | 您项目的**Asset**目录下即可。 33 | 34 | 35 | ## 使用指南 36 | 37 | #### 运行时UI界面 38 | 在**Scenes**目录下包含了所有可用的运行时UI界面对应的场景文件。您可以打开任何一个场景来测试对应的UI界面。 39 | 特别的,在**UIWidgetsGallery**场景中您可以运行UIWidgets Gallery范例,该范例主要移植自flutter Gallery, 40 | 它涵盖了UIWidgets的大部分功能点,您可以通过它来了解UIWidgets整体能力。 41 | 42 | 其次,在**UIWidgetsTheatre**场景中提供了一个可切换的UI展示Panel,在这里您可以从一系列精心挑选出来的样例界面中 43 | 选择并展示您所感兴趣的部分。 44 | 45 | 最后,上述样例界面的具体实现文件可以参考以下目录: 46 | * **MaterialSample** 包含了部分Material风格组件的样例代码 47 | * **ReduxSample** 包含了Redux组件相关的样例代码 48 | * **UIWidgetGallery** 包含了UIWidgets Gallery场景相关的代码 49 | * **UIWidgetsSample** 包含了部分基础Widget组件的样例代码 50 | * **UIWidgetsTheatre** 包含了UIWidgetsTheatre场景相关的代码 51 | 52 | #### EditorWindow UI界面 53 | UIWidgets也可以被用来制作Unity中的EditorWindow。请点击菜单栏中的新的**UIWidgetsTests**选项卡,并 54 | 在下拉菜单中选择打开您感兴趣的选项来显示对应的UI界面。 55 | 56 | 所有EditorWindow样例相关的代码均位于**Editor**文件夹中。 57 | -------------------------------------------------------------------------------- /RaycastableSample/DefaultSimpleTestbedPanel.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.engine; 2 | using Unity.UIWidgets.foundation; 3 | using Unity.UIWidgets.material; 4 | using Unity.UIWidgets.ui; 5 | using Unity.UIWidgets.widgets; 6 | using UnityEngine; 7 | using Color = Unity.UIWidgets.ui.Color; 8 | using Material = Unity.UIWidgets.material.Material; 9 | 10 | namespace Unity.UIWidgets.Sample { 11 | public class DefaultSimpleTestbedPanel : UIWidgetsPanel { 12 | protected override void OnEnable() { 13 | FontManager.instance.addFont(Resources.Load("fonts/MaterialIcons-Regular"), "Material Icons"); 14 | base.OnEnable(); 15 | } 16 | 17 | protected override Widget createWidget() { 18 | return new MaterialApp( 19 | home: new DefaultSimpleTestbedWidget() 20 | ); 21 | } 22 | } 23 | 24 | public class DefaultSimpleTestbedWidget : StatefulWidget { 25 | public DefaultSimpleTestbedWidget(Key key = null) : base(key) { } 26 | 27 | public override State createState() { 28 | return new DefaultSimpleTestbedWidgetState(); 29 | } 30 | } 31 | 32 | public class DefaultSimpleTestbedWidgetState : State { 33 | public override Widget build(BuildContext context) { 34 | return new Material( 35 | color: new Color(0x44FFFF00), 36 | child: new Center( 37 | child: new Container( 38 | child: new MaterialButton( 39 | child: new Text("Material Button"), 40 | onPressed: () => { }, 41 | color: Colors.lightBlue 42 | ) 43 | ) 44 | ) 45 | ); 46 | } 47 | } 48 | } -------------------------------------------------------------------------------- /RaycastableSample/RaycastSimpleTestbedPanel.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.engine.raycast; 2 | using Unity.UIWidgets.foundation; 3 | using Unity.UIWidgets.material; 4 | using Unity.UIWidgets.ui; 5 | using Unity.UIWidgets.widgets; 6 | using UnityEngine; 7 | using Color = Unity.UIWidgets.ui.Color; 8 | using Material = Unity.UIWidgets.material.Material; 9 | 10 | namespace Unity.UIWidgets.Sample { 11 | public class RaycastSimpleTestbedPanel : UIWidgetsRaycastablePanel { 12 | protected override void OnEnable() { 13 | FontManager.instance.addFont(Resources.Load("fonts/MaterialIcons-Regular"), "Material Icons"); 14 | base.OnEnable(); 15 | } 16 | 17 | protected override Widget createWidget() { 18 | return new MaterialApp( 19 | home: new RaycastSimpleTestbedWidget() 20 | ); 21 | } 22 | } 23 | 24 | public class RaycastSimpleTestbedWidget : StatefulWidget { 25 | public RaycastSimpleTestbedWidget(Key key = null) : base(key) { } 26 | 27 | public override State createState() { 28 | return new RaycastSimpleTestbedWidgetState(); 29 | } 30 | } 31 | 32 | public class RaycastSimpleTestbedWidgetState : State { 33 | public override Widget build(BuildContext context) { 34 | return new Material( 35 | color: new Color(0x44FFFF00), 36 | child: new Center( 37 | child: new RaycastableContainer( 38 | new MaterialButton( 39 | child: new Text("Material Button"), 40 | onPressed: () => { }, 41 | color: Colors.lightBlue 42 | ) 43 | ) 44 | ) 45 | ); 46 | } 47 | } 48 | } -------------------------------------------------------------------------------- /MaterialSample/BottomAppBarSample.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.UIWidgets.foundation; 3 | using Unity.UIWidgets.material; 4 | using Unity.UIWidgets.rendering; 5 | using Unity.UIWidgets.ui; 6 | using Unity.UIWidgets.widgets; 7 | using UnityEngine; 8 | using Color = Unity.UIWidgets.ui.Color; 9 | 10 | namespace UIWidgetsSample { 11 | 12 | public class BottomAppBarSample : UIWidgetsSamplePanel { 13 | 14 | protected override Widget createWidget() { 15 | return new MaterialApp( 16 | showPerformanceOverlay: false, 17 | home: new BottomAppBarWidget()); 18 | } 19 | 20 | protected override void OnEnable() { 21 | FontManager.instance.addFont(Resources.Load(path: "fonts/MaterialIcons-Regular"), "Material Icons"); 22 | base.OnEnable(); 23 | } 24 | } 25 | 26 | public class BottomAppBarWidget : StatelessWidget { 27 | public BottomAppBarWidget(Key key = null) : base(key) { 28 | 29 | } 30 | 31 | public override Widget build(BuildContext context) { 32 | return new Scaffold( 33 | backgroundColor: Color.clear, 34 | bottomNavigationBar: new BottomAppBar( 35 | child: new Row( 36 | mainAxisSize: MainAxisSize.max, 37 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 38 | children: new List { 39 | new IconButton(icon: new Icon(Unity.UIWidgets.material.Icons.menu), onPressed: () => { }), 40 | new IconButton(icon: new Icon(Unity.UIWidgets.material.Icons.account_balance), 41 | onPressed: () => { }) 42 | }))); 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /MaterialSample/TableSample.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.UIWidgets.foundation; 3 | using Unity.UIWidgets.material; 4 | using Unity.UIWidgets.painting; 5 | using Unity.UIWidgets.rendering; 6 | using Unity.UIWidgets.ui; 7 | using Unity.UIWidgets.widgets; 8 | using UnityEngine; 9 | using Color = Unity.UIWidgets.ui.Color; 10 | 11 | namespace UIWidgetsSample { 12 | 13 | public class TableSample : UIWidgetsSamplePanel { 14 | 15 | protected override Widget createWidget() { 16 | return new MaterialApp( 17 | showPerformanceOverlay: false, 18 | home: new TableWidget()); 19 | } 20 | 21 | protected override void OnEnable() { 22 | FontManager.instance.addFont(Resources.Load(path: "fonts/MaterialIcons-Regular"), "Material Icons"); 23 | base.OnEnable(); 24 | } 25 | } 26 | 27 | public class TableWidget : StatelessWidget { 28 | public TableWidget(Key key = null) : base(key) { 29 | } 30 | 31 | public override Widget build(BuildContext context) { 32 | return new Scaffold( 33 | body: new Table( 34 | children: new List { 35 | new TableRow( 36 | decoration: new BoxDecoration(color: Colors.blue), 37 | children: new List { 38 | new Text("item 1"), 39 | new Text("item 2") 40 | } 41 | ), 42 | new TableRow(children: new List { 43 | new Text("item 3"), 44 | new Text("item 4") 45 | } 46 | ) 47 | }, 48 | defaultVerticalAlignment: TableCellVerticalAlignment.middle)); 49 | } 50 | } 51 | } -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/example_code_parser.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using RSG; 6 | using Unity.UIWidgets.foundation; 7 | using UnityEngine; 8 | 9 | namespace UIWidgetsGallery.gallery { 10 | 11 | public class ExampleCodeParser { 12 | const string _kStartTag = "// START "; 13 | const string _kEndTag = "// END"; 14 | 15 | Dictionary _exampleCode; 16 | 17 | public string getExampleCode(string tag, AssetBundle bundle) { 18 | if (this._exampleCode == null) { 19 | this._parseExampleCode(bundle); 20 | } 21 | return this._exampleCode.getOrDefault(tag); 22 | } 23 | 24 | void _parseExampleCode(AssetBundle bundle) { 25 | string code = Resources.Load("example_code.cs")?.text ?? 26 | "// example_code.cs not found\n"; 27 | this._exampleCode = new Dictionary{}; 28 | 29 | List lines = code.Split('\n').ToList(); 30 | 31 | List codeBlock = null; 32 | string codeTag = null; 33 | 34 | foreach (string line in lines) { 35 | if (codeBlock == null) { 36 | if (line.StartsWith(_kStartTag)) { 37 | codeBlock = new List(); 38 | codeTag = line.Substring(_kStartTag.Length).Trim(); 39 | } else { 40 | } 41 | } else { 42 | if (line.StartsWith(_kEndTag)) { 43 | this._exampleCode[codeTag] = string.Join("\n", codeBlock); 44 | codeBlock = null; 45 | codeTag = null; 46 | } else { 47 | codeBlock.Add(line.TrimEnd()); 48 | } 49 | } 50 | } 51 | } 52 | } 53 | 54 | } -------------------------------------------------------------------------------- /MaterialSample/MaterialInkWellSample.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.foundation; 2 | using Unity.UIWidgets.material; 3 | using Unity.UIWidgets.painting; 4 | using Unity.UIWidgets.ui; 5 | using Unity.UIWidgets.widgets; 6 | using UnityEngine; 7 | using Color = Unity.UIWidgets.ui.Color; 8 | using Material = Unity.UIWidgets.material.Material; 9 | 10 | namespace UIWidgetsSample { 11 | 12 | public class MaterialInkWellSample : UIWidgetsSamplePanel { 13 | 14 | protected override Widget createWidget() { 15 | return new MaterialApp( 16 | showPerformanceOverlay: false, 17 | home: new MaterialInkWellWidget()); 18 | } 19 | 20 | protected override void OnEnable() { 21 | FontManager.instance.addFont(Resources.Load(path: "fonts/MaterialIcons-Regular"), "Material Icons"); 22 | base.OnEnable(); 23 | } 24 | } 25 | 26 | public class MaterialInkWellWidget : StatefulWidget { 27 | public MaterialInkWellWidget(Key key = null) : base(key) { 28 | } 29 | 30 | public override State createState() { 31 | return new MaterialInkWidgetState(); 32 | } 33 | } 34 | 35 | public class MaterialInkWidgetState : State { 36 | public override Widget build(BuildContext context) { 37 | return new Material( 38 | //color: Colors.blue, 39 | child: new Center( 40 | child: new Container( 41 | width: 200, 42 | height: 200, 43 | child: new InkWell( 44 | borderRadius: BorderRadius.circular(2.0f), 45 | highlightColor: new Color(0xAAFF0000), 46 | splashColor: new Color(0xAA0000FF), 47 | onTap: () => { Debug.Log("on tap"); } 48 | ) 49 | ) 50 | ) 51 | ); 52 | } 53 | } 54 | 55 | } -------------------------------------------------------------------------------- /UIWidgetsGallery/demo/material/modal_bottom_sheet_demo.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.UIWidgets.material; 3 | using Unity.UIWidgets.painting; 4 | using Unity.UIWidgets.ui; 5 | using Unity.UIWidgets.widgets; 6 | 7 | namespace UIWidgetsGallery.gallery { 8 | public class ModalBottomSheetDemo : StatelessWidget { 9 | public const string routeName = "/material/modal-bottom-sheet"; 10 | 11 | public override Widget build(BuildContext context) { 12 | return new Scaffold( 13 | appBar: new AppBar( 14 | title: new Text("Modal bottom sheet"), 15 | actions: new List {new MaterialDemoDocumentationButton(routeName)} 16 | ), 17 | body: new Center( 18 | child: new RaisedButton( 19 | child: new Text("SHOW BOTTOM SHEET"), 20 | onPressed: () => { 21 | BottomSheetUtils.showModalBottomSheet(context: context, 22 | builder: (BuildContext _context) => { 23 | return new Container( 24 | child: new Padding( 25 | padding: EdgeInsets.all(32.0f), 26 | child: new Text("This is the modal bottom sheet. Tap anywhere to dismiss.", 27 | textAlign: TextAlign.center, 28 | style: new TextStyle( 29 | color: Theme.of(_context).accentColor, 30 | fontSize: 24.0f 31 | ) 32 | ) 33 | ) 34 | ); 35 | }); 36 | } 37 | ) 38 | ) 39 | ); 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /MaterialSample/MaterialSliderSample.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.UIWidgets.material; 3 | using Unity.UIWidgets.painting; 4 | using Unity.UIWidgets.ui; 5 | using Unity.UIWidgets.widgets; 6 | using UnityEngine; 7 | 8 | namespace UIWidgetsSample { 9 | 10 | public class MaterialSliderSample : UIWidgetsSamplePanel { 11 | 12 | protected override Widget createWidget() { 13 | return new MaterialApp( 14 | showPerformanceOverlay: false, 15 | home: new MaterialSliderWidget()); 16 | } 17 | 18 | protected override void OnEnable() { 19 | FontManager.instance.addFont(Resources.Load(path: "fonts/MaterialIcons-Regular"), "Material Icons"); 20 | base.OnEnable(); 21 | } 22 | } 23 | 24 | public class MaterialSliderWidget : StatefulWidget { 25 | public override State createState() { 26 | return new MaterialSliderState(); 27 | } 28 | } 29 | 30 | public class MaterialSliderState : State { 31 | 32 | float _value = 0.8f; 33 | 34 | void onChanged(float value) { 35 | this.setState(() => { this._value = value; }); 36 | } 37 | 38 | public override Widget build(BuildContext context) { 39 | return new Scaffold( 40 | appBar: new AppBar( 41 | title: new Text("Slider and Indicators")), 42 | body: new Column( 43 | children: new List { 44 | new Padding( 45 | padding: EdgeInsets.only(top: 100.0f), 46 | child: new Container( 47 | child: new Slider( 48 | divisions: 10, 49 | min: 0.4f, 50 | label: "Here", 51 | value: this._value, 52 | onChanged: this.onChanged)) 53 | ) 54 | } 55 | ) 56 | ); 57 | } 58 | } 59 | 60 | } -------------------------------------------------------------------------------- /UIWidgetsSample/txt/TextStyleSample.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.UIWidgets.material; 3 | using Unity.UIWidgets.painting; 4 | using Unity.UIWidgets.ui; 5 | using Unity.UIWidgets.widgets; 6 | 7 | namespace UIWidgetsSample { 8 | 9 | public class TextStyleSample : UIWidgetsSamplePanel { 10 | 11 | protected override Widget createWidget() { 12 | return new MaterialApp( 13 | title: "Text Style", 14 | home: new TextStyleSampleWidget() 15 | ); 16 | } 17 | } 18 | 19 | class TextStyleSampleWidget : StatelessWidget { 20 | public override Widget build(BuildContext context) { 21 | var fontStyleTexts = new List { 22 | new Text("text", style: new TextStyle(fontSize: 18)), 23 | new Text("text with font size 0 below", style: new TextStyle(fontSize: 14)), 24 | new Text("font size 0", style: new TextStyle(fontSize: 0)), 25 | new Text("text with font size 0 above", style: new TextStyle(fontSize: 14)), 26 | new Text("text with font size 0.3f", style: new TextStyle(fontSize: 0.3f)), 27 | new Text("Text with background", style: new TextStyle(fontSize: 14, background: 28 | new Paint(){color = new Color(0xFF00FF00)})), 29 | new Text("positive letter spacing", style: new TextStyle(fontSize: 14, letterSpacing:5)), 30 | new Text("negative letter spacing", style: new TextStyle(fontSize: 14, letterSpacing:-1)), 31 | new Text("positive word spacing test", style: new TextStyle(fontSize: 14, wordSpacing: 20f)), 32 | new Text("negative word spacing test", style: new TextStyle(fontSize: 14, wordSpacing: -4f)), 33 | 34 | }; 35 | return new Scaffold( 36 | appBar: new AppBar( 37 | title: new Text("Text Style") 38 | ), 39 | body: new Card( 40 | child: new DefaultTextStyle( 41 | style: new TextStyle(fontSize: 40, fontFamily: "Roboto"), 42 | child: new ListView(children: fontStyleTexts)) 43 | ) 44 | ); 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Editor/demo_charts/main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Unity.UIWidgets.animation; 3 | using Unity.UIWidgets.material; 4 | using Unity.UIWidgets.ui; 5 | using Unity.UIWidgets.widgets; 6 | 7 | namespace UIWidgets.Tests.demo_charts { 8 | /*** 9 | * from https://github.com/mravn/charts 10 | */ 11 | public class ChartPage : StatefulWidget { 12 | public override State createState() { 13 | return new ChartPageState(); 14 | } 15 | } 16 | 17 | public class ChartPageState : TickerProviderStateMixin { 18 | public static readonly Size size = new Size(200.0f, 100.0f); 19 | 20 | AnimationController _animation; 21 | BarChartTween _tween; 22 | 23 | public override 24 | void initState() { 25 | base.initState(); 26 | this._animation = new AnimationController( 27 | duration: new TimeSpan(0, 0, 0, 0, 300), 28 | vsync: this 29 | ); 30 | this._tween = new BarChartTween( 31 | BarChart.empty(), 32 | BarChart.random(size) 33 | ); 34 | this._animation.forward(); 35 | } 36 | 37 | public override void dispose() { 38 | this._animation.dispose(); 39 | base.dispose(); 40 | } 41 | 42 | void changeData() { 43 | this.setState(() => { 44 | this._tween = new BarChartTween( 45 | this._tween.evaluate(this._animation), 46 | BarChart.random(size) 47 | ); 48 | this._animation.forward(from: 0.0f); 49 | }); 50 | } 51 | 52 | public override Widget build(BuildContext context) { 53 | return new Scaffold( 54 | body: new Center( 55 | child: new CustomPaint( 56 | size: size, 57 | painter: new BarChartPainter(this._tween.animate(this._animation)) 58 | ) 59 | ), 60 | floatingActionButton: new FloatingActionButton( 61 | child: new Icon(Unity.UIWidgets.material.Icons.refresh), 62 | onPressed: this.changeData 63 | ) 64 | ); 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /UIWidgetsSample/txt/TextSpanGesture.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.UIWidgets.gestures; 3 | using Unity.UIWidgets.material; 4 | using Unity.UIWidgets.painting; 5 | using Unity.UIWidgets.ui; 6 | using Unity.UIWidgets.widgets; 7 | using UnityEngine; 8 | using TextStyle = Unity.UIWidgets.painting.TextStyle; 9 | 10 | namespace UIWidgetsSample { 11 | public class TextSpanGesture : UIWidgetsSamplePanel { 12 | protected override Widget createWidget() { 13 | return new WidgetsApp( 14 | home: new BuzzingText(), 15 | pageRouteBuilder: this.pageRouteBuilder); 16 | } 17 | } 18 | 19 | class BuzzingText : StatefulWidget { 20 | public override State createState() { 21 | return new _BuzzingTextState(); 22 | } 23 | } 24 | 25 | class _BuzzingTextState : State { 26 | LongPressGestureRecognizer _longPressRecognizer; 27 | 28 | public override void initState() { 29 | base.initState(); 30 | this._longPressRecognizer = new LongPressGestureRecognizer(); 31 | this._longPressRecognizer.onLongPress = this._handlePress; 32 | } 33 | 34 | public override void dispose() { 35 | this._longPressRecognizer.dispose(); 36 | base.dispose(); 37 | } 38 | 39 | void _handlePress() { 40 | Debug.Log("Long Pressed Text"); 41 | } 42 | 43 | public override Widget build(BuildContext context) { 44 | return new RichText( 45 | text: new TextSpan( 46 | text: "Can you ", 47 | style: new TextStyle(color: Colors.black), 48 | children: new List() { 49 | new TextSpan( 50 | text: "find the", 51 | style: new TextStyle( 52 | color: Colors.green, 53 | decoration: TextDecoration.underline 54 | ), 55 | recognizer: this._longPressRecognizer 56 | ), 57 | new TextSpan( 58 | text: " secret?" 59 | ) 60 | } 61 | )); 62 | } 63 | } 64 | } -------------------------------------------------------------------------------- /Resources/6.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4f5d76ca0810453798ac21429a50b84 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | internalID: 0 80 | vertices: [] 81 | indices: 82 | edges: [] 83 | weights: [] 84 | secondaryTextures: [] 85 | spritePackingTag: 86 | pSDRemoveMatte: 0 87 | pSDShowRemoveMatteOption: 0 88 | userData: 89 | assetBundleName: 90 | assetBundleVariant: 91 | -------------------------------------------------------------------------------- /UIWidgetsSample/HttpRequestSample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using Unity.UIWidgets.engine; 4 | using Unity.UIWidgets.foundation; 5 | using Unity.UIWidgets.material; 6 | using Unity.UIWidgets.rendering; 7 | using Unity.UIWidgets.widgets; 8 | using UnityEngine; 9 | using UnityEngine.Networking; 10 | 11 | public class HttpRequestSample : UIWidgetsPanel 12 | { 13 | protected override Widget createWidget() { 14 | return new MaterialApp( 15 | title: "Http Request Sample", 16 | home: new Scaffold( 17 | body:new AsyncRequestWidget(this.gameObject) 18 | ) 19 | ); 20 | } 21 | } 22 | 23 | public class AsyncRequestWidget : StatefulWidget { 24 | 25 | public readonly GameObject gameObjOfUIWidgetsPanel; 26 | 27 | public AsyncRequestWidget(GameObject gameObjOfUiWidgetsPanel, Key key = null) : base(key) { 28 | this.gameObjOfUIWidgetsPanel = gameObjOfUiWidgetsPanel; 29 | } 30 | 31 | public override State createState() { 32 | return new _AsyncRequestWidgetState(); 33 | } 34 | } 35 | 36 | [Serializable] 37 | public class TimeData { 38 | public long currentFileTime; 39 | } 40 | 41 | class _AsyncRequestWidgetState : State { 42 | 43 | long _fileTime; 44 | 45 | public override Widget build(BuildContext context) { 46 | 47 | return new Column( 48 | crossAxisAlignment: CrossAxisAlignment.start, 49 | children: new List() { 50 | new FlatButton(child: new Text("Click To Get Time"), onPressed: () => { 51 | UnityWebRequest www = UnityWebRequest.Get("http://worldclockapi.com/api/json/est/now"); 52 | var asyncOperation = www.SendWebRequest(); 53 | asyncOperation.completed += operation => { 54 | var timeData = JsonUtility.FromJson(www.downloadHandler.text); 55 | using(WindowProvider.of(this.widget.gameObjOfUIWidgetsPanel).getScope()) 56 | { 57 | this.setState(() => { this._fileTime = timeData.currentFileTime; }); 58 | } 59 | 60 | }; 61 | }), 62 | new Text($"current file time: {this._fileTime}") 63 | }); 64 | } 65 | } -------------------------------------------------------------------------------- /UIWidgetsSample/ScrollbarSample.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.UIWidgets.material; 3 | using Unity.UIWidgets.painting; 4 | using Unity.UIWidgets.ui; 5 | using Unity.UIWidgets.widgets; 6 | 7 | namespace UIWidgetsSample { 8 | public class ScrollbarSample : UIWidgetsSamplePanel { 9 | protected override Widget createWidget() { 10 | var scroll = new Container( 11 | decoration: new BoxDecoration( 12 | border: Border.all(color: new Color(0xFFFFFF00)) 13 | ), 14 | child: new Scrollbar( 15 | child: new ListView( 16 | children: new List { 17 | new Container(height: 40.0f, child: new Text("0")), 18 | new Container(height: 40.0f, child: new Text("1")), 19 | new Container(height: 40.0f, child: new Text("2")), 20 | new Container(height: 40.0f, child: new Text("3")), 21 | new Container(height: 40.0f, child: new Text("4")), 22 | new Container(height: 40.0f, child: new Text("5")), 23 | new Container(height: 40.0f, child: new Text("6")), 24 | new Container(height: 40.0f, child: new Text("7")), 25 | new Container(height: 40.0f, child: new Text("8")), 26 | new Container(height: 40.0f, child: new Text("9")), 27 | new Container(height: 40.0f, child: new Text("10")), 28 | new Container(height: 40.0f, child: new Text("11")), 29 | new Container(height: 40.0f, child: new Text("12")), 30 | new Container(height: 40.0f, child: new Text("13")), 31 | new Container(height: 40.0f, child: new Text("14")), 32 | new Container(height: 40.0f, child: new Text("15")), 33 | new Container(height: 40.0f, child: new Text("16")), 34 | new Container(height: 40.0f, child: new Text("17")), 35 | } 36 | ) 37 | ) 38 | ); 39 | return new WidgetsApp( 40 | home: scroll, 41 | pageRouteBuilder: this.pageRouteBuilder); 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /Editor/CupertinoSampleWidget.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.animation; 2 | using Unity.UIWidgets.cupertino; 3 | using Unity.UIWidgets.editor; 4 | using Unity.UIWidgets.foundation; 5 | using Unity.UIWidgets.painting; 6 | using Unity.UIWidgets.ui; 7 | using Unity.UIWidgets.widgets; 8 | using UnityEditor; 9 | using UnityEngine; 10 | using Rect = UnityEngine.Rect; 11 | 12 | namespace UIWidgetsSample { 13 | public class CupertinoSample : UIWidgetsEditorWindow { 14 | [MenuItem("UIWidgetsTests/CupertinoSample")] 15 | public static void gallery() { 16 | GetWindow(); 17 | } 18 | 19 | protected override void OnEnable() { 20 | FontManager.instance.addFont(Resources.Load("CupertinoIcons"), "CupertinoIcons"); 21 | base.OnEnable(); 22 | } 23 | 24 | protected override Widget createWidget() { 25 | Debug.Log("[Cupertino Sample] Created"); 26 | return new CupertinoSampleApp(); 27 | } 28 | } 29 | 30 | 31 | public class CupertinoSampleApp : StatelessWidget { 32 | public override Widget build(BuildContext context) { 33 | return new CupertinoApp( 34 | theme: new CupertinoThemeData( 35 | textTheme: new CupertinoTextThemeData( 36 | navLargeTitleTextStyle: new TextStyle( 37 | fontWeight: FontWeight.bold, 38 | fontSize: 70f, 39 | color: CupertinoColors.activeBlue 40 | ) 41 | )), 42 | home: new CupertinoSampleWidget() 43 | ); 44 | } 45 | } 46 | 47 | public class CupertinoSampleWidget : StatefulWidget { 48 | public CupertinoSampleWidget(Key key = null) : base(key) { } 49 | 50 | public override State createState() { 51 | return new CupertinoSampleWidgetState(); 52 | } 53 | } 54 | 55 | public class CupertinoSampleWidgetState : State { 56 | public override Widget build(BuildContext context) { 57 | return new CupertinoPageScaffold( 58 | child: new Center( 59 | child: new Text("Hello Cupertino", 60 | style: CupertinoTheme.of(context).textTheme.navLargeTitleTextStyle 61 | ) 62 | ) 63 | ); 64 | } 65 | } 66 | } -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/scales.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace UIWidgetsGallery.gallery { 5 | public class GalleryTextScaleValue : IEquatable { 6 | public GalleryTextScaleValue(float? scale = null, string label = null) { 7 | this.scale = scale; 8 | this.label = label; 9 | } 10 | 11 | public readonly float? scale; 12 | public readonly string label; 13 | 14 | public bool Equals(GalleryTextScaleValue other) { 15 | if (ReferenceEquals(null, other)) { 16 | return false; 17 | } 18 | if (ReferenceEquals(this, other)) { 19 | return true; 20 | } 21 | return this.scale.Equals(other.scale) && string.Equals(this.label, other.label); 22 | } 23 | 24 | public override bool Equals(object obj) { 25 | if (ReferenceEquals(null, obj)) { 26 | return false; 27 | } 28 | if (ReferenceEquals(this, obj)) { 29 | return true; 30 | } 31 | if (obj.GetType() != this.GetType()) { 32 | return false; 33 | } 34 | return this.Equals((GalleryTextScaleValue) obj); 35 | } 36 | 37 | public override int GetHashCode() { 38 | unchecked { 39 | return (this.scale.GetHashCode() * 397) ^ (this.label != null ? this.label.GetHashCode() : 0); 40 | } 41 | } 42 | 43 | public static bool operator ==(GalleryTextScaleValue left, GalleryTextScaleValue right) { 44 | return Equals(left, right); 45 | } 46 | 47 | public static bool operator !=(GalleryTextScaleValue left, GalleryTextScaleValue right) { 48 | return !Equals(left, right); 49 | } 50 | 51 | 52 | public override string ToString() { 53 | return $"{this.GetType()}({this.label})"; 54 | } 55 | 56 | public static readonly List kAllGalleryTextScaleValues = new List { 57 | new GalleryTextScaleValue(null, "System Default"), 58 | new GalleryTextScaleValue(0.8f, "Small"), 59 | new GalleryTextScaleValue(1.0f, "Normal"), 60 | new GalleryTextScaleValue(1.3f, "Large"), 61 | new GalleryTextScaleValue(2.0f, "Huge"), 62 | }; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /UIWidgetsSample/CustomPaintSample.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.foundation; 2 | using Unity.UIWidgets.ui; 3 | using Unity.UIWidgets.widgets; 4 | 5 | namespace UIWidgetsSample { 6 | public class CustomPaintSample : UIWidgetsSamplePanel { 7 | protected override Widget createWidget() { 8 | return new WidgetsApp( 9 | home: new Unity.UIWidgets.widgets.CustomPaint( 10 | child: new Container(width: 300, height: 300, color: new Color(0XFFFFFFFF)), 11 | foregroundPainter: new GridPainter(null) 12 | ), 13 | pageRouteBuilder: this.pageRouteBuilder); 14 | } 15 | } 16 | 17 | public class GridPainter : AbstractCustomPainter { 18 | public GridPainter(Listenable repaint) : base(repaint) { 19 | } 20 | 21 | public override void paint(Canvas canvas, Size size) { 22 | int numGrid = 4; 23 | var paint = new Paint(); 24 | paint.color = new Color(0xFFFF0000); 25 | paint.strokeWidth = 2; 26 | paint.style = PaintingStyle.stroke; 27 | for (int i = 1; i < numGrid; i++) { 28 | float offsetY = size.height * i / numGrid; 29 | canvas.drawLine(new Offset(0, offsetY), new Offset(size.width, offsetY), 30 | paint); 31 | } 32 | 33 | for (int i = 1; i < numGrid; i++) { 34 | float offsetx = size.width * i / numGrid; 35 | canvas.drawLine(new Offset(offsetx, 0), new Offset(offsetx, size.height), 36 | paint); 37 | } 38 | 39 | 40 | // draw a arrow line 41 | canvas.save(); 42 | canvas.rotate(0.4f); 43 | canvas.scale(2, 2); 44 | canvas.translate(50, 50); 45 | canvas.drawLine(new Offset(0, 0), new Offset(100, 0), 46 | new Paint() { 47 | color = new Color(0xFFFF0000), 48 | strokeWidth = 2, 49 | style = PaintingStyle.stroke 50 | }); 51 | var path = new Path(); 52 | var arrowPaint = new Paint() { 53 | color = new Color(0xFFFF0000), 54 | style = PaintingStyle.fill 55 | }; 56 | path.moveTo(100, 0); 57 | path.lineTo(100, 5); 58 | path.lineTo(120, 0); 59 | path.lineTo(100, -5); 60 | path.close(); 61 | canvas.drawPath(path, arrowPaint); 62 | canvas.restore(); 63 | } 64 | 65 | public override bool shouldRepaint(CustomPainter oldDelegate) { 66 | return false; 67 | } 68 | } 69 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UIWidgets Samples 2 | [中文](README-ZH.md) 3 | 4 | ## Introduction 5 | This project provides standard samples for UIWidgets. 6 | 7 | UIWidgets is an open-source, standalone and novel UI framework for Unity. You can find various UIWidgets-based 8 | UI panels in this Repository which illustrates different features of the corresponding framework. 9 | Please feel free to run and test these demos. You are also encouraged to modify them to meet your own 10 | requirements and see the outcomes. 11 | 12 | 13 | ## Requirements 14 | 15 | #### Unity 16 | 17 | 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. 18 | 19 | #### UIWidgets Package 20 | Visit the Github repository https://github.com/UnityTech/UIWidgets 21 | to download the latest UIWidgets package. 22 | 23 | Move the downloaded package folder into the **Package** folder of your Unity project. 24 | 25 | Generally, you can make it using a console (or terminal) application by just a few commands as below: 26 | 27 | ```none 28 | cd /Packages 29 | git clone https://github.com/UnityTech/UIWidgets.git com.unity.uiwidgets 30 | ``` 31 | 32 | #### Install 33 | Create an empty project using Unity and copy the latest UIWidgets package into it. Then clone this 34 | Repository to the **Asset** folder of your project. 35 | 36 | 37 | ## Guide 38 | 39 | #### Runtime UIs 40 | In the **Scenes** folder you can find all the demo scenes which illustrate different features of UIWidgets. 41 | More specifically, the **UIWidgetsGallery** scene contains a Gallery demo of UIWidgets. It is mainly derived from 42 | the flutter Gallery demo and will provides you a big picture about "What UIWidgets can do". 43 | 44 | In the **UIWidgetsTheatre** scene you can switch between some deliberately chosen UIWidgets Panels, each 45 | focusing on one specific feature of UIWidgets. 46 | 47 | The implementations of all the demo UI widgets are located in different folders. In short: 48 | * **MaterialSample** contains sample codes of material scheme widgets 49 | * **ReduxSample** contains samples codes for the redux framework used in UIWidgets 50 | * **UIWidgetGallery** contains codes of the Gallery demo 51 | * **UIWidgetsSample** contains samples codes for basic widgets 52 | * **UIWidgetsTheatre** contains codes of the UIWidgetsTheatre 53 | 54 | #### EditorWindow UIs 55 | UIWidgets can also be used to create EditorWindows in Unity. 56 | Please click the new **UIWidgetsTests** tab on the main menu 57 | and open one of the dropdown samples to see the corresponding EditorWindow example. 58 | 59 | All the codes of the EditorWindow samples are located in the **Editor** folder. 60 | -------------------------------------------------------------------------------- /UIWidgetsSample/ScaleGestureSample.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.UIWidgets.material; 3 | using Unity.UIWidgets.rendering; 4 | using Unity.UIWidgets.ui; 5 | using Unity.UIWidgets.widgets; 6 | using UnityEngine; 7 | 8 | namespace UIWidgetsSample { 9 | public class ScaleGestureSample : UIWidgetsSamplePanel { 10 | protected override Widget createWidget() { 11 | return new MaterialApp( 12 | showPerformanceOverlay: false, 13 | home: new ScaleGesturePanel() 14 | ); 15 | } 16 | 17 | protected override void OnEnable() { 18 | FontManager.instance.addFont(Resources.Load(path: "fonts/MaterialIcons-Regular"), "Material Icons"); 19 | base.OnEnable(); 20 | } 21 | } 22 | 23 | class ScaleGesturePanel : StatefulWidget { 24 | public override State createState() { 25 | return new ScaleGesturePanelState(); 26 | } 27 | } 28 | 29 | class ScaleGesturePanelState : State { 30 | float scaleValue = 1.0f; 31 | 32 | public override Widget build(BuildContext context) { 33 | return new Scaffold( 34 | appBar: new AppBar( 35 | title: new Center( 36 | child: new Text("Test Scale Gesture Widget") 37 | ) 38 | ), 39 | body: new GestureDetector( 40 | onScaleStart: scaleDetails => { Debug.Log("Scale Start !"); }, 41 | onScaleUpdate: scaleDetails => { 42 | Debug.Log("Scale value = " + scaleDetails.scale); 43 | this.setState(() => { this.scaleValue = scaleDetails.scale; }); 44 | }, 45 | onScaleEnd: scaleDetails => { Debug.Log("Scale End"); }, 46 | child: new Card( 47 | color: Colors.white, 48 | child: new Center( 49 | child: new Column( 50 | mainAxisSize: MainAxisSize.min, 51 | crossAxisAlignment: CrossAxisAlignment.center, 52 | children: new List { 53 | new Icon(Unity.UIWidgets.material.Icons.ac_unit, size: 128.0f, color: Colors.black), 54 | new RaisedButton( 55 | child: new Text("Scale: " + this.scaleValue), 56 | onPressed: () => { Debug.Log("Button Pressed"); }) 57 | } 58 | ) 59 | )) 60 | ) 61 | ); 62 | } 63 | } 64 | } -------------------------------------------------------------------------------- /UIWidgetsTheatre/UIWidgetsTheatre.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UIWidgetsGallery.gallery; 3 | using UIWidgetsSample; 4 | using Unity.UIWidgets.material; 5 | using Unity.UIWidgets.ui; 6 | using Unity.UIWidgets.widgets; 7 | 8 | #if UNITY_EDITOR 9 | using UnityEditor; 10 | using UnityEditor.UI; 11 | #endif 12 | 13 | using UnityEngine; 14 | 15 | 16 | namespace UIWidgetsTheatre { 17 | 18 | class TheatreEntry { 19 | public string entryName; 20 | public Widget entryWidget; 21 | } 22 | 23 | class UIWidgetsTheatre : UIWidgetsSamplePanel { 24 | static readonly List entries = new List { 25 | new TheatreEntry{entryName = "UIWidget Gallery", entryWidget = new GalleryApp()}, 26 | new TheatreEntry{entryName = "Material App Bar", entryWidget = new MaterialAppBarWidget()}, 27 | new TheatreEntry{entryName = "Material Tab Bar" , entryWidget = new MaterialTabBarWidget()}, 28 | new TheatreEntry{entryName = "Asset Store", entryWidget = new AsScreenSample.AsScreenWidget()}, 29 | new TheatreEntry{entryName = "ToDo App", entryWidget = new ToDoAppSample.ToDoListApp()} 30 | }; 31 | 32 | public static string[] entryKeys { 33 | get { 34 | List ret = new List(); 35 | foreach (var entry in entries) { 36 | ret.Add(entry.entryName); 37 | } 38 | 39 | return ret.ToArray(); 40 | } 41 | } 42 | 43 | [SerializeField] public int testCaseId; 44 | 45 | protected override Widget createWidget() { 46 | return new MaterialApp( 47 | showPerformanceOverlay: false, 48 | home: entries[this.testCaseId].entryWidget); 49 | } 50 | 51 | protected override void OnEnable() { 52 | FontManager.instance.addFont(Resources.Load("fonts/MaterialIcons-Regular"), "Material Icons"); 53 | FontManager.instance.addFont(Resources.Load("fonts/GalleryIcons"), "GalleryIcons"); 54 | base.OnEnable(); 55 | } 56 | } 57 | 58 | 59 | #if UNITY_EDITOR 60 | [CustomEditor(typeof(UIWidgetsTheatre), true)] 61 | [CanEditMultipleObjects] 62 | public class UIWidgetTheatreEditor : RawImageEditor { 63 | int _choiceIndex; 64 | 65 | public override void OnInspectorGUI() { 66 | var materialSample = this.target as UIWidgetsTheatre; 67 | this._choiceIndex = EditorGUILayout.Popup("Test Case", materialSample.testCaseId, UIWidgetsTheatre.entryKeys); 68 | materialSample.testCaseId = this._choiceIndex; 69 | EditorUtility.SetDirty(this.target); 70 | } 71 | } 72 | #endif 73 | } -------------------------------------------------------------------------------- /UIWidgetsSample/Utils.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.ui; 2 | using Unity.UIWidgets.widgets; 3 | 4 | namespace UIWidgetsSample { 5 | 6 | public static class Icons { 7 | public static readonly IconData notifications = new IconData(0xe7f4, fontFamily: "Material Icons"); 8 | public static readonly IconData account_circle = new IconData(0xe853, fontFamily: "Material Icons"); 9 | public static readonly IconData search = new IconData(0xe8b6, fontFamily: "Material Icons"); 10 | public static readonly IconData keyboard_arrow_down = new IconData(0xe313, fontFamily: "Material Icons"); 11 | } 12 | 13 | public static class CLColors { 14 | public static readonly Color primary = new Color(0xFFE91E63); 15 | public static readonly Color secondary1 = new Color(0xFF00BCD4); 16 | public static readonly Color secondary2 = new Color(0xFFF0513C); 17 | public static readonly Color background1 = new Color(0xFF292929); 18 | public static readonly Color background2 = new Color(0xFF383838); 19 | public static readonly Color background3 = new Color(0xFFF5F5F5); 20 | public static readonly Color background4 = new Color(0xFF00BCD4); 21 | public static readonly Color icon1 = new Color(0xFFFFFFFF); 22 | public static readonly Color icon2 = new Color(0xFFA4A4A4); 23 | public static readonly Color text1 = new Color(0xFFFFFFFF); 24 | public static readonly Color text2 = new Color(0xFFD8D8D8); 25 | public static readonly Color text3 = new Color(0xFF959595); 26 | public static readonly Color text4 = new Color(0xFF002835); 27 | public static readonly Color text5 = new Color(0xFF9E9E9E); 28 | public static readonly Color text6 = new Color(0xFF002835); 29 | public static readonly Color text7 = new Color(0xFF5A5A5B); 30 | public static readonly Color text8 = new Color(0xFF239988); 31 | public static readonly Color text9 = new Color(0xFFB3B5B6); 32 | public static readonly Color text10 = new Color(0xFF00BCD4); 33 | public static readonly Color dividingLine1 = new Color(0xFF666666); 34 | public static readonly Color dividingLine2 = new Color(0xFF404040); 35 | 36 | public static readonly Color transparent = new Color(0x00000000); 37 | public static readonly Color white = new Color(0xFFFFFFFF); 38 | public static readonly Color black = new Color(0xFF000000); 39 | public static readonly Color red = new Color(0xFFFF0000); 40 | public static readonly Color green = new Color(0xFF00FF00); 41 | public static readonly Color blue = new Color(0xFF0000FF); 42 | 43 | public static readonly Color header = new Color(0xFF060B0C); 44 | } 45 | } -------------------------------------------------------------------------------- /UIWidgetsSample/txt/TextFieldSample.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.material; 2 | using Unity.UIWidgets.painting; 3 | using Unity.UIWidgets.ui; 4 | using Unity.UIWidgets.widgets; 5 | using UnityEngine; 6 | using DialogUtils = Unity.UIWidgets.material.DialogUtils; 7 | 8 | namespace UIWidgetsSample { 9 | public class TextFieldSample : UIWidgetsSamplePanel { 10 | protected override Widget createWidget() { 11 | return new MaterialApp( 12 | title: "Text Fields", 13 | home: new MyCustomForm() 14 | ); 15 | } 16 | 17 | protected override void OnEnable() { 18 | base.OnEnable(); 19 | FontManager.instance.addFont(Resources.Load(path: "fonts/MaterialIcons-Regular"), "Material Icons"); 20 | } 21 | } 22 | 23 | class MyCustomForm : StatefulWidget { 24 | public override State createState() { 25 | return new _MyCustomFormState(); 26 | } 27 | } 28 | 29 | class _MyCustomFormState : State { 30 | readonly TextEditingController myController = new TextEditingController(); 31 | 32 | public override void dispose() { 33 | this.myController.dispose(); 34 | base.dispose(); 35 | } 36 | 37 | public override Widget build(BuildContext context) { 38 | return new Scaffold( 39 | appBar: new AppBar( 40 | title: new Text("Retrieve Text Input") 41 | ), 42 | body: new Padding( 43 | padding: EdgeInsets.all(16.0f), 44 | child: new TextField( 45 | controller: this.myController, 46 | autofocus: true, 47 | decoration: new InputDecoration( 48 | hintText: "hinthere", 49 | labelText: "pwd", 50 | prefixIcon: new Icon(Unity.UIWidgets.material.Icons.search))) 51 | ), 52 | floatingActionButton: new FloatingActionButton( 53 | // When the user presses the button, show an alert dialog with the 54 | // text the user has typed into our text field. 55 | onPressed: () => { 56 | DialogUtils.showDialog( 57 | context: context, 58 | builder: (_context) => { 59 | return new AlertDialog( 60 | // Retrieve the text the user has typed in using our 61 | // TextEditingController 62 | content: new Text(this.myController.text) 63 | ); 64 | }); 65 | }, 66 | tooltip: "Show me the value", 67 | child: new Icon(Icons.search) 68 | ) 69 | ); 70 | } 71 | } 72 | } -------------------------------------------------------------------------------- /Editor/EditableTextWiget.cs: -------------------------------------------------------------------------------- 1 | using Unity.UIWidgets.animation; 2 | using Unity.UIWidgets.editor; 3 | using Unity.UIWidgets.material; 4 | using Unity.UIWidgets.painting; 5 | using Unity.UIWidgets.widgets; 6 | using UnityEditor; 7 | using UnityEngine; 8 | using Color = Unity.UIWidgets.ui.Color; 9 | using TextStyle = Unity.UIWidgets.painting.TextStyle; 10 | 11 | namespace UIWidgets.Tests { 12 | public class EditableTextWiget : EditorWindow { 13 | WindowAdapter windowAdapter; 14 | 15 | Widget root; 16 | 17 | Widget image; 18 | 19 | [MenuItem("UIWidgetsTests/EditableTextWidget")] 20 | public static void renderWidgets() { 21 | GetWindow(typeof(EditableTextWiget)); 22 | } 23 | 24 | string txt = "Hello\n" + 25 | "This is useful when you need to check if a certain key has been pressed - possibly with modifiers. The syntax for the key string\n" + 26 | "asfsd \n" + 27 | "P1:\n" + 28 | "This is useful when you need to check if a certain key has been pressed - possibly with modifiers.The syntax for the key st\n" + 29 | "\n" + 30 | "\n" + 31 | "\n" + 32 | "\n" + 33 | " sfsafd"; 34 | 35 | EditableTextWiget() { 36 | } 37 | 38 | void OnGUI() { 39 | this.windowAdapter.OnGUI(); 40 | } 41 | 42 | void Update() { 43 | this.windowAdapter.Update(); 44 | } 45 | 46 | void OnEnable() { 47 | this.windowAdapter = new EditorWindowAdapter(this); 48 | this.windowAdapter.OnEnable(); 49 | this.root = new Container( 50 | width: 200, 51 | height: 200, 52 | margin: EdgeInsets.all(30.0f), 53 | padding: EdgeInsets.all(15.0f), 54 | color: Color.fromARGB(255, 244, 190, 85), 55 | child: new EditableText( 56 | maxLines: 100, 57 | selectionControls: MaterialUtils.materialTextSelectionControls, 58 | controller: new TextEditingController(this.txt), 59 | focusNode: new FocusNode(), 60 | style: new TextStyle(), 61 | selectionColor: Color.fromARGB(255, 255, 0, 0), 62 | cursorColor: Color.fromARGB(255, 0, 0, 0) 63 | ) 64 | ); 65 | this.windowAdapter.attachRootWidget(() => new WidgetsApp(home: this.root, 66 | pageRouteBuilder: (RouteSettings settings, WidgetBuilder builder) => 67 | new PageRouteBuilder( 68 | settings: settings, 69 | pageBuilder: (BuildContext context, Animation animation, 70 | Animation secondaryAnimation) => builder(context) 71 | ))); 72 | this.titleContent = new GUIContent("EditableTextWidget"); 73 | } 74 | 75 | void OnDisable() { 76 | this.windowAdapter.OnDisable(); 77 | this.windowAdapter = null; 78 | } 79 | } 80 | } -------------------------------------------------------------------------------- /UIWidgetsGallery/gallery/updater.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using RSG; 4 | using Unity.UIWidgets.foundation; 5 | using Unity.UIWidgets.material; 6 | using Unity.UIWidgets.painting; 7 | using Unity.UIWidgets.widgets; 8 | using UnityEngine; 9 | using DialogUtils = Unity.UIWidgets.material.DialogUtils; 10 | 11 | namespace UIWidgetsGallery.gallery { 12 | public class Updater : StatefulWidget { 13 | public Updater(UpdateUrlFetcher updateUrlFetcher = null, Widget child = null, Key key = null) 14 | : base(key: key) { 15 | D.assert(updateUrlFetcher != null); 16 | this.updateUrlFetcher = updateUrlFetcher; 17 | this.child = child; 18 | } 19 | 20 | public readonly UpdateUrlFetcher updateUrlFetcher; 21 | public readonly Widget child; 22 | 23 | public override State createState() { 24 | return new UpdaterState(); 25 | } 26 | } 27 | 28 | public class UpdaterState : State { 29 | public override void initState() { 30 | base.initState(); 31 | this._checkForUpdates(); 32 | } 33 | 34 | static DateTime? _lastUpdateCheck; 35 | 36 | IPromise _checkForUpdates() { 37 | // Only prompt once a day 38 | if (_lastUpdateCheck != null && 39 | (DateTime.Now - _lastUpdateCheck.Value).TotalDays < 1) { 40 | return Promise.Resolved(); // We already checked for updates recently 41 | } 42 | 43 | _lastUpdateCheck = DateTime.Now; 44 | 45 | return this.widget.updateUrlFetcher().Then(updateUrl => { 46 | if (updateUrl != null) { 47 | return DialogUtils.showDialog(context: this.context, builder: this._buildDialog).Then( 48 | result => { 49 | if (result != null) { 50 | bool wantsUpdate = (bool) result; 51 | if (wantsUpdate) { 52 | Application.OpenURL(updateUrl); 53 | } 54 | } 55 | }); 56 | } 57 | 58 | return Promise.Resolved(); 59 | }); 60 | } 61 | 62 | Widget _buildDialog(BuildContext context) { 63 | ThemeData theme = Theme.of(context); 64 | TextStyle dialogTextStyle = theme.textTheme.subhead.copyWith(color: theme.textTheme.caption.color); 65 | return new AlertDialog( 66 | title: new Text("Update UIWidgets Gallery?"), 67 | content: new Text("A newer version is available.", style: dialogTextStyle), 68 | actions: new List() { 69 | new FlatButton( 70 | child: new Text("NO THANKS"), 71 | onPressed: () => { Navigator.pop(context, false); } 72 | ), 73 | new FlatButton( 74 | child: new Text("UPDATE"), 75 | onPressed: () => { Navigator.pop(context, true); } 76 | ) 77 | } 78 | ); 79 | } 80 | 81 | public override Widget build(BuildContext context) { 82 | return this.widget.child; 83 | } 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /MaterialSample/MaterialButtonSample.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Unity.UIWidgets.foundation; 3 | using Unity.UIWidgets.material; 4 | using Unity.UIWidgets.painting; 5 | using Unity.UIWidgets.ui; 6 | using Unity.UIWidgets.widgets; 7 | using UnityEngine; 8 | using Color = Unity.UIWidgets.ui.Color; 9 | using Material = Unity.UIWidgets.material.Material; 10 | 11 | namespace UIWidgetsSample { 12 | 13 | public class MaterialButtonSample : UIWidgetsSamplePanel { 14 | 15 | protected override Widget createWidget() { 16 | return new MaterialApp( 17 | showPerformanceOverlay: false, 18 | home: new MaterialButtonWidget()); 19 | } 20 | 21 | protected override void OnEnable() { 22 | FontManager.instance.addFont(Resources.Load(path: "fonts/MaterialIcons-Regular"), "Material Icons"); 23 | base.OnEnable(); 24 | } 25 | } 26 | 27 | public class MaterialButtonWidget : StatefulWidget { 28 | public MaterialButtonWidget(Key key = null) : base(key) { 29 | } 30 | 31 | public override State createState() { 32 | return new MaterialButtonWidgetState(); 33 | } 34 | } 35 | 36 | public class MaterialButtonWidgetState : State { 37 | public override Widget build(BuildContext context) { 38 | return new Stack( 39 | children: new List { 40 | new Material( 41 | child: new Center( 42 | child: new Column( 43 | children: new List { 44 | new Padding(padding: EdgeInsets.only(top: 30f)), 45 | new MaterialButton( 46 | shape: new RoundedRectangleBorder(borderRadius: BorderRadius.all(20.0f)), 47 | color: new Color(0xFF00FF00), 48 | splashColor: new Color(0xFFFF0011), 49 | highlightColor: new Color(0x88FF0011), 50 | child: new Text("Click Me"), 51 | onPressed: () => { Debug.Log("pressed flat button"); } 52 | ), 53 | new Padding(padding: EdgeInsets.only(top: 30f)), 54 | new MaterialButton( 55 | shape: new RoundedRectangleBorder(borderRadius: BorderRadius.all(20.0f)), 56 | color: new Color(0xFFFF00FF), 57 | splashColor: new Color(0xFFFF0011), 58 | highlightColor: new Color(0x88FF0011), 59 | elevation: 4.0f, 60 | child: new Text("Click Me"), 61 | onPressed: () => { Debug.Log("pressed raised button"); } 62 | ) 63 | } 64 | ) 65 | ) 66 | ), 67 | new PerformanceOverlay() 68 | } 69 | ); 70 | } 71 | } 72 | 73 | } -------------------------------------------------------------------------------- /Resources/products/cup.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7443ec2c33a954d6ea65634db88ec9de 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | internalID: 0 113 | vertices: [] 114 | indices: 115 | edges: [] 116 | weights: [] 117 | secondaryTextures: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Resources/products/hat.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c9bf8d4be2ec4909968b137cca6a5a5 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | internalID: 0 113 | vertices: [] 114 | indices: 115 | edges: [] 116 | weights: [] 117 | secondaryTextures: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Resources/products/top.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28c554c1d07094c75bf3336f43b55c85 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | internalID: 0 113 | vertices: [] 114 | indices: 115 | edges: [] 116 | weights: [] 117 | secondaryTextures: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Resources/unity-black.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e979a341b07344fbbb181e9704d1cb3 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | internalID: 0 113 | vertices: [] 114 | indices: 115 | edges: [] 116 | weights: [] 117 | secondaryTextures: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Resources/unity-white.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b8676797cd8e44109db7411ab2fe96a 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | internalID: 0 113 | vertices: [] 114 | indices: 115 | edges: [] 116 | weights: [] 117 | secondaryTextures: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Editor/Gestures.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using Unity.UIWidgets.editor; 4 | using Unity.UIWidgets.gestures; 5 | using Unity.UIWidgets.painting; 6 | using Unity.UIWidgets.rendering; 7 | using Unity.UIWidgets.ui; 8 | using UnityEditor; 9 | using UnityEngine; 10 | using Color = Unity.UIWidgets.ui.Color; 11 | 12 | namespace UIWidgets.Tests { 13 | public class Gestures : EditorWindow { 14 | readonly Func[] _options; 15 | 16 | readonly string[] _optionStrings; 17 | 18 | int _selected; 19 | 20 | Gestures() { 21 | this._options = new Func[] { 22 | this.tap, 23 | }; 24 | this._optionStrings = this._options.Select(x => x.Method.Name).ToArray(); 25 | this._selected = 0; 26 | 27 | this.titleContent = new GUIContent("Gestures"); 28 | } 29 | 30 | WindowAdapter windowAdapter; 31 | 32 | [NonSerialized] bool hasInvoked = false; 33 | 34 | void OnGUI() { 35 | var selected = EditorGUILayout.Popup("test case", this._selected, this._optionStrings); 36 | if (selected != this._selected || !this.hasInvoked) { 37 | this._selected = selected; 38 | this.hasInvoked = true; 39 | 40 | var renderBox = this._options[this._selected](); 41 | if (this.windowAdapter != null) { 42 | this.windowAdapter.attachRootRenderBox(renderBox); 43 | } 44 | } 45 | 46 | this.windowAdapter.OnGUI(); 47 | } 48 | 49 | void Update() { 50 | this.windowAdapter.Update(); 51 | } 52 | 53 | void OnEnable() { 54 | this.windowAdapter = new EditorWindowAdapter(this); 55 | this.windowAdapter.OnEnable(); 56 | 57 | this._tapRecognizer = new TapGestureRecognizer(); 58 | this._tapRecognizer.onTap = () => { Debug.Log("tap"); }; 59 | 60 | this._panRecognizer = new PanGestureRecognizer(); 61 | this._panRecognizer.onUpdate = (details) => { Debug.Log("onUpdate " + details); }; 62 | 63 | this._doubleTapGesture = new DoubleTapGestureRecognizer(); 64 | this._doubleTapGesture.onDoubleTap = (detail) => { Debug.Log("onDoubleTap"); }; 65 | } 66 | 67 | void OnDisable() { 68 | this.windowAdapter.OnDisable(); 69 | this.windowAdapter = null; 70 | } 71 | 72 | TapGestureRecognizer _tapRecognizer; 73 | 74 | PanGestureRecognizer _panRecognizer; 75 | 76 | DoubleTapGestureRecognizer _doubleTapGesture; 77 | 78 | void _handlePointerDown(PointerDownEvent evt) { 79 | this._tapRecognizer.addPointer(evt); 80 | this._panRecognizer.addPointer(evt); 81 | this._doubleTapGesture.addPointer(evt); 82 | } 83 | 84 | RenderBox tap() { 85 | return new RenderPointerListener( 86 | onPointerDown: this._handlePointerDown, 87 | behavior: HitTestBehavior.opaque, 88 | child: new RenderConstrainedBox( 89 | additionalConstraints: BoxConstraints.tight(Size.square(100)), 90 | child: new RenderDecoratedBox( 91 | decoration: new BoxDecoration( 92 | color: new Color(0xFF00FF00) 93 | ) 94 | )) 95 | ); 96 | } 97 | } 98 | } -------------------------------------------------------------------------------- /Resources/people/square/ali.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f644f877472c942209cc4ff5beaf452a 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | internalID: 0 113 | vertices: [] 114 | indices: 115 | edges: [] 116 | weights: [] 117 | secondaryTextures: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Resources/products/backpack.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 674a904c9f4234b9ba9f78eb37f237fe 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | internalID: 0 113 | vertices: [] 114 | indices: 115 | edges: [] 116 | weights: [] 117 | secondaryTextures: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Resources/products/belt.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a6d8f5795ade4d2abc66cd64533f8ac 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | internalID: 0 113 | vertices: [] 114 | indices: 115 | edges: [] 116 | weights: [] 117 | secondaryTextures: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Resources/products/deskset.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9181044e6c0c4467b933708e3834f35e 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | internalID: 0 113 | vertices: [] 114 | indices: 115 | edges: [] 116 | weights: [] 117 | secondaryTextures: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Resources/products/dress.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 452e42b2f60134df48d45ab49a21d8ec 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | internalID: 0 113 | vertices: [] 114 | indices: 115 | edges: [] 116 | weights: [] 117 | secondaryTextures: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | -------------------------------------------------------------------------------- /Resources/products/earrings.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7619ea1564ba546ab91b5f0ab38a9f6b 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | internalID: 0 113 | vertices: [] 114 | indices: 115 | edges: [] 116 | weights: [] 117 | secondaryTextures: [] 118 | spritePackingTag: 119 | pSDRemoveMatte: 0 120 | pSDShowRemoveMatteOption: 0 121 | userData: 122 | assetBundleName: 123 | assetBundleVariant: 124 | --------------------------------------------------------------------------------