DanMachi:

-compatibility improvements
Core:
-simplified object and keyframe serialization
-complicated assetbundle loading
This commit is contained in:
2024-05-10 09:56:39 +02:00
parent c922584d38
commit 7b7ac65a3f
192 changed files with 79809 additions and 25807 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -45,8 +45,8 @@ public class EversoulCharacterContainer : ObjectContainer, IAnimated
var asset = bundle.LoadAsset<GameObject>(model.ResourceName);
var go = Instantiate(asset, this.transform);
EversoulAssetLibrary.Instance.UnloadAssets(dependencyPaths);
EversoulAssetLibrary.Instance.UnloadAsset(modelPath);
AssetLibrary.UnloadAssets(dependencyPaths);
AssetLibrary.UnloadAsset(modelPath);
SetDefaultMaterials(transform);

View File

@@ -7,5 +7,4 @@ public class EversoulInterface : ModelViewerInterface
public static EversoulInterface Instance => GetInstance<EversoulInterface>();
public EversoulCharacterDropdown CharacterSelection;
public UIToolbar SelectedObjectToolbar;
}

View File

@@ -104,7 +104,7 @@ public class EversoulCharacterDropdown : MonoBehaviour
{
Debug.LogError("Delete Current");
}
StartCoroutine(ModelBuilder.GetInstance().SpawnAsset(AssetTypes.Character, MainDropdown.options[selection].text));
StartCoroutine(ModelBuilder.GetInstance().SpawnAssetCoroutine(AssetTypes.Character, MainDropdown.options[selection].text));
}
public void SetDropdownData(string label, List<string> options, bool nullValue = false, bool sortValues = false)