Example #1
0
        private void InitSettings()
        {
#if UNITY_4_5 || UNITY_4_6
            audioSettings = new ImporterRuleAudioSettings();
#else
            audioSettings = new ImporterRuleAudioSettingsUFive();
#endif
            fontSettings    = new ImporterRuleFontSettings();
            modelSettings   = new ImporterRuleModelSettings();
            movieSettings   = new ImporterRuleMovieSettings();
            textureSettings = new ImporterRuleTextureSettings();
        }
Example #2
0
 public void CopyFrom(ImporterRule rule)
 {
     name            = rule.name;
     path            = rule.path;
     pattern         = rule.pattern;
     pathComparer    = rule.pathComparer;
     type            = rule.type;
     audioSettings   = rule.audioSettings;
     fontSettings    = rule.fontSettings;
     modelSettings   = rule.modelSettings;
     movieSettings   = rule.movieSettings;
     textureSettings = rule.textureSettings;
     UpdateActiveSettings();
 }