Пример #1
0
        protected override bool OnValidate()
        {
            if (!BuildTarget.IsBuildTargetSupported())
            {
                RockLog.WriteLine(LogTier.Error,
                                  string.Format("Build target \"{0}\" is not supported by this Unity engine. " +
                                                "This might be because module for this build target hasn't been installed.", BuildTarget));
                return(false);
            }

            return(true);
        }