上传一个ui插件
This commit is contained in:
+17
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user