浏览代码
[Material graph]Mark asset as dirty on modification so it can be saved properly when modified.
/main
[Material graph]Mark asset as dirty on modification so it can be saved properly when modified.
/main
Tim Cooper
9 年前
当前提交
516c1760
共有 10 个文件被更改,包括 123 次插入 和 67 次删除
-
30MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/DrawableNode.cs
-
88MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/GraphDataSource.cs
-
7MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/GraphEditWindow.cs
-
11MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Runtime/Assets/SerializableGraphAsset.cs
-
7MaterialGraphProject/Assets/UnityShaderEditor/Runtime/MaterialGraphAsset.cs
-
1MaterialGraphProject/Assets/UnityShaderEditor/Runtime/PixelGraph.cs
-
13MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/ICustomNodeUi.cs
-
12MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/ICustomNodeUi.cs.meta
-
9MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Runtime/Assets/IGraphAsset.cs
-
12MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Runtime/Assets/IGraphAsset.cs.meta
|
|||
using UnityEngine; |
|||
using UnityEngine.Graphing; |
|||
|
|||
namespace UnityEditor.Graphing.Drawing |
|||
{ |
|||
public interface ICustomNodeUi |
|||
{ |
|||
float GetNodeUiHeight(float width); |
|||
GUIModificationType Render(Rect area); |
|||
void SetNode(INode node); |
|||
float GetNodeWidth(); |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 84b49ec2bf7469c41a2181d884788be7 |
|||
timeCreated: 1465557420 |
|||
licenseType: Pro |
|||
MonoImporter: |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
namespace UnityEngine.Graphing |
|||
{ |
|||
public interface IGraphAsset |
|||
{ |
|||
IGraph graph { get; } |
|||
bool shouldRepaint { get; } |
|||
ScriptableObject GetScriptableObject(); |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: b6c42fafc7c73f84b8d030cc6743346d |
|||
timeCreated: 1465555773 |
|||
licenseType: Pro |
|||
MonoImporter: |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue