mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-14 14:29:52 -05:00
Unity 2022.2以降のバージョンでScriptedImporterEditor.ResetValues()がObsoleteになり、代わりにDiscardChanges()の利用が推奨されるようになりました。 UniGLTF.RemapScriptedImporterEditorBaseがResetValues()を利用しており、それにより、次のような警告を発生させていました。 ``` Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapScriptedImporterEditorBase.cs(50,33): warning CS0672: Member 'RemapScriptedImporterEditorBase.ResetValues()' overrides obsolete member 'AssetImporterEditor.ResetValues()'. Add the Obsolete attribute to 'RemapScriptedImporterEditorBase.ResetValues()'. Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapScriptedImporterEditorBase.cs(54,13): warning CS0618: 'AssetImporterEditor.ResetValues()' is obsolete: 'UnityUpgradeable () -> DiscardChanges' ``` オーバーライドされたResetValuesにもObsoleteを付与することで、警告が抑制されるようになりました。 また、移行先として推奨されているDiscardChanges()の実装も行いました。 |
||
|---|---|---|
| .. | ||
| doc | ||
| Editor | ||
| Runtime | ||
| Samples~ | ||
| Tests | ||
| doc.meta | ||
| Editor.meta | ||
| LICENSE.md | ||
| LICENSE.md.meta | ||
| package.json | ||
| package.json.meta | ||
| README.md | ||
| README.md.meta | ||
| Runtime.meta | ||
| Tests.meta | ||
UniGLTF-2.0
- Unity-Supports 2019.4 and later
- You can import and export glTF-2.0 in Unity's editor and runtime.
- implement
KHR_materials_unlit - implement
KHR_texture_transform(partial)
Material
PBR
- Convert as much as possible between glTF pbr and Unity Standard Shader.
- Converts metal roughness and occlusion RGBA channel incompatibility.
Unlit
-
import: UniGLTF's own
UniGLTF/UniUnlitshader. -
export: You can export
UniGLTF/UniUnlitand Unity unilt materials. -
Only
UniGLTF/UniUnlitsupports vertex colors.
URP
- import only. experimental
License
Download
Screenshots
You can import almost all of gltf_sample_models



