Embedding game process in editor
This commit is contained in:
@ -409,6 +409,8 @@ bool OS::has_feature(const String &p_feature) {
|
||||
return _in_editor;
|
||||
} else if (p_feature == "editor_runtime") {
|
||||
return !_in_editor;
|
||||
} else if (p_feature == "embedded_in_editor") {
|
||||
return _embedded_in_editor;
|
||||
}
|
||||
#else
|
||||
if (p_feature == "template") {
|
||||
|
||||
Reference in New Issue
Block a user