Unity, FirstPersonShooter example issues

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

adska
Posts: 2
Joined: 08 Feb 2020, 13:52

Unity, FirstPersonShooter example issues

Postby adska » 08 Feb 2020, 13:59

Hello, I just downloaded and opened example from http://docs2x.smartfoxserver.com/ExamplesUnity/fps but I am getting errors which you can see in below screen. Any ideas how i can fix them?

Image
Attachments
Untitled.png
(187.8 KiB) Not downloaded yet
User avatar
Bax
Site Admin
Posts: 4490
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Unity, FirstPersonShooter example issues

Postby Bax » 10 Feb 2020, 11:22

It seems your Unity doesn't "see" the classes in the API dll.
I suggest to remove all content of the /Assets/Plugins folder, then download the latest version of our C# API and follow the instructions provided here based on the platforms you want to support: http://docs2x.smartfoxserver.com/Gettin ... api-csharp
(given you are only testing our example, you can just follow the instructions for "Editor and Standalone, iOS, Android builds")
Paolo Bax
The SmartFoxServer Team
adska
Posts: 2
Joined: 08 Feb 2020, 13:52

Re: Unity, FirstPersonShooter example issues

Postby adska » 10 Feb 2020, 17:21

ok, everything is fine, I solved problem.

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 3 guests