Unity3D Extension Response

Post here all your questions related with SmartFoxServer .Net/Unity3D API

Moderators: Lapo, Bax

kidovate
Posts: 13
Joined: 10 Apr 2010, 00:58

Unity3D Extension Response

Postby kidovate » 02 May 2010, 22:15

Hello!

This is driving me crazy... I have found nothing in the documentation or anything.

How do you receive a response in the unity API? I keep getting the error that System.Object doesn't have a variable _cmd.

Can someone give me an example?

Thanks!
Christian
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Postby ThomasLund » 03 May 2010, 06:15

The example 3 tutorial communicates with a server based extension that is "build in" and where you have the sources for both ends.

Its called SmartFoxTris on the server end and its example 3 on the Unity end.

Should give you the answers, as its both uses object sending + extension communication.

Additionally the documentation is a good place to read about server side extensions. This page takes you through it all + in the bottom has links to more examples:

http://www.smartfoxserver.com/docs/inde ... bility.htm

The Unity API is interoperable with all other APIs - so there is nothing special for it. Things work 99% the same.

Best
Thomas

Return to “.Net / Unity3D API”

Who is online

Users browsing this forum: No registered users and 33 guests