Has anyone used Uni Bit’s EasyProfile? I’m using this in my project for logins. However, when I try to transition my scene from the premade “profile” that I altered quite a bit with just the UI, nothing too much, but when I applied this…
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace EasyProfile
{
public class ChangeScene : MonoBehaviour
{
private EasyProfileSettings ProfileSettings;
public EasyProfileSettings PROFILE_SETTING
{
get
{
return ProfileSettings;
}
}
public void ButtonMoveScene(string level)
{
if (EasyProfileManager.Instance.PROFILE_SETTING.AllowToLoadScene)
{
SceneManager.LoadScene(EasyProfileManager.Instance.PROFILE_SETTING.ProfileSceneName);
}
}
}
}
It works while being in that scene, but coming from the login scene that comes with this asset it does not work. Where I change scene upon pressing a button.
(I pulled this code from the asset because I figured maybe I would have to use the load that the asset provided and not my own version of load so I just left it with this, but that version I made for myself came with the same outcome)
Link to the asset: Easy Profile System | Integration | Unity Asset Store
Anyone might know the possible cause? Let me know if you need more info, gladly would say.