docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ReloadAttribute

    Attribute specifying information to reload with ResourceReloader. This is only used in the editor and doesn't have any effect at runtime.

    Inheritance
    object
    Attribute
    ReloadAttribute
    Inherited Members
    Attribute.Equals(object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.Match(object)
    Attribute.TypeId
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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 ReloadAttribute for an array using automatic path name numbering.

    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)

    ReloadAttribute.Package package

    The lookup method

    See Also
    ResourceReloader
    ReloadGroupAttribute

    ReloadAttribute(string, Package)

    Creates a new ReloadAttribute for a single resource.

    Declaration
    public ReloadAttribute(string path, ReloadAttribute.Package package = Package.Root)
    Parameters
    Type Name Description
    string path

    Search path

    ReloadAttribute.Package package

    The lookup method

    See Also
    ResourceReloader
    ReloadGroupAttribute

    ReloadAttribute(string[], Package)

    Creates a new ReloadAttribute for an array by specifying each resource path individually.

    Declaration
    public ReloadAttribute(string[] paths, ReloadAttribute.Package package = Package.Root)
    Parameters
    Type Name Description
    string[] paths

    Search paths

    ReloadAttribute.Package package

    The lookup method

    See Also
    ResourceReloader
    ReloadGroupAttribute

    Fields

    package

    The lookup method.

    Declaration
    public readonly ReloadAttribute.Package package
    Field Value
    Type Description
    ReloadAttribute.Package
    See Also
    ResourceReloader
    ReloadGroupAttribute

    paths

    Search paths.

    Declaration
    public readonly string[] paths
    Field Value
    Type Description
    string[]
    See Also
    ResourceReloader
    ReloadGroupAttribute

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)

    See Also

    ResourceReloader
    ReloadGroupAttribute
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)