mirror of
https://github.com/yuzu-emu/discord-rpc
synced 2024-11-22 22:03:46 +00:00
Normalize white-space
This commit is contained in:
parent
e4b3ef63b7
commit
b1d6a7c0fc
2 changed files with 41 additions and 38 deletions
|
@ -1,6 +1,7 @@
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public class DiscordController : MonoBehaviour {
|
public class DiscordController : MonoBehaviour
|
||||||
|
{
|
||||||
public DiscordRpc.RichPresence presence;
|
public DiscordRpc.RichPresence presence;
|
||||||
public string applicationId;
|
public string applicationId;
|
||||||
public string optionalSteamId;
|
public string optionalSteamId;
|
||||||
|
@ -59,10 +60,12 @@ public class DiscordController : MonoBehaviour {
|
||||||
Debug.Log(string.Format("Discord: join request {0}: {1}", request.username, request.userId));
|
Debug.Log(string.Format("Discord: join request {0}: {1}", request.username, request.userId));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Start () {
|
void Start()
|
||||||
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void Update () {
|
void Update()
|
||||||
|
{
|
||||||
DiscordRpc.RunCallbacks();
|
DiscordRpc.RunCallbacks();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue