Hi friends,
I want to change some parameter for more than one object at a time in the Unity editor. Let me please make an example:
I import 50 models at once in a project folder. The FBX import scale is per default 0.1. This is way too small. I want to turn it back to a scale factor of 1. This way 1 meter in my modeller (Lightwave or Modo) is 1 meter in Unity. But I always have to do it for each of these 50 models manually. Even when I select all of them, it does the change only for one.
Is there any solution to multi-select and do it at once?
Thanks in advance!
http://forum.unity3d.com/threads/64047-FBX-Import-make-default-scaling-to-0.01-an-option?p=410017&viewfull=1#post410017
for more info on the import processes in general read up on the AssetImporter class itself and its derivations (like TextureImporter, ModelImporter, AudioImporter)
Thanks Mitch,
since I am new to editor scripts I did not understand how to store this script. What extension does it need? Do I have to register it anywhere?
Make a folder inside Assets called Editor
so the path would like
YourProject\Assets\Editor\WhateverScriptNameYouWant.cs
the example code in that link is C# so you’ll need cs but it would work just fine translated to unityscript