UI 자동화를 위해 바인딩 기능 구현
- 유니티 에셋 인증 오류로 meta 재생성
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<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="True">
|
||||
<ui:VisualElement name="item-row" class="unity-list-view__item" style="flex-direction: column; flex-grow: 1; justify-content: center; margin-left: 4px;">
|
||||
<ui:VisualElement name="row" style="flex-direction: row; border-left-width: 0; border-left-color: rgb(89, 89, 89);">
|
||||
<ui:Toggle name="expando" class="unity-foldout__toggle" style="visibility: hidden; margin-left: 3px;" />
|
||||
<ui:VisualElement name="icon" style="justify-content: center; background-image: url('project://database/Packages/com.unity.inputsystem/InputSystem/Editor/Icons/d_InputControl.png?fileID=2800000&guid=399cd90f4e31041e692a7d3a8b1aa4d0&type=3#d_InputControl'); width: 16px; height: 16px;" />
|
||||
<ui:Label text="binding-name" display-tooltip-when-elided="true" name="name" style="flex-grow: 1; justify-content: center; align-items: stretch; margin-left: 4px; -unity-font-style: normal;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 449c8e5ca27af8e4a9db710c8be5e4df
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,5 @@
|
||||
<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="True">
|
||||
<ui:VisualElement>
|
||||
<ui:DropdownField label="Composite Type" index="-1" choices="System.Collections.Generic.List`1[System.String]" name="composite-type-dropdown" tooltip="Type of composite. Allows changing the composite type retroactively. Doing so will modify the bindings that are part of the composite." />
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2bd2d0548382d58489e8c2999daf4139
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,6 @@
|
||||
<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="True">
|
||||
<ui:VisualElement>
|
||||
<ui:IMGUIContainer name="path-editor-container" />
|
||||
<ui:DropdownField label="Composite Part" index="-1" choices="System.Collections.Generic.List`1[System.String]" name="composite-part-dropdown" tooltip="The named part of the composite that the binding is assigned to. Multiple bindings may be assigned the same part. All controls from all bindings that are assigned the same part will collectively feed values into that part of the composite." />
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: acfae125fa5d7904987a696b3993d432
|
||||
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" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
||||
<ui:VisualElement>
|
||||
<ui:VisualElement name="SchemeName">
|
||||
<ui:TextField picking-mode="Ignore" label="Scheme Name" value="New control scheme" text="New Control Scheme" name="control-scheme-name" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement style="flex-direction: row; flex-grow: 0;">
|
||||
<ui:MultiColumnListView focusable="true" reorderable="true" show-foldout-header="false" show-add-remove-footer="true" reorder-mode="Animated" show-border="true" show-bound-collection-size="false" name="control-schemes-list-view" show-alternating-row-backgrounds="ContentOnly" style="flex-grow: 1;">
|
||||
<ui:Columns>
|
||||
<ui:Column name="device-type" title="Device Type" width="250" resizable="false" sortable="false" />
|
||||
<ui:Column name="required" title="Required" width="70" resizable="false" sortable="false" />
|
||||
</ui:Columns>
|
||||
</ui:MultiColumnListView>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement style="flex-direction: row; align-items: stretch; justify-content: space-around;">
|
||||
<ui:Button text="Cancel" display-tooltip-when-elided="true" name="cancel-button" style="flex-grow: 1;" />
|
||||
<ui:Button text="Save" display-tooltip-when-elided="true" name="save-button" style="flex-grow: 1;" />
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 303ef5b13740f9a4db252c50122d2c62
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,10 @@
|
||||
<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/Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/PackageResources/InputActionsEditorStyles.uss?fileID=7433441132597879392&guid=7dac9c49a90bca4499371d0adc9b617b&type=3#InputActionsEditorStyles" />
|
||||
<ui:VisualElement name="item-row" class="unity-list-view__item" style="flex-direction: row; flex-grow: 1; justify-content: space-between; margin-left: 4px; flex-shrink: 0;">
|
||||
<ui:VisualElement name="row" style="flex-direction: row; border-left-width: 0; border-left-color: rgb(89, 89, 89); justify-content: flex-start; align-items: center;">
|
||||
<ui:TextField picking-mode="Ignore" name="rename-text-field" is-delayed="true" focusable="true" class="unity-input-actions-editor-hidden" style="visibility: visible; flex-shrink: 1;" />
|
||||
<ui:Label text="binding-name" display-tooltip-when-elided="true" name="name" style="flex-grow: 1; justify-content: center; align-items: stretch; margin-left: 4px; -unity-font-style: normal;" />
|
||||
</ui:VisualElement>
|
||||
<ui:Button text="+" display-tooltip-when-elided="true" enable-rich-text="false" name="add-new-binding-button" style="opacity: 1; background-color: rgba(255, 255, 255, 0); border-left-color: rgba(255, 255, 255, 0); border-right-color: rgba(255, 255, 255, 0); border-top-color: rgba(255, 255, 255, 0); border-bottom-color: rgba(255, 255, 255, 0); display: none; align-items: flex-end; align-self: auto; flex-direction: row-reverse;" />
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3fa44185ed614414ebab354dfe5a06b6
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,60 @@
|
||||
<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="True">
|
||||
<Style src="project://database/Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/PackageResources/InputActionsEditorStyles.uss?fileID=7433441132597879392&guid=7dac9c49a90bca4499371d0adc9b617b&type=3#InputActionsEditorStyles" />
|
||||
<ui:VisualElement name="action-editor" style="flex-direction: column; flex-grow: 1;">
|
||||
<ui:VisualElement name="control-schemes-toolbar-container">
|
||||
<uie:Toolbar>
|
||||
<ui:VisualElement style="flex-direction: row; flex-grow: 1;">
|
||||
<uie:ToolbarMenu display-tooltip-when-elided="true" text="No Control Schemes" name="control-schemes-toolbar-menu" style="min-width: 135px;" />
|
||||
<uie:ToolbarMenu display-tooltip-when-elided="true" text="All Devices" enabled="false" name="control-schemes-filter-toolbar-menu" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement>
|
||||
<uie:ToolbarSearchField focusable="true" name="search-actions-text-field" class="search-field" style="display: none;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="save-asset-toolbar-container" style="flex-direction: row; justify-content: flex-end;">
|
||||
<uie:ToolbarButton text="Save Asset" display-tooltip-when-elided="true" name="save-asset-toolbar-button" style="align-items: auto;" />
|
||||
<uie:ToolbarToggle focusable="false" label="Auto-Save" name="auto-save-toolbar-toggle" style="width: 69px;" />
|
||||
</ui:VisualElement>
|
||||
</uie:Toolbar>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="body" style="flex-direction: column; flex-grow: 1;">
|
||||
<ui:TwoPaneSplitView name="actions-split-view" fixed-pane-initial-dimension="200" view-data-key="actions-editor-splitter-1">
|
||||
<ui:VisualElement name="action-maps-container" class="body-panel-container actions-container">
|
||||
<ui:VisualElement name="header" class="body-panel-header">
|
||||
<ui:Label text="Action Maps" display-tooltip-when-elided="true" style="flex-grow: 1;" />
|
||||
<ui:Button text="+" display-tooltip-when-elided="true" name="add-new-action-map-button" style="align-items: auto;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="body">
|
||||
<ui:ListView focusable="true" name="action-maps-list-view" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="rclick-area-to-add-new-action-map" style="flex-direction: column; flex-grow: 1;" />
|
||||
</ui:VisualElement>
|
||||
<ui:TwoPaneSplitView name="actions-and-properties-split-view" fixed-pane-index="1" fixed-pane-initial-dimension="320" style="height: auto; min-width: 450px;" view-data-key="actions-editor-splitter-2">
|
||||
<ui:VisualElement name="actions-container" class="body-panel-container">
|
||||
<ui:VisualElement name="header" class="body-panel-header" style="justify-content: space-between;">
|
||||
<ui:Label text="Actions" display-tooltip-when-elided="true" name="actions-label" />
|
||||
<ui:Button text="+" display-tooltip-when-elided="true" name="add-new-action-button" style="align-items: auto;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="body">
|
||||
<ui:TreeView view-data-key="unity-tree-view" focusable="true" name="actions-tree-view" show-border="false" reorderable="true" show-alternating-row-backgrounds="None" fixed-item-height="20" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="rclick-area-to-add-new-action" style="flex-direction: column; flex-grow: 1;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="properties-container" class="body-panel-container body-panel-container" style="min-width: 310px;">
|
||||
<ui:VisualElement name="header" class="body-panel-header">
|
||||
<ui:Label text="Action Properties" display-tooltip-when-elided="true" name="properties-header-label" />
|
||||
</ui:VisualElement>
|
||||
<ui:ScrollView name="properties-scrollview">
|
||||
<ui:Foldout text="Action Properties" name="properties-foldout" class="properties-foldout" />
|
||||
<ui:Foldout text="Interactions" name="interactions-foldout" class="properties-foldout name-and-parameters-list-view">
|
||||
<ui:Label text="No interactions have been added." name="no-parameters-added-label" display-tooltip-when-elided="true" class="name-and-parameter-empty-label" style="display: flex;" />
|
||||
</ui:Foldout>
|
||||
<ui:Foldout text="Processors" name="processors-foldout" class="properties-foldout name-and-parameters-list-view">
|
||||
<ui:Label text="No processors have been added." name="no-parameters-added-label" display-tooltip-when-elided="true" class="name-and-parameter-empty-label" />
|
||||
</ui:Foldout>
|
||||
</ui:ScrollView>
|
||||
</ui:VisualElement>
|
||||
</ui:TwoPaneSplitView>
|
||||
</ui:TwoPaneSplitView>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c662e0d3cc3c4f948808f9847f715ef2
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,204 @@
|
||||
.unity-input-actions-editor-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.asset-menu-button-dark-theme {
|
||||
background-image: resource('d__Menu.png');
|
||||
}
|
||||
|
||||
.asset-menu-button {
|
||||
background-image: resource('_Menu.png');
|
||||
-unity-background-scale-mode: scale-to-fit;
|
||||
}
|
||||
|
||||
.body-panel-container {
|
||||
min-width: 150px;
|
||||
border-right-width: 0;
|
||||
}
|
||||
|
||||
#actions-container {
|
||||
min-width: 225px;
|
||||
}
|
||||
|
||||
#selected-action-map-dropdown > .unity-popup-field__input {
|
||||
-unity-font-style: normal;
|
||||
}
|
||||
|
||||
#add-new-action-map-button {
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
#add-new-action-button {
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
#bindings-container {
|
||||
min-width: 225px;
|
||||
border-left-width: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.add-interaction-processor-button {
|
||||
padding-top: 0;
|
||||
font-size: 12px;
|
||||
border-width: 0;
|
||||
background-color: transparent;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.header {
|
||||
height: 22px;
|
||||
flex-direction: row;
|
||||
margin-left: 10px;
|
||||
margin-right: 7px;
|
||||
margin-top: 1px;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
|
||||
.header-label {
|
||||
font-size: 19px;
|
||||
-unity-font-style: bold;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: auto;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.header-search-box {
|
||||
justify-content: flex-start;
|
||||
position: relative;
|
||||
right: auto;
|
||||
width: 171px;
|
||||
border-left-color: rgb(23, 23, 23);
|
||||
border-right-color: rgb(23, 23, 23);
|
||||
border-top-color: rgb(23, 23, 23);
|
||||
border-bottom-color: rgb(23, 23, 23);
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
margin-top: 1px;
|
||||
margin-bottom: 1px;
|
||||
align-items: auto;
|
||||
padding-top: 7px;
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
|
||||
.tree-view-item-icon{
|
||||
justify-content: center;
|
||||
background-image: resource('Packages/com.unity.inputsystem/InputSystem/Editor/Icons/d_InputControl.png');
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.body-panel-header {
|
||||
background-color: var(--unity-colors-toolbar-background);
|
||||
border-bottom-color: var(--unity-colors-toolbar-border);
|
||||
flex-direction: row;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding-left: 5px;
|
||||
padding-right: 3px;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
border-bottom-width: 1px;
|
||||
height: 28px;
|
||||
min-height: 28px;
|
||||
font-size: 14px;
|
||||
-unity-font-style: bold;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
-unity-text-align: middle-left;
|
||||
}
|
||||
|
||||
.properties-foldout {
|
||||
margin: 0;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.properties-foldout-toggle {
|
||||
background-color: var(--input-editor-colors-properties-foldout);
|
||||
}
|
||||
|
||||
.name-and-parameter-empty-label {
|
||||
margin-top: 5px;
|
||||
font-size: 12px;
|
||||
color: rgb(130, 130, 130);
|
||||
}
|
||||
|
||||
.name-and-parameters-list-foldout {
|
||||
}
|
||||
|
||||
.name-and-parameters-list-view .name-and-parameters-list-foldout-button {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background-color: transparent;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
.name-and-parameters-list-view .open-settings-button {
|
||||
width: 120px;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.float-field {
|
||||
width: 50px;
|
||||
display: initial;
|
||||
}
|
||||
|
||||
.name-and-parameters-list-view .up {
|
||||
background-image: resource('Packages/com.unity.inputsystem/InputSystem/Editor/Icons/ChevronUp.png');
|
||||
}
|
||||
|
||||
.name-and-parameters-list-view .upDarkTheme {
|
||||
background-image: resource('Packages/com.unity.inputsystem/InputSystem/Editor/Icons/d_ChevronUp.png');
|
||||
}
|
||||
|
||||
.name-and-parameters-list-view .down {
|
||||
background-image: resource('Packages/com.unity.inputsystem/InputSystem/Editor/Icons/ChevronDown.png');
|
||||
}
|
||||
|
||||
.name-and-parameters-list-view .downDarkTheme {
|
||||
background-image: resource('Packages/com.unity.inputsystem/InputSystem/Editor/Icons/d_ChevronDown.png');
|
||||
}
|
||||
|
||||
.name-and-parameters-list-view .delete {
|
||||
background-image: resource('Toolbar Minus.png');
|
||||
}
|
||||
|
||||
.name-and-parameters-list-view .deleteDarkTheme {
|
||||
background-image: resource('d_Toolbar Minus.png');
|
||||
}
|
||||
|
||||
.add-binging-button-dark-theme {
|
||||
background-image: resource('d_Toolbar Plus More.png');
|
||||
-unity-background-scale-mode: scale-to-fit;
|
||||
}
|
||||
|
||||
.add-binging-button {
|
||||
background-image: resource('Toolbar Plus More.png');
|
||||
-unity-background-scale-mode: scale-to-fit;
|
||||
}
|
||||
|
||||
.search-field {
|
||||
display: none;
|
||||
width: 190px;
|
||||
}
|
||||
|
||||
#control-scheme-usage-title {
|
||||
margin: 3px;
|
||||
-unity-font-style: bold;
|
||||
}
|
||||
|
||||
.matching-controls {
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.matching-controls-labels {
|
||||
margin: 1px;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7dac9c49a90bca4499371d0adc9b617b
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,14 @@
|
||||
<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="True">
|
||||
<Style src="project://database/Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/PackageResources/InputActionsEditorStyles.uss?fileID=7433441132597879392&guid=7dac9c49a90bca4499371d0adc9b617b&type=3#InputActionsEditorStyles" />
|
||||
<ui:VisualElement name="header" class="header">
|
||||
<ui:Label text="Input Actions" display-tooltip-when-elided="true" name="title-label" class="header-label" />
|
||||
<ui:VisualElement name="asset-menu" style="flex-grow: 0; background-color: rgba(0, 0, 0, 0); width: 16px; flex-shrink: 0; -unity-background-scale-mode: scale-to-fit;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="current-asset-section">
|
||||
<uie:ObjectField name="current-asset" type="UnityEngine.InputSystem.InputActionAsset, Unity.InputSystem" label="Project-wide Actions" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="missing-asset-section">
|
||||
<ui:HelpBox text="Actions for the Input System are stored in an Action Asset. You can assign an Action Asset as project-wide in the field above to make them accessible directly through the InputSystem.actions API. Click the button below to create a new Action Asset containing default actions, which will be assigned as project-wide." message-type="Info"/>
|
||||
<ui:Button text="Create and assign a default project-wide Action Asset" name="create-asset"/>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 75a33987e21d5ac449deecea3dcd864f
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,11 @@
|
||||
<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/Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/PackageResources/InputActionsEditorStyles.uss?fileID=7433441132597879392&guid=7dac9c49a90bca4499371d0adc9b617b&type=3#InputActionsEditorStyles" />
|
||||
<ui:VisualElement name="item-row" class="unity-list-view__item" style="flex-direction: row; flex-grow: 1; justify-content: space-between; margin-left: 4px; flex-shrink: 0;">
|
||||
<ui:VisualElement name="row" style="flex-direction: row; border-left-width: 0; border-left-color: rgb(89, 89, 89); justify-content: flex-start; align-items: center;">
|
||||
<ui:VisualElement name="icon" class="tree-view-item-icon" style="height: 19px; -unity-background-scale-mode: scale-to-fit;" />
|
||||
<ui:TextField picking-mode="Ignore" name="rename-text-field" is-delayed="true" focusable="true" class="unity-input-actions-editor-hidden" style="visibility: visible; flex-shrink: 1;" />
|
||||
<ui:Label text="binding-name" display-tooltip-when-elided="true" name="name" style="flex-grow: 1; flex-shrink: 1; justify-content: center; align-items: stretch; margin-left: 4px; -unity-font-style: normal;" />
|
||||
</ui:VisualElement>
|
||||
<ui:Button display-tooltip-when-elided="true" enable-rich-text="false" name="add-new-binding-button" style="opacity: 1; background-color: rgba(255, 255, 255, 0); border-left-color: rgba(255, 255, 255, 0); border-right-color: rgba(255, 255, 255, 0); border-top-color: rgba(255, 255, 255, 0); border-bottom-color: rgba(255, 255, 255, 0); display: none; align-items: flex-end; align-self: auto; flex-direction: row-reverse; margin-right: 6px;" />
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 452df07a8ad0c944c879a484d5890e61
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,4 @@
|
||||
:root {
|
||||
--input-editor-colors-properties-foldout: rgb(34, 34, 34);
|
||||
--input-editor-colors-properties-foldout-border: #808080;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cca9ce0c8554d5244930f14c21489ac1
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,4 @@
|
||||
:root {
|
||||
--input-editor-colors-properties-foldout: #DFDFDF;
|
||||
--input-editor-colors-properties-foldout-border: #808080;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e7024ed0fd03984289320d04507bc0c
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,6 @@
|
||||
<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="True">
|
||||
<Style src="project://database/Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/PackageResources/InputActionsEditorStyles.uss?fileID=7433441132597879392&guid=7dac9c49a90bca4499371d0adc9b617b&type=3#InputActionsEditorStyles" />
|
||||
<ui:VisualElement style="margin-bottom: 0; border-bottom-width: 1px; padding-bottom: 5px;">
|
||||
<ui:Foldout text="Foldout" name="Foldout" value="true" class="name-and-parameters-list-foldout" style="align-items: stretch;" />
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9cbd73d51dc491b4888055ae65cd9545
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
Reference in New Issue
Block a user