PPtrCurve(string, Type, string)
Creates a preconfigured binding for a curve that points to an Object.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static EditorCurveBinding PPtrCurve(string inPath, Type inType, string inPropertyName)
Parameters
Returns
Type | Description |
|---|---|
| EditorCurveBinding | The new EditorCurveBinding. |
Remarks
Use PPtr curves for curves that manipulate references to Objects. For example, use EditorCurveBinding.PPtrCurve for Material curves or Sprite curves.