Version: 2023.1
언어: 한국어
public static void BindProperties (GameObject rootGameObject, NativeArray<GenericBinding> genericBindings, out NativeArray<BoundProperty> floatProperties, out NativeArray<BoundProperty> discreteProperties, Unity.Collections.Allocator allocator);

파라미터

rootGameObject The root GameObject.
genericBindings The list of GenericBinding to bind. See GenericBindingUtility.GetAnimatableBindings, GenericBindingUtility.GetCurveBindings.
floatProperties Returns the list of float bound properties for all valid generic binding. If there is an invalid binding, this param returns BoundProperty.Null.
discreteProperties Returns the list of discrete bound properties for all valid generic bindings. If there is an invalid binding, this param returns BoundProperty.Null
allocator Allocator for allocating NativeArray memory.

설명

Retrieves the list of BoundProperty defined by the list of GenericBinding.

BoundProperty allocates resources that must be unallocated. See GenericBindingUtility.UnbindProperties.

This method throws an ArgumentException if the genericBindings NativeArray is not created.

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