mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
Allow signal connecting even if script is invalid (only when compiled with tools), fixes #17070
This commit is contained in:
parent
616b91b498
commit
3a93499f89
11 changed files with 33 additions and 4 deletions
|
|
@ -2571,6 +2571,10 @@ void CSharpScript::update_exports() {
|
|||
#endif
|
||||
}
|
||||
|
||||
bool CSharpScript::is_valid() const {
|
||||
return true; //TODO return false if invalid
|
||||
}
|
||||
|
||||
bool CSharpScript::has_script_signal(const StringName &p_signal) const {
|
||||
if (_signals.has(p_signal))
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue