Class BlobStringExtensions | Entities | 0.10.0-preview.6
docs.unity3d.com
  • Manual
  • Scripting API
  • Changelog
  • License
Entities 0.10.0-preview.6
    Show / Hide Table of Contents
    • Scripting API

    Class BlobStringExtensions

    Extensions that allow the creation of BlobString instances by a BlobBuilder.

    Inheritance
    Object
    BlobStringExtensions
    Namespace: Unity.Entities
    Syntax
    public static class BlobStringExtensions

    Methods

    AllocateString(ref BlobBuilder, ref BlobString, String)

    Allocates memory to store the string in a blob asset and copies the string data into it.

    Declaration
    public static void AllocateString(this ref BlobBuilder builder, ref BlobString blobStr, string value)
    Parameters
    Type Name Description
    BlobBuilder builder

    The BlobBuilder instance building the blob asset.

    BlobString blobStr

    A reference to the field in the blob asset that will store the string. This function allocates memory for that field and sets the string value.

    String value

    The string to copy into the blob asset.

    In This Article
    • Methods
      • AllocateString(ref BlobBuilder, ref BlobString, String)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023