mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-09 04:19:42 -05:00
Fix typo in obsolete attribute.
This commit is contained in:
@@ -42,13 +42,13 @@ namespace VRM
|
||||
}
|
||||
|
||||
#region LoadVrmAsync
|
||||
[Obsolete("use VVRMImporterContext.LoadAsync")]
|
||||
[Obsolete("use VRMImporterContext.LoadAsync")]
|
||||
public static void LoadVrmAsync(string path, Action<GameObject> onLoaded, Action<Exception> onError = null, bool show = true)
|
||||
{
|
||||
LoadVrmAsync(File.ReadAllBytes(path), onLoaded, onError, show);
|
||||
}
|
||||
|
||||
[Obsolete("use VVRMImporterContext.LoadAsync")]
|
||||
[Obsolete("use VRMImporterContext.LoadAsync")]
|
||||
public static void LoadVrmAsync(Byte[] bytes, Action<GameObject> onLoaded, Action<Exception> onError = null, bool show = true)
|
||||
{
|
||||
var context = new VRMImporterContext();
|
||||
@@ -67,7 +67,7 @@ namespace VRM
|
||||
onError);
|
||||
}
|
||||
|
||||
[Obsolete("use VVRMImporterContext.LoadAsync")]
|
||||
[Obsolete("use VRMImporterContext.LoadAsync")]
|
||||
public static void LoadVrmAsync(VRMImporterContext context, Action<GameObject> onLoaded, Action<Exception> onError = null, bool show = true)
|
||||
{
|
||||
context.LoadAsync(_ =>
|
||||
|
||||
Reference in New Issue
Block a user