diff --git a/Editor/Inspectors/CVarAssetInspector.cs b/Editor/Inspectors/CVarAssetInspector.cs deleted file mode 100644 index 758cf17..0000000 --- a/Editor/Inspectors/CVarAssetInspector.cs +++ /dev/null @@ -1,55 +0,0 @@ -using RebootKit.Engine.Services.Console; -using UnityEditor; -using UnityEditor.UIElements; -using UnityEngine.UIElements; - -namespace RebootKitEditor.Inspectors { - [CustomEditor(typeof(CVarAsset))] - public class CVarAssetInspector : Editor { - public override VisualElement CreateInspectorGUI() { - SerializedProperty cvarProperty = serializedObject.FindProperty("_cvar"); - CVarSerializedProperties properties = CVarSerializedPropertiesFinder.Find(cvarProperty); - - VisualElement container = new(); - - container.Add(new PropertyField(properties.Flags)); - container.Add(new PropertyField(properties.Name)); - - PropertyField descriptionField = new PropertyField(properties.Description); - container.Add(descriptionField); - - container.Add(new PropertyField(properties.ValueKind)); - container.Add(new PropertyField(properties.ValueNumber)); - container.Add(new PropertyField(properties.ValueString)); - return container; - } - } - - public struct CVarSerializedProperties { - public SerializedProperty Flags; - public SerializedProperty Name; - public SerializedProperty Description; - - public SerializedProperty ValueKind; - public SerializedProperty ValueNumber; - public SerializedProperty ValueString; - } - - public static class CVarSerializedPropertiesFinder { - public static CVarSerializedProperties Find(SerializedProperty cvar) { - CVarSerializedProperties properties = new(); - properties.Flags = cvar.FindPropertyRelative("Flags"); - properties.Name = cvar.FindPropertyRelative("Name"); - properties.Description = cvar.FindPropertyRelative("Description"); - - SerializedProperty value = cvar.FindPropertyRelative("DefaultValue"); - if (value != null) { - properties.ValueKind = value.FindPropertyRelative("Kind"); - properties.ValueNumber = value.FindPropertyRelative("NumberValue"); - properties.ValueString = value.FindPropertyRelative("StringValue"); - } - - return properties; - } - } -} \ No newline at end of file diff --git a/Editor/Inspectors/CVarAssetInspector.cs.meta b/Editor/Inspectors/CVarAssetInspector.cs.meta deleted file mode 100644 index b5c0ba2..0000000 --- a/Editor/Inspectors/CVarAssetInspector.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 43a78b204a01438ea8e99757046c213d -timeCreated: 1741641043 \ No newline at end of file diff --git a/Editor/Oracle/OracleWindow.cs b/Editor/Oracle/OracleWindow.cs deleted file mode 100644 index 09b28bc..0000000 --- a/Editor/Oracle/OracleWindow.cs +++ /dev/null @@ -1,23 +0,0 @@ -using UnityEditor; -using UnityEngine; -using UnityEngine.UIElements; - -namespace SzafaKitEditor.Oracle { - public class OracleWindow : EditorWindow { - [SerializeField] - private VisualTreeAsset m_VisualTreeAsset = default; - - [MenuItem("Szafa/Oracle")] - public static void ShowWindow() { - OracleWindow wnd = GetWindow(); - wnd.titleContent = new GUIContent("OracleWindow"); - } - - public void CreateGUI() { - VisualElement root = rootVisualElement; - - VisualElement labelFromUXML = m_VisualTreeAsset.Instantiate(); - root.Add(labelFromUXML); - } - } -} \ No newline at end of file diff --git a/Editor/Oracle/OracleWindow.cs.meta b/Editor/Oracle/OracleWindow.cs.meta deleted file mode 100644 index 80184b0..0000000 --- a/Editor/Oracle/OracleWindow.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: e2bd75a497487ee49a0a51cc223c552d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: - - m_VisualTreeAsset: {fileID: 9197481963319205126, guid: 852055ed179f6f546b9f0ff34d97f4fb, - type: 3} - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Editor/Oracle/OracleWindow.uss b/Editor/Oracle/OracleWindow.uss deleted file mode 100644 index 218263a..0000000 --- a/Editor/Oracle/OracleWindow.uss +++ /dev/null @@ -1,5 +0,0 @@ -.custom-label { - font-size: 20px; - -unity-font-style: bold; - color: rgb(68, 138, 255); -} \ No newline at end of file diff --git a/Editor/Oracle/OracleWindow.uxml b/Editor/Oracle/OracleWindow.uxml deleted file mode 100644 index 0e88309..0000000 --- a/Editor/Oracle/OracleWindow.uxml +++ /dev/null @@ -1,10 +0,0 @@ - -