mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-14 06:50:19 -05:00
rename. remove IExternalUnityObject
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace UniVRM10
|
||||
{
|
||||
public interface IExternalUnityObject
|
||||
{
|
||||
Dictionary<string, T> GetExternalUnityObjects<T>() where T : UnityEngine.Object;
|
||||
void SetExternalUnityObject<T>(UnityEditor.AssetImporter.SourceAssetIdentifier sourceAssetIdentifier, T obj) where T : UnityEngine.Object;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eb950c51864585a4688048266e6c3a00
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -13,7 +13,7 @@ namespace UniVRM10
|
||||
{
|
||||
|
||||
[ScriptedImporter(1, "vrm")]
|
||||
public class VrmScriptedImporter : ScriptedImporter, IExternalUnityObject
|
||||
public class VrmScriptedImporter : ScriptedImporter
|
||||
{
|
||||
const string TextureDirName = "Textures";
|
||||
const string MaterialDirName = "Materials";
|
||||
|
||||
@@ -13,7 +13,7 @@ using UnityEditor.Experimental.AssetImporters;
|
||||
|
||||
namespace UniVRM10
|
||||
{
|
||||
public static class ScriptedImporterExtension
|
||||
public static class VrmScriptedImporterImpl
|
||||
{
|
||||
public static void ClearExternalObjects<T>(this ScriptedImporter importer) where T : UnityEngine.Object
|
||||
{
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8e6d15fc36df79649bb4724b06b5eae3
|
||||
guid: f08e514e6a60bd0479ed1c928e8b515e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
Reference in New Issue
Block a user