Version: 2023.2
言語: 日本語
public static void SetLinkOwner (AI.NavMeshLinkInstance handle, Object owner);

パラメーター

handle The identifier of the link instance for which you assign an owner.
owner An object that carries useful information in relation to the instance of the link.

説明

Associates an object with the instance of a link.

Call GetLinkOwner to retrieve a reference to the assigned object. The OffMeshLinkData.owner property obtained from the path of an agent also points to the object that has been assigned to the link.
If the instance of the link is not valid, setting the owner has no effect and getting it returns null.

See Also: OffMeshLinkData.owner.

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