Difficulties initializing the Unity SDK

0 votes

From this link: http://api.shephertz.com/tutorial/Getting-Started-Unity/?index=gs-unitysdk

I've imported the dll file into Unity and am trying to call this function:

  1. ServiceAPI serviceAPI = new ServiceAPI("<API_KEY>","<SECRET_KEY>");  

from one of my Unity classes but I get an error saying ServiceAPI does not exist in the conext. I've also replaced api key and secret key with my own keys.

 

 

asked Jan 11, 2015 in App42 Cloud API-BaaS by darkgolemgames (10 points)
recategorized Jan 12, 2015 by sushil

1 Answer

0 votes

Hello,

Please make sure that you have imported the class packgae correctly in Unity class to use the ServiceAPI. Please import the melow section of code in your Unity class & let us know if it helps.

using com.shephertz.app42.paas.sdk.csharp;

Thanks,

Himanshu Sharma

answered Jan 12, 2015 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...