37 lines
1.2 KiB
C#
37 lines
1.2 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace UnityEngine
|
|
{
|
|
// Token: 0x02000225 RID: 549
|
|
public sealed class AvatarBuilder
|
|
{
|
|
// Token: 0x06002621 RID: 9761 RVA: 0x0002BBAC File Offset: 0x00029DAC
|
|
public static Avatar BuildHumanAvatar(GameObject go, HumanDescription humanDescription)
|
|
{
|
|
if (go == null)
|
|
{
|
|
throw new NullReferenceException();
|
|
}
|
|
return AvatarBuilder.BuildHumanAvatarMono(go, humanDescription);
|
|
}
|
|
|
|
// Token: 0x06002622 RID: 9762 RVA: 0x0002BBDC File Offset: 0x00029DDC
|
|
private static Avatar BuildHumanAvatarMono(GameObject go, HumanDescription monoHumanDescription)
|
|
{
|
|
return AvatarBuilder.INTERNAL_CALL_BuildHumanAvatarMono(go, ref monoHumanDescription);
|
|
}
|
|
|
|
// Token: 0x06002623 RID: 9763
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern Avatar INTERNAL_CALL_BuildHumanAvatarMono(GameObject go, ref HumanDescription monoHumanDescription);
|
|
|
|
// Token: 0x06002624 RID: 9764
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern Avatar BuildGenericAvatar(GameObject go, string rootMotionTransformName);
|
|
}
|
|
}
|