public void OnEnable()
        {
            _data = target as ClientConfig;
            _saleChannelConfig = AssetDatabase.LoadAssetAtPath("Assets/Config/SaleChannel.asset", typeof(SaleChannelConfig)) as SaleChannelConfig;

            _platformLabels = new string[Platform.Values.Length];
            for (int i = 0; i < Platform.Values.Length; i++)
            {
                _platformLabels[i] = Platform.LabelOf(Platform.Values[i]);
            }
        }
Exemplo n.º 2
0
 public void OnEnable()
 {
     _data = target as SaleChannelConfig;
 }