To import an FBX file in C#, you can use the FBX SDK provided by Autodesk. Here's an example of how to import an FBX file in Unity using C#:
main.cs1533 chars64 lines
This example initializes an importer and creates a scene, imports the FBX file into the scene, and processes the node hierarchy. Note that you'll need to include the FBX SDK in your project for this code to work.
gistlibby LogSnag