Example #1
0
        public ImporterRule()
        {
            name = ImporterRulesWindow.GetNewRuleName();

            InitSettings();

            activeSettings = textureSettings;
        }
Example #2
0
 private void UpdateActiveSettings()
 {
     if (type == ImporterRulesTypes.texture)
     {
         activeSettings = textureSettings;
     }
     else if (type == ImporterRulesTypes.model)
     {
         activeSettings = modelSettings;
     }
     else if (type == ImporterRulesTypes.movie)
     {
         activeSettings = movieSettings;
     }
     else if (type == ImporterRulesTypes.audio)
     {
         activeSettings = audioSettings;
     }
     else if (type == ImporterRulesTypes.trueTypeFont)
     {
         activeSettings = fontSettings;
     }
 }