Quantcast
Channel: Latest Questions by Flynn
Viewing all articles
Browse latest Browse all 48

Send array of transforms via RPC. [C#]

$
0
0

I need to send an array of transforms over the network using an RPC call. This must be done in such a way so that the receiving end can do whatever it wishes to those transforms.

I'm simply baffled as to how to do it. Sending it as a Transform[] returns the error "Sending RPC failed as parameters were invalid. Expecting 1 parameter, received 5".

Sending them as an Object[] seems to work, but for some reason trying to convert them back to transforms, and Network.Delete them either deletes the last one, or deletes none of them at all, returning a typecast error.

Theoretically converting them to a byte array could work, but there is nothing on converting an array to a byte array in c# on the net.

I'm baffled!


Viewing all articles
Browse latest Browse all 48

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>