Ejemplo n.º 1
0
 /// <summary>
 /// Validate if port is valid for this command.
 /// </summary>
 /// <param name="source"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public virtual bool IsValidPort(Node source, PortCommandData data)
 {
     return(true);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Callback for do something on menu is clicked.
 /// </summary>
 /// <param name="source"></param>
 /// <param name="value"></param>
 /// <param name="mousePosition"></param>
 public abstract void OnClick(Node source, PortCommandData data, Vector2 mousePosition);