[UE4]C++方法多个返回值给蓝图
如果参数类型带上“&”
void URegisterUserWidget::Login(FString& NickName, FString& Password, FString& RePassword) { common.print(NickName + "," + Password + "," + RePassword); }
在蓝图中则会变成输出参数:
如果参数类型带上“&”
void URegisterUserWidget::Login(FString& NickName, FString& Password, FString& RePassword) { common.print(NickName + "," + Password + "," + RePassword); }
在蓝图中则会变成输出参数: