コード例 #1
0
 protected void AddUnityAuthoredConditionalError(ManifestData manifest, string message)
 {
     if (manifest.IsAuthoredByUnity())
     {
         AddError(message);
     }
     else
     {
         AddWarning(message);
     }
 }
 private void ValidateAuthor(ManifestData manifestData)
 {
     if (manifestData.IsAuthoredByUnity())
     {
         ValidateUnityAuthor(manifestData);
     }
     else
     {
         ValidateNonUnityAuthor(manifestData);
     }
 }