Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
һ��Unity�������������ʱ��ȡfbx��
����֧�־�̬mesh��ȡ��֧���Դ���ͼ���루��֧��tga��ʽ��
## chinese
一个Unity插件,用来运行时读取fbx。
现在支持静态mesh读取,支持自带贴图导入(不支持tga格式)
## korean
적용 방법

1. Unity Assets 폴더 안에 Plugins 폴더를 생성한다.
2. Plugins 폴더 안에 fbxImporter.dll, Jhqc.UnityFbxLoader.dll, protobuf-net.dll 넣는다.
3. Unity Assets 폴더 안에 Scripts 폴더를 만든다.
4. Scripts 폴더 안에 FbxLoader.cs 파일을 넣는다.
5. 새 스크립트르 생성하여 아래와 같이 사용한다.
```cs
void Start()
{
GameObject go = new GameObject();
FbxLoader.InitLoader();
print(FbxLoader.LoadFbx("c:\\b.fbx", out go));
}
```