Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Is there some callback for importing FBX into scene?

Discussion in 'Scripting' started by ptr0x, Jan 2, 2016.

  1. ptr0x

    ptr0x

    Joined:
    Dec 9, 2013
    Posts:
    54
    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!
     
  2. ptr0x

    ptr0x

    Joined:
    Dec 9, 2013
    Posts:
    54
  3. ptr0x

    ptr0x

    Joined:
    Dec 9, 2013
    Posts:
    54
  4. ThermalFusion

    ThermalFusion

    Joined:
    May 1, 2011
    Posts:
    906
    ptr0x likes this.
  5. ptr0x

    ptr0x

    Joined:
    Dec 9, 2013
    Posts:
    54
  6. ptr0x

    ptr0x

    Joined:
    Dec 9, 2013
    Posts:
    54
    up =x
     
  7. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    What exactly do you want to make?
     
  8. apsdsm

    apsdsm

    Joined:
    Sep 26, 2013
    Posts:
    56
  9. ptr0x

    ptr0x

    Joined:
    Dec 9, 2013
    Posts:
    54
    Thank you very much dude, guess it is exactly what I want.
     
    apsdsm likes this.