add g6
This commit is contained in:
1 parent
6fc77ad797
commit
46123a9b83
5 files changed
+2900
-212
No files matched your search
@@ -7,10 +7,13 @@ import BehaviorTree from './BehaviorTree';
|
||||
import './Editor.css';
|
||||
|
||||
export interface EditorProps {
|
||||
|
||||
filepath: string;
|
||||
}
|
||||
|
||||
export default class Editor extends React.Component<EditorProps> {
|
||||
componentWillMount() {
|
||||
|
||||
}
|
||||
componentDidMount() {
|
||||
console.log("props", this.props);
|
||||
}
|
||||
@@ -20,7 +23,11 @@ export default class Editor extends React.Component<EditorProps> {
|
||||
<GGEditor className="editor">
|
||||
<Row className="editorBd">
|
||||
<Col span={18} className="editorContent">
|
||||
<BehaviorTree />
|
||||
<BehaviorTree
|
||||
onSelectNode={(node) => {
|
||||
console.log("onSelectNode", node)
|
||||
}}
|
||||
/>
|
||||
</Col>
|
||||
<Col span={6} className="editorSidebar">
|
||||
<NodePanel />
|
||||
|
||||
Reference in new issue
Block a user