Search Unity

Remove unused Labels

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

  1. WeltenbauerRenn

    WeltenbauerRenn

    Joined:
    Jun 20, 2017
    Posts:
    40
    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

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    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.