Example #1
0
    static bool ExportPackageValidation()
    {
        for (var i = 0; i < Selection.objects.Length; i++)
        {
            if (AssetDatabase.GetAssetPath(Selection.objects[i]) != "")
            {
                GameLogger.LogBlue("Continue");
                return(true);
            }
        }

        GameLogger.LogGreen("Abort");
        return(false);
    }