Cleanup up some console stuff, added a prefab, etc

This commit is contained in:
Spudnut2000 2024-10-03 21:49:30 -05:00
parent ee7aacc046
commit d15151a473
153 changed files with 27561 additions and 56159 deletions

View File

@ -45,15 +45,17 @@
<Analyzer Include="/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll" /> <Analyzer Include="/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Assets/Cogwheel/Scripts/Test.cs" />
<Compile Include="Assets/Cogwheel/Scripts/CommandAttribute.cs" /> <Compile Include="Assets/Cogwheel/Scripts/CommandAttribute.cs" />
<Compile Include="Assets/Cogwheel/Scripts/Command.cs" /> <Compile Include="Assets/Cogwheel/Scripts/Command.cs" />
<Compile Include="Assets/Cogwheel/Scripts/ICommandsManager.cs" /> <Compile Include="Assets/Cogwheel/Scripts/ICommandsManager.cs" />
<Compile Include="Assets/Cogwheel/Scripts/COGWHEEL.cs" /> <Compile Include="Assets/Cogwheel/Scripts/COGWHEEL.cs" />
<Compile Include="Assets/Cogwheel/Test.cs" />
<Compile Include="Assets/Cogwheel/Scripts/CommandsManager.cs" /> <Compile Include="Assets/Cogwheel/Scripts/CommandsManager.cs" />
<Compile Include="Assets/Cogwheel/Scripts/CogwheelSettings.cs" /> <Compile Include="Assets/Cogwheel/Scripts/CogwheelSettings.cs" />
<Compile Include="Assets/Cogwheel/UI/CogwheelConsole.cs" /> <Compile Include="Assets/Cogwheel/UI/CogwheelConsole.cs" />
<Compile Include="Assets/Cogwheel/Scripts/Test2.cs" />
<Compile Include="Assets/Cogwheel/Scripts/ICommand.cs" /> <Compile Include="Assets/Cogwheel/Scripts/ICommand.cs" />
<Compile Include="Assets/Cogwheel/Scripts/CogwheelInitializer.cs" />
<None Include="Assets/Cogwheel/UI/CogwheelConsoleUI.uxml" /> <None Include="Assets/Cogwheel/UI/CogwheelConsoleUI.uxml" />
<None Include="Assets/Cogwheel/UI/CogwheelConsole.uss" /> <None Include="Assets/Cogwheel/UI/CogwheelConsole.uss" />
<Reference Include="UnityEngine"> <Reference Include="UnityEngine">

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 11fed44903539a70fbb65479ddb880f6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,109 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &6812011641737714985
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2139542304717927576}
- component: {fileID: 8772092795256083104}
m_Layer: 0
m_Name: Cogwheel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2139542304717927576
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6812011641737714985}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 6.010771, y: 13.350267, z: 7.386556}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3643545667400016780}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &8772092795256083104
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6812011641737714985}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0ee15c0b36cc41568cc5ab4e83331046, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &6867388745892155766
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 2139542304717927576}
m_Modifications:
- target: {fileID: 1524229190056341568, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
propertyPath: m_Name
value: CogwheelConsole
objectReference: {fileID: 0}
- target: {fileID: 7916664963331027706, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
propertyPath: m_LocalPosition.x
value: 6.010771
objectReference: {fileID: 0}
- target: {fileID: 7916664963331027706, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
propertyPath: m_LocalPosition.y
value: 13.350267
objectReference: {fileID: 0}
- target: {fileID: 7916664963331027706, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
propertyPath: m_LocalPosition.z
value: 7.386556
objectReference: {fileID: 0}
- target: {fileID: 7916664963331027706, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7916664963331027706, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7916664963331027706, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7916664963331027706, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7916664963331027706, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7916664963331027706, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7916664963331027706, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
--- !u!4 &3643545667400016780 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7916664963331027706, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3}
m_PrefabInstance: {fileID: 6867388745892155766}
m_PrefabAsset: {fileID: 0}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: bfba73797df1fe94c91fd68237bdb897
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,28 +1,21 @@
using System.Collections.Generic; using System.Collections.Generic;
using OpenCover.Framework.Model; using OpenCover.Framework.Model;
using Unity.VisualScripting;
using UnityEngine; using UnityEngine;
namespace Cogwheel namespace Cogwheel
{ {
public static class COGWHEEL public static class COGWHEEL
{ {
public static ICommandsManager CommandsManager { get; } public static ICommandsManager CommandsManager { get; private set; }
public static CogwheelSettings Settings { get; } public static CogwheelSettings Settings { get; private set; }
public static CogwheelConsole Console { get; private set; } public static CogwheelConsole Console { get; private set; }
static Color _color = Color.blue;
static COGWHEEL() public static void Start(CogwheelSettings settings, ICommandsManager commandsManager, CogwheelConsole console)
{ {
Settings = Resources.Load<CogwheelSettings>("CogwheelSettings"); Settings = settings;
if (Settings is null) CommandsManager = commandsManager;
{ Console = console;
Debug.LogError("CogwheelSettings not found. Make sure you have a CogwheelSettings asset in a Resources folder.");
return;
}
Console = GameObject.Instantiate(Settings.CogwheelConsolePrefab).GetComponent<CogwheelConsole>();
CommandsManager = new CommandsManager(Console);
} }
#region BUILT-IN COMMANDS #region BUILT-IN COMMANDS
@ -106,7 +99,5 @@ namespace Cogwheel
} }
#endregion #endregion
} }
} }

View File

@ -0,0 +1,36 @@
using System;
using Unity.VisualScripting;
using UnityEngine;
namespace Cogwheel
{
public class CogwheelInitializer : MonoBehaviour
{
private ICommandsManager _commandsManager;
private CogwheelConsole _console;
private CogwheelSettings _settings;
private void Start()
{
DontDestroyOnLoad(this);
if (!LoadSettings()) return;
_console = GetComponentInChildren<CogwheelConsole>();
_commandsManager = new CommandsManager(_console);
COGWHEEL.Start(_settings, _commandsManager, _console);
}
private bool LoadSettings()
{
var settings = Resources.Load<CogwheelSettings>("CogwheelSettings");
if (settings is null)
{
Debug.LogError("CogwheelSettings not found. Make sure you have a CogwheelSettings asset in a Resources folder.");
return false;
}
_settings = settings;
return true;
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 0ee15c0b36cc41568cc5ab4e83331046
timeCreated: 1728005805

View File

@ -5,6 +5,8 @@ namespace Cogwheel
[CreateAssetMenu(fileName = "CogwheelSettings", menuName = "Cogwheel/CogwheelSettings", order = 0)] [CreateAssetMenu(fileName = "CogwheelSettings", menuName = "Cogwheel/CogwheelSettings", order = 0)]
public class CogwheelSettings : ScriptableObject public class CogwheelSettings : ScriptableObject
{ {
public CogwheelConsole CogwheelConsolePrefab; [Header("Console Settings")]
public bool EnableConsole = true;
public KeyCode ConsoleToggleKey = KeyCode.Tilde;
} }
} }

View File

@ -1,21 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using Cogwheel;
using UnityEngine;
public class Test : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Debug.Log(COGWHEEL.Settings.CogwheelConsolePrefab.name);
//COGWHEEL.CommandsManager.SceneContext = gameObject;
}
[Command(Description = "Test command.")]
private void TestCommand()
{
}
}

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 4a61e49036c312c83a47481446b0c01a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -12,27 +12,73 @@ public class CogwheelConsole : MonoBehaviour
private VisualElement _consoleRoot; private VisualElement _consoleRoot;
private TextField _inputField; private TextField _inputField;
private Label _outputLabel; private Label _outputLabel;
private ScrollView _scrollView;
private void Start() private void Start()
{ {
_consoleRoot = uiDocument.rootVisualElement; _consoleRoot = uiDocument.rootVisualElement;
_inputField = _consoleRoot.Q<TextField>("InputTextField"); _inputField = _consoleRoot.Q<TextField>("InputTextField");
_outputLabel = _consoleRoot.Q<Label>("ConsoleOutputLabel"); _outputLabel = _consoleRoot.Q<Label>("ConsoleOutputLabel");
_scrollView = _consoleRoot.Q<ScrollView>("ConsoleScrollView");
Hide();
} }
private void Update() private void Update()
{ {
//if input field has focus and enter key is pressed HandleInput();
}
private void HandleInput()
{
if (_inputField.panel.focusController.focusedElement == _inputField && Input.GetKeyDown(KeyCode.Return)) if (_inputField.panel.focusController.focusedElement == _inputField && Input.GetKeyDown(KeyCode.Return))
{ {
SubmitInput(); SubmitInput();
} }
if (COGWHEEL.Settings.EnableConsole && Input.GetKeyDown(COGWHEEL.Settings.ConsoleToggleKey) && _inputField.panel.focusController.focusedElement != _inputField)
{
if (_consoleRoot.ClassListContains("active"))
{
Hide();
}
else
{
Show();
}
}
}
private void Show()
{
_consoleRoot.AddToClassList("active");
_consoleRoot.RemoveFromClassList("hidden");
ScrollToBottom();
}
private void Hide()
{
_consoleRoot.RemoveFromClassList("active");
_consoleRoot.AddToClassList("hidden");
} }
private void SubmitInput() private void SubmitInput()
{ {
Log("> " + "<color=#555555><i>" + _inputField.value + "</i></color>"); Log("> " + "<color=#555555><i>" + _inputField.value + "</i></color>");
var success = COGWHEEL.CommandsManager.RunCommand(_inputField.value); var success = COGWHEEL.CommandsManager.RunCommand(_inputField.value);
_inputField.value = "";
_inputField.Focus();
ScrollToBottom();
}
private void ScrollToBottom()
{
_scrollView.schedule.Execute(() =>
{
_scrollView.verticalScroller.value = _scrollView.contentContainer.resolvedStyle.height;
}).ExecuteLater(10);
} }
public void Log(string message) public void Log(string message)

View File

@ -1,11 +1,15 @@
#CogwheelConsoleRoot { #CogwheelConsoleRoot {
padding: 0;
margin: 0;
} }
#ConsolePanel { #ConsolePanel {
background-color: rgba(0, 0, 0, 0.9); background-color: rgba(0, 0, 0, 0.96);
color: white; color: white;
padding: 1%; padding: 1%;
max-height: 50%;
margin: 0;
} }
#InputTextField { #InputTextField {
@ -13,14 +17,28 @@
} }
#InputTextField #unity-text-input { #InputTextField #unity-text-input {
background-color: rgba(0, 0, 0, 0.9); background-color: rgba(0, 0, 0, 0.98);
color: white; color: white;
border-width: 1px; border-width: 1px;
border-color: black;
padding: 0.5%; padding: 0.5%;
margin: 0; margin: 0;
width: 100%; width: 100%;
} }
#ConsoleScrollView Scroller{
opacity: 0;
display: none;
}
#InputTextField Label{ #InputTextField Label{
display: none; display: none;
}
.active {
display: flex;
}
.hidden {
display: none;
} }

