Esempio n. 1
0
        private static ConfigDataSetting CreateAsset()
        {
            ConfigDataSetting setting = ScriptableObject.CreateInstance <ConfigDataSetting>();

            AssetDatabase.CreateAsset(setting, ConfigDataSettingAssetPath);
            return(setting);
        }
 public ConfigDataTypeDefineCodeGenerator(Dictionary <string, ConfigDataTableInfo> configDataTableInfoDic, ConfigDataSetting setting)
 {
     m_configDataTableInfoDic = configDataTableInfoDic;
     m_setting = setting;
 }
Esempio n. 3
0
        private static ConfigDataSetting GetAsset()
        {
            ConfigDataSetting setting = AssetDatabase.LoadAssetAtPath(ConfigDataSettingAssetPath, typeof(ConfigDataSetting)) as ConfigDataSetting;

            return(setting);
        }
Esempio n. 4
0
 void OnEnable()
 {
     m_setting = ConfigDataSetting.Instance;
 }