コード例 #1
0
 public void onObjectSelected(NavMesh obj)
 {
     if (Util.isObject(selectedObject))
         deselect();
     selectedObject = obj;
     if (Util.isObject(obj))
         {
         selectMesh(obj);
         NavInspector NavInspector = "NavInspector";
         NavInspector.inspect(obj);
         }
 }
コード例 #2
0
 public void selectObject(NavMesh obj)
 {
     NavTreeView NavTreeView = "NavTreeView";
     NavTreeView.clearSelection();
     if (Util.isObject(obj))
         NavTreeView.selectItem(obj);
     onObjectSelected(obj);
 }