123456789101112131415161718192021222324252627282930313233343536373839404142 |
-
- #if UNITY_ANDROID
- namespace GooglePlayGames.Editor
- {
- using System.Collections.Generic;
- using System.IO;
- using UnityEditor.Callbacks;
- using UnityEditor;
- using UnityEngine;
- public static class GPGSPostBuild
- {
- [PostProcessBuild(99999)]
- public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject)
- {
- if (!GPGSProjectSettings.Instance.GetBool(GPGSUtil.ANDROIDSETUPDONEKEY, false))
- {
- EditorUtility.DisplayDialog("Google Play Games not configured!",
- "Warning!! Google Play Games was not configured, Game Services will not work correctly.",
- "OK");
- }
- return;
- }
- }
- }
- #endif //UNITY_ANDROID
|