Is there some callback for importing FBX into scene?

Hello guys,

I’m developing a editor tool for my project and I have the need to get a reference for the game object created when I import a FBX model into the scene (by drag and drop for example).

I need to put a script component which will hold some specific data across the FBX model in its game object.

Does anyone know any callback message or any other approach I can use?

Thank you very much!

up

up

You can use AssetProcessor callbacks to modify imported models.

1 Like

Thank you very much for the help ThermalFusion, but I need to hook some function when the asset is ceated from project to scene. Is that possible?
Thank you again.

up =x

What exactly do you want to make?

Try looking at: Unity Editor Scripts: GameObject Added / Removed Event? - Questions & Answers - Unity Discussions for more information that may get you pointed in the right direction.

Those posts reference the following API events:

Thank you very much dude, guess it is exactly what I want.

1 Like