public static Avatar BuildHumanAvatar (GameObject go, HumanDescription humanDescription);

Parámetros

goRoot object of your transform hierachy. It must be the top most gameobject when you create the avatar.
humanDescriptionHumanoid description of the avatar.

Valor de retorno

Avatar Returns the Avatar, you must always always check the avatar is valid before using it with Avatar.isValid.

Descripción

Create a humanoid avatar.

The avatar is created using the supplied HumanDescription object which specifies the muscle space range limits and retargeting parameters like arm/leg twist and arm/leg stretch. See Also: HumanDescription.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961