Class ReloadAttribute
Attribute specifying information to reload with Resource
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public sealed class ReloadAttribute : Attribute
Constructors
ReloadAttribute(string, int, int, Package)
Creates a new Reload
Declaration
public ReloadAttribute(string pathFormat, int rangeMin, int rangeMax, ReloadAttribute.Package package = Package.Root)
Parameters
Type | Name | Description |
---|---|---|
string | pathFormat | The format used for the path |
int | rangeMin | The array start index (inclusive) |
int | rangeMax | The array end index (exclusive) |
Reload |
package | The lookup method |
See Also
ReloadAttribute(string, Package)
Creates a new Reload
Declaration
public ReloadAttribute(string path, ReloadAttribute.Package package = Package.Root)
Parameters
Type | Name | Description |
---|---|---|
string | path | Search path |
Reload |
package | The lookup method |
See Also
ReloadAttribute(string[], Package)
Creates a new Reload
Declaration
public ReloadAttribute(string[] paths, ReloadAttribute.Package package = Package.Root)
Parameters
Type | Name | Description |
---|---|---|
string[] | paths | Search paths |
Reload |
package | The lookup method |
See Also
Fields
package
The lookup method.
Declaration
public readonly ReloadAttribute.Package package
Field Value
Type | Description |
---|---|
Reload |
See Also
paths
Search paths.
Declaration
public readonly string[] paths
Field Value
Type | Description |
---|---|
string[] |