string array as RPC parameter
Options
I tried to use a string array as parameter for a rpc method, but i get the error Type string is not supported. Do i have to put all string elements in one big concatenated string?
[Rpc(RpcSources.All, RpcTargets.All)] void RPC_Test(string[] myArray, RpcInfo info = default)
0
Answers
-
I would try NetworkString<> in this context (though I have not tested those as arrays in RPCs).
1