Selection node 선택할수있도록 구현 + Control키 누른상태로는 다중선택 가능하도록 설계
각 메뉴별로 활성화유무를 제어할수 있어야하기때문에 Context Menu도 약간 고쳐서 개별 WaitUntil처럼 Func<bool> predicate를 받도록했음.
Copy랑 Delete는 selection.Count > 0 일때
Paste는 기존 GraphView와 같이 클립보드 데이터가 application/vnd.unity.graphview.elements 으로 시작할때만 활성화 됨.
노드에 hover, selection 효과도 추가해줬고 차곡차곡 진행하는중.
https://github.com/dunward/GraphView.Runtime
GitHub - dunward/GraphView.Runtime: Unity runtime graph view plugin
Unity runtime graph view plugin. Contribute to dunward/GraphView.Runtime development by creating an account on GitHub.
github.com
댓글 0