Fix conditional compilation.

This commit is contained in:
2023-01-01 20:07:58 +08:00
parent 2b5bc5dd08
commit e8f8593555
4 changed files with 7 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ using UnityEngine;
namespace Cryville.Crtr {
internal class DiscordController : MonoBehaviour {
#if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
public static DiscordController Instance;
const long CLIENT_ID = 1059021675578007622L;
@@ -50,5 +51,6 @@ namespace Cryville.Crtr {
},
}, Callback);
}
#endif
}
}