mirror of https://github.com/axmolengine/axmol.git
9f8962d47d
* Restructure extension folder structure to reduce conflicts with project source files * Do not include SDFGen headers for Android builds * Ensure correct paths are included for the relevant targets * ImGui is not be enabled for WinUWP, tvOS and iOS * Fix LUA auto binding generator to work with updated extension folder structure * Fix path and linker issues for yasio when using prebuilt option Set correct paths to extensions for prebuilt option |
||
---|---|---|
.. | ||
src/Inspector | ||
CMakeLists.txt | ||
README.md |
README.md
Inspector
(Experimental)
- Visualize node tree in real time
- Edit node properties
Usage
call openForScene(ax::Scene*)
in your onEnter
overload and close
in your onExit
overload. Dont forget to call Scene methods.
#include "Inspector/Inspector.h"
class MyScene : public ax::Scene {
virtual void onEnter() override {
ax::Scene::onEnter();
ax::extension::Inspector::getInstance()->openForScene(this);
}
virtual void onExit() override {
ax::extension::Inspector::getInstance()->close();
ax::Scene::onExit();
}
};