We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cd9d3b6 + bb62135 commit e9751d0Copy full SHA for e9751d0
1 file changed
Plugins/UnLua/Source/UnLuaEditor/Private/UnLuaIntelliSense.cpp
@@ -110,6 +110,15 @@ namespace UnLua
110
// declaration
111
Ret += FString::Printf(TEXT("local %s = {}\r\n"), *EscapeSymbolName(TypeName));
112
113
+ // exported functions
114
+ const auto Exported = GetExportedReflectedClasses().Find(TypeName);
115
+ if (Exported)
116
+ {
117
+ TArray<IExportedFunction*> ExportedFunctions;
118
+ (*Exported)->GetFunctions(ExportedFunctions);
119
+ for (const auto Function : ExportedFunctions)
120
+ Function->GenerateIntelliSense(Ret);
121
+ }
122
return Ret;
123
}
124
0 commit comments