using UnityEditor; using UnityEngine; namespace Azerion.BlueStack.Editor { public class DebugHelper { public static void StopBuildWithMessage(string message) { string prefix = "[BlueStack] "; #if UNITY_2017_1_OR_NEWER throw new BuildPlayerWindow.BuildMethodException(prefix + message); #else throw new OperationCanceledException(prefix + message); #endif } public static void Log(string message) { Debug.Log("[BlueStack] " + message); } } }