mirror of
https://github.com/Siccity/xNode.git
synced 2026-03-26 22:49:02 +08:00
In Package Manager UI 2.0 (compatible with Unity 2019.1), you can include samples in a package.
https://forum.unity.com/threads/samples-in-packages-manual-setup.623080/
8 lines
326 B
C#
8 lines
326 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace XNode.Examples {
|
|
/// <summary> Defines an example nodegraph that can be created as an asset in the Project window. </summary>
|
|
[Serializable, CreateAssetMenu(fileName = "New Math Graph", menuName = "xNode Examples/Math Graph")]
|
|
public class MathGraph : NodeGraph { }
|
|
} |