mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 16:33:30 +00:00
Updated function argument names
This commit is contained in:
parent
5052cb2b91
commit
428f03cf06
74 changed files with 195 additions and 194 deletions
|
@ -341,12 +341,12 @@ String VisualScriptFunctionCall::get_base_script() const {
|
|||
return base_script;
|
||||
}
|
||||
|
||||
void VisualScriptFunctionCall::set_singleton(const StringName &p_path) {
|
||||
void VisualScriptFunctionCall::set_singleton(const StringName &p_type) {
|
||||
|
||||
if (singleton == p_path)
|
||||
if (singleton == p_type)
|
||||
return;
|
||||
|
||||
singleton = p_path;
|
||||
singleton = p_type;
|
||||
Object *obj = ProjectSettings::get_singleton()->get_singleton_object(singleton);
|
||||
if (obj) {
|
||||
base_type = obj->get_class();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue