@MenuItem("MyPlugins/AddMeshCollider")
static function Apply ()
{
var fu : Transform= Selection.activeTransform as Transform;
for(var i=0;i<fu.childCount;i++)
{
fu.GetChild(i).gameObject.AddComponent("MeshCollider");
}
}
@MenuItem("MyPlugins/AddMeshCollider")
static function Apply ()
{
var fu : Transform= Selection.activeTransform as Transform;
for(var i=0;i<fu.childCount;i++)
{
fu.GetChild(i).gameObject.AddComponent("MeshCollider");
}
}