Class ReloadAttribute
Attribute specifying information to reload with ResourceReloader. This is only used in the editor and doesn't have any effect at runtime.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public sealed class ReloadAttribute : Attribute
Constructors
Name | Description |
---|---|
ReloadAttribute(string, int, int, Package) | Creates a new ReloadAttribute for an array using automatic path name numbering. |
ReloadAttribute(string, Package) | Creates a new ReloadAttribute for a single resource. |
ReloadAttribute(string[], Package) | Creates a new ReloadAttribute for an array by specifying each resource path individually. |
Fields
Name | Description |
---|---|
package | The lookup method. |
paths | Search paths. |