Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Unable to add packables in Unity2017 beta via scripting

Discussion in '2D Experimental Preview' started by jsheets, Jun 6, 2017.

  1. jsheets


    May 31, 2017
    In the 2D Experimental Release 2 thread, there is a script available that allows users to add packable objects to the SpriteAtlas:

    Code (CSharp):
    1. SpriteAtlas.AddPackableObjects(Object[] packables)
    I'm currently experimenting with Unity2017.1.b07 beta and attempting to modify a SpriteAtlas via scripting in order to efficiently upgrade my old UI system to use the new 2D feature. However, there are currently no functions available to modify the SpriteAtlas packables.

    Is there any timeline for when the updated SpriteAtlas API that was showcased in the Experiemental Release thread will be available in the public Unity2017 beta? In the interest of not using 3rd party plugins, would it be wiser to instead utilize the SpritePacker if modifying sprite atlases via editor scripts is currently a high priority for me?