mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-11 21:38:56 -05:00
use static getter instead of preprocessors.
This commit is contained in:
@@ -73,9 +73,10 @@ namespace UniVRM10
|
||||
/// <param name="doNormalize">normalize する</param>
|
||||
public static void Import(ScriptedImporter scriptedImporter, AssetImportContext context, bool doMigrate, RenderPipelineTypes renderPipeline)
|
||||
{
|
||||
#if VRM_DEVELOP
|
||||
Debug.Log("OnImportAsset to " + scriptedImporter.assetPath);
|
||||
#endif
|
||||
if (Symbols.VRM_DEVELOP)
|
||||
{
|
||||
Debug.Log("OnImportAsset to " + scriptedImporter.assetPath);
|
||||
}
|
||||
|
||||
// 1st parse as vrm1
|
||||
using (var data = new GlbFileParser(scriptedImporter.assetPath).Parse())
|
||||
|
||||
Reference in New Issue
Block a user