Fix typo in obsolete attribute.

This commit is contained in:
AOKI Yuuto 2019-02-19 23:52:52 +09:00 committed by GitHub
parent 1b36bee647
commit 8395eeb31c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(_ =>