基础内容
必要插件安装 缓动曲线和动画基础 ElementFolder,Track与其次级模块,PathNode重构
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eb04194cae9880d42a338d246d27a85e
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Feel/FeelDemos/UIToolkitFeedbacksDemo/Fonts.meta
Normal file
8
Assets/Feel/FeelDemos/UIToolkitFeedbacksDemo/Fonts.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5db4084c1318a664284a0abf8da55274
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3258cbeb41f23b545a323883d7b047b9
|
||||
TrueTypeFontImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
fontName: Big John
|
||||
fontNames:
|
||||
- Big John
|
||||
fallbackFontReferences: []
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
||||
ascentCalculationMode: 1
|
||||
useLegacyBoundsCalculation: 0
|
||||
shouldRoundAdvanceValue: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6f8c7831e01d1074488720a8bac8a393
|
||||
timeCreated: 1506413399
|
||||
licenseType: Store
|
||||
TrueTypeFontImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
fontName: Lato
|
||||
fontNames:
|
||||
- Lato
|
||||
fallbackFontReferences:
|
||||
- {fileID: 12800000, guid: 53d01262beef8f3478829f40c54b17a6, type: 3}
|
||||
- {fileID: 12800000, guid: 44f12193a29a96e48a377ef2710cf82b, type: 3}
|
||||
- {fileID: 12800000, guid: 8261aa344a446cc4d8fed11f893904eb, type: 3}
|
||||
- {fileID: 12800000, guid: 0f719b9445e49864eb4e1b102bcdc3a0, type: 3}
|
||||
- {fileID: 12800000, guid: 705aa5e60576b334686c06caa9d4bc50, type: 3}
|
||||
- {fileID: 12800000, guid: ab9f8458e621c034ab9459a93494c25b, type: 3}
|
||||
- {fileID: 12800000, guid: 5da271984aad9a44a951545d78a516f1, type: 3}
|
||||
- {fileID: 12800000, guid: 1a4c38f8e3d5dc143bc6e8f25d2a2f84, type: 3}
|
||||
- {fileID: 12800000, guid: 759b260ae1c853d4694d3adddf541781, type: 3}
|
||||
- {fileID: 12800000, guid: 864da26a57ce9ae4eb58cace8e01432a, type: 3}
|
||||
- {fileID: 12800000, guid: b0f9470cad411c841a9ac4fd118ad233, type: 3}
|
||||
- {fileID: 12800000, guid: 75be130d915c2a7489ade8079a7512c9, type: 3}
|
||||
- {fileID: 12800000, guid: b3f5977fecea16e4dabc6a31e8c2a065, type: 3}
|
||||
- {fileID: 12800000, guid: 4de33cef67ce15e4a8cb3d3e6b6b27e2, type: 3}
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
||||
ascentCalculationMode: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 24d8a0931509a4a4b8006bf8a18fbe27
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1 @@
|
||||
@import url("unity-theme://default");
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d69ba10a5cfd9d748bd38f539b6646d9
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12388, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,39 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 19101, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: FeelUIToolkitDemoPanelSettings
|
||||
m_EditorClassIdentifier:
|
||||
themeUss: {fileID: -4733365628477956816, guid: d69ba10a5cfd9d748bd38f539b6646d9,
|
||||
type: 3}
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_ScaleMode: 1
|
||||
m_ReferenceSpritePixelsPerUnit: 100
|
||||
m_Scale: 1
|
||||
m_ReferenceDpi: 96
|
||||
m_FallbackDpi: 96
|
||||
m_ReferenceResolution: {x: 1200, y: 800}
|
||||
m_ScreenMatchMode: 0
|
||||
m_Match: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
m_ClearDepthStencil: 1
|
||||
m_ClearColor: 0
|
||||
m_ColorClearValue: {r: 0, g: 0, b: 0, a: 0}
|
||||
m_DynamicAtlasSettings:
|
||||
m_MinAtlasSize: 64
|
||||
m_MaxAtlasSize: 4096
|
||||
m_MaxSubTextureSize: 64
|
||||
m_ActiveFilters: -1
|
||||
m_AtlasBlitShader: {fileID: 9101, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_RuntimeShader: {fileID: 9100, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_RuntimeWorldShader: {fileID: 9102, guid: 0000000000000000f000000000000000, type: 0}
|
||||
textSettings: {fileID: 0}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 163ab44657be0cb4c94660830d851752
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d044ed5a6d589c246a8dad900aab847c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using MoreMountains.Feedbacks;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
namespace MoreMountains.FeedbacksForThirdParty
|
||||
{
|
||||
[Serializable]
|
||||
public class UIToolkitDemoAction
|
||||
{
|
||||
public string ButtonName;
|
||||
public MMF_Player TargetPlayer;
|
||||
}
|
||||
|
||||
public class UIToolkitDemo : MonoBehaviour
|
||||
{
|
||||
public Texture2D FaceTexture;
|
||||
public List<UIToolkitDemoAction> Actions;
|
||||
|
||||
private Button _button;
|
||||
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
VisualElement root = GetComponent<UIDocument>().rootVisualElement;
|
||||
|
||||
VisualElement face = root.Q<VisualElement>("DemoFace");
|
||||
face.style.backgroundImage = FaceTexture;
|
||||
|
||||
foreach (UIToolkitDemoAction action in Actions)
|
||||
{
|
||||
_button = root.Q<Button>(action.ButtonName);
|
||||
_button.text = _button.text.ToUpper();
|
||||
_button.RegisterCallback<ClickEvent>(ev => PlayFeedback(action.TargetPlayer));
|
||||
}
|
||||
}
|
||||
|
||||
private void PlayFeedback(MMF_Player player)
|
||||
{
|
||||
player.PlayFeedbacks();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a4f5c9e03cba42942ba85f0d492a06e7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1a2fd5fe95b36c9418427a5148bd892f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -0,0 +1,147 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 12737a94889c737439a866490605ea4d
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 121d9808e3539d54580fba635210286c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,3 @@
|
||||
#MainContainer {
|
||||
background-color: rgba(15, 123, 138, 255) !important ;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a34739bef9f96964ea9c4e74bc76b121
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,133 @@
|
||||
.button {
|
||||
width: 160px;
|
||||
height: 60px;
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
border-top-width: 0;
|
||||
border-bottom-width: 0;
|
||||
background-color: rgb(255, 196, 0);
|
||||
color: rgb(0, 0, 0);
|
||||
font-size: 14px;
|
||||
-unity-font-style: normal;
|
||||
-unity-font: url("../Fonts/UIToolkitDemo_Lato.ttf?fileID=12800000&guid=6f8c7831e01d1074488720a8bac8a393&type=3#UIToolkitDemo_Lato");
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
justify-content: flex-start;
|
||||
-unity-text-align: middle-center;
|
||||
white-space: normal;
|
||||
transition-duration: 0.2s;
|
||||
transition-timing-function: ease-out-cubic;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background-color: rgb(255, 255, 255);
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
.button:active {
|
||||
background-color: rgb(255, 196, 0);
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
.MainText {
|
||||
flex-basis: auto;
|
||||
justify-content: center;
|
||||
-unity-text-align: middle-center;
|
||||
-unity-font: url("../Fonts/UIToolkitDemo_Lato.ttf?fileID=12800000&guid=6f8c7831e01d1074488720a8bac8a393&type=3#UIToolkitDemo_Lato");
|
||||
-unity-font-style: normal;
|
||||
font-size: 16px;
|
||||
-unity-font-definition: initial;
|
||||
background-color: rgb(53, 53, 53);
|
||||
color: rgb(255, 196, 0);
|
||||
flex-wrap: nowrap;
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
overflow: visible;
|
||||
position: relative;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
white-space: normal;
|
||||
width: 50%;
|
||||
height: auto;
|
||||
max-height: none;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
border-left-color: rgb(255, 196, 0);
|
||||
border-right-color: rgb(255, 196, 0);
|
||||
border-top-color: rgb(255, 196, 0);
|
||||
border-bottom-color: rgb(255, 196, 0);
|
||||
border-left-width: 2px;
|
||||
border-right-width: 2px;
|
||||
border-top-width: 2px;
|
||||
border-bottom-width: 2px;
|
||||
border-top-left-radius: 20px;
|
||||
border-bottom-left-radius: 20px;
|
||||
border-top-right-radius: 20px;
|
||||
border-bottom-right-radius: 20px;
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
transition-duration: 0.2s;
|
||||
transition-timing-function: ease-out-cubic;
|
||||
}
|
||||
|
||||
.MainTextAlt {
|
||||
flex-basis: auto;
|
||||
justify-content: center;
|
||||
-unity-text-align: middle-center;
|
||||
-unity-font: url("../Fonts/UIToolkitDemo_Lato.ttf?fileID=12800000&guid=6f8c7831e01d1074488720a8bac8a393&type=3#UIToolkitDemo_Lato");
|
||||
-unity-font-style: normal;
|
||||
font-size: 14px;
|
||||
-unity-font-definition: initial;
|
||||
background-color: rgb(255, 196, 0);
|
||||
color: rgb(55, 55, 55);
|
||||
flex-wrap: nowrap;
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
overflow: visible;
|
||||
position: relative;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
white-space: normal;
|
||||
width: 50%;
|
||||
height: auto;
|
||||
max-height: none;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
border-left-color: rgb(255, 196, 0);
|
||||
border-right-color: rgb(255, 196, 0);
|
||||
border-top-color: rgb(255, 196, 0);
|
||||
border-bottom-color: rgb(255, 196, 0);
|
||||
border-left-width: 2px;
|
||||
border-right-width: 2px;
|
||||
border-top-width: 2px;
|
||||
border-bottom-width: 2px;
|
||||
border-top-left-radius: 20px;
|
||||
border-bottom-left-radius: 20px;
|
||||
border-top-right-radius: 20px;
|
||||
border-bottom-right-radius: 20px;
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.MainContainer {
|
||||
background-color: rgb(31, 31, 31);
|
||||
height: 883px;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4b112bc2d5df4c247864fd3499a53d9e
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d48fd8b8c114bc84ba430cfc5ab0696e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,28 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
||||
<Style src="../Stylesheets/FeelUIToolkitFeedbacksDemoStylesheet.uss?fileID=7433441132597879392&guid=4b112bc2d5df4c247864fd3499a53d9e&type=3#FeelUIToolkitFeedbacksDemoStylesheet" />
|
||||
<ui:VisualElement name="MainContainer" class="MainContainer">
|
||||
<ui:Label text="FEEL UI Toolkit Demo" display-tooltip-when-elided="true" name="Title" style="flex-basis: 10%; justify-content: center; -unity-text-align: middle-center; -unity-font: url("../Fonts/UIToolkitDemo_BigJohn.otf?fileID=12800000&guid=3258cbeb41f23b545a323883d7b047b9&type=3#UIToolkitDemo_BigJohn"); -unity-font-style: normal; font-size: 40px; -unity-font-definition: initial; background-color: rgb(255, 196, 0); color: rgb(0, 0, 0); width: 100%;" />
|
||||
<ui:VisualElement name="Container" style="flex-grow: 1; flex-basis: 50%; -unity-background-image-tint-color: rgb(31, 31, 31); flex-direction: row; align-items: center; background-color: rgba(31, 31, 31, 0); justify-content: center;">
|
||||
<ui:VisualElement name="DemoFace" style="background-image: none; width: 128px; height: 128px;" />
|
||||
<ui:Label text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." display-tooltip-when-elided="true" name="DemoText" class="MainText" style="-unity-font: url("../Fonts/UIToolkitDemo_Lato.ttf?fileID=12800000&guid=6f8c7831e01d1074488720a8bac8a393&type=3#UIToolkitDemo_Lato");" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="Buttons" style="background-color: rgba(31, 31, 31, 0); display: flex; flex-grow: 0; flex-basis: 40%; justify-content: center; flex-direction: row; height: 312px; position: relative; left: 0; top: 0; right: 0; bottom: 0; flex-wrap: wrap; flex-shrink: 1; align-items: flex-end; padding-left: 20px; padding-right: 20px; padding-top: 20px; padding-bottom: 20px; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; -unity-background-image-tint-color: rgb(31, 31, 31);">
|
||||
<ui:Button text="Background Color" display-tooltip-when-elided="true" name="BtnBackgroundColor" class="button nop" />
|
||||
<ui:Button text="Border Color" display-tooltip-when-elided="true" name="BtnBorderColor" enable-rich-text="false" class="button FeelBackground" />
|
||||
<ui:Button text="Border Radius" display-tooltip-when-elided="true" name="BtnBorderRadius" class="button" />
|
||||
<ui:Button text="Border Width" display-tooltip-when-elided="true" name="BtnBorderWidth" class="button" />
|
||||
<ui:Button text="Class" display-tooltip-when-elided="true" name="BtnClass" class="button" />
|
||||
<ui:Button text="Font Size" display-tooltip-when-elided="true" name="BtnFontSize" class="button" />
|
||||
<ui:Button text="Image Tint" display-tooltip-when-elided="true" name="BtnTint" class="button" />
|
||||
<ui:Button text="Opacity" display-tooltip-when-elided="true" name="BtnOpacity" class="button" />
|
||||
<ui:Button text="Rotate" display-tooltip-when-elided="true" name="BtnRotate" class="button" />
|
||||
<ui:Button text="Scale" display-tooltip-when-elided="true" name="BtnScale" class="button" />
|
||||
<ui:Button text="Size" display-tooltip-when-elided="true" name="BtnSize" class="button" />
|
||||
<ui:Button text="Stylesheet" display-tooltip-when-elided="true" name="BtnStylesheet" class="button" />
|
||||
<ui:Button text="Text" display-tooltip-when-elided="true" name="BtnText" class="button" />
|
||||
<ui:Button text="Text Color" display-tooltip-when-elided="true" name="BtnTextColor" class="button" />
|
||||
<ui:Button text="Translate" display-tooltip-when-elided="true" name="BtnTranslate" class="button" />
|
||||
<ui:Button text="Visible" display-tooltip-when-elided="true" name="BtnVisible" class="button" style="flex-wrap: nowrap;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b09595e3fbdee4d41aa72ecd8eb4fd76
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
Reference in New Issue
Block a user