如果参数类型带上“&”
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); }
在蓝图中则会变成输出参数:
转载于:https://www.cnblogs.com/timy/p/8683638.html