AssetPostprocessor.OnPostprocessModelfunction OnPostprocessModel (root : GameObject) : voidDescriptionAdd this function in a subclass to get a notification when a model has completed importing just before a prefab is generated out of the game object hierarchy root is the root game object of the imported model. // Adds a mesh collider to each game object that contains collider in its name |
