HotPatchInitializerAttribute.cs 359 B

1234567891011121314
  1. using System;
  2. using UnityEngine.Scripting;
  3. namespace HotPatch
  4. {
  5. [Preserve]
  6. [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
  7. public sealed class HotPatchInitializerAttribute : Attribute
  8. {
  9. public int Order { get; }
  10. public HotPatchInitializerAttribute(int order = 0) => Order = order;
  11. }
  12. }