예제 #1
0
 void Start()
 {
     enabled = false;
     if (textChangedEvent == null)
         textChangedEvent = nullStringCallFunc;
     if (enterKeyEvent == null)
         enterKeyEvent = nullVoidCallFunc;
 }
 void Start()
 {
     if (elementClickedEvent == null)
         elementClickedEvent = nullStringCallFunc;
     if (nodeClickedEvent == null)
         nodeClickedEvent = nullStringCallFunc;
     if (elementClickedObjectEvent == null)
         elementClickedObjectEvent = nullClickedObjectEvent;
 }
예제 #3
0
 void Start()
 {
     if (elementClickedEvent == null)
         elementClickedEvent = nullStringCallFunc;
     if (nodeClickedEvent == null)
         nodeClickedEvent = nullStringCallFunc;
     if (elementClickedObjectEvent == null)
         elementClickedObjectEvent = nullClickedObjectEvent;
     rootTreeView = new zzGUILibTreeView();
     rootTreeView.selectedStyle = selectedStyle;
     rootTreeView.notSelectedStyle = notSelectedStyle;
     rootTreeView.setTreeNode(treeInfo.treeInfo);
 }
 public void addNodeClickedEvent(StringCallFunc pReceiver)
 {
     nodeClickedEvent += pReceiver;
 }
 public void addElementClickedEvent(StringCallFunc pReceiver)
 {
     elementClickedEvent += pReceiver;
 }
예제 #6
0
 public void addTextChangedReceiver(StringCallFunc pReceiver)
 {
     textChangedEvent += pReceiver;
 }