Added Observation Scene to show the Replay

This commit is contained in:
Thorbjoern
2025-05-26 18:56:25 +02:00
parent 37c6bd8269
commit c304bc0e10
211 changed files with 60070 additions and 14 deletions
@@ -0,0 +1,12 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/Samples/Cinemachine/3.0.0-pre.5/Shared%20Assets/UI/SamplesUIStyle.uss?fileID=7433441132597879392&amp;guid=f5bb9549a4a38408d98f1dc629a432df&amp;type=3#SamplesUIStyle" />
<ui:Button name="HelpButton" focusable="false" text="Help" />
<ui:Box name="TogglesAndButtons" focusable="false" />
<ui:Box name="HelpTextBox" focusable="false">
<ui:Label name="HelpTextBox__Title" focusable="false" />
<ui:ScrollView name="HelpTextBox__ScrollView" focusable="false">
<ui:Label name="HelpTextBox__ScrollView__Label" focusable="false" tabindex="-1" text="Label" display-tooltip-when-elided="false" />
</ui:ScrollView>
<ui:Button name="HelpTextBox__CloseButton" focusable="false" text="Close" />
</ui:Box>
</ui:UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 625ec32eada784ffa8da2d56a8bd43c2
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -0,0 +1,83 @@
Box {
background-color: rgba(196, 196, 196, 0.5);
margin: 5px;
border-width: 0;
}
#TogglesAndButtons {
align-self: flex-start;
position: absolute;
top: 12px;
}
.dynamicButton {
background-color: rgb(196, 196, 196);
align-self: stretch;
-unity-font-style: bold;
}
.dynamicToggle {
flex-direction: row-reverse;
align-self: flex-start;
-unity-font-style: bold;
}
#HelpButton {
position: absolute;
right: 0;
top: 0;
padding: 5px;
margin: 2px;
-unity-font-style: bold;
display: flex;
visibility: hidden;
}
#HelpTextBox {
visibility: hidden;
position: absolute;
top: 5%;
bottom: auto;
left: 10%;
right: 10%;
max-height: 80%;
justify-content: space-between;
}
#HelpTextBox__Title {
-unity-text-align: middle-center;
color: rgb(196, 196, 196);
background-color: black;
margin-left: 5px;
margin-right: 5px;
-unity-font-style: bold;
padding-left: 0;
padding-right: 0;
}
#HelpTextBox__ScrollView {
margin: 5px;
background-color: rgba(38, 38, 38, 0.8);
}
#HelpTextBox__ScrollView__Label {
flex-wrap: wrap;
color: white;
white-space: normal;
-unity-font-style: normal;
margin: 5px;
padding: 5px;
}
#HelpTextBox__CloseButton {
margin-bottom: 4px;
margin-left: 2px;
margin-right: 2px;
padding: 8px;
color: rgb(196, 196, 196);
border-radius: 4px;
border-width: 1px;
align-self: center;
background-color: black;
-unity-font-style: bold;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f5bb9549a4a38408d98f1dc629a432df
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 21d72100342c748bd8045415b92d1ed1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,40 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 19101, guid: 0000000000000000e000000000000000, type: 0}
m_Name: PanelSettings
m_EditorClassIdentifier:
themeUss: {fileID: -4733365628477956816, guid: d93869bdf22624387bae18a40dc7d7ce,
type: 3}
m_TargetTexture: {fileID: 0}
m_ScaleMode: 0
m_ReferenceSpritePixelsPerUnit: 100
m_Scale: 1
m_ReferenceDpi: 96
m_FallbackDpi: 96
m_ReferenceResolution: {x: 1200, y: 800}
m_ScreenMatchMode: 0
m_Match: 0
m_SortingOrder: 0
m_TargetDisplay: 0
m_ClearDepthStencil: 1
m_ClearColor: 0
m_ColorClearValue: {r: 0, g: 0, b: 0, a: 0}
m_VertexBudget: 0
m_DynamicAtlasSettings:
m_MinAtlasSize: 64
m_MaxAtlasSize: 4096
m_MaxSubTextureSize: 64
m_ActiveFilters: -1
m_AtlasBlitShader: {fileID: 9101, guid: 0000000000000000f000000000000000, type: 0}
m_RuntimeShader: {fileID: 9100, guid: 0000000000000000f000000000000000, type: 0}
m_RuntimeWorldShader: {fileID: 9102, guid: 0000000000000000f000000000000000, type: 0}
textSettings: {fileID: 0}
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e1340a64b3dbc4c60a6d59ca2fc83df8
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 53cfa7952c83c48afb7aa688bd422aae
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1 @@
@import url("unity-theme://default");
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d93869bdf22624387bae18a40dc7d7ce
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12388, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0