void Awake() { if (_instance == null) { _instance = this; } }
public static void RemoveUser(UserModel user, Delegates.GeneralListenerSuccess success, Delegates.GeneralListenerFail fail) { FirebaseAPIHelper.GetFireBaseAPIHelperInstance().RemoveUser(user.userID, delegate() { FireBaseManager.GetFireBaseInstance().RemoveUser(user.userID, user.userType, delegate() { GetAllResponsablesFromCompanyAsUser(); success(); }); }, fail); }
void CreateUserLogin() { Loading = true; FirebaseAPIHelper.GetFireBaseAPIHelperInstance().AddUser(email.text, password.text, delegate(string userID) { CreateNewResponsibleToCompany(userID); }, delegate(string error) { Error = true; }); }