View File

@ -1,3 +0,0 @@
<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">
<ui:VisualElement name="CogwheelConsolePanel" style="flex-grow: 1; width: 100%;" />
</ui:UXML>

View File

@ -1,10 +0,0 @@
fileFormatVersion: 2
guid: 6d915ffc1116cd340b99d408824b929e
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}

View File

@ -2,8 +2,8 @@
<Style src="project://database/Assets/Cogwheel/UI/CogwheelConsole.uss?fileID=7433441132597879392&amp;guid=a7724294777a80289a26a34dab7ad5c6&amp;type=3#CogwheelConsole" /> <Style src="project://database/Assets/Cogwheel/UI/CogwheelConsole.uss?fileID=7433441132597879392&amp;guid=a7724294777a80289a26a34dab7ad5c6&amp;type=3#CogwheelConsole" />
<ui:VisualElement name="CogwheelConsoleRoot" style="flex-grow: 1;"> <ui:VisualElement name="CogwheelConsoleRoot" style="flex-grow: 1;">
<ui:VisualElement name="ConsolePanel" style="flex-grow: 1;"> <ui:VisualElement name="ConsolePanel" style="flex-grow: 1;">
<ui:ScrollView> <ui:ScrollView name="ConsoleScrollView">
<ui:Label tabindex="-1" parse-escape-sequences="true" display-tooltip-when-elided="true" name="ConsoleOutputLabel" focusable="true" /> <ui:Label tabindex="-1" parse-escape-sequences="true" display-tooltip-when-elided="true" name="ConsoleOutputLabel" focusable="true" style="white-space: normal;" />
</ui:ScrollView> </ui:ScrollView>
</ui:VisualElement> </ui:VisualElement>
<ui:TextField picking-mode="Ignore" value="Command" name="InputTextField" /> <ui:TextField picking-mode="Ignore" value="Command" name="InputTextField" />

