Expose methods to play scene from plugin code

This commit is contained in:
Yuri Sizov 2020-04-05 17:19:24 +03:00 committed by Yuri Sizov
parent b43fb407b1
commit 49f6dc5004
7 changed files with 124 additions and 8 deletions

View file

@ -46,9 +46,11 @@ public:
private:
Status status;
String running_scene;
public:
Status get_status() const;
String get_running_scene() const;
Error run(const String &p_scene, const String &p_custom_args, const List<String> &p_breakpoints, const bool &p_skip_breakpoints = false);
void run_native_notify() { status = STATUS_PLAY; }
void stop();