説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

IgnoreWarningAttribute.cs 557B

123456789101112131415161718
  1. using System;
  2. namespace Unity.Burst.CompilerServices
  3. {
  4. /// <summary>
  5. /// Can be used to specify that a warning produced by Burst for a given
  6. /// method should be ignored.
  7. /// </summary>
  8. [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
  9. public class IgnoreWarningAttribute : Attribute
  10. {
  11. /// <summary>
  12. /// Ignore a single warning produced by Burst.
  13. /// </summary>
  14. /// <param name="warning">The warning to ignore.</param>
  15. public IgnoreWarningAttribute(int warning) { }
  16. }
  17. }