docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Store custom data in a grid

    To store custom data in a grid, add a Grid Information component. For example, to store and retrieve data you use in scriptable tiles.

    Follow these steps:

    1. Select a grid in the Hierarchy window.
    2. In the Inspector window, select Add Component.
    3. Select Grid Information.

    To store and retrieve data, use the SetPositionProperty and GetPositionProperty APIs.

    Additional resources

    • Grid component reference
    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)