question

Benjamin avatar image
Benjamin asked

How steam Achievements help have code explain?

Hello, how steam Achievements where have code example differents only steam or playfab steam achivements (save)

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Steamworks;
using PlayFab;
using PlayFab.ClientModels;
using TMPro;


public class SteamAchivements : MonoBehaviour
{
    private void Update()
    {
        if (!SteamManager.Initialized) { return; }


        if (!Input.GetKeyDown(KeyCode.Space)) { return; }


        SteamUserStats.SetAchievement("ACH_WIN_ONE_GAME");


        SteamUserStats.StoreStats();
    }
}


10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered

PlayFab doesn’t have the code example about Steam Achievements. If you need support about Steam Achievements you may need to ask for support from Steam. If you want to store the Steam Achievements in PlayFab, you can store them in the Player Read Only Data. If I misunderstand what you need, could you please tell me more about your scenario and what functionality you want to implement to help me understand?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.