Cocos Creator
Editor.DevTools
Methods
Editor.DevTools.focus (editorWin)
editorWin
Editor.Window
Focus on devtools for editorWin
.
Editor.DevTools.executeJavaScript (editorWin, script)
editorWin
Editor.Windowscript
string
Execute script
in the devtools for editorWin
.
Editor.DevTools.enterInspectElementMode (editorWin)
editorWin
Editor.Window
Enter the inspect element mode for editorWin
.