Version: 2023.2
언어: 한국어
public static bool CreateGenericBinding (Object targetObject, string property, GameObject root, bool isObjectReference, out Animations.GenericBinding genericBinding);

파라미터

targetObject The target GameObject to extract the bindings from.
property The name of the property.
root A GameObject ancestor of targetObject. Use the ancestor to locate the targetObject within a transform hierarchy.
genericBinding Returns the GenericBinding representing the property on the GameObject to animate.
isObjectReference Specifies whether the property is an object reference. If you do not identify the property correctly, the method fails. Set this parameter to True if the property references an object. Set to False if the property is a float or an integer.

반환

bool Returns True if the operation is successful, otherwise False.

설명

Retrieves the GenericBinding that represents a specific property associated with a GameObject or one of its components.

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