Hi there, I went through the tutorial for SFS and Unity. Everything works. I have is this script from the tutorial, it is written in C#.. http://wiki.unity3d.com/index.php/BOX1_ ... .cs_script
Can the SFS connection part be added to JS instead? Is there such a script already out there? I wrote a login script in Javascript, but would like to add this connection dealy. :
Any help or suggestions much appreciated.
Thanks.
Is it possible?
Re: Is it possible?
Your question is not very clear, can you please rephrase?
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: Is it possible?
The tutorial login script is written in c#, from the wiki page link. I was asking if the SFS connection code that is in c# is available in javaScript form? Because I have made a custom login in script for Unity that is written in js. I want to add the SFS connection code to that js.
Re: Is it possible?
Mark this as closed. I will stick with the C# script. Thanks.
Re: Is it possible?
We provide JavaScript API, but I'm not sure you will be able to use them inside Unity.
Sticking to the C# API is the right choice I believe.
Sticking to the C# API is the right choice I believe.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: Is it possible?
Yeah for sure, over on the Unity side, a lot of their documentation is in JS, and at first, all I was finding was JS tutorials. I figured out how to convert the JS elements to c#. So all good. Thanks.
Who is online
Users browsing this forum: No registered users and 34 guests