Example #1
0
    void Start()
    {
        DontDestroyOnLoad(gameObject);

        if (!isLocalPlayer)
        {
            return;
        }

        profileStore = new PlayerProfileStore();

        CmdSetProfile(profileStore.LoadProfile());
    }
 void Start()
 {
     profile    = profileStore.LoadProfile();
     input.text = profile.Name;
 }