first commit
This commit is contained in:
8
Assets/Core/Networking.meta
Normal file
8
Assets/Core/Networking.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eb39f799f5942e144bc38fc10af7d61f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
16
Assets/Core/Networking/DefaultNetworkPrefabs.asset
Normal file
16
Assets/Core/Networking/DefaultNetworkPrefabs.asset
Normal file
@@ -0,0 +1,16 @@
|
||||
%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: 11500000, guid: e651dbb3fbac04af2b8f5abf007ddc23, type: 3}
|
||||
m_Name: DefaultNetworkPrefabs
|
||||
m_EditorClassIdentifier:
|
||||
IsDefault: 1
|
||||
List: []
|
||||
8
Assets/Core/Networking/DefaultNetworkPrefabs.asset.meta
Normal file
8
Assets/Core/Networking/DefaultNetworkPrefabs.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7b7088a2536c57e40bcf7ddddeac4dce
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Core/Rendering.meta
Normal file
8
Assets/Core/Rendering.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a8894c0add3c8924b9b1ff16d22a75ae
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Core/Rendering/URP Assets.meta
Normal file
8
Assets/Core/Rendering/URP Assets.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7100261ad038920408a0eccdc673330e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Core/UI.meta
Normal file
8
Assets/Core/UI.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c2cd5d6f85e7b9a42a1c75d275092613
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Core/UI/Editor.meta
Normal file
8
Assets/Core/UI/Editor.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c97be309d6141ab4b9aa18e18ddee035
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Core/UI/Editor/Graphics.meta
Normal file
8
Assets/Core/UI/Editor/Graphics.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dada185529eccfc45bfa55f099a00136
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Core/UI/Editor/Graphics/EditorRsc-Vector2Graph.png
Normal file
BIN
Assets/Core/UI/Editor/Graphics/EditorRsc-Vector2Graph.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
117
Assets/Core/UI/Editor/Graphics/EditorRsc-Vector2Graph.png.meta
Normal file
117
Assets/Core/UI/Editor/Graphics/EditorRsc-Vector2Graph.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 86e57470e4f0e904ebd93d52cb02fe36
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
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: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Core/UI/Editor/Layouts.meta
Normal file
8
Assets/Core/UI/Editor/Layouts.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6c4147f1e24d14547aed6f4a1f1ed043
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Core/UI/Editor/Layouts/Common.meta
Normal file
8
Assets/Core/UI/Editor/Layouts/Common.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4153d5495ff191f4ca0222ce5154a057
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
<engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
||||
<Style src="project://database/Assets/Core/UI/Editor/Stylesheets/WildsEditors.uss?fileID=7433441132597879392&guid=a6bd99e5b08b3de4190806c83ae5dfff&type=3#WildsEditors" />
|
||||
<engine:VisualElement style="flex-grow: 0; padding-top: 4px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px;">
|
||||
<engine:VisualElement style="flex-grow: 1; background-color: rgba(65, 65, 65, 0.98); padding-top: 6px; padding-right: 6px; padding-bottom: 6px; padding-left: 6px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;">
|
||||
<engine:Foldout text="Default Inspector " name="DefaultFoldout" style="padding-top: 10px; padding-right: 20px; padding-bottom: 5px; padding-left: 20px;" />
|
||||
</engine:VisualElement>
|
||||
</engine:VisualElement>
|
||||
</engine:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c85834aad99ee874aa0341f781e998fa
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
19
Assets/Core/UI/Editor/Layouts/Common/Vector2DGraph.uxml
Normal file
19
Assets/Core/UI/Editor/Layouts/Common/Vector2DGraph.uxml
Normal file
@@ -0,0 +1,19 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="True">
|
||||
<Style src="project://database/Assets/Core/UI/Editor/Stylesheets/WildsEditors.uss?fileID=7433441132597879392&guid=a6bd99e5b08b3de4190806c83ae5dfff&type=3#WildsEditors" />
|
||||
<ui:VisualElement name="Vector2DViewer" class="analogGraph" style="height: 336px;">
|
||||
<ui:VisualElement name="Background" style="position: absolute;" />
|
||||
<ui:VisualElement name="GraphContainer" style="flex-grow: 1; position: absolute; width: 100%; height: 100%; padding-top: 6px; padding-right: 6px; padding-bottom: 6px; padding-left: 6px;">
|
||||
<ui:VisualElement name="Graph" style="flex-grow: 1; background-image: url("project://database/Assets/Core/UI/Editor/Graphics/EditorRsc-Vector2Graph.png?fileID=2800000&guid=86e57470e4f0e904ebd93d52cb02fe36&type=3#EditorRsc-Vector2Graph"); -unity-background-image-tint-color: rgba(143, 153, 255, 0.38); background-color: rgba(17, 3, 3, 0.03);" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="Vector2DCursor" focusable="true" style="flex-grow: 1; justify-content: center; padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px;">
|
||||
<ui:VisualElement name="CursorCenter" style="flex-grow: 0; position: relative; width: 50%; height: 50%; flex-direction: row; justify-content: center; align-items: center; flex-shrink: 0; align-self: center; align-content: center;">
|
||||
<ui:VisualElement name="Cursor" style="position: relative; top: 0; left: 0;">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="style.top" data-source-path="y" binding-mode="ToTarget" source-to-ui-converters="Normalized to Percent (Inverted)" data-source-type="UnityEngine.Vector2, UnityEngine.CoreModule" />
|
||||
<ui:DataBinding property="style.left" data-source-path="y" binding-mode="ToTarget" source-to-ui-converters="Normalized to Percent" data-source-type="UnityEngine.Vector2, UnityEngine.CoreModule" />
|
||||
</Bindings>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
10
Assets/Core/UI/Editor/Layouts/Common/Vector2DGraph.uxml.meta
Normal file
10
Assets/Core/UI/Editor/Layouts/Common/Vector2DGraph.uxml.meta
Normal file
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3e1f23ecea0e1984d919c4487e654c8f
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
8
Assets/Core/UI/Editor/Layouts/Player.meta
Normal file
8
Assets/Core/UI/Editor/Layouts/Player.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c91222387747c8244ae541778b3edc84
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,44 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="True">
|
||||
<Style src="project://database/Assets/Core/UI/Editor/Stylesheets/WildsEditors.uss?fileID=7433441132597879392&guid=a6bd99e5b08b3de4190806c83ae5dfff&type=3#WildsEditors" />
|
||||
<ui:VisualElement name="VisualElement" data-source-type="PlayerControls, Assembly-CSharp" style="flex-grow: 0; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; flex-direction: row;">
|
||||
<ui:VisualElement name="LeftStickInpputContainer" template="Vector2DViewer" style="flex-grow: 1;">
|
||||
<Style src="project://database/Assets/Core/UI/Editor/Stylesheets/WildsEditors.uss?fileID=7433441132597879392&guid=a6bd99e5b08b3de4190806c83ae5dfff&type=3#WildsEditors" />
|
||||
<ui:VisualElement name="Vector2DViewer" class="analogGraph">
|
||||
<ui:VisualElement name="Background" style="position: absolute;" />
|
||||
<ui:VisualElement name="GraphContainer" style="flex-grow: 1; position: absolute; width: 100%; height: 100%; padding-top: 6px; padding-right: 6px; padding-bottom: 6px; padding-left: 6px;">
|
||||
<ui:VisualElement name="Graph" style="flex-grow: 1; background-image: url("project://database/Assets/Core/UI/Editor/Graphics/EditorRsc-Vector2Graph.png?fileID=2800000&guid=86e57470e4f0e904ebd93d52cb02fe36&type=3#EditorRsc-Vector2Graph"); -unity-background-image-tint-color: rgba(143, 153, 255, 0.38); background-color: rgba(17, 3, 3, 0.03);" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="CursorContainer" style="flex-grow: 1; justify-content: center; padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px;">
|
||||
<ui:VisualElement name="CursorCenter" style="flex-grow: 0; position: relative; width: 50%; height: 50%; flex-direction: row; justify-content: center; align-items: center; flex-shrink: 0; align-self: center; align-content: center;">
|
||||
<ui:VisualElement name="Cursor" data-source-type="PlayerControls, Assembly-CSharp" enabled="true" style="position: relative; top: 0; left: 0;">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="style.top" binding-mode="ToTarget" source-to-ui-converters="Normalized to Percent (Inverted)" data-source-type="PlayerControls, Assembly-CSharp" data-source-path="rawMoveInput.y" />
|
||||
<ui:DataBinding property="style.left" data-source-path="rawMoveInput.x" binding-mode="ToTarget" source-to-ui-converters="Normalized to Percent" data-source-type="PlayerControls, Assembly-CSharp" />
|
||||
</Bindings>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="Spacer" style="flex-grow: 0; width: 10px;" />
|
||||
<ui:VisualElement template="Vector2DViewer" style="flex-grow: 1;">
|
||||
<Style src="project://database/Assets/Core/UI/Editor/Stylesheets/WildsEditors.uss?fileID=7433441132597879392&guid=a6bd99e5b08b3de4190806c83ae5dfff&type=3#WildsEditors" />
|
||||
<ui:VisualElement name="Vector2DViewer" class="analogGraph">
|
||||
<ui:VisualElement name="Background" style="position: absolute;" />
|
||||
<ui:VisualElement name="GraphContainer" style="flex-grow: 1; position: absolute; width: 100%; height: 100%; padding-top: 6px; padding-right: 6px; padding-bottom: 6px; padding-left: 6px;">
|
||||
<ui:VisualElement name="Graph" style="flex-grow: 1; background-image: url("project://database/Assets/Core/UI/Editor/Graphics/EditorRsc-Vector2Graph.png?fileID=2800000&guid=86e57470e4f0e904ebd93d52cb02fe36&type=3#EditorRsc-Vector2Graph"); -unity-background-image-tint-color: rgba(143, 153, 255, 0.38); background-color: rgba(17, 3, 3, 0.03);" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="CursorContainer" style="flex-grow: 1; justify-content: center; padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px;">
|
||||
<ui:VisualElement name="CursorCenter" style="flex-grow: 0; position: relative; width: 50%; height: 50%; flex-direction: row; justify-content: center; align-items: center; flex-shrink: 0; align-self: center; align-content: center;">
|
||||
<ui:VisualElement name="Cursor" data-source-type="UnityEngine.Vector2, UnityEngine.CoreModule" style="position: relative; top: 0; left: 0;">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="style.top" binding-mode="ToTarget" source-to-ui-converters="Normalized to Percent (Inverted)" data-source-type="PlayerControls, Assembly-CSharp" data-source-path="rawLookInput.y" />
|
||||
<ui:DataBinding property="style.left" data-source-path="rawLookInput.x" binding-mode="ToTarget" source-to-ui-converters="Normalized to Percent" data-source-type="PlayerControls, Assembly-CSharp" />
|
||||
</Bindings>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9a2992a2c5b670a45a9c379e22338521
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,168 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="True">
|
||||
<Style src="project://database/Assets/Core/UI/Editor/Stylesheets/WildsEditors.uss?fileID=7433441132597879392&guid=a6bd99e5b08b3de4190806c83ae5dfff&type=3#WildsEditors" />
|
||||
<Style src="project://database/Assets/Core/UI/Editor/Stylesheets/PlayerMovementStyles.uss?fileID=7433441132597879392&guid=184c6057804f222428c94a16d4412e0c&type=3#PlayerMovementStyles" />
|
||||
<ui:VisualElement style="flex-grow: 1; padding-bottom: 1px;">
|
||||
<ui:Foldout text="Sprinting" data-source-type="PlayerMovement, Assembly-CSharp" class="sectionFoldout">
|
||||
<ui:VisualElement name="VisualElement" class="statusViewer active" style="background-color: rgb(46, 46, 46);">
|
||||
<ui:Label text="Sprinting" style="padding-right: 10px; padding-bottom: 5px; padding-top: 5px; padding-left: 10px;" />
|
||||
<Bindings>
|
||||
<ui:DataBinding property="style.backgroundColor" data-source-path="sprinting" binding-mode="ToTarget" source-to-ui-converters="Bool to Color" />
|
||||
</Bindings>
|
||||
</ui:VisualElement>
|
||||
</ui:Foldout>
|
||||
<ui:Foldout text="Gravity & Jumping" toggle-on-label-click="true" data-source-type="PlayerMovement, Assembly-CSharp" name="Foldout" class="sectionFoldout" style="width: auto;">
|
||||
<ui:FloatField label="Gravity Acceleration" value="42.2" class="property-fullwidth">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="gravityAcceleration" data-source-type="PlayerMovement, Player" binding-mode="TwoWay" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
<ui:FloatField label="Jump Height" value="42.2" class="property-fullwidth">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpHeight" data-source-type="PlayerMovement, Player" binding-mode="TwoWay" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
<ui:FloatField label="Jump Deacceleration" value="42.2" class="property-fullwidth">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpDeacceleration" data-source-type="PlayerMovement, Player" binding-mode="TwoWay" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
<ui:VisualElement name="JumpPower" class="group" style="flex-grow: 1;">
|
||||
<ui:VisualElement name="VisualElement" style="flex-direction: row;">
|
||||
<ui:Label text="Current Jump Power" enabled="true" enable-rich-text="true" class="title" style="margin-right: 11px;" />
|
||||
<ui:Label text="0.000" style="width: 60px; color: rgba(210, 210, 210, 0.25);">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="text" data-source-path="jumpPower" data-source-type="PlayerMovement, Player" binding-mode="ToTarget" update-trigger="OnSourceChanged" />
|
||||
</Bindings>
|
||||
</ui:Label>
|
||||
</ui:VisualElement>
|
||||
<ui:Slider high-value="20" fill="true" name="Slider" show-input-field="false" direction="Horizontal" inverted="false" enabled="false" style="flex-grow: 1;">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpPower" data-source-type="PlayerMovement, Player" binding-mode="ToTarget" />
|
||||
</Bindings>
|
||||
</ui:Slider>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="JumpInfo" style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px;">
|
||||
<ui:VisualElement name="VisualElement" enabled="true" style="flex-grow: 1;">
|
||||
<ui:VisualElement name="GroundJumps" data-source-type="PlayerMovement, Player" data-source-path="groundJumpParams" enabled="true" class="gravityParameters" style="flex-direction: row;">
|
||||
<ui:VisualElement data-source-path="active" style="flex-grow: 0; width: 20px; margin-right: 8px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: rgb(106, 106, 106);" />
|
||||
<ui:VisualElement style="flex-grow: 1;">
|
||||
<ui:Label text="Ground Jump" name="Name" />
|
||||
<ui:VisualElement name="Properties" style="flex-direction: row;">
|
||||
<ui:VisualElement name="GravityValue" class="property">
|
||||
<ui:Label text="Gravity" name="VariableName" />
|
||||
<ui:FloatField value="0">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpGravityMultiplier" binding-mode="ToSource" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="HeightValue" class="property">
|
||||
<ui:Label text="Height " name="VariableName" />
|
||||
<ui:FloatField value="0">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpHeightMultiplier" data-source-type="PlayerMovement+JumpParameters, Player" binding-mode="ToSource" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="DeaccelValue" class="property">
|
||||
<ui:Label text="Deacceleration" name="VariableName" />
|
||||
<ui:FloatField value="0">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpDeaccelMultiplier" binding-mode="ToSource" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="AirJumpCount" class="property">
|
||||
<ui:Label text="Count" name="VariableName" />
|
||||
<ui:VisualElement name="VisualElement" style="flex-direction: row; align-items: center;">
|
||||
<ui:Label text="-" style="font-size: 14px; -unity-font-style: bold; -unity-text-align: middle-left; color: rgba(210, 210, 210, 0.82);" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="GroundJumps" data-source-type="PlayerMovement, Player" data-source-path="initialAirJumpParams" enabled="true" class="gravityParameters" style="flex-direction: row;">
|
||||
<ui:VisualElement data-source-path="active" style="flex-grow: 0; width: 20px; margin-right: 8px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: rgb(106, 106, 106);" />
|
||||
<ui:VisualElement style="flex-grow: 1;">
|
||||
<ui:Label text="Air Jump, Initial" name="Name" />
|
||||
<ui:VisualElement name="Properties" style="flex-direction: row;">
|
||||
<ui:VisualElement name="GravityValue" class="property">
|
||||
<ui:Label text="Gravity" name="VariableName" />
|
||||
<ui:FloatField value="0">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpGravityMultiplier" binding-mode="ToSource" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="HeightValue" class="property">
|
||||
<ui:Label text="Height " name="VariableName" />
|
||||
<ui:FloatField value="0">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpHeightMultiplier" data-source-type="PlayerMovement+JumpParameters, Player" binding-mode="ToSource" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="DeaccelValue" class="property">
|
||||
<ui:Label text="Deacceleration" name="VariableName" />
|
||||
<ui:FloatField value="0">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpDeaccelMultiplier" binding-mode="ToSource" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="AirJumpCount" class="property">
|
||||
<ui:Label text="Count" name="VariableName" />
|
||||
<ui:VisualElement name="VisualElement" style="flex-direction: row; align-items: center;">
|
||||
<ui:Label text="3" data-source-type="PlayerMovement, Player" style="font-size: 14px; -unity-font-style: bold; -unity-text-align: middle-left; color: rgba(210, 210, 210, 0.82);" />
|
||||
<ui:Label text="/ " enable-rich-text="false" style="color: rgba(210, 210, 210, 0.41);" />
|
||||
<ui:IntegerField value="3" data-source-type="PlayerMovement, Player" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="GroundJumps" data-source-type="PlayerMovement, Player" data-source-path="followupAirJumpParams" enabled="true" class="gravityParameters" style="flex-direction: row;">
|
||||
<ui:VisualElement data-source-path="active" style="flex-grow: 0; width: 20px; margin-right: 8px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: rgb(106, 106, 106);" />
|
||||
<ui:VisualElement style="flex-grow: 1;">
|
||||
<ui:Label text="Air Jump, Follow-up" name="Name" />
|
||||
<ui:VisualElement name="Properties" style="flex-direction: row;">
|
||||
<ui:VisualElement name="GravityValue" class="property">
|
||||
<ui:Label text="Gravity" name="VariableName" />
|
||||
<ui:FloatField value="0">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpGravityMultiplier" binding-mode="ToSource" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="HeightValue" class="property">
|
||||
<ui:Label text="Height " name="VariableName" />
|
||||
<ui:FloatField value="0">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpHeightMultiplier" data-source-type="PlayerMovement+JumpParameters, Player" binding-mode="ToSource" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="DeaccelValue" class="property">
|
||||
<ui:Label text="Deacceleration" name="VariableName" />
|
||||
<ui:FloatField value="0">
|
||||
<Bindings>
|
||||
<ui:DataBinding property="value" data-source-path="jumpDeaccelMultiplier" binding-mode="ToSource" />
|
||||
</Bindings>
|
||||
</ui:FloatField>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="AirJumpCount" class="property">
|
||||
<ui:Label text="Count" name="VariableName" />
|
||||
<ui:VisualElement name="VisualElement" style="flex-direction: row; align-items: center;">
|
||||
<ui:Label text="3" style="font-size: 14px; -unity-font-style: bold; -unity-text-align: middle-left; color: rgba(210, 210, 210, 0.82);" />
|
||||
<ui:Label text="/ " enable-rich-text="false" style="color: rgba(210, 210, 210, 0.41);" />
|
||||
<ui:IntegerField value="3" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:Foldout>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 50b1bee0d09a86b4ba186a7a2e264a78
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
8
Assets/Core/UI/Editor/Scripts.meta
Normal file
8
Assets/Core/UI/Editor/Scripts.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b941c70611640fa498b3fb39f6aaa281
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
97
Assets/Core/UI/Editor/Scripts/PlayerEditorWindow.cs
Normal file
97
Assets/Core/UI/Editor/Scripts/PlayerEditorWindow.cs
Normal file
@@ -0,0 +1,97 @@
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
using UnityEditor.UIElements;
|
||||
using UnityEngine.UIElements;
|
||||
using Object = UnityEngine.Object;
|
||||
|
||||
// TODO: Move to same document as WildsEditorWindow
|
||||
// Core editor interface for holding folder and stylesheet information
|
||||
public interface IWildsEditor{
|
||||
public string layoutsFolder{ get; }
|
||||
public string stylesheetsFolder{ get; }
|
||||
}
|
||||
|
||||
// TODO: Move to own document
|
||||
// Core editor window for all classes in document
|
||||
public abstract class WildsEditorWindow : Editor, IWildsEditor{
|
||||
public abstract string layoutsFolder { get; }
|
||||
public abstract string stylesheetsFolder { get; }
|
||||
|
||||
string coreLayoutsFolder = "Assets/Core/UI/Editor/Layouts/";
|
||||
//string coreStylesheetsFolder = "Assets/Core/UI/Editor/Stylesheets/";
|
||||
|
||||
public override VisualElement CreateInspectorGUI(){
|
||||
VisualElement newEditorWindow = GetVisualElement();
|
||||
|
||||
VisualElement inspectorFoldout = AssetDatabase
|
||||
.LoadAssetAtPath<VisualTreeAsset>(coreLayoutsFolder + "/Common/DefaultInspectorFoldout.uxml").Instantiate();
|
||||
|
||||
newEditorWindow.Add(inspectorFoldout);
|
||||
|
||||
AddOriginalInspector(inspectorFoldout);
|
||||
|
||||
return newEditorWindow;
|
||||
}
|
||||
|
||||
public VisualElement GetVisualElement(){
|
||||
VisualElement myInspector = null;
|
||||
|
||||
string GetVisualTreeString(){
|
||||
return coreLayoutsFolder + layoutsFolder + "/" + this.GetType().FullName + ".uxml";
|
||||
}
|
||||
|
||||
try {
|
||||
myInspector = AssetDatabase.LoadAssetAtPath<VisualTreeAsset>(GetVisualTreeString()).Instantiate();
|
||||
} catch {
|
||||
Debug.LogError($"Failed to find the following layout: {GetVisualTreeString()}");
|
||||
}
|
||||
|
||||
BindEditor(myInspector);
|
||||
|
||||
return myInspector;
|
||||
}
|
||||
|
||||
public abstract void BindEditor(VisualElement element);
|
||||
|
||||
public void AddOriginalInspector(VisualElement foldout){
|
||||
// Attach a default Inspector to the Foldout.
|
||||
InspectorElement.FillDefaultInspector(foldout.Q("DefaultFoldout"), serializedObject, this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Core editor window for all player classes in document. Mainly just so if I change the player folder I don't have to change every classes layoutsFolder, just this one. (or whatever class)
|
||||
public abstract class PlayerEditorWindow : WildsEditorWindow{
|
||||
public override string layoutsFolder{ get; } = "Player";
|
||||
public override string stylesheetsFolder{ get; } = "";
|
||||
}
|
||||
|
||||
[CustomEditor(typeof(PlayerControls))]
|
||||
public class PlayerControlsInspector: PlayerEditorWindow{
|
||||
public PlayerControls script;
|
||||
public Object player;
|
||||
|
||||
public override void BindEditor(VisualElement element){
|
||||
SerializedObject so = new (player);
|
||||
element.dataSource = player;
|
||||
}
|
||||
|
||||
void OnEnable(){
|
||||
player = target;
|
||||
}
|
||||
}
|
||||
|
||||
[CustomEditor(typeof(PlayerMovement))]
|
||||
public class PlayerMovementInspector : PlayerEditorWindow{
|
||||
public PlayerControls script;
|
||||
public Object player;
|
||||
|
||||
public override void BindEditor(VisualElement element){
|
||||
SerializedObject so = new (player);
|
||||
element.dataSource = player;
|
||||
}
|
||||
|
||||
void OnEnable(){
|
||||
player = target;
|
||||
}
|
||||
}
|
||||
2
Assets/Core/UI/Editor/Scripts/PlayerEditorWindow.cs.meta
Normal file
2
Assets/Core/UI/Editor/Scripts/PlayerEditorWindow.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: be70d6f2acc39ce408b051148cef730c
|
||||
39
Assets/Core/UI/Editor/Scripts/UIConverters.cs
Normal file
39
Assets/Core/UI/Editor/Scripts/UIConverters.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using UnityEditor;
|
||||
using UnityEditor.UIElements;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
using UnityEngine.UIElements.Experimental;
|
||||
|
||||
public class UIConverters
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
[InitializeOnLoadMethod]
|
||||
#else
|
||||
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
|
||||
#endif
|
||||
public static void InitConverters(){
|
||||
var group = new ConverterGroup("Normalized to Percent");
|
||||
group.AddConverter<float, StyleLength >((ref float input) => Length.Percent(input * 100));
|
||||
ConverterGroups.RegisterConverterGroup(group);
|
||||
|
||||
var invert = new ConverterGroup("Normalized to Percent (Inverted)");
|
||||
invert.AddConverter<float, StyleLength>((ref float input) => Length.Percent(-input * 100f));
|
||||
ConverterGroups.RegisterConverterGroup(invert);
|
||||
|
||||
var boolColorConverter = new ConverterGroup("Bool to Color");
|
||||
boolColorConverter.AddConverter<bool, StyleColor>(((ref bool input) => boolToColor(input)));
|
||||
ConverterGroups.RegisterConverterGroup(boolColorConverter);
|
||||
|
||||
return;
|
||||
|
||||
StyleColor boolToColor(bool value){
|
||||
if (value == true) {
|
||||
return new Color(113, 113, 113);
|
||||
}
|
||||
|
||||
return new Color(73, 132, 99);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
2
Assets/Core/UI/Editor/Scripts/UIConverters.cs.meta
Normal file
2
Assets/Core/UI/Editor/Scripts/UIConverters.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ecdfab6df41ac144282b331ee296a5fd
|
||||
8
Assets/Core/UI/Editor/Stylesheets.meta
Normal file
8
Assets/Core/UI/Editor/Stylesheets.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a7ceafd0569eea4a82010a343e5335e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
68
Assets/Core/UI/Editor/Stylesheets/PlayerMovementStyles.uss
Normal file
68
Assets/Core/UI/Editor/Stylesheets/PlayerMovementStyles.uss
Normal file
@@ -0,0 +1,68 @@
|
||||
.gravityParameters {
|
||||
background-color: rgba(70, 70, 70, 0.47);
|
||||
border-top-left-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
border-bottom-left-radius: 2px;
|
||||
border-left-color: rgb(42, 42, 42);
|
||||
border-right-color: rgb(42, 42, 42);
|
||||
border-top-color: rgb(42, 42, 42);
|
||||
border-bottom-color: rgb(42, 42, 42);
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 2px;
|
||||
margin-bottom: 6px;
|
||||
padding-top: 6px;
|
||||
padding-right: 6px;
|
||||
padding-bottom: 6px;
|
||||
padding-left: 6px;
|
||||
flex-shrink: 0;
|
||||
transition-duration: 0.1s;
|
||||
}
|
||||
|
||||
.gravityParameters.active {
|
||||
border-left-width: 11px;
|
||||
border-left-color: rgb(58, 118, 35);
|
||||
border-right-color: rgb(58, 118, 35);
|
||||
border-top-color: rgb(58, 118, 35);
|
||||
border-bottom-color: rgb(58, 118, 35);
|
||||
}
|
||||
|
||||
.gravityParameters #Properties {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.gravityParameters .property {
|
||||
width: 100%;
|
||||
background-color: rgba(51, 51, 51, 0.78);
|
||||
border-top-left-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
border-bottom-left-radius: 2px;
|
||||
margin-right: 13px;
|
||||
padding-top: 4px;
|
||||
padding-right: 4px;
|
||||
padding-bottom: 4px;
|
||||
padding-left: 4px;
|
||||
flex-grow: 0;
|
||||
min-width: 60px;
|
||||
max-width: 80px;
|
||||
}
|
||||
|
||||
.gravityParameters #VariableName {
|
||||
font-size: 8px;
|
||||
color: rgba(210, 210, 210, 0.44);
|
||||
-unity-text-align: upper-left;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.gravityParameters #Name {
|
||||
flex-shrink: 0;
|
||||
margin-top: 2px;
|
||||
margin-right: 2px;
|
||||
margin-bottom: 6px;
|
||||
margin-left: 2px;
|
||||
-unity-font-style: normal;
|
||||
font-size: 10px;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 184c6057804f222428c94a16d4412e0c
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
142
Assets/Core/UI/Editor/Stylesheets/WildsEditors.uss
Normal file
142
Assets/Core/UI/Editor/Stylesheets/WildsEditors.uss
Normal file
@@ -0,0 +1,142 @@
|
||||
.analogGraph {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.analogGraph #Cursor {
|
||||
position: absolute;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background-color: rgba(255, 119, 119, 0.82);
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
|
||||
.analogGraph #Background {
|
||||
background-color: rgba(72, 72, 82, 0.96);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-left-color: rgba(43, 43, 51, 0.8);
|
||||
border-right-color: rgba(43, 43, 51, 0.8);
|
||||
border-top-color: rgba(43, 43, 51, 0.8);
|
||||
border-bottom-color: rgba(43, 43, 51, 0.8);
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
|
||||
.statusViewer {
|
||||
padding-top: 6px;
|
||||
padding-right: 6px;
|
||||
padding-bottom: 6px;
|
||||
padding-left: 6px;
|
||||
border-top-left-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
border-bottom-left-radius: 2px;
|
||||
background-color: rgb(70, 70, 70);
|
||||
}
|
||||
|
||||
.statusViewer .unity-label {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.sectionFoldout {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.statusViewer.active {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.statusViewer.inactive {
|
||||
font-size: 14px;
|
||||
opacity: 0.26;
|
||||
}
|
||||
|
||||
.property-fullwidth {
|
||||
width: 100%;
|
||||
flex-shrink: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
padding-right: 10px;
|
||||
padding-left: 10px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.unity-foldout {
|
||||
width: 100%;
|
||||
-unity-text-align: upper-left;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
background-color: rgba(14, 14, 14, 0.16);
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.unity-foldout--depth-0 > #unity-content {
|
||||
width: 100%;
|
||||
padding-left: 6px;
|
||||
margin-left: 0;
|
||||
padding-right: 6px;
|
||||
padding-top: 6px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
.unity-foldout .unity-foldout__toggle {
|
||||
width: 100%;
|
||||
-unity-text-align: upper-left;
|
||||
font-size: 10px;
|
||||
background-color: rgba(72, 72, 72, 0.71);
|
||||
padding-top: 4px;
|
||||
margin-top: 0;
|
||||
padding-right: 4px;
|
||||
padding-bottom: 4px;
|
||||
padding-left: 4px;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
|
||||
.group {
|
||||
padding-top: 6px;
|
||||
padding-right: 6px;
|
||||
padding-bottom: 6px;
|
||||
padding-left: 6px;
|
||||
background-color: rgb(53, 53, 53);
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
border-left-color: rgb(38, 38, 38);
|
||||
border-right-color: rgb(38, 38, 38);
|
||||
border-top-color: rgb(38, 38, 38);
|
||||
border-bottom-color: rgb(38, 38, 38);
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
}
|
||||
|
||||
.group .title {
|
||||
font-size: 12px;
|
||||
-unity-font-style: bold;
|
||||
color: rgb(128, 128, 128);
|
||||
}
|
||||
11
Assets/Core/UI/Editor/Stylesheets/WildsEditors.uss.meta
Normal file
11
Assets/Core/UI/Editor/Stylesheets/WildsEditors.uss.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a6bd99e5b08b3de4190806c83ae5dfff
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
Reference in New Issue
Block a user