9092858a58
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
22 lines
660 B
C#
22 lines
660 B
C#
using UnityEngine;
|
|
|
|
namespace Unity.VisualScripting
|
|
{
|
|
[TypeIcon(typeof(FlowGraph))]
|
|
[CreateAssetMenu(menuName = "Visual Scripting/Script Graph", fileName = "New Script Graph", order = 81)]
|
|
[HelpURL("https://docs.unity3d.com/Packages/com.unity.visualscripting@latest/index.html?subfolder=/manual/vs-script-graphs-intro.html")]
|
|
public sealed class ScriptGraphAsset : Macro<FlowGraph>
|
|
{
|
|
[ContextMenu("Show Data...")]
|
|
protected override void ShowData()
|
|
{
|
|
base.ShowData();
|
|
}
|
|
|
|
public override FlowGraph DefaultGraph()
|
|
{
|
|
return FlowGraph.WithInputOutput();
|
|
}
|
|
}
|
|
}
|