First commit

This commit is contained in:
Misaki
2024-11-02 17:58:52 +09:00
commit e645a5327b
153 changed files with 3729 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Misaki.GraphView.Editor
{
public interface IExposedPropertyTypeManager
{
public void AddPropertyType<T, TV>() where T : ExposedProperty;
public void AddPropertyType(Type type, Type valueType);
public void RemovePropertyType<T>();
public void RemovePropertyType(Type type);
public ReadOnlyDictionary<Type, Type> GetPropertyTypes();
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 3fdc5b0b94324ad8adfef75c151cfac7
timeCreated: 1730455540

View File

@@ -0,0 +1,13 @@
using System;
using UnityEngine.UIElements;
namespace Misaki.GraphView.Editor
{
public interface IInspectable
{
public Action<IInspectable> OnItemSelected { get; set; }
public string InspectorName { get; }
public VisualElement CreateInspector();
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 0dcd2ace03ad48d4b45023a42d088708
timeCreated: 1730456345

View File

@@ -0,0 +1,11 @@
using System;
using UnityEngine;
namespace Misaki.GraphView.Editor
{
public interface IPortColorManager
{
public void SetColor<T>(Color color);
public bool TryGetColor(Type valueType, out Color color);
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: f8c9a927a4e64d02a08b45d491bac200
timeCreated: 1730123769

View File

@@ -0,0 +1,11 @@
using System.Collections.Generic;
using UnityEditor.Experimental.GraphView;
namespace Misaki.GraphView.Editor
{
public interface IPortContainer
{
public List<Port> InputPorts { get; }
public List<Port> OutputPorts { get; }
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 5e73aa7e15754fcca95d518c7936a80f
timeCreated: 1730524683