Why No Defaults?

This is why there are so few default settings to set in Unity3D:

SPOILER: Because you can do it in code.

MeshPreProcessor.cs:

using UnityEngine;
using UnityEditor;
using System.Collections;
public class MeshPreProcessor : AssetPostprocessor {
void OnPreprocessModel () {
 ModelImporter modelImporter = (ModelImporter) assetImporter; 
 modelImporter.meshCompression = ModelImporterMeshCompression.High;
 modelImporter.globalScale = 1.0f;
 modelImporter.addCollider = true;
 modelImporter.generateAnimations = ModelImporterGenerateAnimations.None;
 }
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s