25class UrUINavigation:
public ToyMaker::SimObjectAspect<UrUINavigation> {
27 UrUINavigation(): ToyMaker::SimObjectAspect<UrUINavigation>{0} {}
28 inline static std::string getSimObjectAspectTypeName() {
return "UrUINavigation"; }
29 static std::shared_ptr<BaseSimObjectAspect> create(
const nlohmann::json& jsonAspectProperties);
30 std::shared_ptr<BaseSimObjectAspect> clone()
const override;
32 void loadScene(
const std::string& sceneResourceName);
35 std::string mSceneManagerPath {};
37 void onButtonClicked(
const std::string& button);
40 ToyMaker::SignalObserver<const std::string&> mObserveButtonClicked {
41 *
this,
"ButtonClickedObserved",
42 [
this](
const std::string& button) { this->onButtonClicked(button); }