上传一个ui插件

This commit is contained in:
2024-11-09 12:49:46 +08:00
parent 4bb0230d42
commit da9f74d41e
353 changed files with 162936 additions and 0 deletions
@@ -0,0 +1,17 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MeadowGames.UINodeConnect4.Extension
{
/// <summary>
/// label port0.node : port1.node
/// </summary>
public class StartPlusEndNodeIDsRule : ConnectionLabelRule
{
public override void ExecuteRule(Connection connection)
{
connection.SetLabel(connection.port0.node.ID + " : " + connection.port1.node.ID);
}
}
}