Version: 2022.3

VisualEffect.HasAnimationCurve

切换到手册
public bool HasAnimationCurve (int nameID);
public bool HasAnimationCurve (string name);

参数

nameID 属性的 ID。这与 Shader.PropertyToID 返回的 ID 相同。
name 属性的名称。

描述

Checks if the Visual Effect can override an Animation Curve with the name you pass in.


Did you find this page useful? Please give it a rating: