How to send and receive classes
-
xms_wufucan@126.com
- Posts: 4
- Joined: 31 Mar 2011, 03:32
How to send and receive classes
I have read the document, but I haven't understand how it sends and receives classes between sfs2x server and unity. Please help me.
-
ThomasLund
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
-
xms_wufucan@126.com
- Posts: 4
- Joined: 31 Mar 2011, 03:32
Could you gave me a demo about it? I have read the Topic[P4E]Andy wrote:There really is no direct way of sending classes between the two. You'd have to marshall your classess into and out of SFSObjects.
The SFSObjects are the objects sent in messages to/from the server.
http://forums.smartfoxserver.com/viewtopic.php?p=44239, and
I tried it , but I haven't been successful.