Ability to reload scripts on running game
This commit is contained in:
parent
45752eaae4
commit
9e745b920f
12 changed files with 247 additions and 18 deletions
|
|
@ -51,7 +51,7 @@ void Script::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("has_source_code"),&Script::has_source_code);
|
||||
ObjectTypeDB::bind_method(_MD("get_source_code"),&Script::get_source_code);
|
||||
ObjectTypeDB::bind_method(_MD("set_source_code","source"),&Script::set_source_code);
|
||||
ObjectTypeDB::bind_method(_MD("reload"),&Script::reload);
|
||||
ObjectTypeDB::bind_method(_MD("reload","keep_state"),&Script::reload,DEFVAL(false));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue