Documentation

Unity Engine


Unity Engine


HasBool

Use this method to check if the VFXEventAttribute stores a bool with the name you pass in.
Read time 1 minuteLast updated a month ago

Definition

HasBool(int)

Use this method to check if the VFXEventAttribute stores a bool with the name you pass in.
public bool HasBool(int nameID)

Parameters

nameID

The ID of the property. This is the same ID that Shader.PropertyToID returns.

Returns

Type

Description

bool

HasBool(string)

Use this method to check if the VFXEventAttribute stores a bool with the name you pass in.
public bool HasBool(string name)

Parameters

name

The name of the property.

Returns

Type

Description

bool