docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ResourceMetadata

    Metadata for Unity.ReadResource responses.

    Inheritance
    object
    ResourceMetadata
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AI.MCP.Editor.ToolRegistry.Parameters
    Assembly: Unity.AI.MCP.Editor.dll
    Syntax
    public class ResourceMetadata

    Properties

    LengthBytes

    Gets or sets the total length of the file in bytes (not just the slice).

    Declaration
    public long LengthBytes { get; set; }
    Property Value
    Type Description
    long

    Sha256

    Gets or sets the SHA-256 hash of the complete file content (not just the slice). Useful for change detection and file integrity verification.

    Declaration
    public string Sha256 { get; set; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2026 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)