1
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eb29ea32f1ce55a4288ab809db3a82e5
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,64 @@
|
||||
.vp-background {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
justify-content: flex-end;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
.vp-video-view {
|
||||
flex-grow: 1;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.vp-video-controller {
|
||||
height: 55px;
|
||||
width: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
padding-right: 5px;
|
||||
padding-left: 5px;
|
||||
padding-top: 0;
|
||||
padding-bottom: 5px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.vp-button {
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
padding-top: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
padding-left: 0;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
border-top-width: 0;
|
||||
border-right-width: 0;
|
||||
border-bottom-width: 0;
|
||||
border-left-width: 0;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
.vp-video-time-text {
|
||||
color: rgb(255, 255, 255);
|
||||
-unity-text-align: middle-center;
|
||||
font-size: 28px;
|
||||
width: 210px;
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
padding-top: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
padding-left: 0;
|
||||
height: 100%;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a2817295a06871a489c6f3e6b7ad35b1
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,21 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
|
||||
<Style src="project://database/Assets/UI%20Toolkit/Component/VideoPlay/VideoPlay.uss?fileID=7433441132597879392&guid=a2817295a06871a489c6f3e6b7ad35b1&type=3#VideoPlay" />
|
||||
<Style src="project://database/Assets/UI%20Toolkit/Component/Slider/Slider.uss?fileID=7433441132597879392&guid=ca2fb5adc90c9af4cb0426c459d7e9e5&type=3#Slider" />
|
||||
<ui:VisualElement name="Background" class="vp-background">
|
||||
<ui:VisualElement name="VideoView" class="vp-video-view" />
|
||||
<ui:VisualElement name="VideoController" class="vp-video-controller">
|
||||
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Play" class="vp-button" style="background-image: url("project://database/Assets/UI%20Toolkit/Assets/%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE/%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE.png?fileID=2800000&guid=225e850704b3dce4e9f338d3ec1b1359&type=3#视频播放");" />
|
||||
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Pause" class="vp-button" style="background-image: url("project://database/Assets/UI%20Toolkit/Assets/%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE/%E8%A7%86%E9%A2%91%E6%9A%82%E5%81%9C.png?fileID=2800000&guid=a7c3589de06f82146987e2416b467952&type=3#视频暂停"); display: none;" />
|
||||
<ui:VisualElement name="Slider" class="slider-horizontal" style="flex-grow: 1; height: auto;">
|
||||
<ui:Label tabindex="-1" text="滑块" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="slider-horizontal-title" style="display: none;" />
|
||||
<ui:VisualElement name="Container" class="slider-horizontal-container">
|
||||
<ui:VisualElement name="Tracker" class="slider-horizontal-tracker">
|
||||
<ui:VisualElement name="Dragger" class="slider-horizontal-dragger" style="height: 24px; width: 16px; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:Label tabindex="-1" text="00:00/00:00" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Time" class="vp-video-time-text" />
|
||||
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="FullScreen" class="vp-button" style="background-image: url("project://database/Assets/UI%20Toolkit/Assets/%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE/%E8%A7%86%E9%A2%91%E5%85%A8%E5%B1%8F.png?fileID=2800000&guid=3160e472331eaad4c96b5ece075037b5&type=3#视频全屏");" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 97e374a25c096fd4a9780c2e0d33ca59
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
Reference in New Issue
Block a user