GetY() 공개 메소드

public GetY ( ) : int
리턴 int
예제 #1
0
 public NodeEvent(EventType type, NodeGUI node, Vector2 localMousePos, ConnectionPointData point)
 {
     this.eventType = type;
     this.eventSourceNode = node;
     this.point = point;
     this.globalMousePosition = new Vector2(localMousePos.x + node.GetX(), localMousePos.y + node.GetY());
 }
예제 #2
0
 public NodeEvent(EventType type, NodeGUI node, Vector2 localMousePos, ConnectionPointData point)
 {
     this.eventType           = type;
     this.eventSourceNode     = node;
     this.point               = point;
     this.globalMousePosition = new Vector2(localMousePos.x + node.GetX(), localMousePos.y + node.GetY());
 }
예제 #3
0
 public OnNodeEvent(EventType type, NodeGUI node, Vector2 localMousePos, string conPointId)
 {
     this.eventType           = type;
     this.eventSourceNode     = node;
     this.conPointId          = conPointId;
     this.globalMousePosition = new Vector2(localMousePos.x + node.GetX(), localMousePos.y + node.GetY());
 }
 public void DuplicateNode(NodeGUI node)
 {
     var newNode = node.Duplicate(
         node.GetX() + 10f,
         node.GetY() + 10f
     );
     AddNodeGUI(newNode);
 }