24 lines
502 B
C#
24 lines
502 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using Steamworks;
|
|
|
|
public class SteamworksManager : MonoBehaviour
|
|
{
|
|
private void OnEnable()
|
|
{
|
|
DontDestroyOnLoad(this);
|
|
}
|
|
|
|
// Start is called before the first frame update
|
|
public void SetSteamPresance(string valueName, string presanceText)
|
|
{
|
|
SteamFriends.SetRichPresence(valueName, presanceText);
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|