Hi Huffman,
If you want to use these methods in single callback, You can set global variable for each method call like this.
e.g bool getAllUsers = false, deleteUser = false; //etc
And when your method is called you must set this variable to true. e.g getAllUsers = true;
finally do something like that in your callback.
public class UnityCallBack : App42CallBack
{
public void OnSuccess(object response)
{
if(getAllUsers )
{
IList<User> users = (IList<User>) response;
//do your code
}else if(deleteUser)
{
User user = (User) response;
// do your code
}
getAllUsers = false;
deleteUser = false;
}
public void OnException(Exception e)
{
App42Log.Console("Exception : " + e);
}
}