Replace UltimateXR with HurricaneVR
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
.HandLabel {
|
||||
border-left-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
flex-direction: row;
|
||||
flex-grow: 0;
|
||||
flex-basis: 20px;
|
||||
}
|
||||
|
||||
.HandsContainer {
|
||||
flex-direction: row;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.CurlContainer {
|
||||
height: auto;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.CurlContainer Label {
|
||||
max-width: 75px;
|
||||
min-width: 75px;
|
||||
}
|
||||
|
||||
.FingerStartContainer Label {
|
||||
max-width: 75px;
|
||||
min-width: 75px;
|
||||
}
|
||||
|
||||
.CurlContainer EnumField {
|
||||
max-width: 150px;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 163382055bc6c7b42abf99ea3b47b0ad
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,55 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
|
||||
<ui:BindableElement name="BlendEditorRoot" class="unity-box" style="height: auto; flex-grow: 1;">
|
||||
<Style src="HVRBlendEditor.uss" />
|
||||
<ui:VisualElement style="margin-top: 4px;">
|
||||
<ui:Label text="Label" name="lblSelectedPose" style="font-size: 20px; -unity-font-style: bold; margin-left: 8px;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement class="HandsContainer">
|
||||
<ui:VisualElement name="CurlContainer" class="unity-box CurlContainer" style="flex-grow: 1;">
|
||||
<ui:Label text="Finger Curls:" class="HandLabel" />
|
||||
<uie:EnumField label="Thumb" value="Static" name="ThumbType" binding-path="ThumbType" type="HurricaneVR.Framework.Core.HandPoser.HVRFingerType, HurricaneVR.Framework" style="flex-basis: 20px; max-width: 150px;" />
|
||||
<uie:EnumField label="Index" value="Close" name="IndexType" binding-path="IndexType" type="HurricaneVR.Framework.Core.HandPoser.HVRFingerType, HurricaneVR.Framework" />
|
||||
<uie:EnumField label="Middle" value="Close" name="MiddleType" binding-path="MiddleType" type="HurricaneVR.Framework.Core.HandPoser.HVRFingerType, HurricaneVR.Framework" />
|
||||
<uie:EnumField label="Ring" value="Close" name="RingType" binding-path="RingType" type="HurricaneVR.Framework.Core.HandPoser.HVRFingerType, HurricaneVR.Framework" />
|
||||
<uie:EnumField label="Pinky" value="Close" name="PinkyType" binding-path="PinkyType" type="HurricaneVR.Framework.Core.HandPoser.HVRFingerType, HurricaneVR.Framework" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="FingerStartContainer" class="unity-box FingerStartContainer" style="flex-grow: 4;">
|
||||
<ui:Label text="Finger Start" class="HandLabel" />
|
||||
<ui:VisualElement style="flex-direction: row; flex-grow: 1; flex-basis: auto; height: auto;">
|
||||
<ui:Slider label="Thumb" value=".80" name="ThumbStart" binding-path="ThumbStart" high-value="1" style="flex-grow: 1; flex-basis: auto; flex-shrink: 0;" />
|
||||
<uie:FloatField binding-path="ThumbStart" readonly="true" style="flex-grow: 0; flex-basis: 40px;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement style="flex-direction: row; flex-grow: 1; flex-basis: auto; height: auto;">
|
||||
<ui:Slider label="Index" value="0" name="IndexStart" binding-path="IndexStart" high-value="1" style="flex-grow: 1;" />
|
||||
<uie:FloatField binding-path="IndexStart" readonly="true" style="flex-grow: 0; flex-basis: 40px;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement style="flex-direction: row; flex-grow: 1; flex-basis: auto; height: auto;">
|
||||
<ui:Slider label="Middle" value="0" name="MiddleStart" binding-path="MiddleStart" high-value="1" style="flex-grow: 1;" />
|
||||
<uie:FloatField binding-path="MiddleStart" readonly="true" style="flex-grow: 0; flex-basis: 40px;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement style="flex-direction: row; flex-grow: 1; flex-basis: auto; height: auto;">
|
||||
<ui:Slider label="Ring" value="0" name="RingStart" binding-path="RingStart" high-value="1" style="flex-grow: 1;" />
|
||||
<uie:FloatField binding-path="RingStart" readonly="true" style="flex-grow: 0; flex-basis: 40px;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement style="flex-direction: row; flex-grow: 1; flex-basis: auto; height: auto;">
|
||||
<ui:Slider label="Pinky" value="0" name="PinkyStart" binding-path="PinkyStart" high-value="1" style="flex-grow: 1;" />
|
||||
<uie:FloatField binding-path="PinkyStart" readonly="true" style="flex-grow: 0; flex-basis: 40px;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<uie:ObjectField label="Pose" binding-path="Pose" name="Pose" />
|
||||
<ui:VisualElement style="flex-direction: row; flex-grow: 1; flex-basis: auto; height: auto;">
|
||||
<ui:Slider name="Weight" label="Weight" binding-path="Weight" high-value="1" style="flex-grow: 1; flex-basis: auto; flex-shrink: 1;" />
|
||||
<uie:FloatField binding-path="Weight" readonly="true" style="flex-grow: 0; flex-basis: 80px;" />
|
||||
</ui:VisualElement>
|
||||
<uie:FloatField label="Speed" value="1" binding-path="Speed" tooltip="Speed by deltaTime" name="Speed" />
|
||||
<uie:EnumFlagsField label="Mask" value="All" binding-path="Mask" />
|
||||
<uie:EnumField label="Type" binding-path="Type" name="Type" />
|
||||
<ui:VisualElement style="flex-direction: row; flex-grow: 0; flex-basis: auto;">
|
||||
<ui:TextField picking-mode="Ignore" label="Animation Parameter" binding-path="AnimationParameter" style="flex-grow: 1;" />
|
||||
</ui:VisualElement>
|
||||
<ui:Toggle label="Disabled" binding-path="Disabled" name="Disabled" />
|
||||
<ui:Toggle label="Button Parameter?" name="ButtonParameter" binding-path="ButtonParameter" />
|
||||
<uie:EnumField label="Button" value="Center" name="Button" binding-path="Button" />
|
||||
</ui:BindableElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 46265eae23883104a87445cdb934c90f
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,19 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
|
||||
<ui:Template name="HandSettingsTemplate" src="HVRHandSettingsEditor.uxml" />
|
||||
<ui:Box>
|
||||
<Style src="HVRHandPoserEditor.uss" />
|
||||
<ui:VisualElement style="flex-direction: row;">
|
||||
<ui:VisualElement name="Buttons" style="flex-direction: row; flex-grow: 1; width: 83px; flex-basis: 41px;">
|
||||
<ui:Button name="NewPose" text="New" />
|
||||
<ui:Button name="SaveAsPose" text="Save As" />
|
||||
<ui:Button name="SavePose" text="Save" />
|
||||
<ui:Button name="Preview" text="Preview Selected" style="width : 125px"/>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<uie:ObjectField label="Selected Pose" binding-path="SelectedPose" name="SelectedPose" style="flex-direction: row;" />
|
||||
<uie:EnumField label="MirrorAxis" value="X" name="MirrorAxis" binding-path="MirrorAxis" />
|
||||
<ui:VisualElement name="HandContainer" class="unity-box HandContainer">
|
||||
<ui:Toggle label="Preview Mirror" name="Preview" class="HandPreviewToggle" />
|
||||
</ui:VisualElement>
|
||||
</ui:Box>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c878c2004cc746c7a51051928cd83b8f
|
||||
timeCreated: 1597519215
|
||||
@@ -0,0 +1,71 @@
|
||||
#Buttons {
|
||||
width: auto;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
#EditButtons {
|
||||
width: auto;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
#SelectedPose {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#PreviewButtons {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
Button {
|
||||
width: 75px;
|
||||
}
|
||||
|
||||
.primarypose {
|
||||
}
|
||||
|
||||
#SelectedPoseRow {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#ActivePose {
|
||||
flex-grow: 2;
|
||||
}
|
||||
|
||||
.HandContainer {
|
||||
height: auto;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.HandLabel {
|
||||
border-left-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
flex-direction: row;
|
||||
flex-grow: 0;
|
||||
flex-basis: 20px;
|
||||
}
|
||||
|
||||
.HandMirrorButton {
|
||||
flex-grow: 0;
|
||||
flex-basis: 26px;
|
||||
width: -5px;
|
||||
}
|
||||
|
||||
.HandPreviewToggle {
|
||||
margin-top: 3px;
|
||||
flex-grow: 0;
|
||||
flex-basis: 15px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.HandsContainer {
|
||||
flex-direction: row;
|
||||
flex-grow: 1;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 439c386fb2511b442aca177bd48ae754
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,26 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
|
||||
<ui:Template name="HandSettingsTemplate" src="HVRHandSettingsEditor.uxml" />
|
||||
<ui:Template name="BlendEditorTemplate" src="HVRBlendEditor.uxml" />
|
||||
<ui:Box>
|
||||
<Style src="HVRHandPoserEditor.uss" />
|
||||
<ui:VisualElement style="flex-direction: row; flex-shrink: 0;">
|
||||
<ui:VisualElement name="Buttons" style="flex-direction: column; flex-grow: 1; width: 83px; flex-basis: 41px;">
|
||||
<ui:Button name="AddBlendPose" text="Add" />
|
||||
<ui:Button name="DeleteBlendPose" text="Remove" />
|
||||
<ui:Button name="NewPose" text="New" />
|
||||
<ui:Button name="SaveAsPose" text="Save As" />
|
||||
<ui:Button name="SavePose" text="Save" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="PosesContainer" class="unity-box" style="flex-grow: 5;">
|
||||
<ui:Label text="Poses:" style="font-size: 19px; border-bottom-width: 3px; border-bottom-color: rgb(173, 173, 173);" />
|
||||
<ui:ListView name="Poses" style="flex-grow: 5;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="warning">
|
||||
<ui:Label text="Posing is not available while in Prefab Mode." style="height: 46px; color: rgb(217, 183, 9); -unity-font-style: bold; font-size: 20px; white-space: normal; margin-bottom: 10px;" />
|
||||
</ui:VisualElement>
|
||||
<uie:EnumField label="MirrorAxis" value="X" name="MirrorAxis" binding-path="MirrorAxis" />
|
||||
<ui:Instance template="HandSettingsTemplate" name="boxPreview" />
|
||||
<ui:Instance template="BlendEditorTemplate" />
|
||||
</ui:Box>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ee1b362ac4812234a88ce0fc8d995122
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,40 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
|
||||
<ui:VisualElement>
|
||||
<Style src="HVRHandPoserEditor.uss" />
|
||||
<ui:VisualElement name="lblAutoPoseWarning">
|
||||
<ui:Label text="Rigidbody detected, if dynamic posing doesn't work, remove it temporarily." style="font-size: 18px; color: rgb(250, 235, 20); flex-wrap: nowrap; margin-bottom: 10px; height: 50px; white-space: normal;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement class="HandsContainer">
|
||||
<ui:VisualElement name="LeftHandContainer" class="unity-box HandContainer">
|
||||
<ui:Label text="Left Hand:" class="HandLabel" />
|
||||
<ui:Toggle label="Preview" name="PreviewLeft" class="HandPreviewToggle" />
|
||||
<ui:Toggle label="Auto Pose" name="LeftAutoPose" class="HandPreviewToggle" />
|
||||
<ui:VisualElement style="flex-direction: row; flex-basis: 28px;">
|
||||
<ui:Button name="ButtonOpenLeft" text="Open" class="HandMirrorButton" style="flex-basis: auto; flex-grow: 1;" />
|
||||
<ui:Button name="ButtonCloseLeft" text="Close" class="HandMirrorButton" style="flex-grow: 1; flex-basis: auto;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement style="flex-direction: row; flex-basis: 28px;">
|
||||
<ui:Button name="ButtonMirrorRight" text="Mirror" class="HandMirrorButton" style="flex-basis: auto; flex-grow: 1;" />
|
||||
<ui:Button name="ButtonFocusLeft" text="Focus" class="HandMirrorButton" style="flex-grow: 1; flex-basis: auto;" />
|
||||
<ui:Button name="LeftExpand" text="+" class="HandMirrorButton" style="flex-grow: 1; flex-basis: auto;" />
|
||||
<ui:Button name="LeftCollapse" text="-" class="HandMirrorButton" style="flex-grow: 1; flex-basis: auto;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="RightHandContainer" class="unity-box HandContainer">
|
||||
<ui:Label text="Right Hand:" class="HandLabel" />
|
||||
<ui:Toggle label="Preview" name="PreviewRight" class="HandPreviewToggle" />
|
||||
<ui:Toggle label="Auto Pose" name="RightAutoPose" class="HandPreviewToggle" />
|
||||
<ui:VisualElement style="flex-direction: row; flex-basis: 28px;">
|
||||
<ui:Button name="ButtonOpenRight" text="Open" class="HandMirrorButton" style="flex-basis: auto; flex-grow: 1;" />
|
||||
<ui:Button name="ButtonCloseRight" text="Close" class="HandMirrorButton" style="flex-grow: 1; flex-basis: auto;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement style="flex-direction: row; flex-basis: 28px; flex-wrap: wrap;">
|
||||
<ui:Button name="ButtonMirrorLeft" text="Mirror" class="HandMirrorButton" style="flex-basis: auto; flex-grow: 1;" />
|
||||
<ui:Button name="ButtonFocusRight" text="Focus" class="HandMirrorButton" style="flex-grow: 1; flex-basis: auto;" />
|
||||
<ui:Button name="RightExpand" text="+" class="HandMirrorButton" style="flex-grow: 1; flex-basis: auto;" />
|
||||
<ui:Button name="RightCollapse" text="-" class="HandMirrorButton" style="flex-grow: 1; flex-basis: auto;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b3909a95d4f9f714f82f11ed1843b432
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,29 @@
|
||||
.field-select-button {
|
||||
flex-basis: auto;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.poserow {
|
||||
flex-direction: row;
|
||||
min-height:20px;
|
||||
}
|
||||
|
||||
.poserow-button {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.poserow-field {
|
||||
flex-grow: 5;
|
||||
}
|
||||
|
||||
.pose-field {
|
||||
height : 20px
|
||||
}
|
||||
|
||||
.recorded-poses{
|
||||
flex-grow: 5; flex-basis: 300px
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 926c6e4191463d249a0fc1ed8b620773
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,61 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
|
||||
<ui:ScrollView name="ScrollView">
|
||||
<ui:Foldout text="Grabbable" name="GrabbableFoldout" class="unity-box">
|
||||
<ui:VisualElement name="Grabbable" class="unity-box" style="border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0;">
|
||||
<uie:Toolbar class="unity-box">
|
||||
<uie:ToolbarButton text="Set Selected" name="SetGrabbable" />
|
||||
<uie:ToolbarButton text="Focus" name="FocusGrabbable" />
|
||||
<uie:ToolbarButton text="Setup" name="SetupGrabbable" />
|
||||
<uie:ToolbarButton text="Populate GrabPoints" name="SetupGrabPoints" />
|
||||
<uie:ToolbarButton text="Expand" name="ExpandGrabbable" />
|
||||
<uie:ToolbarButton text="Collapse" name="CollapseGrabbable" />
|
||||
</uie:Toolbar>
|
||||
<ui:VisualElement class="unity-box" style="flex-direction: row;">
|
||||
<uie:ObjectField label="Grabbable" name="Grabbable" style="flex-grow: 1;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:Foldout>
|
||||
<ui:Foldout text="GrabPoints" name="GrabPoints" class="unity-box">
|
||||
<uie:Toolbar class="unity-box" style="flex-basis: 20px;">
|
||||
<uie:ToolbarButton text="Set Selected" name="SetGrabPoints" />
|
||||
<uie:ToolbarButton text="Focus" name="FocusGrabPoints" />
|
||||
<uie:ToolbarButton text="Setup" name="AddGrabPoints" />
|
||||
<uie:ToolbarButton text="Add" name="AddGrabPointButton" />
|
||||
<uie:ToolbarButton text="Expand" name="ExpandGrabPoints" />
|
||||
<uie:ToolbarButton text="Collapse" name="CollapseGrabPoints" />
|
||||
</uie:Toolbar>
|
||||
<ui:VisualElement class="unity-box">
|
||||
<ui:TextField picking-mode="Ignore" label="Recorded Pose Prefix:" name="RecordedPrefixTextBox" />
|
||||
<ui:VisualElement style="flex-direction: row;">
|
||||
<uie:ObjectField label="GrabPoints" name="GrabPointsObject" style="flex-grow: 1;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:Foldout>
|
||||
<ui:Foldout text="Poser" name="PoserFoldout" class="unity-box">
|
||||
<ui:VisualElement>
|
||||
<uie:Toolbar class="unity-box" style="flex-basis: 20px;">
|
||||
<uie:ToolbarButton text="Set Selected" name="SetPoser" />
|
||||
<uie:ToolbarButton text="Focus" name="FocusPoser" />
|
||||
<uie:ToolbarButton text="Setup" name="AddPoser" />
|
||||
</uie:Toolbar>
|
||||
<ui:VisualElement class="unity-box" style="flex-direction: row;">
|
||||
<uie:ObjectField label="HandPoser" name="VRHandPoser" style="flex-grow: 1;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:Foldout>
|
||||
<ui:Foldout text="Recorded Poses" name="RecordedPosesFoldout" class="unity-box" style="flex-direction: column; flex-grow: 1;">
|
||||
<ui:VisualElement style="flex-direction: column; flex-grow: 1;">
|
||||
<uie:Toolbar class="unity-box" style="flex-basis: 20px;">
|
||||
<uie:ToolbarButton text="Load Poses" name="LoadPoses" />
|
||||
<uie:ToolbarButton text="Setup" name="AddPoser" />
|
||||
</uie:Toolbar>
|
||||
<ui:VisualElement class="unity-box" style="flex-direction: column; flex-grow: 1;">
|
||||
<ui:VisualElement name="RecordedPosesContainer" class="recorded-poses">
|
||||
<ui:Label text="Poses:" style="font-size: 19px; border-bottom-width: 3px; border-bottom-color: rgb(173, 173, 173);" />
|
||||
<ui:ScrollView name="RecordedPoses" style="flex-grow: 5;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:Foldout>
|
||||
</ui:ScrollView>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d7ffb88ae90c7734189abb93a861f93b
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,13 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
|
||||
<ui:Foldout text="Tools">
|
||||
<Style src="HVRHandPoserEditor.uss" />
|
||||
<uie:Toolbar style="flex-direction: row;">
|
||||
<uie:ToolbarButton text="Setup" name="SetupButton" style="padding-left: 6px; padding-right: 6px;" />
|
||||
<uie:ToolbarButton text="Open" name="ResetButton" style="padding-left: 6px; padding-right: 6px;" />
|
||||
<uie:ToolbarButton text="Close" name="SimulateButton" />
|
||||
<uie:ToolbarButton text="Next Finger" name="NextFingerButton" />
|
||||
<uie:ToolbarButton text="+" name="StepButton" />
|
||||
<uie:ToolbarButton text="-" name="StepBackButton" />
|
||||
</uie:Toolbar>
|
||||
</ui:Foldout>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b91c6b2ef78b483a8eb24c7feb9b729f
|
||||
timeCreated: 1597727626
|
||||
@@ -0,0 +1,31 @@
|
||||
.button {
|
||||
width: 50%;
|
||||
-unity-text-align: upper-center;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-left: 25%;
|
||||
margin-right: 25%;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.buttonHeader {
|
||||
-unity-text-align: upper-center;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 7px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.docs-button {
|
||||
width: auto;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
max-width: none;
|
||||
min-width: auto;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
-unity-text-align: upper-left;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3360967efa8b94c428cdb0d6af79e902
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,69 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
|
||||
<ui:VisualElement style="flex-direction: row; flex-grow: 1;">
|
||||
<Style src="HVRSetupWindow.uss" />
|
||||
<ui:VisualElement style="width: 200px; min-width: 200px;">
|
||||
<ui:Label text="Documentation" />
|
||||
<ui:Button text="Manual" name="btnDocs" class="docs-button" />
|
||||
<ui:Button text="Project Setup" name="btnSetup" class="docs-button" />
|
||||
<ui:Button text="Hand Grabber" name="btnHandGrabber" class="docs-button" />
|
||||
<ui:Button text="Grabbable w/ Pose" name="BtnTutBasicGrabbable" class="tutorial-button docs-button" />
|
||||
<ui:Button text="Sockets" name="btnSockets" class="docs-button" />
|
||||
<ui:Button text="FinalIK (VRIK)" name="BtnVRIKSetup" class="docs-button" />
|
||||
<ui:Button text="Custom Hand Setup" name="btnCustomHand" class="docs-button" />
|
||||
<ui:Button text="Door Setup" name="btnDoorSetup" class="docs-button" />
|
||||
<ui:Label text="Other" style="padding-top: 12px;" />
|
||||
<ui:Button text="Discord Server" name="btnDiscord" class="docs-button" />
|
||||
</ui:VisualElement>
|
||||
<ui:ScrollView style="width: 600px; min-width: 600px;">
|
||||
<ui:VisualElement>
|
||||
<uie:Toolbar style="flex-direction: row; flex-basis: 31px; flex-grow: 0; -unity-text-align: middle-center;">
|
||||
<uie:ToolbarButton text="Release Notes" name="BtnReleaseNotes" />
|
||||
<uie:ToolbarButton text="Project Setup" name="BtnProjectSetup" />
|
||||
<uie:ToolbarButton text="About" name="BtnAbout" />
|
||||
</uie:Toolbar>
|
||||
<ui:VisualElement name="AboutPanel">
|
||||
<ui:VisualElement class="unity-box">
|
||||
<ui:Label text="HurricaneVR is developed by a single developer. If you would like to support the ongoing development of this asset, please consider showing your support below." class="buttonHeader" />
|
||||
<ui:Button text="Leave A Review" name="BtnReview" class="button" />
|
||||
<ui:Button text="Kofi" name="BtnKofi" class="button" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="ReleaseNotesPanel">
|
||||
<ui:TextElement picking-mode="Ignore" label="Text Field" value="filler text" name="TxtReleaseNotes" multiline="true" readonly="true" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="ProjectSetupPanel">
|
||||
<ui:VisualElement class="unity-box">
|
||||
<ui:Label text="If this is a new project or you need your layers setup. Information about the outcome is visible in the console window." class="buttonHeader" />
|
||||
<ui:Button text="Setup Layers" name="BtnSetupLayers" class="button" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement class="unity-box">
|
||||
<ui:Label text="Applies Suggested Physics Settings" class="buttonHeader" />
|
||||
<ui:Button text="Setup Physics Settings" name="BtnSetupPhysics" class="button" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement class="unity-box">
|
||||
<ui:Label class="buttonHeader" />
|
||||
<ui:Button text="Setup Collision Matrix" name="BtnSetupMatrix" class="button" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement class="unity-box">
|
||||
<ui:Label text="SteamVR Integration For PCVR Devices If Not Using OpenXR" class="buttonHeader" />
|
||||
<ui:VisualElement style="flex-direction: row;">
|
||||
<ui:Button text="Extract" name="BtnExtractSteamVR" style="flex-grow: 1;" />
|
||||
<ui:Button text="Enable" name="BtnEnableSteamVR" style="flex-grow: 1;" />
|
||||
<ui:Button text="Disable" name="BtnDisableSteamVR" style="flex-grow: 1;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:Label text="Optional (only for OVRInputs) Requires Oculus Store Asset Oculus Integration Define Symbol" class="buttonHeader" />
|
||||
<ui:VisualElement class="unity-box">
|
||||
<ui:VisualElement style="flex-direction: row;">
|
||||
<ui:Button text="Extract" name="BtnExtractOculus" style="flex-grow: 1;" />
|
||||
<ui:Button text="Enable" name="BtnEnableOculus" style="flex-grow: 1;" />
|
||||
<ui:Button text="Disable" name="BtnDisableOculus" style="flex-grow: 1;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="DebugPanel" />
|
||||
<ui:VisualElement name="btnRig" text="Setup" />
|
||||
</ui:VisualElement>
|
||||
</ui:ScrollView>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 97609205b3a676f4eb89637978043316
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
Reference in New Issue
Block a user