Search Unity

(Feature Request) Generate const file

Discussion in 'Addressables' started by optimise, Sep 21, 2018.

  1. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,129
    @unity_bill I think after building the asset bundle and the addressable catalog, it should generate a AddressableConst.cs file contains a list of const string that will ease loading things you want to load and avoid string typing error. E̶v̶e̶n̶ ̶b̶e̶t̶t̶e̶r̶ ̶i̶f̶ ̶a̶b̶l̶e̶ ̶t̶o̶ ̶g̶e̶n̶e̶r̶a̶t̶e̶ ̶l̶i̶s̶t̶ ̶o̶f̶ ̶u̶i̶n̶t̶ ̶c̶o̶n̶s̶t̶ ̶i̶n̶s̶t̶e̶a̶d̶ ̶o̶f̶ ̶l̶i̶s̶t̶ ̶o̶f̶ ̶s̶t̶r̶i̶n̶g̶ ̶t̶h̶a̶t̶ ̶r̶e̶p̶r̶e̶s̶e̶n̶t̶ ̶G̶U̶I̶D̶ ̶o̶f̶ ̶t̶h̶e̶ ̶f̶i̶l̶e̶ ̶o̶r̶ ̶m̶e̶m̶o̶r̶y̶ ̶l̶o̶c̶a̶t̶i̶o̶n̶ ̶o̶r̶ ̶t̶h̶e̶ ̶f̶i̶l̶e̶.̶
     
    Last edited: Sep 21, 2018
  2. Paul_Bronowski

    Paul_Bronowski

    Joined:
    Sep 3, 2014
    Posts:
    55
    optimise likes this.