View File

@ -12,4 +12,5 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 53d39a5b2f874ce2b49327a3ec509eba, type: 3} m_Script: {fileID: 11500000, guid: 53d39a5b2f874ce2b49327a3ec509eba, type: 3}
m_Name: CogwheelSettings m_Name: CogwheelSettings
m_EditorClassIdentifier: m_EditorClassIdentifier:
CogwheelConsolePrefab: {fileID: 9161624000669002432, guid: 711d6fd55c44569cd91d159dcc393ac8, type: 3} EnableConsole: 1
ConsoleToggleKey: 96

View File

@ -38,7 +38,6 @@ RenderSettings:
m_ReflectionIntensity: 1 m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0} m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 705507994} m_Sun: {fileID: 705507994}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
m_UseRadianceAmbientProbe: 0 m_UseRadianceAmbientProbe: 0
--- !u!157 &3 --- !u!157 &3
LightmapSettings: LightmapSettings:
@ -309,100 +308,67 @@ Transform:
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1312985368 --- !u!1001 &1414270578
GameObject: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1312985370}
- component: {fileID: 1312985369}
m_Layer: 0
m_Name: Test2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1312985369
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1312985368}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a2c4c2a5f3f0432eaf914b6d27031ca6, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &1312985370
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1312985368}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_Modification:
m_LocalPosition: {x: 0, y: 0, z: 0} serializedVersion: 3
m_LocalScale: {x: 1, y: 1, z: 1} m_TransformParent: {fileID: 0}
m_ConstrainProportionsScale: 0 m_Modifications:
m_Children: [] - target: {fileID: 2139542304717927576, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
m_Father: {fileID: 0} propertyPath: m_LocalPosition.x
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} value: 6.010771
--- !u!1 &1830122060 objectReference: {fileID: 0}
GameObject: - target: {fileID: 2139542304717927576, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
m_ObjectHideFlags: 0 propertyPath: m_LocalPosition.y
m_CorrespondingSourceObject: {fileID: 0} value: 13.350267
m_PrefabInstance: {fileID: 0} objectReference: {fileID: 0}
m_PrefabAsset: {fileID: 0} - target: {fileID: 2139542304717927576, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
serializedVersion: 6 propertyPath: m_LocalPosition.z
m_Component: value: 7.386556
- component: {fileID: 1830122061} objectReference: {fileID: 0}
- component: {fileID: 1830122062} - target: {fileID: 2139542304717927576, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
m_Layer: 0 propertyPath: m_LocalRotation.w
m_Name: Test value: 1
m_TagString: Untagged objectReference: {fileID: 0}
m_Icon: {fileID: 0} - target: {fileID: 2139542304717927576, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
m_NavMeshLayer: 0 propertyPath: m_LocalRotation.x
m_StaticEditorFlags: 0 value: 0
m_IsActive: 1 objectReference: {fileID: 0}
--- !u!4 &1830122061 - target: {fileID: 2139542304717927576, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
Transform: propertyPath: m_LocalRotation.y
m_ObjectHideFlags: 0 value: 0
m_CorrespondingSourceObject: {fileID: 0} objectReference: {fileID: 0}
m_PrefabInstance: {fileID: 0} - target: {fileID: 2139542304717927576, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
m_PrefabAsset: {fileID: 0} propertyPath: m_LocalRotation.z
m_GameObject: {fileID: 1830122060} value: 0
serializedVersion: 2 objectReference: {fileID: 0}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - target: {fileID: 2139542304717927576, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
m_LocalPosition: {x: 0, y: 0, z: 0} propertyPath: m_LocalEulerAnglesHint.x
m_LocalScale: {x: 1, y: 1, z: 1} value: 0
m_ConstrainProportionsScale: 0 objectReference: {fileID: 0}
m_Children: [] - target: {fileID: 2139542304717927576, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
m_Father: {fileID: 0} propertyPath: m_LocalEulerAnglesHint.y
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} value: 0
--- !u!114 &1830122062 objectReference: {fileID: 0}
MonoBehaviour: - target: {fileID: 2139542304717927576, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
m_ObjectHideFlags: 0 propertyPath: m_LocalEulerAnglesHint.z
m_CorrespondingSourceObject: {fileID: 0} value: 0
m_PrefabInstance: {fileID: 0} objectReference: {fileID: 0}
m_PrefabAsset: {fileID: 0} - target: {fileID: 6812011641737714985, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
m_GameObject: {fileID: 1830122060} propertyPath: m_Name
m_Enabled: 1 value: Cogwheel
m_EditorHideFlags: 0 objectReference: {fileID: 0}
m_Script: {fileID: 11500000, guid: 5f2dd85165475cf7a81bf4b02e9502f4, type: 3} m_RemovedComponents: []
m_Name: m_RemovedGameObjects: []
m_EditorClassIdentifier: m_AddedGameObjects: []
context: {fileID: 0} m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bfba73797df1fe94c91fd68237bdb897, type: 3}
--- !u!1660057539 &9223372036854775807 --- !u!1660057539 &9223372036854775807
SceneRoots: SceneRoots:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_Roots: m_Roots:
- {fileID: 963194228} - {fileID: 963194228}
- {fileID: 705507995} - {fileID: 705507995}
- {fileID: 1830122061} - {fileID: 1414270578}
- {fileID: 1312985370}

View File

@ -1,2 +1,3 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AObject_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003Fhome_003Fspudnut_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fbc0b3991ca4b4196aabcebbbb7b1f100175c00_003F07_003Fe8a094ab_003FObject_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ATextField_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003Fhome_003Fspudnut_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F0573bd80495f428abbe796964d4fd509178400_003F21_003F331cf713_003FTextField_002Ecs/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary> <s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ATextField_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003Fhome_003Fspudnut_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F0573bd80495f428abbe796964d4fd509178400_003F21_003F331cf713_003FTextField_002Ecs/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary>

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -19367,7 +19367,7 @@
"DisplayName": "Writing Assembly-CSharp.rsp", "DisplayName": "Writing Assembly-CSharp.rsp",
"ActionType": "WriteFile", "ActionType": "WriteFile",
"PayloadOffset": 1424725, "PayloadOffset": 1424725,
"PayloadLength": 31871, "PayloadLength": 31989,
"PayloadDebugContentSnippet": "-target:library\n-out:\"Library/", "PayloadDebugContentSnippet": "-target:library\n-out:\"Library/",
"Inputs": [], "Inputs": [],
"Outputs": [ "Outputs": [
@ -19379,7 +19379,7 @@
"Annotation": "WriteText Library/Bee/artifacts/2400b0aE.dag/Assembly-CSharp.rsp2", "Annotation": "WriteText Library/Bee/artifacts/2400b0aE.dag/Assembly-CSharp.rsp2",
"DisplayName": "Writing Assembly-CSharp.rsp2", "DisplayName": "Writing Assembly-CSharp.rsp2",
"ActionType": "WriteFile", "ActionType": "WriteFile",
"PayloadOffset": 1456683, "PayloadOffset": 1456801,
"PayloadLength": 0, "PayloadLength": 0,
"PayloadDebugContentSnippet": "", "PayloadDebugContentSnippet": "",
"Inputs": [], "Inputs": [],
@ -19623,12 +19623,15 @@
"Library/Bee/artifacts/2400b0aE.dag/UnityEditor.UI.ref.dll", "Library/Bee/artifacts/2400b0aE.dag/UnityEditor.UI.ref.dll",
"Library/Bee/artifacts/2400b0aE.dag/UnityEngine.UI.ref.dll", "Library/Bee/artifacts/2400b0aE.dag/UnityEngine.UI.ref.dll",
"Assets/Cogwheel/Scripts/COGWHEEL.cs", "Assets/Cogwheel/Scripts/COGWHEEL.cs",
"Assets/Cogwheel/Scripts/CogwheelInitializer.cs",
"Assets/Cogwheel/Scripts/CogwheelSettings.cs", "Assets/Cogwheel/Scripts/CogwheelSettings.cs",
"Assets/Cogwheel/Scripts/Command.cs", "Assets/Cogwheel/Scripts/Command.cs",
"Assets/Cogwheel/Scripts/CommandAttribute.cs", "Assets/Cogwheel/Scripts/CommandAttribute.cs",
"Assets/Cogwheel/Scripts/CommandsManager.cs", "Assets/Cogwheel/Scripts/CommandsManager.cs",
"Assets/Cogwheel/Scripts/ICommand.cs", "Assets/Cogwheel/Scripts/ICommand.cs",
"Assets/Cogwheel/Scripts/ICommandsManager.cs", "Assets/Cogwheel/Scripts/ICommandsManager.cs",
"Assets/Cogwheel/Scripts/Test.cs",
"Assets/Cogwheel/Scripts/Test2.cs",
"Assets/Cogwheel/UI/CogwheelConsole.cs", "Assets/Cogwheel/UI/CogwheelConsole.cs",
"/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll", "/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll",
"/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.SourceGenerators.dll", "/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.SourceGenerators.dll",
@ -19868,7 +19871,7 @@
"Annotation": "WriteText Library/Bee/artifacts/2400b0aE.dag/Assembly-CSharp.dll.mvfrm.rsp", "Annotation": "WriteText Library/Bee/artifacts/2400b0aE.dag/Assembly-CSharp.dll.mvfrm.rsp",
"DisplayName": "Writing Assembly-CSharp.dll.mvfrm.rsp", "DisplayName": "Writing Assembly-CSharp.dll.mvfrm.rsp",
"ActionType": "WriteFile", "ActionType": "WriteFile",
"PayloadOffset": 1456779, "PayloadOffset": 1456897,
"PayloadLength": 9183, "PayloadLength": 9183,
"PayloadDebugContentSnippet": "Library/Bee/artifacts/mvdfrm/U", "PayloadDebugContentSnippet": "Library/Bee/artifacts/mvdfrm/U",
"Inputs": [], "Inputs": [],

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -19367,7 +19367,7 @@
"DisplayName": "Writing Assembly-CSharp.rsp", "DisplayName": "Writing Assembly-CSharp.rsp",
"ActionType": "WriteFile", "ActionType": "WriteFile",
"PayloadOffset": 1425643, "PayloadOffset": 1425643,
"PayloadLength": 31975, "PayloadLength": 32067,
"PayloadDebugContentSnippet": "-target:library\n-out:\"Library/", "PayloadDebugContentSnippet": "-target:library\n-out:\"Library/",
"Inputs": [], "Inputs": [],
"Outputs": [ "Outputs": [
@ -19379,7 +19379,7 @@
"Annotation": "WriteText Library/Bee/artifacts/2400b0aEDbg.dag/Assembly-CSharp.rsp2", "Annotation": "WriteText Library/Bee/artifacts/2400b0aEDbg.dag/Assembly-CSharp.rsp2",
"DisplayName": "Writing Assembly-CSharp.rsp2", "DisplayName": "Writing Assembly-CSharp.rsp2",
"ActionType": "WriteFile", "ActionType": "WriteFile",
"PayloadOffset": 1457708, "PayloadOffset": 1457800,
"PayloadLength": 0, "PayloadLength": 0,
"PayloadDebugContentSnippet": "", "PayloadDebugContentSnippet": "",
"Inputs": [], "Inputs": [],
@ -19623,13 +19623,15 @@
"Library/Bee/artifacts/2400b0aEDbg.dag/UnityEditor.UI.ref.dll", "Library/Bee/artifacts/2400b0aEDbg.dag/UnityEditor.UI.ref.dll",
"Library/Bee/artifacts/2400b0aEDbg.dag/UnityEngine.UI.ref.dll", "Library/Bee/artifacts/2400b0aEDbg.dag/UnityEngine.UI.ref.dll",
"Assets/Cogwheel/Scripts/COGWHEEL.cs", "Assets/Cogwheel/Scripts/COGWHEEL.cs",
"Assets/Cogwheel/Scripts/CogwheelInitializer.cs",
"Assets/Cogwheel/Scripts/CogwheelSettings.cs", "Assets/Cogwheel/Scripts/CogwheelSettings.cs",
"Assets/Cogwheel/Scripts/Command.cs", "Assets/Cogwheel/Scripts/Command.cs",
"Assets/Cogwheel/Scripts/CommandAttribute.cs", "Assets/Cogwheel/Scripts/CommandAttribute.cs",
"Assets/Cogwheel/Scripts/CommandsManager.cs", "Assets/Cogwheel/Scripts/CommandsManager.cs",
"Assets/Cogwheel/Scripts/ICommand.cs", "Assets/Cogwheel/Scripts/ICommand.cs",
"Assets/Cogwheel/Scripts/ICommandsManager.cs", "Assets/Cogwheel/Scripts/ICommandsManager.cs",
"Assets/Cogwheel/Test.cs", "Assets/Cogwheel/Scripts/Test.cs",
"Assets/Cogwheel/Scripts/Test2.cs",
"Assets/Cogwheel/UI/CogwheelConsole.cs", "Assets/Cogwheel/UI/CogwheelConsole.cs",
"/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll", "/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll",
"/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.SourceGenerators.dll", "/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.SourceGenerators.dll",
@ -19869,7 +19871,7 @@
"Annotation": "WriteText Library/Bee/artifacts/2400b0aEDbg.dag/Assembly-CSharp.dll.mvfrm.rsp", "Annotation": "WriteText Library/Bee/artifacts/2400b0aEDbg.dag/Assembly-CSharp.dll.mvfrm.rsp",
"DisplayName": "Writing Assembly-CSharp.dll.mvfrm.rsp", "DisplayName": "Writing Assembly-CSharp.dll.mvfrm.rsp",
"ActionType": "WriteFile", "ActionType": "WriteFile",
"PayloadOffset": 1457807, "PayloadOffset": 1457899,
"PayloadLength": 9183, "PayloadLength": 9183,
"PayloadDebugContentSnippet": "Library/Bee/artifacts/mvdfrm/U", "PayloadDebugContentSnippet": "Library/Bee/artifacts/mvdfrm/U",
"Inputs": [], "Inputs": [],

View File

@ -348,12 +348,15 @@
-analyzer:"/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll" -analyzer:"/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll"
-analyzer:"/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.SourceGenerators.dll" -analyzer:"/home/spudnut/Unity/Hub/Editor/2022.3.36f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.SourceGenerators.dll"
"Assets/Cogwheel/Scripts/COGWHEEL.cs" "Assets/Cogwheel/Scripts/COGWHEEL.cs"
"Assets/Cogwheel/Scripts/CogwheelInitializer.cs"
"Assets/Cogwheel/Scripts/CogwheelSettings.cs" "Assets/Cogwheel/Scripts/CogwheelSettings.cs"
"Assets/Cogwheel/Scripts/Command.cs" "Assets/Cogwheel/Scripts/Command.cs"
"Assets/Cogwheel/Scripts/CommandAttribute.cs" "Assets/Cogwheel/Scripts/CommandAttribute.cs"
"Assets/Cogwheel/Scripts/CommandsManager.cs" "Assets/Cogwheel/Scripts/CommandsManager.cs"
"Assets/Cogwheel/Scripts/ICommand.cs" "Assets/Cogwheel/Scripts/ICommand.cs"
"Assets/Cogwheel/Scripts/ICommandsManager.cs" "Assets/Cogwheel/Scripts/ICommandsManager.cs"
"Assets/Cogwheel/Scripts/Test.cs"
"Assets/Cogwheel/Scripts/Test2.cs"
"Assets/Cogwheel/UI/CogwheelConsole.cs" "Assets/Cogwheel/UI/CogwheelConsole.cs"
-langversion:9.0 -langversion:9.0
/deterministic /deterministic

Some files were not shown because too many files have changed in this diff Show More