AppWarp not working!?! (Unity3D)

0 votes

I have imported the AppWarpUnity.dll file to my project. I have got this script with AppWarp and it gives me an error saying :
The name `WarpClient' does not exist in the current context. The script I've got seems perfectly normal. Heres my script:

 

  1.     string roomid = "***********"//private
  2.     string apiKey = "************"//private
  3.     string secretKey = "************"//private
  4.  
  5.     void Start () {
  6.         WarpClient.initialize(apiKey, secretKey);
  7.     }
asked Dec 31, 2014 in AppWarp by slicedstudios (15 points)
recategorized Jan 5, 2015 by sushil

1 Answer

0 votes
 
Best answer

Hi,

Have you imported the AppWarp classes in your C# script. You need to have following in your script :

         using com.shephertz.app42.gaming.multiplayer.client;

Or better you can import all namespaces

using com.shephertz.app42.gaming.multiplayer.client;
using com.shephertz.app42.gaming.multiplayer.client.events;
using com.shephertz.app42.gaming.multiplayer.client.listener;
using com.shephertz.app42.gaming.multiplayer.client.command;
using com.shephertz.app42.gaming.multiplayer.client.message;
using com.shephertz.app42.gaming.multiplayer.client.transformer;
 
Thanks


 

answered Dec 31, 2014 by Suyash Mohan (900 points)
selected Dec 31, 2014 by slicedstudios
Do I need to import App42 as well? I only need AppWarp though
You don't need to import App42 classes if you are only using AppWarp.

The above statements only import AppWarp Classes. The app42 in them is part of AppWarp's class path.
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
...