Search Unity

  1. Unity 2020.2 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Remove unused Labels

Discussion in 'Addressables' started by WeltenbauerRenn, Jul 25, 2019.

  1. WeltenbauerRenn

    WeltenbauerRenn

    Joined:
    Jun 20, 2017
    Posts:
    29
    Hello,

    I'm creating a lot of labels to pack a big group into different bundles. That also creates Labels that are unused later on. I know how to tack the currently used labels, but I can't access the LabelTable on the Settings SO.

    Is there a good way to get list of defined label entries without doing a lot of reflection?
     
    Last edited: Jul 26, 2019
  2. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    1,038
    I don't understand what you are asking. You just want a list of labels in the editor? You should be able to look at how our UI code does it. I don't have the code up right now to tell you specifics. If I'm not understanding correctly, or if you can't find what I'm talking about, let me know.
     
unityunity